/optee_benchmark/libyaml/tests/ |
A D | example-deconstructor-alt.c | 114 int properties, key, value, map, seq; in main() local 148 if (!value) goto document_error; in main() 183 if (!value) goto document_error; in main() 198 if (!value) goto document_error; in main() 308 if (!value) goto document_error; in main() 323 if (!value) goto document_error; in main() 335 if (!value) goto document_error; in main() 350 if (!value) goto document_error; in main() 362 if (!value) goto document_error; in main() 377 if (!value) goto document_error; in main() [all …]
|
A D | run-dumper.c | 32 node->data.scalar.value, node->data.scalar.length, in copy_document() 65 pair->key, pair->value)) goto error; in copy_document() 99 if (strncmp((char *)node1->data.scalar.value, (char *)node2->data.scalar.value, in compare_nodes() 118 if (!compare_nodes(document1, node1->data.mapping.pairs.start[k].value, in compare_nodes() 119 document2, node2->data.mapping.pairs.start[k].value, level)) return 0; in compare_nodes()
|
A D | run-emitter.c | 45 event_from->data.scalar.value, in copy_event() 138 || memcmp(event1->data.scalar.value, event2->data.scalar.value, in compare_events()
|
A D | example-deconstructor.c | 590 input_event.data.scalar.value, in main()
|
/optee_benchmark/libyaml/src/ |
A D | reader.c | 10 size_t offset, int value); 27 size_t offset, int value) in yaml_parser_set_reader_error() argument 32 parser->problem_value = value; in yaml_parser_set_reader_error() 277 value = (value << 6) + (octet & 0x3F); in yaml_parser_update_buffer() 292 if ((value >= 0xD800 && value <= 0xDFFF) || value > 0x10FFFF) in yaml_parser_update_buffer() 387 value = 0x10000 + ((value & 0x3FF) << 10) + (value2 & 0x3FF); in yaml_parser_update_buffer() 411 if (! (value == 0x09 || value == 0x0A || value == 0x0D in yaml_parser_update_buffer() 412 || (value >= 0x20 && value <= 0x7E) in yaml_parser_update_buffer() 413 || (value == 0x85) || (value >= 0xA0 && value <= 0xD7FF) in yaml_parser_update_buffer() 414 || (value >= 0xE000 && value <= 0xFFFD) in yaml_parser_update_buffer() [all …]
|
A D | writer.c | 74 unsigned int value; in yaml_emitter_flush() local 91 value = (octet & 0x80) == 0x00 ? octet & 0x7F : in yaml_emitter_flush() 98 value = (value << 6) + (octet & 0x3F); in yaml_emitter_flush() 105 if (value < 0x10000) in yaml_emitter_flush() 107 emitter->raw_buffer.last[high] = value >> 8; in yaml_emitter_flush() 108 emitter->raw_buffer.last[low] = value & 0xFF; in yaml_emitter_flush() 116 value -= 0x10000; in yaml_emitter_flush() 117 emitter->raw_buffer.last[high] = 0xD8 + (value >> 18); in yaml_emitter_flush() 118 emitter->raw_buffer.last[low] = (value >> 10) & 0xFF; in yaml_emitter_flush() 119 emitter->raw_buffer.last[high+2] = 0xDC + ((value >> 8) & 0xFF); in yaml_emitter_flush() [all …]
|
A D | api.c | 628 unsigned int value; in yaml_check_utf8() local 645 value = (value << 6) + (octet & 0x3F); in yaml_check_utf8() 742 if (!value.handle || !value.prefix) goto error; in yaml_document_start_event_initialize() 745 value.handle = NULL; in yaml_document_start_event_initialize() 764 yaml_free(value.handle); in yaml_document_start_event_initialize() 765 yaml_free(value.prefix); in yaml_document_start_event_initialize() 1083 if (!value.handle || !value.prefix) goto error; in yaml_document_initialize() 1106 yaml_free(value.handle); in yaml_document_initialize() 1107 yaml_free(value.prefix); in yaml_document_initialize() 1379 assert(value > 0 && document->nodes.start + value <= document->nodes.top); in yaml_document_append_mapping_pair() [all …]
|
A D | emitter.c | 206 yaml_char_t *value, size_t length); 229 yaml_char_t *value, size_t length); 233 yaml_char_t *value, size_t length); 257 yaml_char_t *value, size_t length); 261 yaml_char_t *value, size_t length); 1503 emitter->scalar_data.value = value; in yaml_emitter_analyze_scalar() 1688 emitter->scalar_data.value = NULL; in yaml_emitter_analyze_event() 1877 unsigned int value; in yaml_emitter_write_tag_content() local 2036 unsigned int value; in yaml_emitter_write_double_quoted_scalar() local 2050 value = (value << 6) + (octet & 0x3F); in yaml_emitter_write_double_quoted_scalar() [all …]
|
A D | parser.c | 558 anchor = token->data.anchor.value; in yaml_parser_parse_node() 586 anchor = token->data.anchor.value; in yaml_parser_parse_node() 689 if (!value) { in yaml_parser_parse_node() 693 value[0] = '\0'; in yaml_parser_parse_node() 1213 yaml_char_t *value; in yaml_parser_process_empty_scalar() local 1215 value = yaml_malloc(1); in yaml_parser_process_empty_scalar() 1216 if (!value) { in yaml_parser_process_empty_scalar() 1220 value[0] = '\0'; in yaml_parser_process_empty_scalar() 1283 yaml_tag_directive_t value; in yaml_parser_process_directives() local 1357 copy.handle = yaml_strdup(value.handle); in yaml_parser_append_tag_directive() [all …]
|
A D | yaml_private.h | 126 #define STRING_ASSIGN(value,string,length) \ argument 127 ((value).start = (string), \ 128 (value).end = (string)+(length), \ 129 (value).pointer = (string)) 443 #define PUSH(context,stack,value) \ argument 447 (*((stack).top++) = value, \ 470 #define ENQUEUE(context,queue,value) \ argument 474 (*((queue).tail++) = value, \ 482 #define QUEUE_INSERT(context,queue,index,value) \ argument 513 (token).data.alias.value = (token_value)) [all …]
|
A D | scanner.c | 2214 int value = 0; in yaml_parser_scan_version_directive_number() local 2230 value = value*10 + AS_DIGIT(parser->buffer); in yaml_parser_scan_version_directive_number() 2244 *number = value; in yaml_parser_scan_version_directive_number() 3224 unsigned int value = 0; in yaml_parser_scan_flow_scalar() local 3237 value = (value << 4) + AS_HEX_AT(parser->buffer, k); in yaml_parser_scan_flow_scalar() 3242 if ((value >= 0xD800 && value <= 0xDFFF) || value > 0x10FFFF) { in yaml_parser_scan_flow_scalar() 3248 if (value <= 0x7F) { in yaml_parser_scan_flow_scalar() 3249 *(string.pointer++) = value; in yaml_parser_scan_flow_scalar() 3251 else if (value <= 0x7FF) { in yaml_parser_scan_flow_scalar() 3252 *(string.pointer++) = 0xC0 + (value >> 6); in yaml_parser_scan_flow_scalar() [all …]
|
A D | dumper.c | 183 yaml_free(node.data.scalar.value); in yaml_emitter_delete_document_and_anchors() 227 yaml_emitter_anchor_node(emitter, pair->value); in yaml_emitter_anchor_node() 327 SCALAR_EVENT_INIT(event, anchor, node->tag, node->data.scalar.value, in yaml_emitter_dump_scalar() 386 if (!yaml_emitter_dump_node(emitter, pair->value)) return 0; in yaml_emitter_dump_mapping()
|
A D | loader.c | 297 SCALAR_NODE_INIT(node, tag, first_event->data.scalar.value, in yaml_parser_load_scalar() 313 yaml_free(first_event->data.scalar.value); in yaml_parser_load_scalar() 427 pair.value = yaml_parser_load_node(parser, &event); in yaml_parser_load_mapping() 428 if (!pair.value) return 0; in yaml_parser_load_mapping()
|
/optee_benchmark/libyaml/tests/run-test-suite/src/ |
A D | libyaml-emitter.c | 11 void get_value(char *line, char *value, int *style); 78 char value[1024]; in main() local 81 get_value(line, value, &style); in main() 214 value[i++] = '\\'; in get_value() 216 value[i++] = '\0'; in get_value() 218 value[i++] = '\b'; in get_value() 220 value[i++] = '\n'; in get_value() 222 value[i++] = '\r'; in get_value() 224 value[i++] = '\t'; in get_value() 229 value[i++] = *c; in get_value() [all …]
|
A D | libyaml-parser.c | 101 print_escaped(event.data.scalar.value, event.data.scalar.length); in main()
|
/optee_benchmark/libyaml/examples/ |
A D | mapping.yaml | 1 key: value 2 other-key: other-value
|
A D | strings.yaml | 3 This entire block of text will be the value of the 'literal-block' key, 6 This entire block of text will be the value of 'folded', but this
|
A D | json.yaml | 1 {"key": ["value", 3]}
|
/optee_benchmark/libyaml/include/ |
A D | yaml.h | 286 yaml_char_t *value; member 292 yaml_char_t *value; member 306 yaml_char_t *value; member 436 yaml_char_t *value; member 582 yaml_char_t *value, int length, 715 int value; member 733 yaml_char_t *value; member 899 yaml_char_t *tag, yaml_char_t *value, int length, 961 int mapping, int key, int value); 1713 yaml_char_t *value; member
|
/optee_benchmark/ |
A D | main.c | 78 op.params[1].value.a = cores; in alloc_bench_buf() 84 paddr_ts_buf = op.params[0].value.a; in alloc_bench_buf() 85 size = op.params[0].value.b; in alloc_bench_buf() 240 static bool fill_map(char *var, char *value) in fill_map() argument 250 (yaml_char_t *)value, -1, 1, 1, YAML_PLAIN_SCALAR_STYLE); in fill_map()
|