/external/adhd/cras/src/tests/ |
D | byte_buffer_unittest.cc | 14 unsigned int data_size; in TEST() local 20 data = buf_read_pointer_size(b, &data_size); in TEST() 22 EXPECT_EQ(0, data_size); in TEST() 24 data = buf_write_pointer_size(b, &data_size); in TEST() 26 EXPECT_EQ(100, data_size); in TEST() 29 data = buf_read_pointer_size(b, &data_size); in TEST() 31 EXPECT_EQ(50, data_size); in TEST() 38 data = buf_write_pointer_size(b, &data_size); in TEST() 40 EXPECT_EQ(50, data_size); in TEST() 43 data = buf_write_pointer_size(b, &data_size); in TEST() [all …]
|
/external/webp/src/dec/ |
D | webp_dec.c | 55 size_t* const data_size, int have_all_data, in ParseRIFF() argument 58 assert(data_size != NULL); in ParseRIFF() 62 if (*data_size >= RIFF_HEADER_SIZE && !memcmp(*data, "RIFF", TAG_SIZE)) { in ParseRIFF() 74 if (have_all_data && (size > *data_size - CHUNK_HEADER_SIZE)) { in ParseRIFF() 80 *data_size -= RIFF_HEADER_SIZE; in ParseRIFF() 94 size_t* const data_size, in ParseVP8X() argument 100 assert(data_size != NULL); in ParseVP8X() 105 if (*data_size < CHUNK_HEADER_SIZE) { in ParseVP8X() 118 if (*data_size < vp8x_size) { in ParseVP8X() 133 *data_size -= vp8x_size; in ParseVP8X() [all …]
|
/external/grpc-grpc/test/core/tsi/alts/frame_protector/ |
D | alts_crypter_test.cc | 33 size_t data_size = gsec_test_bias_random_uint32(1024) + 1; in alts_crypter_test_random_seal_unseal() local 35 size_t protected_data_size = data_size + num_overhead_bytes; in alts_crypter_test_random_seal_unseal() 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() 42 size_t size = data_size; 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() 51 GPR_ASSERT(size == data_size); 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() 61 GPR_ASSERT(size == data_size); in alts_crypter_test_random_seal_unseal() 69 size_t data_size = gsec_test_bias_random_uint32(1024) + 1; in alts_crypter_test_multiple_random_seal_unseal() local [all …]
|
/external/webp/include/webp/ |
D | decode.h | 51 WEBP_EXTERN int WebPGetInfo(const uint8_t* data, size_t data_size, 59 WEBP_EXTERN uint8_t* WebPDecodeRGBA(const uint8_t* data, size_t data_size, 63 WEBP_EXTERN uint8_t* WebPDecodeARGB(const uint8_t* data, size_t data_size, 67 WEBP_EXTERN uint8_t* WebPDecodeBGRA(const uint8_t* data, size_t data_size, 72 WEBP_EXTERN uint8_t* WebPDecodeRGB(const uint8_t* data, size_t data_size, 76 WEBP_EXTERN uint8_t* WebPDecodeBGR(const uint8_t* data, size_t data_size, 89 WEBP_EXTERN uint8_t* WebPDecodeYUV(const uint8_t* data, size_t data_size, 106 const uint8_t* data, size_t data_size, 109 const uint8_t* data, size_t data_size, 112 const uint8_t* data, size_t data_size, [all …]
|
/external/webp/src/webp/ |
D | decode.h | 51 WEBP_EXTERN int WebPGetInfo(const uint8_t* data, size_t data_size, 59 WEBP_EXTERN uint8_t* WebPDecodeRGBA(const uint8_t* data, size_t data_size, 63 WEBP_EXTERN uint8_t* WebPDecodeARGB(const uint8_t* data, size_t data_size, 67 WEBP_EXTERN uint8_t* WebPDecodeBGRA(const uint8_t* data, size_t data_size, 72 WEBP_EXTERN uint8_t* WebPDecodeRGB(const uint8_t* data, size_t data_size, 76 WEBP_EXTERN uint8_t* WebPDecodeBGR(const uint8_t* data, size_t data_size, 89 WEBP_EXTERN uint8_t* WebPDecodeYUV(const uint8_t* data, size_t data_size, 106 const uint8_t* data, size_t data_size, 109 const uint8_t* data, size_t data_size, 112 const uint8_t* data, size_t data_size, [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | encode_proto_op.cc | 77 size_t data_size = 0; in TotalPackedSize() local 80 data_size += WireFormatLite::Int64Size( in TotalPackedSize() 83 return data_size; in TotalPackedSize() 90 size_t data_size = 0; in TotalPackedSize() local 93 data_size += WireFormatLite::UInt64Size( in TotalPackedSize() 96 return data_size; in TotalPackedSize() 103 size_t data_size = 0; in TotalPackedSize() local 106 data_size += WireFormatLite::Int32Size( in TotalPackedSize() 109 return data_size; in TotalPackedSize() 116 size_t data_size = 0; in TotalPackedSize() local [all …]
|
/external/google-breakpad/src/processor/testdata/ |
D | minidump2.dump.out | 13 location.data_size = 100 19 location.data_size = 1408 25 location.data_size = 52 31 location.data_size = 168 37 location.data_size = 56 43 location.data_size = 24 49 location.data_size = 12 55 location.data_size = 0 61 location.data_size = 0 85 stack.memory.data_size = 0xce4 [all …]
|
/external/strace/ |
D | dm.c | 154 if (offset_end <= offset || offset_end > ioc->data_size) in dm_decode_dm_target_spec() 176 printstr_ex(tcp, addr + offset_end, ioc->data_size - offset_end, in dm_decode_dm_target_spec() 207 if (ioc->data_start == ioc->data_size) in dm_decode_dm_target_deps() 225 if (offset_end <= offset || offset_end > ioc->data_size) in dm_decode_dm_target_deps() 231 space = (ioc->data_size - offset_end) / sizeof(dev_buf); in dm_decode_dm_target_deps() 263 if (ioc->data_start == ioc->data_size) in dm_decode_dm_name_list() 279 if (offset_end <= offset || offset_end > ioc->data_size) in dm_decode_dm_name_list() 293 ioc->data_size - offset_end, in dm_decode_dm_name_list() 348 if (ioc->data_start == ioc->data_size) in dm_decode_dm_target_versions() 364 if (offset_end <= offset || offset_end > ioc->data_size) in dm_decode_dm_target_versions() [all …]
|
D | io.c | 63 kernel_ulong_t data_size; member 87 if (len > c->data_size) in print_iovec() 88 len = c->data_size; in print_iovec() 89 if (c->data_size != (kernel_ulong_t) -1) in print_iovec() 90 c->data_size -= len; in print_iovec() 94 if (len > c->data_size) in print_iovec() 95 len = c->data_size; in print_iovec() 96 if (c->data_size != (kernel_ulong_t) -1) in print_iovec() 97 c->data_size -= len; in print_iovec() 118 const kernel_ulong_t data_size) in tprint_iov_upto() argument [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cBufferStorageTests.cpp | 1690 static const GLsizeiptr data_size = 32; in iterate() local 1691 static GLubyte data[data_size]; in iterate() 1694 buffer.InitStorage(GL_ARRAY_BUFFER, GL_DYNAMIC_STORAGE_BIT, data_size, data); in iterate() 1699 gl.namedBufferStorage(buffer.m_id, data_size, data, GL_DYNAMIC_STORAGE_BIT); in iterate() 1707 gl.bufferStorage(GL_ARRAY_BUFFER, data_size, data, GL_DYNAMIC_STORAGE_BIT); in iterate() 1718 static const GLsizeiptr data_size = 32; in iterate() local 1719 static GLubyte data[data_size]; in iterate() 1752 static const GLsizeiptr data_size = 32; in iterate() local 1753 static GLubyte data[data_size]; in iterate() 1761 gl.namedBufferStorage(buffer.m_id, data_size, data, GL_MAP_PERSISTENT_BIT); in iterate() [all …]
|
/external/u-boot/cmd/ |
D | fpga.c | 44 size_t data_size = 0; in do_fpga() local 108 data_size = simple_strtoul(argv[4], NULL, 16); in do_fpga() 194 if (!fpga_data || !data_size) in do_fpga() 219 rc = fpga_load(dev, fpga_data, data_size, BIT_FULL); in do_fpga() 224 rc = fpga_load(dev, fpga_data, data_size, BIT_PARTIAL); in do_fpga() 229 rc = fpga_loadbitstream(dev, fpga_data, data_size, BIT_FULL); in do_fpga() 234 rc = fpga_loadbitstream(dev, fpga_data, data_size, BIT_PARTIAL); in do_fpga() 240 rc = fpga_fsload(dev, fpga_data, data_size, &fpga_fsinfo); in do_fpga() 246 rc = fpga_loads(dev, fpga_data, data_size, &fpga_sec_info); in do_fpga() 274 data_size = image_size; in do_fpga() [all …]
|
/external/grpc-grpc/src/core/lib/slice/ |
D | b64.cc | 59 char* grpc_base64_encode(const void* vdata, size_t data_size, int url_safe, in grpc_base64_encode() argument 62 grpc_base64_estimate_encoded_size(data_size, url_safe, multiline); in grpc_base64_encode() 64 grpc_base64_encode_core(result, vdata, data_size, url_safe, multiline); in grpc_base64_encode() 68 size_t grpc_base64_estimate_encoded_size(size_t data_size, int url_safe, in grpc_base64_estimate_encoded_size() argument 71 4 * ((data_size + 3) / 3) + in grpc_base64_estimate_encoded_size() 72 2 * (multiline ? (data_size / (3 * GRPC_BASE64_MULTILINE_NUM_BLOCKS)) in grpc_base64_estimate_encoded_size() 78 void grpc_base64_encode_core(char* result, const void* vdata, size_t data_size, in grpc_base64_encode_core() argument 84 grpc_base64_estimate_encoded_size(data_size, url_safe, multiline); in grpc_base64_encode_core() 91 while (data_size >= 3) { in grpc_base64_encode_core() 99 data_size -= 3; in grpc_base64_encode_core() [all …]
|
/external/python/cpython3/Modules/ |
D | hashtable.c | 62 (sizeof(_Py_hashtable_entry_t) + (HT)->key_size + (HT)->data_size) 66 assert((DATA_SIZE) == (TABLE)->data_size); \ 73 assert((DATA_SIZE) == (TABLE)->data_size); \ 141 _Py_hashtable_new_full(size_t key_size, size_t data_size, in _Py_hashtable_new_full() argument 165 ht->data_size = data_size; in _Py_hashtable_new_full() 183 _Py_hashtable_new(size_t key_size, size_t data_size, in _Py_hashtable_new() argument 187 return _Py_hashtable_new_full(key_size, data_size, in _Py_hashtable_new() 276 void *data, size_t data_size) in _Py_hashtable_pop_entry() argument 302 ENTRY_READ_PDATA(ht, entry, data_size, data); in _Py_hashtable_pop_entry() 313 size_t data_size, const void *data) in _Py_hashtable_set() argument [all …]
|
D | hashtable.h | 57 assert(sizeof(DATA) == (TABLE)->data_size); \ 64 assert(sizeof(DATA) == (TABLE)->data_size); \ 97 size_t data_size; member 117 size_t data_size, 123 size_t data_size, 159 size_t data_size, 191 size_t data_size, 203 size_t data_size,
|
/external/webrtc/webrtc/base/ |
D | winping.cc | 129 inline uint32_t ReplySize(uint32_t data_size, int family) { in ReplySize() argument 133 return sizeof(ICMP_ECHO_REPLY) + std::max<uint32_t>(8, data_size); in ReplySize() 138 return sizeof(ICMPV6_ECHO_REPLY) + data_size + 8 + (2 * sizeof(DWORD*)); in ReplySize() 212 uint32_t data_size, in Ping() argument 216 if (data_size == 0 || timeout == 0 || ttl == 0) { in Ping() 229 uint32_t reply_size = ReplySize(data_size, ip.family()); in Ping() 231 if (data_size > dlen_) { in Ping() 233 dlen_ = data_size; in Ping() 246 uint16_t(data_size), &ipopt, reply_, reply_size, timeout); in Ping() 254 int16_t(data_size), &ipopt, reply_, reply_size, timeout); in Ping() [all …]
|
/external/u-boot/lib/efi_loader/ |
D | efi_variable.c | 168 u32 *attributes, efi_uintn_t *data_size, in efi_get_variable() argument 178 data_size, data); in efi_get_variable() 180 if (!variable_name || !vendor || !data_size) in efi_get_variable() 195 in_size = *data_size; in efi_get_variable() 206 *data_size = len; in efi_get_variable() 221 *data_size = len; in efi_get_variable() 256 u32 attributes, efi_uintn_t data_size, in efi_set_variable() argument 265 data_size, data); in efi_set_variable() 276 if ((data_size == 0) || !(attributes & ACCESS_ATTR)) { in efi_set_variable() 290 val = malloc(2 * data_size + strlen("{ro,run,boot}(blob)") + 1); in efi_set_variable() [all …]
|
/external/u-boot/arch/x86/lib/ |
D | mrccache.c | 24 u32 mrc_size = sizeof(*cache) + cache->data_size; in next_mrc_block() 69 cache->data_size)) { in mrccache_find_current() 123 if (cache && (cache->data_size == cur->data_size) && in mrccache_update() 124 (!memcmp(cache, cur, cache->data_size + sizeof(*cur)))) { in mrccache_update() 152 ret = spi_flash_write_dm(sf, offset, cur->data_size + sizeof(*cur), in mrccache_update() 175 cache->data_size = gd->arch.mrc_output_len; in mrccache_reserve() 176 checksum = compute_ip_checksum(gd->arch.mrc_output, cache->data_size); in mrccache_reserve() 178 cache->data_size, checksum); in mrccache_reserve() 181 memcpy(cache->data, gd->arch.mrc_output, cache->data_size); in mrccache_reserve()
|
/external/grpc-grpc/third_party/nanopb/ |
D | pb_decode.c | 50 static bool checkreturn allocate_field(pb_istream_t *stream, void *pData, size_t data_size, size_t … 379 void *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() 398 void *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() 412 memset(iter->pData, 0, iter->pos->data_size); in decode_static_field() 427 static bool checkreturn allocate_field(pb_istream_t *stream, void *pData, size_t data_size, size_t … in allocate_field() argument 431 if (data_size == 0 || array_size == 0) in allocate_field() 441 if (data_size >= check_limit || array_size >= check_limit) in allocate_field() 444 if (size_max / array_size < data_size) in allocate_field() 454 ptr = pb_realloc(ptr, array_size * data_size); in allocate_field() 514 if (!allocate_field(stream, iter->pData, iter->pos->data_size, 1)) in decode_pointer_field() [all …]
|
/external/nanopb-c/ |
D | pb_decode.c | 51 static bool checkreturn allocate_field(pb_istream_t *stream, void *pData, size_t data_size, size_t … 433 void *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() 453 char *pItem = (char*)iter->pData + iter->pos->data_size * (*size); in decode_static_field() 467 memset(iter->pData, 0, iter->pos->data_size); in decode_static_field() 482 static bool checkreturn allocate_field(pb_istream_t *stream, void *pData, size_t data_size, size_t … in allocate_field() argument 486 if (data_size == 0 || array_size == 0) in allocate_field() 496 if (data_size >= check_limit || array_size >= check_limit) in allocate_field() 499 if (size_max / array_size < data_size) in allocate_field() 509 ptr = pb_realloc(ptr, array_size * data_size); in allocate_field() 529 memset(pItem, 0, iter->pos->data_size); in initialize_pointer_field() [all …]
|
/external/skia/src/compute/common/vk/ |
D | cache_vk.c | 85 size_t data_size; in vk_pipeline_cache_destroy() local 87 vkGetPipelineCacheData(device,pipeline_cache,&data_size,NULL); in vk_pipeline_cache_destroy() 89 if (data_size > 0) in vk_pipeline_cache_destroy() 91 void * data = vk_host_alloc(allocator,data_size); in vk_pipeline_cache_destroy() 93 vkGetPipelineCacheData(device,pipeline_cache,&data_size,data); in vk_pipeline_cache_destroy() 99 fwrite(data,data_size,1,f); in vk_pipeline_cache_destroy()
|
/external/skqp/src/compute/common/vk/ |
D | cache_vk.c | 85 size_t data_size; in vk_pipeline_cache_destroy() local 87 vkGetPipelineCacheData(device,pipeline_cache,&data_size,NULL); in vk_pipeline_cache_destroy() 89 if (data_size > 0) in vk_pipeline_cache_destroy() 91 void * data = vk_host_alloc(allocator,data_size); in vk_pipeline_cache_destroy() 93 vkGetPipelineCacheData(device,pipeline_cache,&data_size,data); in vk_pipeline_cache_destroy() 99 fwrite(data,data_size,1,f); in vk_pipeline_cache_destroy()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_common.c | 159 if (sig->data_size > size) { in VerifyData() 164 if (!RSAVerifyBinary_f(NULL, key, data, sig->data_size, in VerifyData() 237 if (block->key_block_size < sig->data_size) { in KeyBlockVerify() 244 sig->data_size, in KeyBlockVerify() 272 if (block->key_block_size < sig->data_size) { in KeyBlockVerify() 288 if (sig->data_size < sizeof(VbKeyBlockHeader)) { in KeyBlockVerify() 299 if (VerifyPublicKeyInside(block, sig->data_size, &block->data_key)) { in KeyBlockVerify() 336 if (preamble->preamble_size < sig->data_size) { in VerifyFirmwarePreamble() 347 if (sig->data_size < sizeof(VbFirmwarePreambleHeader)) { in VerifyFirmwarePreamble() 353 if (VerifySignatureInside(preamble, sig->data_size, in VerifyFirmwarePreamble() [all …]
|
/external/autotest/client/common_lib/cros/bluetooth/ |
D | bluetooth_sdp_socket.py | 397 data_size = header & 7 401 if data_size != 0: 405 if (data_size > 4 or 406 data_type == 3 and (data_size == 0 or data_size == 3) or 407 data_type == 5 and data_size != 0): 410 int_size = 1 << data_size 424 if data_size < 5 or data_size > 7: 427 int_size = 1 << (data_size - 5) 434 if data_size < 5 or data_size > 7: 437 int_size = 1 << (data_size - 5)
|
/external/u-boot/board/gdsys/a38x/ |
D | hre.c | 373 uint16_t data_size; in hre_execute_op() local 389 data_size = (ins & 0x7ff); in hre_execute_op() 392 opcode, src_spec, dst_spec, data_size); in hre_execute_op() 394 if ((opcode & 0x80) && (data_size + 4) > *code_size) in hre_execute_op() 435 if (!data_size) { in hre_execute_op() 438 } else if (data_size == 1) { in hre_execute_op() 441 } else if (data_size >= 20) { in hre_execute_op() 446 i -= data_size, ptr += data_size) in hre_execute_op() 448 min_t(size_t, i, data_size)); in hre_execute_op() 456 if (hre_op_loadkey(src_reg, dst_reg, data, data_size)) in hre_execute_op() [all …]
|
/external/u-boot/drivers/misc/ |
D | cros_ec_lpc.c | 66 args.data_size = dout_len; in cros_ec_lpc_command() 69 csum = cmd + args.flags + args.command_version + args.data_size; in cros_ec_lpc_command() 120 if (args.data_size > din_len) { in cros_ec_lpc_command() 122 __func__, args.data_size, din_len); in cros_ec_lpc_command() 127 for (i = 0, d = (uint8_t *)dev->din; i < args.data_size; i++, d++) { in cros_ec_lpc_command() 134 csum = cmd + args.flags + args.command_version + args.data_size; in cros_ec_lpc_command() 135 for (i = 0, d = (uint8_t *)dev->din; i < args.data_size; i++, d++) in cros_ec_lpc_command() 145 return args.data_size; in cros_ec_lpc_command()
|