Home
last modified time | relevance | path

Searched refs:output_buffer (Results 1 – 25 of 92) sorted by relevance

1234

/external/pdfium/core/fxcrt/
Dcfx_seekablemultistream_unittest.cpp21 uint8_t output_buffer[16]; in TEST() local
22 memset(output_buffer, 0xbd, sizeof(output_buffer)); in TEST()
23 EXPECT_FALSE(fileread->ReadBlock(output_buffer, 0, 0)); in TEST()
24 EXPECT_EQ(0xbd, output_buffer[0]); in TEST()
33 uint8_t output_buffer[16]; in TEST() local
34 memset(output_buffer, 0xbd, sizeof(output_buffer)); in TEST()
35 EXPECT_FALSE(fileread->ReadBlock(output_buffer, 0, 0)); in TEST()
36 EXPECT_EQ(0xbd, output_buffer[0]); in TEST()
58 uint8_t output_buffer[16]; in TEST() local
59 memset(output_buffer, 0xbd, sizeof(output_buffer)); in TEST()
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DRubyTarget.java144 StringBuilder output_buffer = new StringBuilder(); in snakecase() local
159 output_buffer.append( Character.toLowerCase( cur ) ); in snakecase()
162 output_buffer.append( '_' ); in snakecase()
165 output_buffer.append( '_' ); in snakecase()
173 output_buffer.append( '_' ); in snakecase()
177 output_buffer.append( cur ); in snakecase()
179 output_buffer.append( '_' ); in snakecase()
184 output_buffer.append( cur ); in snakecase()
191 output_buffer.append( Character.toLowerCase( cur ) ); in snakecase()
194 return output_buffer.toString(); in snakecase()
[all …]
/external/nos/test/system-test-harness/src/
Dnugget_core_tests.cc28 static vector<uint8_t> output_buffer; member in __anon53e839cd0111::NuggetCoreTest
35 vector<uint8_t> NuggetCoreTest::output_buffer; member in __anon53e839cd0111::NuggetCoreTest
43 output_buffer.reserve(0x4000); in SetUpTestCase()
57 APP_ID_NUGGET, NUGGET_PARAM_VERSION, input_buffer, &output_buffer), ""); in TEST_F()
58 ASSERT_GT(output_buffer.size(), 0u); in TEST_F()
64 APP_ID_NUGGET, NUGGET_PARAM_DEVICE_ID, input_buffer, &output_buffer), ""); in TEST_F()
65 ASSERT_EQ(output_buffer.size(), 18u); in TEST_F()
66 for (size_t i = 0; i < output_buffer.size(); i++) { in TEST_F()
68 ASSERT_EQ(output_buffer[i], ':'); in TEST_F()
70 ASSERT_EQ(output_buffer[i], '\0'); in TEST_F()
[all …]
Dutil.cc114 output_buffer(PROTO_BUFFER_MAX_LEN, 0), in TestHarness()
125 verbosity(ERROR), output_buffer(PROTO_BUFFER_MAX_LEN, 0), in TestHarness()
244 output_buffer.resize(output_buffer.capacity()); in SendSpi()
246 &output_buffer); in SendSpi()
373 if (output_buffer.size() < 2) { in GetSpi()
379 for (char c : output_buffer) { in GetSpi()
390 msg->type = (output_buffer[0] << 8) | output_buffer[1]; in GetSpi()
391 msg->data_len = output_buffer.size() - sizeof(msg->type); in GetSpi()
392 std::copy(output_buffer.begin() + 2, output_buffer.end(), msg->data); in GetSpi()
393 output_buffer.resize(0); in GetSpi()
[all …]
/external/sfntly/cpp/src/sample/chromium/
Dfont_subsetter.cc26 unsigned char** output_buffer) { in SubsetFont() argument
27 if (output_buffer == NULL || in SubsetFont()
38 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer); in SubsetFont()
46 unsigned char** output_buffer) { in SubsetFont() argument
47 if (output_buffer == NULL || in SubsetFont()
58 return subsetter.SubsetFont(glyph_ids, glyph_count, output_buffer); in SubsetFont()
Dchrome_subsetter.cc62 bool SaveFile(const char* output_file_path, const unsigned char* output_buffer, in SaveFile() argument
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file); in SaveFile()
119 unsigned char* output_buffer = NULL; in main() local
126 &output_buffer); in main()
128 int result = SaveFile(argv[2], output_buffer, output_length) ? 1 : 0; in main()
129 delete[] output_buffer; in main()
/external/tensorflow/tensorflow/contrib/lite/kernels/
Dsoftmax_test.cc94 std::unique_ptr<float[]> output_buffer(new float[input_size * batch_size]); in TEST() local
98 output_buffer.get(), input_dims); in TEST()
101 expected.insert(expected.end(), output_buffer.get(), in TEST()
102 output_buffer.get() + input_size * batch_size); in TEST()
122 std::unique_ptr<float[]> output_buffer(new float[input_size * batch_size]); in TEST() local
126 output_buffer.get(), input_dims); in TEST()
129 expected.insert(expected.end(), output_buffer.get(), in TEST()
130 output_buffer.get() + input_size * batch_size); in TEST()
/external/tpm2/
Dparsep442 output_buffer = [] variable
57 func_file.write(postprocess_lines(output_buffer))
61 output_buffer = [line,] variable
67 output_buffer.append('\n'.join(line_buffer))
69 output_buffer.append(line)
77 func_file.write(postprocess_lines(output_buffer))
Dparsep347 output_buffer = [] variable
59 func_file.write(postprocess_lines(output_buffer))
62 output_buffer = [line,] variable
68 output_buffer.append('\n'.join(line_buffer))
70 output_buffer.append(line)
75 func_file.write(postprocess_lines(output_buffer))
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/
Dresolve_constant_shape_or_rank.cc50 auto& output_buffer = output_array.GetMutableBuffer<ArrayDataType::kInt32>(); in Run() local
53 output_buffer.data = input_array.shape().dims(); in Run()
56 output_buffer.data.resize(1); in Run()
57 output_buffer.data[0] = input_array.shape().dimensions_count(); in Run()
60 {static_cast<int>(output_buffer.data.size())}); in Run()
Dresolve_constant_fake_quant.cc54 auto& output_buffer = output_array.GetMutableBuffer<ArrayDataType::kFloat>(); in Run() local
56 output_buffer.data.resize(size); in Run()
67 output_buffer.data[i] = dst_val; in Run()
/external/curl/lib/
Dkrb5.c159 gss_buffer_desc input_buffer, output_buffer, _gssresp, *gssresp; in krb5_auth() local
216 gss_display_name(&min, gssname, &output_buffer, NULL); in krb5_auth()
217 Curl_infof(data, "Trying against %s\n", output_buffer.value); in krb5_auth()
225 gss_release_buffer(&min, &output_buffer); in krb5_auth()
234 &output_buffer, in krb5_auth()
249 if(output_buffer.length != 0) { in krb5_auth()
252 result = Curl_base64_encode(data, (char *)output_buffer.value, in krb5_auth()
253 output_buffer.length, &p, &base64_sz); in krb5_auth()
305 gss_release_buffer(&min, &output_buffer); in krb5_auth()
/external/sfntly/cpp/src/test/
Dchrome_subsetter.cc40 unsigned char* output_buffer = NULL; in TestChromeSubsetter() local
47 &output_buffer); in TestChromeSubsetter()
60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); in TestChromeSubsetter()
66 delete[] output_buffer; in TestChromeSubsetter()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_variant.c105 void *output_buffer ) in do_rhw_viewport() argument
107 char *ptr = (char *)output_buffer; in do_rhw_viewport()
115 find_viewport(vsvg->base.vs->draw, (char*)output_buffer, in do_rhw_viewport()
131 void *output_buffer ) in do_viewport() argument
133 char *ptr = (char *)output_buffer; in do_viewport()
141 find_viewport(vsvg->base.vs->draw, (char*)output_buffer, in do_viewport()
157 void *output_buffer) in vsvg_run_elts() argument
217 output_buffer ); in vsvg_run_elts()
226 void *output_buffer ) in vsvg_run_linear() argument
282 output_buffer ); in vsvg_run_linear()
/external/libxaac/decoder/
Dixheaacd_acelp_mdct.c225 WORD32 *output_buffer = &usac_data->x_ac_dec[0]; in ixheaacd_acelp_mdct_main() local
228 err = ixheaacd_acelp_mdct(in, output_buffer, preshift, l + m, ptr_scratch); in ixheaacd_acelp_mdct_main()
232 out[l + m / 2 - 1 - i] = -output_buffer[m / 2 + l / 2 + i]; in ixheaacd_acelp_mdct_main()
235 out[i] = output_buffer[m + l / 2 + i]; in ixheaacd_acelp_mdct_main()
236 out[l - 1 - i] = -output_buffer[m + l / 2 + i]; in ixheaacd_acelp_mdct_main()
239 out[l + m / 2 + i] = -output_buffer[m / 2 + l / 2 - 1 - i]; in ixheaacd_acelp_mdct_main()
242 out[l + m + i] = -output_buffer[l / 2 - 1 - i]; in ixheaacd_acelp_mdct_main()
243 out[2 * l + m - 1 - i] = -output_buffer[l / 2 - 1 - i]; in ixheaacd_acelp_mdct_main()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_draw.cpp109 uint32_t output_buffer = so->output[i].output_buffer; in swr_draw_vbo() local
110 if (so->output[i].dst_offset != offsets[output_buffer]) { in swr_draw_vbo()
112 state.stream.decl[num].bufferIndex = output_buffer; in swr_draw_vbo()
115 (1 << (so->output[i].dst_offset - offsets[output_buffer])) in swr_draw_vbo()
118 offsets[output_buffer] = so->output[i].dst_offset; in swr_draw_vbo()
121 state.stream.decl[num].bufferIndex = output_buffer; in swr_draw_vbo()
129 offsets[output_buffer] += so->output[i].num_components; in swr_draw_vbo()
/external/tensorflow/tensorflow/contrib/cloud/kernels/
Dbigquery_table_accessor.cc175 std::vector<char> output_buffer; in ReadRow() local
176 output_buffer.reserve(kBufferSize); in ReadRow()
191 request->SetResultBuffer(&output_buffer); in ReadRow()
197 StringPiece(&output_buffer[0], output_buffer.size()); in ReadRow()
265 std::vector<char> output_buffer; in ReadSchema() local
266 output_buffer.reserve(kBufferSize); in ReadSchema()
269 request->SetResultBuffer(&output_buffer); in ReadSchema()
275 StringPiece(&output_buffer[0], output_buffer.size()); in ReadSchema()
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate.h87 void *output_buffer);
94 void *output_buffer);
101 void *output_buffer);
108 void *output_buffer);
/external/tcpdump/
Dprint-esp.c195 u_char *output_buffer; in esp_print_decrypt_buffer_by_ikev2() local
236 output_buffer = (u_char *)malloc(output_buffer_size); in esp_print_decrypt_buffer_by_ikev2()
237 if (output_buffer == NULL) { in esp_print_decrypt_buffer_by_ikev2()
242 EVP_Cipher(ctx, output_buffer, buf, len); in esp_print_decrypt_buffer_by_ikev2()
249 memcpy(buf, output_buffer, len); in esp_print_decrypt_buffer_by_ikev2()
250 free(output_buffer); in esp_print_decrypt_buffer_by_ikev2()
664 u_char *output_buffer; in esp_print() local
787 output_buffer = (u_char *)malloc(output_buffer_size); in esp_print()
788 if (output_buffer == NULL) { in esp_print()
794 EVP_Cipher(ctx, output_buffer, p + ivlen, len); in esp_print()
[all …]
/external/webp/src/webp/
Ddecode.h101 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
104 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
107 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
113 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
116 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
280 WEBP_EXTERN WebPIDecoder* WebPINewDecoder(WebPDecBuffer* output_buffer);
294 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
/external/webp/include/webp/
Ddecode.h101 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
104 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
107 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
113 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
116 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
280 WEBP_EXTERN WebPIDecoder* WebPINewDecoder(WebPDecBuffer* output_buffer);
294 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
/external/libxaac/decoder/drc_src/
Dimpd_drc_main_td_process.c80 FLOAT32 *output_buffer; in impd_process_time_domain() local
87 output_buffer = (FLOAT32 *)p_obj_drc->pp_mem[3]; in impd_process_time_domain()
219 output_buffer[j * p_obj_drc->str_config.num_ch_out + i] = in impd_process_time_domain()
226 output_buffer, p_obj_drc->str_config.frame_size); in impd_process_time_domain()
233 output_buffer[j * p_obj_drc->str_config.num_ch_out + i]; in impd_process_time_domain()
255 output_buffer[j * p_obj_drc->str_config.num_ch_out + i] = in impd_process_time_domain()
276 memcpy(output_buffer, in impd_process_time_domain()
277 (output_buffer + (p_obj_drc->p_state->delay_in_output * in impd_process_time_domain()
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
Dfunctional.rb191 def output_buffer method
197 output_buffer.string
201 output_buffer.puts( *args )
205 output_buffer.write( *args )
/external/perf_data_converter/src/quipper/
Dtest_utils.cc62 std::vector<char> output_buffer; in ReadExistingProtobufText() local
63 if (!quipper::FileToBuffer(filename, &output_buffer)) { in ReadExistingProtobufText()
67 output_string->assign(&output_buffer[0], output_buffer.size()); in ReadExistingProtobufText()
/external/vboot_reference/host/arch/x86_64/lib/
Dcrossystem_arch.c230 uint8_t* output_buffer = NULL; in VbGetBuffer() local
263 output_buffer = malloc(real_size/3); in VbGetBuffer()
264 if (!output_buffer) in VbGetBuffer()
266 output_ptr = output_buffer; in VbGetBuffer()
288 return_value = output_buffer; in VbGetBuffer()
289 output_buffer = NULL; /* prevent it from deallocating */ in VbGetBuffer()
302 if (output_buffer) in VbGetBuffer()
303 free(output_buffer); in VbGetBuffer()

1234