/external/u-boot/drivers/mtd/nand/ |
D | mxs_nand.c | 56 uint32_t addr = (uint32_t)info->data_buf; in mxs_nand_flush_data_buf() 63 uint32_t addr = (uint32_t)info->data_buf; in mxs_nand_inval_data_buf() 375 uint8_t *data_buf, uint8_t *oob_buf) in mxs_nand_swap_block_mark() argument 389 src = data_buf[buf_offset] >> bit_offset; in mxs_nand_swap_block_mark() 390 src |= data_buf[buf_offset + 1] << (8 - bit_offset); in mxs_nand_swap_block_mark() 396 data_buf[buf_offset] &= ~(0xff << bit_offset); in mxs_nand_swap_block_mark() 397 data_buf[buf_offset + 1] &= 0xff << bit_offset; in mxs_nand_swap_block_mark() 399 data_buf[buf_offset] |= dst << bit_offset; in mxs_nand_swap_block_mark() 400 data_buf[buf_offset + 1] |= dst >> (8 - bit_offset); in mxs_nand_swap_block_mark() 432 d->cmd.address = (dma_addr_t)nand_info->data_buf; in mxs_nand_read_buf() [all …]
|
D | mxs_nand.h | 49 uint8_t *data_buf; member
|
/external/u-boot/arch/mips/mach-au1x00/ |
D | au1x00_usb_ohci.c | 889 __u8 *data_buf = (__u8 *)datab; in ohci_submit_rh_msg() local 924 *(__u16 *) data_buf = m16_swap (1); OK (2); in ohci_submit_rh_msg() 926 *(__u16 *) data_buf = m16_swap (0); OK (2); in ohci_submit_rh_msg() 928 *(__u16 *) data_buf = m16_swap (0); OK (2); in ohci_submit_rh_msg() 930 *(__u32 *) data_buf = m32_swap ( in ohci_submit_rh_msg() 934 *(__u32 *) data_buf = m32_swap (RD_RH_PORTSTAT); OK (4); in ohci_submit_rh_msg() 999 data_buf = root_hub_dev_des; OK(len); in ohci_submit_rh_msg() 1006 data_buf = root_hub_config_des; OK(len); in ohci_submit_rh_msg() 1014 data_buf = root_hub_str_index0; in ohci_submit_rh_msg() 1023 data_buf = root_hub_str_index1; in ohci_submit_rh_msg() [all …]
|
/external/u-boot/drivers/mmc/ |
D | davinci_mmc.c | 134 char *data_buf = NULL; in dmmc_send_cmd() local 195 data_buf = (char *)data->src; in dmmc_send_cmd() 198 memcpy((char *)&val, data_buf, 4); in dmmc_send_cmd() 200 data_buf += 4; in dmmc_send_cmd() 253 data_buf = data->dest; in dmmc_send_cmd() 284 memcpy(data_buf, (char *)&cmddata, 4); in dmmc_send_cmd() 285 data_buf += 4; in dmmc_send_cmd() 298 memcpy((char *)&cmddata, data_buf, 4); in dmmc_send_cmd() 300 data_buf += 4; in dmmc_send_cmd()
|
D | mmc.c | 332 ALLOC_CACHE_ALIGN_BUFFER(u8, data_buf, size); in mmc_send_tuning() 338 data.dest = (void *)data_buf; in mmc_send_tuning() 347 if (memcmp(data_buf, tuning_block_pattern, size)) in mmc_send_tuning()
|
/external/u-boot/drivers/i2c/ |
D | tegra186_bpmp_i2c.c | 47 p = &req.xfer.data_buf[0]; in tegra186_bpmp_i2c_xfer() 48 left = ARRAY_SIZE(req.xfer.data_buf); in tegra186_bpmp_i2c_xfer() 67 req.xfer.data_size = p - &req.xfer.data_buf[0]; in tegra186_bpmp_i2c_xfer() 74 p = &resp.xfer.data_buf[0]; in tegra186_bpmp_i2c_xfer() 76 if (left > ARRAY_SIZE(resp.xfer.data_buf)) in tegra186_bpmp_i2c_xfer()
|
/external/u-boot/drivers/usb/musb/ |
D | musb_hcd.c | 465 const u8 *data_buf = (u8 *) datab; in musb_submit_rh_msg() local 491 *(__u16 *) data_buf = swap_16(1); in musb_submit_rh_msg() 498 *(__u16 *) data_buf = swap_16(0); in musb_submit_rh_msg() 505 *(__u16 *) data_buf = swap_16(0); in musb_submit_rh_msg() 512 *(__u32 *) data_buf = swap_32(0); in musb_submit_rh_msg() 530 *(__u32 *) data_buf = swap_32(port_status); in musb_submit_rh_msg() 652 data_buf = root_hub_dev_des; in musb_submit_rh_msg() 660 data_buf = root_hub_config_des; in musb_submit_rh_msg() 668 data_buf = root_hub_str_index0; in musb_submit_rh_msg() 676 data_buf = root_hub_str_index1; in musb_submit_rh_msg() [all …]
|
/external/ltp/testcases/kernel/syscalls/statx/ |
D | statx02.c | 107 char data_buf[SIZE] = "LinusTorvalds"; in setup() local 110 SAFE_WRITE(0, file_fd, data_buf, sizeof(data_buf)); in setup()
|
/external/grpc-grpc/test/core/tsi/alts/zero_copy_frame_protector/ |
D | alts_iovec_record_protocol_test.cc | 46 uint8_t* data_buf; member 168 var->data_buf = static_cast<uint8_t*>(gpr_malloc(var->data_length)); in alts_iovec_record_protocol_test_var_create() 169 gsec_test_random_bytes(var->data_buf, var->data_length); in alts_iovec_record_protocol_test_var_create() 170 gsec_test_copy(var->data_buf, &var->dup_buf, var->data_length); in alts_iovec_record_protocol_test_var_create() 173 randomly_slice(var->data_buf, var->data_length, &var->data_iovec, in alts_iovec_record_protocol_test_var_create() 182 var->unprotected_iovec.iov_base = var->data_buf; in alts_iovec_record_protocol_test_var_create() 194 gpr_free(var->data_buf); in alts_iovec_record_protocol_test_var_destroy() 215 randomly_slice(var->data_buf, var->data_length, &var->data_iovec, in integrity_only_random_seal_unseal() 223 GPR_ASSERT(memcmp(var->data_buf, var->dup_buf, var->data_length) == 0); in integrity_only_random_seal_unseal() 304 offset = alter_random_byte(var->data_buf, var->data_length); in integrity_only_corrupted_data() [all …]
|
/external/flatbuffers/rust/flatbuffers/src/ |
D | vector.rs | 63 let data_buf = &buf[loc + SIZE_UOFFSET..loc + SIZE_UOFFSET + len * sz]; in safe_slice() localVariable 64 let ptr = data_buf.as_ptr() as *const T; in safe_slice() 111 let data_buf = &buf[loc + SIZE_UOFFSET..loc + SIZE_UOFFSET + len * sz]; in follow_slice_helper() localVariable 112 let ptr = data_buf.as_ptr() as *const T; in follow_slice_helper()
|
/external/deqp/external/openglcts/modules/gles32/ |
D | es32cCopyImageTests.cpp | 136 std::vector<int> data_buf(TEXTURE_WIDTH * TEXTURE_HEIGHT, 1); in iterate() local 137 m_dst_tex_name = createTexture(&data_buf[0], GL_NEAREST_MIPMAP_LINEAR, GL_LINEAR); in iterate() 138 std::fill(data_buf.begin(), data_buf.end(), 0); in iterate() 139 m_src_tex_name = createTexture(&data_buf[0], GL_NEAREST_MIPMAP_LINEAR, GL_LINEAR); in iterate()
|
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_flate.cpp | 264 void PNG_PredictorEncode(uint8_t** data_buf, uint32_t* data_size) { in PNG_PredictorEncode() argument 270 uint8_t* pSrcData = *data_buf; in PNG_PredictorEncode() 284 FX_Free(*data_buf); in PNG_PredictorEncode() 285 *data_buf = dest_buf; in PNG_PredictorEncode() 357 bool PNG_Predictor(uint8_t*& data_buf, in PNG_Predictor() argument 372 uint8_t* pSrcData = data_buf; in PNG_Predictor() 444 FX_Free(data_buf); in PNG_Predictor() 445 data_buf = dest_buf; in PNG_Predictor() 491 bool TIFF_Predictor(uint8_t*& data_buf, in TIFF_Predictor() argument 502 uint8_t* scan_line = data_buf + row * row_size; in TIFF_Predictor()
|
D | fx_codec_fax.cpp | 51 int FindBit(const uint8_t* data_buf, int max_pos, int start_pos, int bit) { in FindBit() argument 58 uint8_t data = data_buf[start_pos / 8]; in FindBit() 73 if (data_buf[byte_pos] != skip) in FindBit() 81 return std::min(leading_pos[data_buf[byte_pos]] + byte_pos * 8, max_pos); in FindBit()
|
/external/tensorflow/tensorflow/core/lib/wav/ |
D | wav_io.h | 79 const uint8* data_buf = in ReadValue() local 83 *value = *value | (data_buf[i] << shift); in ReadValue()
|
/external/pdfium/core/fxcodec/gif/ |
D | cfx_gifcontext.cpp | 429 uint8_t* data_buf = nullptr; in DecodeExtension() local 441 if (!ReadData(&data_buf, *data_size) || !ReadData(&data_size, 1)) { in DecodeExtension() 446 cmt_data_ += ByteString(data_buf, block_size); in DecodeExtension() 462 if (!ReadData(&data_buf, *data_size) || !ReadData(&data_size, 1)) { in DecodeExtension() 491 if (!ReadData(&data_buf, *data_size) || !ReadData(&data_size, 1)) { in DecodeExtension()
|
/external/u-boot/drivers/mtd/onenand/ |
D | onenand_bbt.c | 141 unsigned char data_buf[MAX_ONENAND_PAGESIZE]; in onenand_memory_bbt() local 143 return create_bbt(mtd, data_buf, bd, -1); in onenand_memory_bbt()
|
/external/u-boot/arch/arm/include/asm/arch-tegra/ |
D | bpmp_abi.h | 735 uint8_t data_buf[TEGRA_I2C_IPC_MAX_IN_BUF_SIZE]; member 750 uint8_t data_buf[TEGRA_I2C_IPC_MAX_OUT_BUF_SIZE]; member
|
/external/u-boot/drivers/usb/host/ |
D | sl811-hcd.c | 532 __u8 data_buf[16]; in sl811_rh_submit_urb() local 533 __u8 *bufp = data_buf; in sl811_rh_submit_urb()
|
/external/pdfium/samples/ |
D | pdfium_test.cc | 1108 std::vector<char> data_buf(len); in SaveAttachments() local 1111 FPDFAttachment_GetFile(attachment, data_buf.data(), len); in SaveAttachments() 1113 data_buf.clear(); in SaveAttachments() 1115 if (data_buf.empty()) { in SaveAttachments() 1127 size_t written_len = fwrite(data_buf.data(), 1, len, fp); in SaveAttachments()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cCopyImageTests.cpp | 5781 std::vector<int> data_buf(width * height, 1); in iterate() local 5782 …ex_name = createTexture(width, height, test_case.m_internal_format, test_case.m_type, &data_buf[0], in iterate() 5784 std::fill(data_buf.begin(), data_buf.end(), 2); in iterate() 5785 …ex_name = createTexture(width, height, test_case.m_internal_format, test_case.m_type, &data_buf[0], in iterate() 5798 std::fill(data_buf.begin(), data_buf.end(), 3); in iterate() 5803 gl.getTexImage(GL_TEXTURE_2D, 0, GL_RED_INTEGER, GL_UNSIGNED_INT, &data_buf[0]); in iterate() 5806 …if ((data_buf[0] == 2) && (std::count(data_buf.begin(), data_buf.end(), 1) == (width * height - 1)… in iterate()
|
/external/pdfium/public/ |
D | fpdfview.h | 331 FPDF_LoadMemDocument(const void* data_buf, int size, FPDF_BYTESTRING password);
|
/external/pdfium/fpdfsdk/ |
D | fpdfview.cpp | 635 FPDF_LoadMemDocument(const void* data_buf, int size, FPDF_BYTESTRING password) { in FPDF_LoadMemDocument() argument 637 CMemFile::Create(static_cast<const uint8_t*>(data_buf), size), password); in FPDF_LoadMemDocument()
|
/external/u-boot/include/linux/mtd/ |
D | rawnand.h | 611 const uint8_t *data_buf, int oob_required, int page);
|
/external/flatbuffers/include/flatbuffers/ |
D | flexbuffers.h | 241 Blob(const uint8_t *data_buf, uint8_t byte_width) in Blob() argument 242 : Sized(data_buf, byte_width) {} in Blob()
|