Searched refs:size (Results 1 – 9 of 9) sorted by relevance
/optee_benchmark/libyaml/src/ |
A D | api.c | 31 yaml_malloc(size_t size) in yaml_malloc() argument 33 return malloc(size ? size : 1); in yaml_malloc() 41 yaml_realloc(void *ptr, size_t size) in yaml_realloc() argument 43 return ptr ? realloc(ptr, size ? size : 1) : malloc(size ? size : 1); in yaml_realloc() 259 parser->input.string.current += size; in yaml_string_read_handler() 260 *size_read = size; in yaml_string_read_handler() 295 parser->input.string.end = input+size; in yaml_parser_set_input_string() 419 < size) { in yaml_string_write_handler() 423 emitter->output.string.size in yaml_string_write_handler() 444 return (fwrite(buffer, 1, size, emitter->output.file) == size); in yaml_file_write_handler() [all …]
|
A D | yaml_private.h | 26 yaml_malloc(size_t size); 29 yaml_realloc(void *ptr, size_t size); 91 #define BUFFER_INIT(context,buffer,size) \ argument 92 (((buffer).start = yaml_malloc(size)) ? \ 94 (buffer).end = (buffer).start+(size), \ 131 #define STRING_INIT(context,string,size) \ argument 132 (((string).start = yaml_malloc(size)) ? \ 134 (string).end = (string).start+(size), \ 135 memset((string).start, 0, (size)), \ 422 #define STACK_INIT(context,stack,size) \ argument [all …]
|
A D | reader.c | 169 size_t size = parser->buffer.last - parser->buffer.pointer; in yaml_parser_update_buffer() local 170 memmove(parser->buffer.start, parser->buffer.pointer, size); in yaml_parser_update_buffer() 172 parser->buffer.last = parser->buffer.start + size; in yaml_parser_update_buffer()
|
/optee_benchmark/ |
A D | benchmark_aux.h | 24 void *mmap_paddr(intptr_t paddr, uint64_t size);
|
A D | main.c | 73 size_t size; in alloc_bench_buf() local 85 size = op.params[0].value.b; in alloc_bench_buf() 87 INFO("ts buffer paddr = %" PRIiPTR ", size = %zu\n", paddr_ts_buf, size); in alloc_bench_buf() 90 bench_ts_global = mmap_paddr(paddr_ts_buf, size); in alloc_bench_buf()
|
A D | benchmark_aux.c | 106 void *mmap_paddr(intptr_t paddr, uint64_t size) in mmap_paddr() argument 120 hw_addr = (intptr_t *)mmap(0, size, PROT_READ|PROT_WRITE, in mmap_paddr()
|
/optee_benchmark/libyaml/include/ |
A D | yaml.h | 988 typedef int yaml_read_handler_t(void *data, unsigned char *buffer, size_t size, 1344 const unsigned char *input, size_t size); 1478 typedef int yaml_write_handler_t(void *data, unsigned char *buffer, size_t size); 1561 size_t size; member 1806 unsigned char *output, size_t size, size_t *size_written);
|
/optee_benchmark/libyaml/tests/ |
A D | run-dumper.c | 163 int print_output(char *name, unsigned char *buffer, size_t size, int count) in print_output() argument 184 printf("OUTPUT:\n%s#### (length: %zd)\n", buffer, size); in print_output()
|
A D | run-emitter.c | 188 int print_output(char *name, unsigned char *buffer, size_t size, int count) in print_output() argument 209 printf("OUTPUT:\n%s#### (length: %zd)\n", buffer, size); in print_output()
|
Completed in 17 milliseconds