/optee_benchmark/libyaml/tests/ |
A D | test-reader.c | 128 char *end = start; in check_utf8_sequences() local 131 while (*end != '|' && *end != '!') end++; 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() 155 if (*end == '!') break; in check_utf8_sequences() 156 start = ++end; in check_utf8_sequences() 176 char *end = start; in check_boms() local 177 while (*end != '!') end++; 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()
|
A D | run-dumper.c | 23 document_from->tag_directives.end, in copy_document() 140 if ((document1->tag_directives.end - document1->tag_directives.start) != in compare_documents() 141 (document2->tag_directives.end - document2->tag_directives.start)) in compare_documents() 143 for (k = 0; k < (document1->tag_directives.end - document1->tag_directives.start); k ++) { in compare_documents()
|
A D | run-emitter.c | 30 event_from->data.document_start.tag_directives.end, in copy_event() 99 …if ((event1->data.document_start.tag_directives.end - event1->data.document_start.tag_directives.s… in compare_events() 100 …(event2->data.document_start.tag_directives.end - event2->data.document_start.tag_directives.start… in compare_events() 102 …for (k = 0; k < (event1->data.document_start.tag_directives.end - event1->data.document_start.tag_… in compare_events()
|
A D | example-deconstructor-alt.c | 249 != input_event.data.document_start.tag_directives.end) in main() 265 tag != input_event.data.document_start.tag_directives.end; in main()
|
A D | example-deconstructor.c | 313 != input_event.data.document_start.tag_directives.end) in main() 336 tag != input_event.data.document_start.tag_directives.end; in main()
|
/optee_benchmark/libyaml/tests/run-test-suite/src/ |
A D | libyaml-emitter.c | 156 char *end; in get_anchor() local 160 if ((end = strchr(start, ' ')) == NULL) in get_anchor() 161 end = line + strlen(line); in get_anchor() 162 memcpy(anchor, start, end - start); in get_anchor() 163 anchor[end - start] = '\0'; in get_anchor() 170 char *end; in get_tag() local 173 if ((end = strchr(line, '>')) == NULL) in get_tag() 176 tag[end - start - 1] = '\0'; in get_tag() 185 char *end = line + strlen(line); in get_value() local 187 for (c = line + 4; c < end; c++) { in get_value() [all …]
|
/optee_benchmark/libyaml/include/ |
A D | yaml.h | 787 yaml_node_t *end; member 1144 yaml_char_t *end; member 1159 unsigned char *end; member 1198 yaml_token_t *end; member 1216 int *end; member 1232 yaml_simple_key_t *end; member 1264 yaml_mark_t *end; member 1575 yaml_char_t *end; member 1587 unsigned char *end; member 1635 yaml_event_t *end; member [all …]
|
/optee_benchmark/libyaml/src/ |
A D | yaml_private.h | 94 (buffer).end = (buffer).start+(size), \ 101 (buffer).start = (buffer).pointer = (buffer).end = 0) 109 yaml_char_t *end; member 115 yaml_char_t **pointer, yaml_char_t **end); 128 (value).end = (string)+(length), \ 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); 420 yaml_queue_extend(void **start, void **head, void **tail, void **end); 432 (stack).start = (stack).top = (stack).end = 0) [all …]
|
A D | api.c | 81 memset(new_start + (*end - *start), 0, *end - *start); in yaml_string_extend() 84 *end = new_start + (*end - *start)*2; in yaml_string_extend() 125 *end = (char *)new_start + ((char *)*end - (char *)*start)*2; in yaml_stack_extend() 148 *end = (char *)new_start + ((char *)*end - (char *)*start)*2; in yaml_queue_extend() 154 if (*tail == *end) { in yaml_queue_extend() 625 while (pointer < end) { in yaml_check_utf8() 709 yaml_tag_directive_t *end; in yaml_document_start_event_initialize() member 1041 yaml_node_t *end; in yaml_document_initialize() member 1047 yaml_tag_directive_t *end; in yaml_document_initialize() member 1254 yaml_node_item_t *end; in yaml_document_add_sequence() member [all …]
|
A D | emitter.c | 1362 if (handle.start == handle.end) { in yaml_emitter_analyze_tag_directive() 1372 if (handle.end[-1] != '!') { 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() 1446 if (string.start == string.end) { in yaml_emitter_analyze_tag() 1506 if (string.start == string.end) in yaml_emitter_analyze_scalar() 1530 while (string.pointer != string.end) in yaml_emitter_analyze_scalar() 1911 while (string.pointer != string.end) in yaml_emitter_write_plain_scalar() 1966 while (string.pointer != string.end) in yaml_emitter_write_single_quoted_scalar() 2028 while (string.pointer != string.end) in yaml_emitter_write_double_quoted_scalar() [all …]
|
A D | loader.c | 176 parser->document->tag_directives.end in yaml_parser_load_document() 177 = first_event->data.document_start.tag_directives.end; in yaml_parser_load_document() 328 yaml_node_item_t *end; in yaml_parser_load_sequence() member 344 SEQUENCE_NODE_INIT(node, tag, items.start, items.end, in yaml_parser_load_sequence() 390 yaml_node_pair_t *end; in yaml_parser_load_mapping() member 407 MAPPING_NODE_INIT(node, tag, pairs.start, pairs.end, in yaml_parser_load_mapping()
|
A D | parser.c | 349 yaml_tag_directive_t *end; 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() 425 yaml_free(tag_directives.end[-1].handle); in yaml_parser_parse_document_start() 426 yaml_free(tag_directives.end[-1].prefix); in yaml_parser_parse_document_start() 427 tag_directives.end --; in yaml_parser_parse_document_start() 1247 yaml_tag_directive_t *end; in yaml_parser_process_directives() member
|
A D | reader.c | 101 && parser->raw_buffer.last == parser->raw_buffer.end) in yaml_parser_update_raw_buffer() 122 parser->raw_buffer.end - parser->raw_buffer.last, &size_read)) { in yaml_parser_update_raw_buffer()
|
A D | dumper.c | 141 document->tag_directives.start, document->tag_directives.end, in yaml_emitter_dump()
|
A D | scanner.c | 2580 while ((size_t)(string.end - string.start) <= length) { in yaml_parser_scan_tag_uri() 2581 if (!yaml_string_extend(&string.start, &string.pointer, &string.end)) { in yaml_parser_scan_tag_uri()
|
/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()
|