Home
last modified time | relevance | path

Searched refs:head (Results 1 – 7 of 7) sorted by relevance

/optee_benchmark/libyaml/src/
A Dyaml_private.h420 yaml_queue_extend(void **start, void **head, void **tail, void **end);
457 ((queue).head = (queue).tail = (queue).start, \
465 (queue).start = (queue).head = (queue).tail = (queue).end = 0)
468 ((queue).head == (queue).tail)
472 || yaml_queue_extend((void **)&(queue).start, (void **)&(queue).head, \
480 (*((queue).head++))
484 || yaml_queue_extend((void **)&(queue).start, (void **)&(queue).head, \
486 (memmove((queue).head+(index)+1,(queue).head+(index), \
487 ((queue).tail-(queue).head-(index))*sizeof(*(queue).start)), \
488 *((queue).head+(index)) = value, \
A Dapi.c136 yaml_queue_extend(void **start, void **head, void **tail, void **end) in yaml_queue_extend() argument
140 if (*start == *head && *tail == *end) { in yaml_queue_extend()
146 *head = (char *)new_start + ((char *)*head - (char *)*start); in yaml_queue_extend()
155 if (*head != *tail) { in yaml_queue_extend()
156 memmove(*start, *head, (char *)*tail - (char *)*head); in yaml_queue_extend()
158 *tail = (char *)*tail - (char *)*head + (char *)*start; in yaml_queue_extend()
159 *head = *start; in yaml_queue_extend()
A Demitter.c289 if (!yaml_emitter_analyze_event(emitter, emitter->events.head)) in yaml_emitter_emit()
291 if (!yaml_emitter_state_machine(emitter, emitter->events.head)) in yaml_emitter_emit()
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()
1102 if (emitter->events.tail - emitter->events.head < 2) in yaml_emitter_check_empty_sequence()
1105 return (emitter->events.head[0].type == YAML_SEQUENCE_START_EVENT in yaml_emitter_check_empty_sequence()
1106 && emitter->events.head[1].type == YAML_SEQUENCE_END_EVENT); 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()
1120 && emitter->events.head[1].type == YAML_MAPPING_END_EVENT); in yaml_emitter_check_empty_mapping()
[all …]
A Dscanner.c715 yaml_char_t *head, yaml_mark_t start_mark, yaml_char_t **uri);
814 if (parser->tokens.head == parser->tokens.tail) in yaml_parser_fetch_more_tokens()
1118 parser->tokens_parsed + (parser->tokens.tail - parser->tokens.head); in yaml_parser_save_simple_key()
2571 yaml_char_t *head, yaml_mark_t start_mark, yaml_char_t **uri) in yaml_parser_scan_tag_uri() argument
2573 size_t length = head ? strlen((char *)head) : 0; in yaml_parser_scan_tag_uri()
2594 memcpy(string.start, head+1, length-1); in yaml_parser_scan_tag_uri()
A Dparser.c50 parser->tokens.head : NULL)
60 (parser->tokens.head->type == YAML_STREAM_END_TOKEN), \
61 parser->tokens.head ++)
/optee_benchmark/libyaml/include/
A Dyaml.h1200 yaml_token_t *head; member
1637 yaml_event_t *head; member
/optee_benchmark/
A Dmain.c133 if (cpu_buf->tail >= cpu_buf->head) in timestamp_pop()

Completed in 21 milliseconds