Home
last modified time | relevance | path

Searched refs:input_buffer (Results 1 – 25 of 147) sorted by relevance

123456

/third_party/cJSON/
DcJSON.c305 static cJSON_bool parse_number(cJSON * const item, parse_buffer * const input_buffer) in parse_number() argument
313 if ((input_buffer == NULL) || (input_buffer->content == NULL)) in parse_number()
321 for (i = 0; (i < (sizeof(number_c_string) - 1)) && can_access_at_index(input_buffer, i); i++) in parse_number()
323 switch (buffer_at_offset(input_buffer)[i]) in parse_number() local
339 number_c_string[i] = buffer_at_offset(input_buffer)[i]; in parse_number()
377 input_buffer->offset += (size_t)(after_end - number_c_string); in parse_number()
778 static cJSON_bool parse_string(cJSON * const item, parse_buffer * const input_buffer) in parse_string() argument
780 const unsigned char *input_pointer = buffer_at_offset(input_buffer) + 1; in parse_string()
781 const unsigned char *input_end = buffer_at_offset(input_buffer) + 1; in parse_string()
786 if (buffer_at_offset(input_buffer)[0] != '\"') in parse_string() local
[all …]
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/entrypoint/
Dfrag_ubo_entry_point.amber11 ; layout(binding = 0) uniform input_buffer
29 OpName %input_buffer "input_buffer"
30 OpMemberName %input_buffer 0 "in_data"
33 OpMemberDecorate %input_buffer 0 Offset 0
34 OpDecorate %input_buffer Block
43 %input_buffer = OpTypeStruct %v4float
44 %_ptr_Uniform_input_buffer = OpTypePointer Uniform %input_buffer
Dfrag_ssbo_entry_point.amber11 ; layout(std430, binding = 0) buffer input_buffer
29 OpName %input_buffer "input_buffer"
30 OpMemberName %input_buffer 0 "data_SSBO"
34 OpMemberDecorate %input_buffer 0 Offset 0
35 OpDecorate %input_buffer Block
45 %input_buffer = OpTypeStruct %_runtimearr_v4float
46 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
Dcomp_ubo_entry_point.amber9 ; layout(binding = 0) uniform input_buffer
33 OpName %input_buffer "input_buffer"
34 OpMemberName %input_buffer 0 "in_data"
43 OpMemberDecorate %input_buffer 0 Offset 0
44 OpDecorate %input_buffer Block
62 %input_buffer = OpTypeStruct %_arr_int_uint_2
63 %_ptr_Uniform_input_buffer = OpTypePointer Uniform %input_buffer
Dcomp_ssbo_entry_point.amber8 ; layout(std430, binding = 0) buffer input_buffer
32 OpName %input_buffer "input_buffer"
33 OpMemberName %input_buffer 0 "data_SSBO"
42 OpMemberDecorate %input_buffer 0 Offset 0
43 OpDecorate %input_buffer Block
61 %input_buffer = OpTypeStruct %_runtimearr_int_0
62 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
Dvert_ssbo_entry_point.amber9 ; layout(std430, binding = 0) buffer input_buffer
29 OpName %input_buffer "input_buffer"
30 OpMemberName %input_buffer 0 "in_data"
39 OpMemberDecorate %input_buffer 0 Offset 0
40 OpDecorate %input_buffer Block
59 %input_buffer = OpTypeStruct %_arr_v2float_uint_3
60 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
Dvert_ubo_entry_point.amber9 ; layout(binding = 0) uniform input_buffer
29 OpName %input_buffer "input_buffer"
30 OpMemberName %input_buffer 0 "in_data"
39 OpMemberDecorate %input_buffer 0 Offset 0
40 OpDecorate %input_buffer Block
59 %input_buffer = OpTypeStruct %_arr_v2float_uint_3
60 %_ptr_Uniform_input_buffer = OpTypePointer Uniform %input_buffer
Dgeom_ubo_entry_point.amber13 ; layout(binding = 0) uniform input_buffer
50 OpName %input_buffer "input_buffer"
51 OpMemberName %input_buffer 0 "factor"
61 OpMemberDecorate %input_buffer 0 Offset 0
62 OpDecorate %input_buffer Block
88 %input_buffer = OpTypeStruct %float
89 %_ptr_Uniform_input_buffer = OpTypePointer Uniform %input_buffer
Dgeom_ssbo_entry_point.amber13 ; layout(std430, binding = 0) buffer input_buffer
49 OpName %input_buffer "input_buffer"
50 OpMemberName %input_buffer 0 "factor"
60 OpMemberDecorate %input_buffer 0 Offset 0
61 OpDecorate %input_buffer Block
87 %input_buffer = OpTypeStruct %float
88 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
Dtess_eval_ubo_entry_point.amber49 ; layout(binding = 0) uniform input_buffer
90 OpName %input_buffer "input_buffer"
91 OpMemberName %input_buffer 0 "in_val"
106 OpMemberDecorate %input_buffer 0 Offset 0
107 OpDecorate %input_buffer Block
142 %input_buffer = OpTypeStruct %v4float
143 %_ptr_Uniform_input_buffer = OpTypePointer Uniform %input_buffer
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/loop_control/
Diteration_multiple.amber11 ; layout(std430, binding = 0) buffer input_buffer
38 OpName %input_buffer "input_buffer"
39 OpMemberName %input_buffer 0 "in_size"
40 OpMemberName %input_buffer 1 "data_SSBO"
47 OpMemberDecorate %input_buffer 0 Offset 0
48 OpMemberDecorate %input_buffer 1 Offset 16
49 OpDecorate %input_buffer Block
65 %input_buffer = OpTypeStruct %int %_runtimearr_v4int
66 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
Dmax_iterations.amber11 ; layout(std430, binding = 0) buffer input_buffer
38 OpName %input_buffer "input_buffer"
39 OpMemberName %input_buffer 0 "in_size"
40 OpMemberName %input_buffer 1 "data_SSBO"
47 OpMemberDecorate %input_buffer 0 Offset 0
48 OpMemberDecorate %input_buffer 1 Offset 16
49 OpDecorate %input_buffer Block
65 %input_buffer = OpTypeStruct %int %_runtimearr_v4int
66 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
Dpartial_count.amber11 ; layout(std430, binding = 0) buffer input_buffer
38 OpName %input_buffer "input_buffer"
39 OpMemberName %input_buffer 0 "in_size"
40 OpMemberName %input_buffer 1 "data_SSBO"
47 OpMemberDecorate %input_buffer 0 Offset 0
48 OpMemberDecorate %input_buffer 1 Offset 16
49 OpDecorate %input_buffer Block
65 %input_buffer = OpTypeStruct %int %_runtimearr_v4int
66 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
Dmin_iterations.amber11 ; layout(std430, binding = 0) buffer input_buffer
38 OpName %input_buffer "input_buffer"
39 OpMemberName %input_buffer 0 "in_size"
40 OpMemberName %input_buffer 1 "data_SSBO"
47 OpMemberDecorate %input_buffer 0 Offset 0
48 OpMemberDecorate %input_buffer 1 Offset 16
49 OpDecorate %input_buffer Block
65 %input_buffer = OpTypeStruct %int %_runtimearr_v4int
66 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
Dpeel_count.amber11 ; layout(std430, binding = 0) buffer input_buffer
38 OpName %input_buffer "input_buffer"
39 OpMemberName %input_buffer 0 "in_size"
40 OpMemberName %input_buffer 1 "data_SSBO"
47 OpMemberDecorate %input_buffer 0 Offset 0
48 OpMemberDecorate %input_buffer 1 Offset 16
49 OpDecorate %input_buffer Block
65 %input_buffer = OpTypeStruct %int %_runtimearr_v4int
66 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
/third_party/elfutils/libdwfl/
Dgzip.c86 void *input_buffer; member
116 *state->whole = state->input_buffer; in fail()
119 free (state->input_buffer); in fail()
192 .input_buffer = NULL, in unzip()
200 state.input_buffer = malloc (READ_SIZE); in unzip()
201 if (unlikely (state.input_buffer == NULL)) in unzip()
204 ssize_t n = pread_retry (fd, state.input_buffer, READ_SIZE, start_offset); in unzip()
209 mapped = state.input_buffer; in unzip()
214 state.input_buffer = *state.whole; in unzip()
249 if (avail_in == 0 && state.input_buffer != NULL) in unzip()
[all …]
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc40 bool LoadFile(const char* input_file_path, sfntly::ByteVector* input_buffer) { in LoadFile() argument
42 assert(input_buffer); in LoadFile()
56 input_buffer->resize(file_size); in LoadFile()
57 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); in LoadFile()
107 sfntly::ByteVector input_buffer; in main() local
108 if (!LoadFile(argv[1], &input_buffer)) { in main()
122 &(input_buffer[0]), in main()
123 input_buffer.size(), in main()
/third_party/skia/third_party/externals/brotli/research/
Dbrotli_decoder.c18 uint8_t* input_buffer; member
26 ctx->input_buffer = 0; in init()
34 if (ctx->input_buffer) free(ctx->input_buffer); in cleanup()
58 ctx.input_buffer = (uint8_t*)malloc(BUFFER_SIZE); in main()
59 if (!ctx.input_buffer) fail(&ctx, "out of memory / input buffer"); in main()
70 available_in = fread(ctx.input_buffer, 1, BUFFER_SIZE, ctx.fin); in main()
71 next_in = ctx.input_buffer; in main()
/third_party/python/Modules/
D_bz2module.c110 char *input_buffer; member
504 avail_now = (d->input_buffer + d->input_buffer_size) in decompress()
513 size_t offset = bzs->next_in - d->input_buffer; in decompress()
519 tmp = PyMem_Realloc(d->input_buffer, new_size); in decompress()
524 d->input_buffer = tmp; in decompress()
527 bzs->next_in = d->input_buffer + offset; in decompress()
530 memmove(d->input_buffer, bzs->next_in, in decompress()
532 bzs->next_in = d->input_buffer; in decompress()
573 if (d->input_buffer != NULL && in decompress()
575 PyMem_Free(d->input_buffer); in decompress()
[all …]
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/opselect/
Dscalar_select.amber19 OpName %input_buffer "input_buffer"
20 OpMemberName %input_buffer 0 "data_SSBO"
29 OpMemberDecorate %input_buffer 0 Offset 0
30 OpDecorate %input_buffer Block
48 %input_buffer = OpTypeStruct %_runtimearr_int_0
49 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
Dstruct_select.amber12 ;layout(std430, binding = 0) buffer input_buffer
53 OpName %input_buffer "input_buffer"
54 OpMemberName %input_buffer 0 "data_SSBO"
66 OpMemberDecorate %input_buffer 0 Offset 0
67 OpDecorate %input_buffer Block
92 %input_buffer = OpTypeStruct %_runtimearr_S_0_0
93 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
Dvector_select.amber11 ; layout(std430, binding = 0) buffer input_buffer
38 OpName %input_buffer "input_buffer"
39 OpMemberName %input_buffer 0 "data_SSBO"
48 OpMemberDecorate %input_buffer 0 Offset 0
49 OpDecorate %input_buffer Block
65 %input_buffer = OpTypeStruct %_runtimearr_v4float
66 %_ptr_StorageBuffer_input_buffer = OpTypePointer StorageBuffer %input_buffer
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dchrome_subsetter.cc36 sfntly::ByteVector input_buffer; in TestChromeSubsetter() local
37 sfntly::LoadFile(kInputFileName, &input_buffer); in TestChromeSubsetter()
38 EXPECT_GT(input_buffer.size(), (size_t)0); in TestChromeSubsetter()
43 &(input_buffer[0]), in TestChromeSubsetter()
44 input_buffer.size(), in TestChromeSubsetter()
Dfont_parsing_test.cc35 ByteVector input_buffer; in TestFontParsing() local
36 LoadFile(SAMPLE_TTF_FILE, &input_buffer); in TestFontParsing()
46 factory->LoadFontsForBuilding(&input_buffer, &font_builder_array2); in TestFontParsing()
117 ByteVector input_buffer; in TestTTFMemoryBasedReadWrite() local
118 LoadFile(SAMPLE_TTF_FILE, &input_buffer); in TestTTFMemoryBasedReadWrite()
123 factory->LoadFontsForBuilding(&input_buffer, &font_builder_array); in TestTTFMemoryBasedReadWrite()
129 EXPECT_GE(output_stream.Size(), input_buffer.size()); in TestTTFMemoryBasedReadWrite()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/subsetter/
Dsubset_util.cc45 ByteVector input_buffer; in Subset() local
54 input_buffer.resize(file_size); in Subset()
55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file); in Subset()
63 factory->LoadFonts(&input_buffer, &font_array); in Subset()

123456