Home
last modified time | relevance | path

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

12

/external/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()
/external/elfutils/src/libdwfl/
Dgzip.c102 void *input_buffer = NULL; in unzip() local
108 *whole = input_buffer; in unzip()
111 free (input_buffer); in unzip()
135 input_buffer = malloc (READ_SIZE); in unzip()
136 if (unlikely (input_buffer == NULL)) in unzip()
139 ssize_t n = pread_retry (fd, input_buffer, READ_SIZE, start_offset); in unzip()
144 mapped = input_buffer; in unzip()
149 input_buffer = *whole; in unzip()
182 if (z.avail_in == 0 && input_buffer != NULL) in unzip()
184 ssize_t n = pread_retry (fd, input_buffer, READ_SIZE, in unzip()
[all …]
/external/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()
Dtest_font_utils.cc63 void LoadFile(const char* input_file_path, ByteVector* input_buffer) { in LoadFile() argument
65 assert(input_buffer); in LoadFile()
77 input_buffer->resize(file_size); in LoadFile()
78 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); in LoadFile()
Dname_editing_test.cc36 static ByteVector input_buffer; variable
41 if (input_buffer.empty()) { in LoadTestFile()
42 LoadFile(SAMPLE_TTF_FILE, &input_buffer); in LoadTestFile()
44 factory->LoadFontsForBuilding(&input_buffer, font_builders); in LoadTestFile()
Dtest_font_utils.h34 void LoadFile(const char* input_file_path, ByteVector* input_buffer);
/external/elfutils/src/tests/
Dmd5-sha1-test.c79 char input_buffer[1000]; \
80 memset (input_buffer, tests[I].sample[1], sizeof input_buffer); \
82 ALGO##_process_bytes (input_buffer, sizeof input_buffer, &ctx); \
/external/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()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_fetch_emit.c121 unsigned input_buffer = src->vertex_buffer_index; in fetch_emit_prepare() local
133 input_buffer = draw->pt.nr_vertex_buffers; in fetch_emit_prepare()
139 key.element[i].input_buffer = input_buffer; in fetch_emit_prepare()
Ddraw_pt_fetch.c100 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
111 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
122 key.element[nr].input_buffer = draw->pt.vertex_element[ei].vertex_buffer_index; in draw_pt_fetch_prepare()
Ddraw_vs_variant.c298 fetch.element[i].input_buffer = key->element[i].in.buffer; in draw_vs_create_variant_generic()
314 emit.element[i].input_buffer = 0; in draw_vs_create_variant_generic()
324 emit.element[i].input_buffer = 1; in draw_vs_create_variant_generic()
Ddraw_pt_emit.c97 hw_key.element[i].input_buffer = src_buffer; in draw_pt_emit_prepare()
Ddraw_pipe_vbuf.c243 hw_key.element[i].input_buffer = src_buffer; in vbuf_start_prim()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dcgiapp.py199 input_buffer = b''
228 next, input_buffer = input_buffer, b''
238 input_buffer = next[bytes_written:]
/external/v8/preparser/
Dpreparser-process.cc356 AsciiInputStream input_buffer(source, length); in main() local
358 v8::PreParserData data = v8::Preparse(&input_buffer, kMaxStackSize); in main()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate.h57 unsigned input_buffer:8; member
Dtranslate_sse.c1477 p->nr_buffers = MAX2(p->nr_buffers, key->element[i].input_buffer + 1); in translate_sse2_create()
1487 if (p->buffer_variant[j].buffer_index == key->element[i].input_buffer && in translate_sse2_create()
1493 p->buffer_variant[j].buffer_index = key->element[i].input_buffer; in translate_sse2_create()
Dtranslate_generic.c831 tg->attrib[i].buffer = key->element[i].input_buffer; in translate_generic_create()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c300 uint8_t* input_buffer[MAX_MB_PLANE]; in temporal_filter_iterate_c() local
311 input_buffer[i] = mbd->plane[i].pre[0].buf; in temporal_filter_iterate_c()
587 mbd->plane[i].pre[0].buf = input_buffer[i]; in temporal_filter_iterate_c()
/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c147 key.element[0].input_buffer = 0; in main()
/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_vbo.c292 transkey.element[j].input_buffer = vbi; in nv30_vertex_state_create()
/external/mesa3d/src/gallium/drivers/nv50/
Dnv50_vbo.c104 transkey.element[j].input_buffer = vbi; in nv50_vertex_state_create()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_vbo.c121 transkey.element[j].input_buffer = vbi; in nvc0_vertex_state_create()
/external/mesa3d/src/gallium/auxiliary/util/
Du_vbuf.c509 te->input_buffer = vb_index; in u_vbuf_translate_begin()

12