/external/pdfium/core/fxcrt/ |
D | cfx_seekablemultistream_unittest.cpp | 21 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/brotli/research/ |
D | brotli_decoder.c | 19 uint8_t* output_buffer; member 27 ctx->output_buffer = 0; in init() 33 if (ctx->output_buffer) free(ctx->output_buffer); in cleanup() 59 ctx.output_buffer = (uint8_t*)malloc(BUFFER_SIZE); in main() 60 if (!ctx.output_buffer) fail(&ctx, "out of memory / output buffer"); in main() 65 next_out = ctx.output_buffer; in main() 73 fwrite(ctx.output_buffer, 1, BUFFER_SIZE, ctx.fout); in main() 76 next_out = ctx.output_buffer; in main() 83 if (next_out != ctx.output_buffer) { in main() 84 fwrite(ctx.output_buffer, 1, next_out - ctx.output_buffer, ctx.fout); in main()
|
/external/antlr/tool/src/main/java/org/antlr/codegen/ |
D | RubyTarget.java | 145 StringBuilder output_buffer = new StringBuilder(); in snakecase() local 160 output_buffer.append( Character.toLowerCase( cur ) ); in snakecase() 163 output_buffer.append( '_' ); in snakecase() 166 output_buffer.append( '_' ); in snakecase() 174 output_buffer.append( '_' ); in snakecase() 178 output_buffer.append( cur ); in snakecase() 180 output_buffer.append( '_' ); in snakecase() 185 output_buffer.append( cur ); in snakecase() 192 output_buffer.append( Character.toLowerCase( cur ) ); in snakecase() 195 return output_buffer.toString(); in snakecase() [all …]
|
/external/iperf3/src/ |
D | cjson.c | 430 static cJSON_bool print_number(const cJSON * const item, printbuffer * const output_buffer) in print_number() argument 440 if (output_buffer == NULL) in print_number() 470 output_pointer = ensure(output_buffer, (size_t)length); in print_number() 490 output_buffer->offset += (size_t)length; in print_number() 783 …c cJSON_bool print_string_ptr(const unsigned char * const input, printbuffer * const output_buffer) in print_string_ptr() argument 792 if (output_buffer == NULL) in print_string_ptr() 800 output = ensure(output_buffer, sizeof("\"\"")); in print_string_ptr() 836 output = ensure(output_buffer, output_length + sizeof("\"\"")); in print_string_ptr() 912 static cJSON_bool print_value(const cJSON * const item, printbuffer * const output_buffer); 914 static cJSON_bool print_array(const cJSON * const item, printbuffer * const output_buffer); [all …]
|
/external/nos/test/system-test-harness/src/ |
D | nugget_core_tests.cc | 28 static vector<uint8_t> output_buffer; member in __anon69d281500111::NuggetCoreTest 35 vector<uint8_t> NuggetCoreTest::output_buffer; member in __anon69d281500111::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 …]
|
D | util.cc | 114 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/ |
D | font_subsetter.cc | 26 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()
|
D | chrome_subsetter.cc | 62 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/lite/kernels/ |
D | softmax_test.cc | 94 std::unique_ptr<float[]> output_buffer(new float[input_size * batch_size]); in TEST() local 99 output_buffer.get()); in TEST() 102 expected.insert(expected.end(), output_buffer.get(), in TEST() 103 output_buffer.get() + input_size * batch_size); in TEST() 123 std::unique_ptr<float[]> output_buffer(new float[input_size * batch_size]); in TEST() local 128 output_buffer.get()); in TEST() 131 expected.insert(expected.end(), output_buffer.get(), in TEST() 132 output_buffer.get() + input_size * batch_size); in TEST()
|
D | log_softmax_test.cc | 92 std::unique_ptr<float[]> output_buffer(new float[input_size * batch_size]); in TEST() local 96 input_shape, output_buffer.get()); in TEST() 99 expected.insert(expected.end(), output_buffer.get(), in TEST() 100 output_buffer.get() + input_size * batch_size); in TEST()
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | resolve_constant_shape_or_rank.cc | 52 auto& output_buffer = output_array.GetMutableBuffer<ArrayDataType::kInt32>(); in Run() local 55 output_buffer.data = input_array.shape().dims(); in Run() 58 output_buffer.data.resize(1); in Run() 59 output_buffer.data[0] = input_array.shape().dimensions_count(); in Run() 62 {static_cast<int>(output_buffer.data.size())}); in Run()
|
/external/curl/lib/ |
D | krb5.c | 159 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/ |
D | chrome_subsetter.cc | 40 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/ |
D | draw_vs_variant.c | 105 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/ |
D | ixheaacd_acelp_mdct.c | 225 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/tensorflow/tensorflow/contrib/cloud/kernels/ |
D | bigquery_table_accessor.cc | 165 std::vector<char> output_buffer; in ReadRow() local 166 output_buffer.reserve(kBufferSize); in ReadRow() 181 request->SetResultBuffer(&output_buffer); in ReadRow() 187 StringPiece(&output_buffer[0], output_buffer.size()); in ReadRow() 255 std::vector<char> output_buffer; in ReadSchema() local 256 output_buffer.reserve(kBufferSize); in ReadSchema() 259 request->SetResultBuffer(&output_buffer); in ReadSchema() 265 StringPiece(&output_buffer[0], output_buffer.size()); in ReadSchema()
|
/external/grpc-grpc/src/core/tsi/alts/frame_protector/ |
D | frame_handler.cc | 127 return reader->output_buffer == nullptr || in alts_is_frame_reader_done() 142 reader->output_buffer = buffer; in alts_reset_reader_output_buffer() 147 reader->output_buffer = buffer; in alts_reset_frame_reader() 201 memcpy(reader->output_buffer, bytes, bytes_to_write); in alts_read_frame_bytes() 202 reader->output_buffer += bytes_to_write; in alts_read_frame_bytes() 215 return reader->output_buffer; in alts_get_output_buffer()
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
D | translate.h | 87 void *output_buffer); 94 void *output_buffer); 101 void *output_buffer); 108 void *output_buffer);
|
/external/tcpdump/ |
D | print-esp.c | 195 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/include/webp/ |
D | decode.h | 107 uint8_t* output_buffer, size_t output_buffer_size, int output_stride); 110 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); 119 uint8_t* output_buffer, size_t output_buffer_size, int output_stride); 122 uint8_t* output_buffer, size_t output_buffer_size, int output_stride); 286 WEBP_EXTERN WebPIDecoder* WebPINewDecoder(WebPDecBuffer* output_buffer); 300 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
|
/external/webp/src/webp/ |
D | decode.h | 107 uint8_t* output_buffer, size_t output_buffer_size, int output_stride); 110 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); 119 uint8_t* output_buffer, size_t output_buffer_size, int output_stride); 122 uint8_t* output_buffer, size_t output_buffer_size, int output_stride); 286 WEBP_EXTERN WebPIDecoder* WebPINewDecoder(WebPDecBuffer* output_buffer); 300 uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
|
/external/tensorflow/tensorflow/lite/experimental/writer/ |
D | writer_test.cc | 39 std::unique_ptr<uint8_t[]> output_buffer; in main() local 41 writer.GetBuffer(&output_buffer, &output_buffer_size); in main() 45 reinterpret_cast<char*>(output_buffer.get()), output_buffer_size); in main()
|
/external/mesa3d/src/gallium/drivers/swr/ |
D | swr_draw.cpp | 77 uint32_t output_buffer = so->output[i].output_buffer; in swr_draw_vbo() local 78 if (so->output[i].dst_offset != offsets[output_buffer]) { in swr_draw_vbo() 80 state.stream.decl[num].bufferIndex = output_buffer; in swr_draw_vbo() 83 (1 << (so->output[i].dst_offset - offsets[output_buffer])) in swr_draw_vbo() 86 offsets[output_buffer] = so->output[i].dst_offset; in swr_draw_vbo() 92 state.stream.decl[num].bufferIndex = output_buffer; in swr_draw_vbo() 100 offsets[output_buffer] += so->output[i].num_components; in swr_draw_vbo()
|
/external/libxaac/decoder/drc_src/ |
D | impd_drc_main_td_process.c | 80 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/grpc-grpc/src/core/lib/security/transport/ |
D | secure_endpoint.cc | 61 grpc_slice_buffer output_buffer; member 76 grpc_slice_buffer_destroy_internal(&ep->output_buffer); in destroy() 250 grpc_slice_buffer_add(&ep->output_buffer, ep->write_staging_buffer); in flush_write_staging_buffer() 266 grpc_slice_buffer_reset_and_unref_internal(&ep->output_buffer); in endpoint_write() 280 slices, &ep->output_buffer); in endpoint_write() 327 &ep->output_buffer, in endpoint_write() 338 grpc_slice_buffer_reset_and_unref_internal(&ep->output_buffer); in endpoint_write() 345 grpc_endpoint_write(ep->wrapped_ep, &ep->output_buffer, cb, arg); in endpoint_write() 422 grpc_slice_buffer_init(&ep->output_buffer); in grpc_secure_endpoint_create()
|