Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/external/webp/src/dec/
Dwebp_dec.c55 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/webp/src/webp/
Ddecode.h45 WEBP_EXTERN(int) WebPGetInfo(const uint8_t* data, size_t data_size,
53 WEBP_EXTERN(uint8_t*) WebPDecodeRGBA(const uint8_t* data, size_t data_size,
57 WEBP_EXTERN(uint8_t*) WebPDecodeARGB(const uint8_t* data, size_t data_size,
61 WEBP_EXTERN(uint8_t*) WebPDecodeBGRA(const uint8_t* data, size_t data_size,
66 WEBP_EXTERN(uint8_t*) WebPDecodeRGB(const uint8_t* data, size_t data_size,
70 WEBP_EXTERN(uint8_t*) WebPDecodeBGR(const uint8_t* data, size_t data_size,
83 WEBP_EXTERN(uint8_t*) WebPDecodeYUV(const uint8_t* data, size_t data_size,
100 const uint8_t* data, size_t data_size,
103 const uint8_t* data, size_t data_size,
106 const uint8_t* data, size_t data_size,
[all …]
/external/webp/include/webp/
Ddecode.h45 WEBP_EXTERN(int) WebPGetInfo(const uint8_t* data, size_t data_size,
53 WEBP_EXTERN(uint8_t*) WebPDecodeRGBA(const uint8_t* data, size_t data_size,
57 WEBP_EXTERN(uint8_t*) WebPDecodeARGB(const uint8_t* data, size_t data_size,
61 WEBP_EXTERN(uint8_t*) WebPDecodeBGRA(const uint8_t* data, size_t data_size,
66 WEBP_EXTERN(uint8_t*) WebPDecodeRGB(const uint8_t* data, size_t data_size,
70 WEBP_EXTERN(uint8_t*) WebPDecodeBGR(const uint8_t* data, size_t data_size,
83 WEBP_EXTERN(uint8_t*) WebPDecodeYUV(const uint8_t* data, size_t data_size,
100 const uint8_t* data, size_t data_size,
103 const uint8_t* data, size_t data_size,
106 const uint8_t* data, size_t data_size,
[all …]
/external/strace/
Ddm.c161 if (offset_end <= offset || offset_end > ioc->data_size) in dm_decode_dm_target_spec()
185 printstr_ex(tcp, addr + offset_end, ioc->data_size - offset_end, in dm_decode_dm_target_spec()
216 if (ioc->data_start == ioc->data_size) in dm_decode_dm_target_deps()
234 if (offset_end <= offset || offset_end > ioc->data_size) in dm_decode_dm_target_deps()
240 space = (ioc->data_size - offset_end) / sizeof(dev_buf); in dm_decode_dm_target_deps()
270 if (ioc->data_start == ioc->data_size) in dm_decode_dm_name_list()
286 if (offset_end <= offset || offset_end > ioc->data_size) in dm_decode_dm_name_list()
301 printstr_ex(tcp, addr + offset_end, ioc->data_size - offset_end, in dm_decode_dm_name_list()
329 if (ioc->data_start == ioc->data_size) in dm_decode_dm_target_versions()
345 if (offset_end <= offset || offset_end > ioc->data_size) in dm_decode_dm_target_versions()
[all …]
Dio.c63 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/google-breakpad/src/processor/testdata/
Dminidump2.dump.out13 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/webrtc/webrtc/base/
Dwinping.cc129 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/vboot_reference/firmware/lib/
Dvboot_common.c159 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/
Dbluetooth_sdp_socket.py397 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/vboot_reference/firmware/lib20/
Dcommon.c97 if (sig->data_size > size) { in vb2_verify_data()
120 rv = vb2_digest_extend(dc, data, sig->data_size); in vb2_verify_data()
168 if (block->keyblock_size < sig->data_size) { in vb2_verify_keyblock()
181 if (sig->data_size < sizeof(struct vb2_keyblock)) { in vb2_verify_keyblock()
192 if (vb2_verify_packed_key_inside(block, sig->data_size, in vb2_verify_keyblock()
240 if (preamble->preamble_size < sig->data_size) { in vb2_verify_fw_preamble()
251 if (sig->data_size < sizeof(struct vb2_fw_preamble)) { in vb2_verify_fw_preamble()
257 if (vb2_verify_signature_inside(preamble, sig->data_size, in vb2_verify_fw_preamble()
264 if (vb2_verify_packed_key_inside(preamble, sig->data_size, in vb2_verify_fw_preamble()
/external/strace/tests-m32/
Dscm_rights.c44 const unsigned int data_size = sizeof(sample) - 1; in main() local
45 void *data = tail_alloc(data_size); in main()
46 memcpy(data, sample, data_size); in main()
50 iov->iov_len = data_size; in main()
86 assert(sendmsg(sv[1], mh, 0) == (int) data_size); in main()
102 assert(recvmsg(0, mh, 0) == (int) data_size); in main()
Dioctl_dm.c128 s->data_size = size; in init_s()
268 dm_arg->data_size = 0xfacefeed; in main()
376 "}) = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); in main()
380 dm_arg->data_size = sizeof(*dm_arg); in main()
391 dm_arg->data_size = sizeof(*dm_arg); in main()
408 dm_arg_open1->ioc.data_size = sizeof(*dm_arg_open1); in main()
431 dm_arg_open2->ioc.data_size = sizeof(*dm_arg_open2); in main()
521 dm_arg_open3->ioc.data_size = sizeof(*dm_arg_open3); in main()
569 s.ioc.data_size, s.ioc.data_start); in main()
573 dm_arg->data_size = sizeof(*dm_arg); in main()
[all …]
/external/strace/tests/
Dscm_rights.c44 const unsigned int data_size = sizeof(sample) - 1; in main() local
45 void *data = tail_alloc(data_size); in main()
46 memcpy(data, sample, data_size); in main()
50 iov->iov_len = data_size; in main()
86 assert(sendmsg(sv[1], mh, 0) == (int) data_size); in main()
102 assert(recvmsg(0, mh, 0) == (int) data_size); in main()
Dioctl_dm.c128 s->data_size = size; in init_s()
268 dm_arg->data_size = 0xfacefeed; in main()
376 "}) = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); in main()
380 dm_arg->data_size = sizeof(*dm_arg); in main()
391 dm_arg->data_size = sizeof(*dm_arg); in main()
408 dm_arg_open1->ioc.data_size = sizeof(*dm_arg_open1); in main()
431 dm_arg_open2->ioc.data_size = sizeof(*dm_arg_open2); in main()
521 dm_arg_open3->ioc.data_size = sizeof(*dm_arg_open3); in main()
569 s.ioc.data_size, s.ioc.data_start); in main()
573 dm_arg->data_size = sizeof(*dm_arg); in main()
[all …]
/external/strace/tests-mx32/
Dscm_rights.c44 const unsigned int data_size = sizeof(sample) - 1; in main() local
45 void *data = tail_alloc(data_size); in main()
46 memcpy(data, sample, data_size); in main()
50 iov->iov_len = data_size; in main()
86 assert(sendmsg(sv[1], mh, 0) == (int) data_size); in main()
102 assert(recvmsg(0, mh, 0) == (int) data_size); in main()
Dioctl_dm.c128 s->data_size = size; in init_s()
268 dm_arg->data_size = 0xfacefeed; in main()
376 "}) = -1 EBADF (%m)\n", s.ioc.data_size, s.ioc.data_start); in main()
380 dm_arg->data_size = sizeof(*dm_arg); in main()
391 dm_arg->data_size = sizeof(*dm_arg); in main()
408 dm_arg_open1->ioc.data_size = sizeof(*dm_arg_open1); in main()
431 dm_arg_open2->ioc.data_size = sizeof(*dm_arg_open2); in main()
521 dm_arg_open3->ioc.data_size = sizeof(*dm_arg_open3); in main()
569 s.ioc.data_size, s.ioc.data_start); in main()
573 dm_arg->data_size = sizeof(*dm_arg); in main()
[all …]
/external/selinux/libselinux/src/
Dsetrans_client.c133 uint32_t data_size; in receive_response() local
143 resp_hdr[1].iov_base = &data_size; in receive_response()
144 resp_hdr[1].iov_len = sizeof(data_size); in receive_response()
149 if (count != (sizeof(func) + sizeof(data_size) + sizeof(*ret_val))) { in receive_response()
153 if (func != function || !data_size || data_size > MAX_DATA_BUF) { in receive_response()
157 data = malloc(data_size); in receive_response()
161 memset(data, 0, data_size); in receive_response()
164 resp_data.iov_len = data_size; in receive_response()
167 if (count < 0 || (uint32_t) count != data_size || in receive_response()
168 data[data_size - 1] != '\0') { in receive_response()
/external/vboot_reference/host/lib/
Dhost_signature.c24 VbSignature* SignatureAlloc(uint64_t sig_size, uint64_t data_size) { in SignatureAlloc() argument
31 sig->data_size = data_size; in SignatureAlloc()
37 uint64_t sig_size, uint64_t data_size) { in SignatureInit() argument
40 sig->data_size = data_size; in SignatureInit()
48 dest->data_size = src->data_size; in SignatureCopy()
70 sig->data_size = size; in CalculateChecksum()
/external/ltp/testcases/kernel/controllers/io-throttle/
Diobw.c52 static size_t data_size = 0; variable
113 while (n < data_size) { in thread()
125 print_results(id + 1, OP_WRITE, data_size, &diff); in thread()
131 while (n < data_size) { in thread()
143 print_results(id + 1, OP_READ, data_size, &diff); in thread()
235 data_size = align(memparse(argv[3], &end), PAGE_SIZE); in main()
261 kb(chunk_size), kb(data_size)); in main()
276 print_results(0, NUM_IOPS, data_size * threads * NUM_IOPS, &diff); in main()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
Daudio_classifier_test.cc50 const int data_size = channels * kFrameSizeSamples; in main() local
51 rtc::scoped_ptr<int16_t[]> in(new int16_t[data_size]); in main()
75 data_size, in_file) == (size_t) data_size) { in main()
76 bool is_music = classifier.Analysis(in.get(), data_size, channels); in main()
/external/python/cpython2/Lib/
Dsunaudio.py24 data_size = get_long_be(fp.read(4))
35 return (data_size, encoding, sample_rate, channels, info)
41 data_size, encoding, sample_rate, channels, info = hdr
45 print 'Data size: ', data_size
/external/valgrind/drd/tests/
Dstd_string.cpp16 size_t data_size = 24; in list2byteArray() local
17 char *data = new char[data_size]; in list2byteArray()
18 for (size_t i = 0; i < data_size; i++) in list2byteArray()
20 data[data_size - 1] = 0; in list2byteArray()
/external/curl/tests/libtest/
Dlib578.c29 static size_t data_size = sizeof(data) / sizeof(char); variable
41 if((size_t)ultotal == data_size && (size_t)ulnow == data_size) in progress_callback()
79 test_setopt(curl, CURLOPT_POSTFIELDSIZE, data_size); in test()
/external/brotli/enc/
Dbit_cost_inc.h17 const size_t data_size = FN(HistogramDataSize)(); in FN() local
25 for (i = 0; i < data_size; ++i) { in FN()
76 for (i = 0; i < data_size;) { in FN()
97 for (k = i + 1; k < data_size && histogram->data_[k] == 0; ++k) { in FN()
101 if (i == data_size) { in FN()
/external/google-breakpad/src/common/linux/
Dmemory_mapped_file_unittest.cc102 size_t data_size = sizeof(data); in TEST_F() local
103 for (size_t i = 0; i < data_size; ++i) { in TEST_F()
109 ASSERT_TRUE(WriteFile(test_file.c_str(), data, data_size)); in TEST_F()
115 EXPECT_EQ(data_size, mapped_file.size()); in TEST_F()
116 EXPECT_EQ(0, memcmp(data, mapped_file.data(), data_size)); in TEST_F()
123 EXPECT_EQ(data_size, mapped_file.size()); in TEST_F()
124 EXPECT_EQ(0, memcmp(data, mapped_file.data(), data_size)); in TEST_F()

12345678910>>...12