Home
last modified time | relevance | path

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

12345678

/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()
769 static cJSON_bool parse_string(cJSON * const item, parse_buffer * const input_buffer) in parse_string() argument
771 const unsigned char *input_pointer = buffer_at_offset(input_buffer) + 1; in parse_string()
772 const unsigned char *input_end = buffer_at_offset(input_buffer) + 1; in parse_string()
777 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
/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
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
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
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/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/flutter/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/grpc/test/core/compression/
Dmessage_decompress_fuzzer.cc42 grpc_slice_buffer input_buffer; in LLVMFuzzerTestOneInput() local
43 grpc_slice_buffer_init(&input_buffer); in LLVMFuzzerTestOneInput()
44 grpc_slice_buffer_add(&input_buffer, in LLVMFuzzerTestOneInput()
50 grpc_msg_decompress(compression_algorithm, &input_buffer, &output_buffer); in LLVMFuzzerTestOneInput()
52 grpc_slice_buffer_destroy(&input_buffer); in LLVMFuzzerTestOneInput()
Dmessage_compress_fuzzer.cc42 grpc_slice_buffer input_buffer; in LLVMFuzzerTestOneInput() local
43 grpc_slice_buffer_init(&input_buffer); in LLVMFuzzerTestOneInput()
44 grpc_slice_buffer_add(&input_buffer, in LLVMFuzzerTestOneInput()
50 grpc_msg_compress(compression_algorithm, &input_buffer, &output_buffer); in LLVMFuzzerTestOneInput()
52 grpc_slice_buffer_destroy(&input_buffer); in LLVMFuzzerTestOneInput()
Dstream_compression_fuzzer.cc36 grpc_slice_buffer input_buffer; in LLVMFuzzerTestOneInput() local
37 grpc_slice_buffer_init(&input_buffer); in LLVMFuzzerTestOneInput()
39 &input_buffer, in LLVMFuzzerTestOneInput()
44 grpc_stream_compress(context, &input_buffer, &output_buffer, nullptr, in LLVMFuzzerTestOneInput()
48 grpc_slice_buffer_destroy(&input_buffer); in LLVMFuzzerTestOneInput()
Dstream_decompression_fuzzer.cc36 grpc_slice_buffer input_buffer; in LLVMFuzzerTestOneInput() local
37 grpc_slice_buffer_init(&input_buffer); in LLVMFuzzerTestOneInput()
39 &input_buffer, in LLVMFuzzerTestOneInput()
45 grpc_stream_decompress(context, &input_buffer, &output_buffer, nullptr, in LLVMFuzzerTestOneInput()
49 grpc_slice_buffer_destroy(&input_buffer); in LLVMFuzzerTestOneInput()
/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()
/third_party/flutter/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/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
/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/glib/gio/
Dgconverterinputstream.c60 Buffer input_buffer; member
147 g_free (priv->input_buffer.data); in g_converter_input_stream_finalize()
358 buffer_ensure_space (&priv->input_buffer, at_least_size); in fill_input_buffer()
362 priv->input_buffer.data + priv->input_buffer.end, in fill_input_buffer()
363 buffer_tailspace (&priv->input_buffer), in fill_input_buffer()
370 priv->input_buffer.end += nread; in fill_input_buffer()
420 if (buffer_data_size (&priv->input_buffer) == 0 && in read_internal()
436 buffer_data (&priv->input_buffer), in read_internal()
437 buffer_data_size (&priv->input_buffer), in read_internal()
446 buffer_consumed (&priv->input_buffer, bytes_read); in read_internal()
[all …]

12345678