Searched refs:events (Results 1 – 7 of 7) sorted by relevance
/optee_benchmark/libyaml/tests/run-test-suite/src/ |
A D | ReadMe.md | 15 Print parse events for a YAML file (or stdin): 22 Print the YAML for a libyaml-parser events file (or stdin): 24 ./libyaml-emitter file.events 25 ./libyaml-emitter < file.events 26 cat file.events | ./libyaml-emitter
|
/optee_benchmark/libyaml/tests/run-test-suite/src/test/ |
A D | libyaml-emitter.t | 6 for test in test/*.events; do 7 want=${test//.events/.out}
|
A D | libyaml-parser.t | 7 want=${test//.yaml/.events}
|
/optee_benchmark/libyaml/src/ |
A D | emitter.c | 283 if (!ENQUEUE(emitter, emitter->events, *event)) { in yaml_emitter_emit() 289 if (!yaml_emitter_analyze_event(emitter, emitter->events.head)) in yaml_emitter_emit() 293 yaml_event_delete(&DEQUEUE(emitter, emitter->events)); in yaml_emitter_emit() 315 if (QUEUE_EMPTY(emitter, emitter->events)) in yaml_emitter_need_more_events() 318 switch (emitter->events.head->type) { in yaml_emitter_need_more_events() 332 if (emitter->events.tail - emitter->events.head > accumulate) in yaml_emitter_need_more_events() 335 for (event = emitter->events.head; event != emitter->events.tail; event ++) { in yaml_emitter_need_more_events() 1102 if (emitter->events.tail - emitter->events.head < 2) in yaml_emitter_check_empty_sequence() 1116 if (emitter->events.tail - emitter->events.head < 2) in yaml_emitter_check_empty_mapping() 1119 return (emitter->events.head[0].type == YAML_MAPPING_START_EVENT in yaml_emitter_check_empty_mapping() [all …]
|
A D | api.c | 360 if (!QUEUE_INIT(emitter, emitter->events, INITIAL_QUEUE_SIZE)) in yaml_emitter_initialize() 374 QUEUE_DEL(emitter, emitter->events); in yaml_emitter_initialize() 393 while (!QUEUE_EMPTY(emitter, emitter->events)) { in yaml_emitter_delete() 394 yaml_event_delete(&DEQUEUE(emitter, emitter->events)); in yaml_emitter_delete() 396 QUEUE_DEL(emitter, emitter->events); in yaml_emitter_delete()
|
/optee_benchmark/libyaml/tests/ |
A D | run-emitter.c | 256 yaml_event_t events[MAX_EVENTS]; in main() local 263 memset(events, 0, MAX_EVENTS*sizeof(yaml_event_t)); in main() 291 assert(copy_event(&(events[event_number++]), &event)); in main() 311 …assert(compare_events(events+count, &event) || print_output(argv[number], buffer, written, count)); in main() 319 yaml_event_delete(events+k); in main()
|
/optee_benchmark/libyaml/include/ |
A D | yaml.h | 1640 } events; member
|
Completed in 17 milliseconds