/external/grpc-grpc/test/core/tsi/alts/frame_protector/ |
D | alts_crypter_test.cc | 36 uint8_t* data_buffer = static_cast<uint8_t*>(gpr_malloc(protected_data_size)); in alts_crypter_test_random_seal_unseal() local 37 gsec_test_random_bytes(data_buffer, data_size); in alts_crypter_test_random_seal_unseal() 39 gsec_test_copy(data_buffer, &duplicate_buffer, data_size); in alts_crypter_test_random_seal_unseal() 44 client_seal, data_buffer, protected_data_size, size, &size, nullptr); in alts_crypter_test_random_seal_unseal() 48 server_unseal, data_buffer, protected_data_size, size, &size, nullptr); in alts_crypter_test_random_seal_unseal() 50 GPR_ASSERT(memcmp(data_buffer, duplicate_buffer, data_size) == 0); in alts_crypter_test_random_seal_unseal() 54 server_seal, data_buffer, protected_data_size, size, &size, nullptr); in alts_crypter_test_random_seal_unseal() 58 client_unseal, data_buffer, protected_data_size, size, &size, nullptr); in alts_crypter_test_random_seal_unseal() 60 GPR_ASSERT(memcmp(data_buffer, duplicate_buffer, data_size) == 0); in alts_crypter_test_random_seal_unseal() 62 gpr_free(data_buffer); in alts_crypter_test_random_seal_unseal() [all …]
|
/external/u-boot/board/nvidia/dalmore/ |
D | dalmore.c | 44 uchar reg, data_buffer[1]; in board_sdmmc_voltage_init() local 54 data_buffer[0] = 0x31; in board_sdmmc_voltage_init() 57 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init() 60 __func__, reg, data_buffer[0], ret); in board_sdmmc_voltage_init() 63 data_buffer[0] = 0x01; in board_sdmmc_voltage_init() 66 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init() 69 __func__, reg, data_buffer[0], ret); in board_sdmmc_voltage_init() 72 data_buffer[0] = 0x03; in board_sdmmc_voltage_init() 80 ret = dm_i2c_write(dev, reg, data_buffer, 1); in board_sdmmc_voltage_init() 83 __func__, reg, data_buffer[0], ret); in board_sdmmc_voltage_init()
|
/external/oss-fuzz/projects/tidy-html5/ |
D | tidy_fuzzer.c | 23 void run_tidy_parser(TidyBuffer* data_buffer, in run_tidy_parser() argument 33 if (tidyParseBuffer(tdoc, data_buffer) >= 0 && in run_tidy_parser() 42 TidyBuffer data_buffer; in LLVMFuzzerTestOneInput() local 45 tidyBufInit(&data_buffer); in LLVMFuzzerTestOneInput() 49 tidyBufAttach(&data_buffer, (byte*)data, size); in LLVMFuzzerTestOneInput() 50 run_tidy_parser(&data_buffer, &output_buffer, &error_buffer); in LLVMFuzzerTestOneInput() 54 tidyBufDetach(&data_buffer); in LLVMFuzzerTestOneInput()
|
/external/squashfs-tools/squashfs-tools/ |
D | process_fragments.c | 101 char *data_buffer, int fd) in get_fragment() argument 184 res = read_filesystem(fd, start_block, size, data_buffer); in get_fragment() 190 data = data_buffer; in get_fragment() 220 char *data_buffer, int fd, unsigned short *checksum) in get_fragment_cksum() argument 226 frag_buffer = get_fragment(file->fragment, data_buffer, fd); in get_fragment_cksum() 254 char *data_buffer; in frag_thrd() local 267 data_buffer = malloc(SQUASHFS_FILE_MAX_SIZE); in frag_thrd() 268 if(data_buffer == NULL) in frag_thrd() 339 data_buffer, fd, &checksum); in frag_thrd() 346 data_buffer, fd); in frag_thrd()
|
/external/u-boot/board/nvidia/cardhu/ |
D | cardhu.c | 43 uchar reg, data_buffer[1]; in board_sdmmc_voltage_init() local 54 data_buffer[0] = 0x65; in board_sdmmc_voltage_init() 58 if (dm_i2c_write(dev, reg, data_buffer, 1)) in board_sdmmc_voltage_init() 63 data_buffer[0] = 0x09; in board_sdmmc_voltage_init() 67 if (dm_i2c_write(dev, reg, data_buffer, 1)) in board_sdmmc_voltage_init()
|
/external/wayland/cursor/ |
D | convert_font.c | 269 } data_buffer; variable 274 data_buffer.data = malloc(sizeof(uint32_t) * 10); in init_data_buffer() 275 data_buffer.capacity = 10; in init_data_buffer() 276 data_buffer.size = 0; in init_data_buffer() 282 if (data_buffer.size == data_buffer.capacity) { in add_pixel() 283 data_buffer.capacity *= 2; in add_pixel() 284 data_buffer.data = in add_pixel() 285 realloc(data_buffer.data, in add_pixel() 286 sizeof(uint32_t) * data_buffer.capacity); in add_pixel() 288 data_buffer.data[data_buffer.size++] = pixel; in add_pixel() [all …]
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | producer_fec.cc | 123 RedPacket* ProducerFec::BuildRedPacket(const uint8_t* data_buffer, in BuildRedPacket() argument 129 int pl_type = data_buffer[1] & 0x7f; in BuildRedPacket() 130 red_packet->CreateHeader(data_buffer, rtp_header_length, in BuildRedPacket() 132 red_packet->AssignPayload(data_buffer + rtp_header_length, payload_length); in BuildRedPacket() 136 int ProducerFec::AddRtpPacketAndGenerateFec(const uint8_t* data_buffer, in AddRtpPacketAndGenerateFec() argument 144 const bool marker_bit = (data_buffer[1] & kRtpMarkerBitMask) ? true : false; in AddRtpPacketAndGenerateFec() 149 memcpy(packet->data, data_buffer, packet->length); in AddRtpPacketAndGenerateFec()
|
D | rtp_sender.h | 54 virtual int32_t BuildRTPheader(uint8_t* data_buffer, 73 virtual int32_t SendToNetwork(uint8_t* data_buffer, 171 uint16_t BuildRTPHeaderExtension(uint8_t* data_buffer, bool marker_bit) const; 173 uint8_t BuildTransmissionTimeOffsetExtension(uint8_t *data_buffer) const; 174 uint8_t BuildAudioLevelExtension(uint8_t* data_buffer) const; 175 uint8_t BuildAbsoluteSendTimeExtension(uint8_t* data_buffer) const; 176 uint8_t BuildVideoRotationExtension(uint8_t* data_buffer) const; 177 uint8_t BuildTransportSequenceNumberExtension(uint8_t* data_buffer, 239 int32_t BuildRTPheader(uint8_t* data_buffer, 256 int32_t SendToNetwork(uint8_t* data_buffer,
|
D | rtp_sender.cc | 712 uint8_t data_buffer[IP_PACKET_SIZE]; in ReSendPacket() local 716 data_buffer, &length, in ReSendPacket() 723 RtpUtility::RtpHeaderParser rtp_parser(data_buffer, length); in ReSendPacket() 743 if (!PrepareAndSendPacket(data_buffer, length, capture_time_ms, in ReSendPacket() 879 uint8_t data_buffer[IP_PACKET_SIZE]; in TimeToSendPacket() local 885 data_buffer, in TimeToSendPacket() 899 return PrepareAndSendPacket(data_buffer, in TimeToSendPacket() 1197 int32_t RTPSender::BuildRTPheader(uint8_t* data_buffer, in BuildRTPheader() argument 1219 return CreateRtpHeader(data_buffer, payload_type, ssrc_, marker_bit, in BuildRTPheader() 1223 uint16_t RTPSender::BuildRTPHeaderExtension(uint8_t* data_buffer, in BuildRTPHeaderExtension() argument [all …]
|
D | rtp_sender_video.cc | 98 void RTPSenderVideo::SendVideoPacket(uint8_t* data_buffer, in SendVideoPacket() argument 105 if (_rtpSender.SendToNetwork(data_buffer, payload_length, rtp_header_length, in SendVideoPacket() 117 void RTPSenderVideo::SendVideoPacketAsRed(uint8_t* data_buffer, in SendVideoPacketAsRed() argument 133 data_buffer, payload_length, rtp_header_length, red_payload_type_)); in SendVideoPacketAsRed() 135 producer_fec_.AddRtpPacketAndGenerateFec(data_buffer, payload_length, in SendVideoPacketAsRed()
|
D | producer_fec.h | 50 RedPacket* BuildRedPacket(const uint8_t* data_buffer, 55 int AddRtpPacketAndGenerateFec(const uint8_t* data_buffer,
|
/external/e2fsprogs/tests/progs/ |
D | random_exercise.c | 39 char data_buffer[DATA_SIZE]; variable 90 write(fd, data_buffer, size); in create_random_file() 147 memset(data_buffer, 0, sizeof(data_buffer)); in main() 148 sprintf(data_buffer, "This is a test file created by the " in main()
|
/external/oss-fuzz/projects/libarchive/ |
D | libarchive_fuzzer.cc | 47 std::vector<uint8_t> data_buffer(getpagesize(), 0); in LLVMFuzzerTestOneInput() local 55 while ((r = archive_read_data(a, data_buffer.data(), in LLVMFuzzerTestOneInput() 56 data_buffer.size())) > 0) in LLVMFuzzerTestOneInput()
|
/external/pdfium/testing/ |
D | v8_initializer.cpp | 46 std::unique_ptr<char, pdfium::FreeDeleter> data_buffer = in GetExternalData() local 48 if (!data_buffer) in GetExternalData() 51 result_data->data = data_buffer.release(); in GetExternalData()
|
/external/autotest/client/cros/cellular/mbim_compliance/sequences/ |
D | connect_sequence.py | 59 data_buffer = array.array('B', 'loopback'.encode('utf-16le')) 62 information_buffer_length += len(data_buffer) 83 payload_buffer=data_buffer))
|
/external/deqp/external/openglcts/modules/glesext/texture_buffer/ |
D | esextcTextureBufferAtomicFunctions.cpp | 79 std::vector<glw::GLuint> data_buffer(m_n_texels_in_texture_buffer); in initTest() local 83 data_buffer[i] = i; in initTest() 93 …(m_glExtTokens.TEXTURE_BUFFER, m_n_texels_in_texture_buffer * sizeof(glw::GLuint), &data_buffer[0], in initTest()
|
/external/ltp/testcases/kernel/io/disktest/ |
D | main.c | 213 test->env->data_buffer = in init_data() 223 memset(test->env->data_buffer, 0, data_buffer_size); in init_data() 256 fill_buffer(test->env->data_buffer, data_buffer_size, in init_data() 261 fill_buffer(test->env->data_buffer, data_buffer_size, NULL, 0, in init_data() 265 fill_buffer(test->env->data_buffer, data_buffer_size, 0, 0, in init_data() 330 fill_buffer(test->env->data_buffer, in threadedMain()
|
D | globals.c | 55 env->data_buffer = NULL; in init_gbl_data()
|
/external/tensorflow/tensorflow/lite/schema/ |
D | schema_v0.fbs | 42 // The data_buffer is an opaque container, with the assumption that the 45 // [i, j, k] maps to data_buffer[i*4*3 + j*3 + k]. 46 data_buffer:[ubyte];
|
D | schema_v1.fbs | 47 // The data_buffer is an opaque container, with the assumption that the 50 // [i, j, k] maps to data_buffer[i*3*2 + j*3 + k]. 51 data_buffer:[ubyte];
|
D | schema_v2.fbs | 48 // The data_buffer is an opaque container, with the assumption that the 51 // [i, j, k] maps to data_buffer[i*3*2 + j*3 + k]. 52 data_buffer:[ubyte];
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArraySubImage3D.cpp | 334 DataBufferVec data_buffer(width * height * depth * m_n_components, clear_value); in configureCubeMapArrayTexture() local 337 GL_UNSIGNED_INT, &data_buffer[0]); in configureCubeMapArrayTexture() 362 DataBufferVec data_buffer(width * height * depth * m_n_components, clear_value); in clearCubeMapArrayTexture() local 365 &data_buffer[0]); in clearCubeMapArrayTexture()
|
/external/tensorflow/tensorflow/core/util/ |
D | mkl_util.h | 1354 void* data_buffer = nullptr) { 1356 SetUsrMem(md, data_buffer); 1388 void* data_buffer = nullptr) { 1391 SetUsrMem(blocked_md, data_buffer); 1406 inline void SetUsrMem(const memory::desc& md, void* data_buffer = nullptr) { 1408 SetUsrMem(pd, data_buffer); 1423 void* data_buffer = nullptr) { 1427 if (data_buffer) { 1428 user_memory_ = new MEMORY_CONSTRUCTOR(pd, *cpu_engine_, data_buffer); 1475 inline void SetUsrMemDataHandle(void* data_buffer) { in SetUsrMemDataHandle() argument [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | test_util.h | 478 auto data_buffer = variable 481 buffers_.push_back(CreateBuffer(builder_, data_buffer)); 594 auto data_buffer = in AddTensorPerChannelQuant() local 597 buffers_.push_back(CreateBuffer(builder_, data_buffer)); in AddTensorPerChannelQuant() 655 auto data_buffer = builder_.CreateVector( in AddSparseTensor() local 658 buffers_.push_back(CreateBuffer(builder_, data_buffer)); in AddSparseTensor()
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | types_test.cc | 58 Offset<Vector<uint8_t>> data_buffer = in ToFlatBufferAndBack() local 60 buffer_builder.Finish(::tflite::CreateBuffer(buffer_builder, data_buffer)); in ToFlatBufferAndBack()
|