/optee_benchmark/libyaml/tests/run-test-suite/src/ |
A D | libyaml-emitter.c | 155 char *start; in get_anchor() local 159 start++; in get_anchor() 162 memcpy(anchor, start, end - start); in get_anchor() 169 char *start; in get_tag() local 175 memcpy(tag, start + 1, end - start - 1); in get_tag() 184 char *start = NULL; in get_value() local 189 start = c + 1; in get_value() 190 if (*start == ':') in get_value() 201 start = NULL; in get_value() 204 start++; in get_value() [all …]
|
/optee_benchmark/libyaml/tests/ |
A D | run-dumper.c | 22 document_from->tag_directives.start, in copy_document() 27 for (node = document_from->nodes.start; in copy_document() 49 for (node = document_from->nodes.start; in copy_document() 53 for (item = node->data.sequence.items.start; in copy_document() 56 node - document_from->nodes.start + 1, in copy_document() 61 for (pair = node->data.mapping.pairs.start; in copy_document() 64 node - document_from->nodes.start + 1, in copy_document() 144 if ((strcmp((char *)document1->tag_directives.start[k].handle, in compare_documents() 151 if ((document1->nodes.top - document1->nodes.start) != in compare_documents() 152 (document2->nodes.top - document2->nodes.start)) in compare_documents() [all …]
|
A D | test-reader.c | 127 char *start = utf8_sequences[k].test; in check_utf8_sequences() local 128 char *end = start; in check_utf8_sequences() 133 yaml_parser_set_input_string(&parser, (unsigned char *)start, end-start); in check_utf8_sequences() 134 result = yaml_parser_update_buffer(&parser, end-start); in check_utf8_sequences() 156 start = ++end; in check_utf8_sequences() 175 char *start = boms[k].test; in check_boms() local 176 char *end = start; in check_boms() 180 yaml_parser_set_input_string(&parser, (unsigned char *)start, end-start); in check_boms() 181 result = yaml_parser_update_buffer(&parser, end-start); in check_boms() 191 else if (memcmp(parser.buffer.start, bom_original, check) != 0) { in check_boms() [all …]
|
A D | run-emitter.c | 29 event_from->data.document_start.tag_directives.start, in copy_event() 99 …ent1->data.document_start.tag_directives.end - event1->data.document_start.tag_directives.start) != in compare_events() 100 …event2->data.document_start.tag_directives.end - event2->data.document_start.tag_directives.start)) in compare_events() 102 …data.document_start.tag_directives.end - event1->data.document_start.tag_directives.start); k ++) { in compare_events() 103 if ((strcmp((char *)event1->data.document_start.tag_directives.start[k].handle, in compare_events() 104 … (char *)event2->data.document_start.tag_directives.start[k].handle) != 0) in compare_events() 105 … || (strcmp((char *)event1->data.document_start.tag_directives.start[k].prefix, in compare_events() 106 … (char *)event2->data.document_start.tag_directives.start[k].prefix) != 0)) in compare_events()
|
A D | example-deconstructor-alt.c | 248 if (input_event.data.document_start.tag_directives.start in main() 264 for (tag = input_event.data.document_start.tag_directives.start; in main()
|
A D | example-deconstructor.c | 312 if (input_event.data.document_start.tag_directives.start in main() 335 for (tag = input_event.data.document_start.tag_directives.start; in main()
|
/optee_benchmark/libyaml/src/ |
A D | writer.c | 41 emitter->buffer.pointer = emitter->buffer.start; in yaml_emitter_flush() 45 if (emitter->buffer.start == emitter->buffer.last) { in yaml_emitter_flush() 54 emitter->buffer.start, in yaml_emitter_flush() 55 emitter->buffer.last - emitter->buffer.start)) { in yaml_emitter_flush() 56 emitter->buffer.last = emitter->buffer.start; in yaml_emitter_flush() 57 emitter->buffer.pointer = emitter->buffer.start; in yaml_emitter_flush() 129 emitter->raw_buffer.start, in yaml_emitter_flush() 131 emitter->buffer.last = emitter->buffer.start; in yaml_emitter_flush() 132 emitter->buffer.pointer = emitter->buffer.start; in yaml_emitter_flush() 133 emitter->raw_buffer.last = emitter->raw_buffer.start; in yaml_emitter_flush() [all …]
|
A D | yaml_private.h | 101 (buffer).start = (buffer).pointer = (buffer).end = 0) 108 yaml_char_t *start; member 114 yaml_string_extend(yaml_char_t **start, 142 (string).start = (string).pointer = (string).end = 0) 154 memset((string).start, 0, (string).end-(string).start)) 417 yaml_stack_extend(void **start, void **top, void **end); 423 (((stack).start = yaml_malloc((size)*sizeof(*(stack).start))) ? \ 432 (stack).start = (stack).top = (stack).end = 0) 435 ((stack).start == (stack).top) 456 (((queue).start = yaml_malloc((size)*sizeof(*(queue).start))) ? \ [all …]
|
A D | api.c | 77 yaml_char_t *new_start = yaml_realloc(*start, (*end - *start)*2); in yaml_string_extend() 81 memset(new_start + (*end - *start), 0, *end - *start); in yaml_string_extend() 85 *start = new_start; in yaml_string_extend() 120 void *new_start = yaml_realloc(*start, ((char *)*end - (char *)*start)*2); in yaml_stack_extend() 126 *start = new_start; in yaml_stack_extend() 149 *start = new_start; in yaml_queue_extend() 159 *head = *start; in yaml_queue_extend() 623 yaml_char_t *pointer = start; in yaml_check_utf8() 1040 yaml_node_t *start; in yaml_document_initialize() member 1253 yaml_node_item_t *start; in yaml_document_add_sequence() member [all …]
|
A D | loader.c | 174 parser->document->tag_directives.start in yaml_parser_load_document() 175 = first_event->data.document_start.tag_directives.start; in yaml_parser_load_document() 235 data.mark = parser->document->nodes.start[index-1].start_mark; in yaml_parser_register_anchor() 237 for (alias_data = parser->aliases.start; in yaml_parser_register_anchor() 265 for (alias_data = parser->aliases.start; in yaml_parser_load_alias() 327 yaml_node_item_t *start; in yaml_parser_load_sequence() member 344 SEQUENCE_NODE_INIT(node, tag, items.start, items.end, in yaml_parser_load_sequence() 369 parser->document->nodes.start[index-1].end_mark = event.end_mark; in yaml_parser_load_sequence() 389 yaml_node_pair_t *start; in yaml_parser_load_mapping() member 407 MAPPING_NODE_INIT(node, tag, pairs.start, pairs.end, in yaml_parser_load_mapping() [all …]
|
A D | reader.c | 100 if (parser->raw_buffer.start == parser->raw_buffer.pointer in yaml_parser_update_raw_buffer() 110 if (parser->raw_buffer.start < parser->raw_buffer.pointer in yaml_parser_update_raw_buffer() 112 memmove(parser->raw_buffer.start, parser->raw_buffer.pointer, in yaml_parser_update_raw_buffer() 116 parser->raw_buffer.pointer - parser->raw_buffer.start; in yaml_parser_update_raw_buffer() 117 parser->raw_buffer.pointer = parser->raw_buffer.start; in yaml_parser_update_raw_buffer() 167 if (parser->buffer.start < parser->buffer.pointer in yaml_parser_update_buffer() 170 memmove(parser->buffer.start, parser->buffer.pointer, size); in yaml_parser_update_buffer() 171 parser->buffer.pointer = parser->buffer.start; in yaml_parser_update_buffer() 172 parser->buffer.last = parser->buffer.start + size; in yaml_parser_update_buffer() 175 parser->buffer.pointer = parser->buffer.start; in yaml_parser_update_buffer() [all …]
|
A D | dumper.c | 135 * (document->nodes.top - document->nodes.start)); in yaml_emitter_dump() 138 * (document->nodes.top - document->nodes.start)); in yaml_emitter_dump() 141 document->tag_directives.start, document->tag_directives.end, in yaml_emitter_dump() 177 for (index = 0; emitter->document->nodes.start + index in yaml_emitter_delete_document_and_anchors() 179 yaml_node_t node = emitter->document->nodes.start[index]; in yaml_emitter_delete_document_and_anchors() 209 yaml_node_t *node = emitter->document->nodes.start + index - 1; in yaml_emitter_anchor_node() 218 for (item = node->data.sequence.items.start; in yaml_emitter_anchor_node() 224 for (pair = node->data.mapping.pairs.start; in yaml_emitter_anchor_node() 266 yaml_node_t *node = emitter->document->nodes.start + index - 1; in yaml_emitter_dump_node() 353 for (item = node->data.sequence.items.start; in yaml_emitter_dump_sequence() [all …]
|
A D | emitter.c | 1362 if (handle.start == handle.end) { in yaml_emitter_analyze_tag_directive() 1367 if (handle.start[0] != '!') { in yaml_emitter_analyze_tag_directive() 1387 if (prefix.start == prefix.end) { in yaml_emitter_analyze_tag_directive() 1409 if (string.start == string.end) { in yaml_emitter_analyze_anchor() 1424 emitter->anchor_data.anchor = string.start; in yaml_emitter_analyze_anchor() 1446 if (string.start == string.end) { in yaml_emitter_analyze_tag() 1468 emitter->tag_data.suffix = string.start; in yaml_emitter_analyze_tag() 1506 if (string.start == string.end) in yaml_emitter_analyze_scalar() 1532 if (string.start == string.pointer) in yaml_emitter_analyze_scalar() 2190 if (string.start == string.pointer) in yaml_emitter_write_block_scalar_hints() [all …]
|
A D | scanner.c | 1062 for (simple_key = parser->simple_keys.start; in yaml_parser_stale_simple_keys() 2132 if (string.start == string.pointer) { in yaml_parser_scan_directive_name() 2146 *name = string.start; in yaml_parser_scan_directive_name() 2549 if (directive && !(string.start[0] == '!' && string.start[1] == '\0')) { in yaml_parser_scan_tag_handle() 2556 *handle = string.start; in yaml_parser_scan_tag_handle() 2594 memcpy(string.start, head+1, length-1); in yaml_parser_scan_tag_uri() 2651 *uri = string.start; in yaml_parser_scan_tag_uri() 2882 if (*trailing_breaks.start == '\0') { in yaml_parser_scan_block_scalar() 2933 SCALAR_TOKEN_INIT(*token, string.start, string.pointer-string.start, in yaml_parser_scan_block_scalar() 3371 SCALAR_TOKEN_INIT(*token, string.start, string.pointer-string.start, in yaml_parser_scan_flow_scalar() [all …]
|
A D | parser.c | 348 yaml_tag_directive_t *start; in yaml_parser_parse_document_start() member 390 &tag_directives.start, &tag_directives.end)) in yaml_parser_parse_document_start() 404 tag_directives.start, tag_directives.end, 0, in yaml_parser_parse_document_start() 408 tag_directives.start = tag_directives.end = NULL; in yaml_parser_parse_document_start() 424 while (tag_directives.start != tag_directives.end) { in yaml_parser_parse_document_start() 429 yaml_free(tag_directives.start); in yaml_parser_parse_document_start() 602 for (tag_directive = parser->tag_directives.start; in yaml_parser_parse_node() 1246 yaml_tag_directive_t *start; in yaml_parser_process_directives() member 1315 *tag_directives_start_ref = tag_directives.start; in yaml_parser_process_directives() 1347 for (tag_directive = parser->tag_directives.start; in yaml_parser_append_tag_directive()
|
/optee_benchmark/libyaml/include/ |
A D | yaml.h | 785 yaml_node_t *start; member 1142 yaml_char_t *start; member 1157 unsigned char *start; member 1196 yaml_token_t *start; member 1214 int *start; member 1230 yaml_simple_key_t *start; member 1262 yaml_mark_t *start; member 1573 yaml_char_t *start; member 1585 unsigned char *start; member 1633 yaml_event_t *start; member [all …]
|
/optee_benchmark/libyaml/examples/ |
A D | global-tag.yaml | 9 start: *ORIGIN 12 start: *ORIGIN
|
/optee_benchmark/ |
A D | benchmark_aux.c | 137 size_t start, end, offset; in get_library_load_offset() local 156 if (sscanf(buf, "%zx-%zx %c%c%c%c %zx", &start, &end, in get_library_load_offset() 164 addr = start - offset; in get_library_load_offset()
|