Home
last modified time | relevance | path

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

12345678910

/external/webp/src/dec/
Dwebp.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 …]
Ddecode_vp8.h87 size_t data_size; member
160 WEBP_EXTERN(int) VP8CheckSignature(const uint8_t* const data, size_t data_size);
167 size_t data_size, // data available so far
178 const uint8_t* data, size_t data_size, // data available so far
Didec.c116 idec->io_.data_size = MemDataSize(mem); in DoRemap()
165 const uint8_t* const data, size_t data_size) { in AppendToMemBuffer() argument
173 if (data_size > MAX_CHUNK_PAYLOAD) { in AppendToMemBuffer()
179 if (mem->end_ + data_size > mem->buf_size_) { // Need some free memory in AppendToMemBuffer()
182 const uint64_t new_size = (uint64_t)current_size + data_size; in AppendToMemBuffer()
195 memcpy(mem->buf_ + mem->end_, data, data_size); in AppendToMemBuffer()
196 mem->end_ += data_size; in AppendToMemBuffer()
204 const uint8_t* const data, size_t data_size) { in RemapMemBuffer() argument
210 if (data_size < mem->buf_size_) return 0; // can't remap to a shorter buffer! in RemapMemBuffer()
213 mem->end_ = mem->buf_size_ = data_size; in RemapMemBuffer()
[all …]
/external/opencv3/3rdparty/libwebp/dec/
Dwebp.c65 size_t* const data_size, in ParseRIFF() argument
68 assert(data_size != NULL); in ParseRIFF()
72 if (*data_size >= RIFF_HEADER_SIZE && !memcmp(*data, "RIFF", TAG_SIZE)) { in ParseRIFF()
87 *data_size -= RIFF_HEADER_SIZE; in ParseRIFF()
101 size_t* const data_size, in ParseVP8X() argument
107 assert(data_size != NULL); in ParseVP8X()
112 if (*data_size < CHUNK_HEADER_SIZE) { in ParseVP8X()
125 if (*data_size < vp8x_size) { in ParseVP8X()
140 *data_size -= vp8x_size; in ParseVP8X()
154 size_t* const data_size, in ParseOptionalChunks() argument
[all …]
Ddecode_vp8.h87 size_t data_size; member
159 WEBP_EXTERN(int) VP8CheckSignature(const uint8_t* const data, size_t data_size);
166 size_t data_size, // data available so far
177 const uint8_t* data, size_t data_size, // data available so far
Didec.c125 idec->io_.data_size = MemDataSize(mem); in DoRemap()
155 const uint8_t* const data, size_t data_size) { in AppendToMemBuffer() argument
163 if (data_size > MAX_CHUNK_PAYLOAD) { in AppendToMemBuffer()
169 if (mem->end_ + data_size > mem->buf_size_) { // Need some free memory in AppendToMemBuffer()
172 const uint64_t new_size = (uint64_t)current_size + data_size; in AppendToMemBuffer()
185 memcpy(mem->buf_ + mem->end_, data, data_size); in AppendToMemBuffer()
186 mem->end_ += data_size; in AppendToMemBuffer()
194 const uint8_t* const data, size_t data_size) { in RemapMemBuffer() argument
200 if (data_size < mem->buf_size_) return 0; // can't remap to a shorter buffer! in RemapMemBuffer()
203 mem->end_ = mem->buf_size_ = data_size; in RemapMemBuffer()
[all …]
/external/opencv3/3rdparty/libwebp/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,
97 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,
[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/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/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/opencv/
DWLNonFileByteStream.cpp33 void WLNonFileByteStream::Allocate(int data_size) in Allocate() argument
36 m_start = new uchar[data_size]; in Allocate()
38 m_end = m_start + data_size; in Allocate()
51 bool WLNonFileByteStream::Open(int data_size) in Open() argument
54 Allocate(data_size); in Open()
58 _size = data_size; in Open()
/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/selinux/libselinux/src/
Dsetrans_client.c132 uint32_t data_size; in receive_response() local
142 resp_hdr[1].iov_base = &data_size; in receive_response()
143 resp_hdr[1].iov_len = sizeof(data_size); in receive_response()
148 if (count != (sizeof(func) + sizeof(data_size) + sizeof(*ret_val))) { in receive_response()
152 if (func != function || !data_size || data_size > MAX_DATA_BUF) { in receive_response()
156 data = malloc(data_size); in receive_response()
160 memset(data, 0, data_size); in receive_response()
163 resp_data.iov_len = data_size; in receive_response()
166 if (count < 0 || (uint32_t) count != data_size || in receive_response()
167 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/v8/test/cctest/
Dtest-macro-assembler-arm.cc67 const int data_size = 1 * KB; in TEST() local
72 static_cast<byte*>(v8::base::OS::Allocate(data_size, &act_size, 0)); in TEST()
74 CHECK(act_size >= static_cast<size_t>(data_size)); in TEST()
76 static_cast<byte*>(v8::base::OS::Allocate(data_size, &act_size, 0)); in TEST()
78 CHECK(act_size >= static_cast<size_t>(data_size)); in TEST()
105 for (int i = 0; i < data_size; i++) { in TEST()
114 memset(dest_buffer, 0, data_size); in TEST()
115 CHECK(dest + size < dest_buffer + data_size); in TEST()
123 CHECK(all_zeroes(dest + size, dest_buffer + data_size)); in TEST()
131 for (int i = 0; i < data_size; i++) { in TEST()
/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/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
40 if ((size_t)ultotal == data_size && (size_t)ulnow == data_size) in progress_callback()
77 test_setopt(curl, CURLOPT_POSTFIELDSIZE, data_size); in test()
/external/mesa3d/src/glsl/tests/
Duniform_initializer_utils.cpp32 unsigned data_size, in fill_storage_array_with_sentinels() argument
35 for (unsigned i = 0; i < data_size; i++) in fill_storage_array_with_sentinels()
39 storage[data_size + i].u = 0xBADDC0DE; in fill_storage_array_with_sentinels()
47 unsigned data_size, in red_zone_is_intact() argument
51 const unsigned idx = data_size + i; in red_zone_is_intact()
56 << ", exepected data values = " << data_size in red_zone_is_intact()
/external/webp/src/enc/
Dalpha.c111 const size_t data_size = width * height; in EncodeAlphaInternal() local
116 assert((uint64_t)data_size == (uint64_t)width * height); // as per spec in EncodeAlphaInternal()
132 ok = VP8LBitWriterInit(&tmp_bw, data_size >> 3); in EncodeAlphaInternal()
138 if (output_size > data_size) { in EncodeAlphaInternal()
151 output_size = data_size; in EncodeAlphaInternal()
229 size_t data_size, int method, int filter, in ApplyFiltersAndEncode() argument
241 uint8_t* filtered_alpha = (uint8_t*)WebPSafeMalloc(1ULL, data_size); in ApplyFiltersAndEncode()
291 const size_t data_size = width * height; in EncodeAlpha() local
297 assert((uint64_t)data_size == (uint64_t)width * height); // as per spec in EncodeAlpha()
317 quant_alpha = (uint8_t*)WebPSafeMalloc(1ULL, data_size); in EncodeAlpha()
[all …]
/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()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_flate.cpp245 FX_DWORD& data_size, in PNG_PredictorEncode() argument
254 const int row_count = (data_size + row_size - 1) / row_size; in PNG_PredictorEncode()
255 const int last_row_size = data_size % row_size; in PNG_PredictorEncode()
264 if (move_size * (row + 1) > (int)data_size) { in PNG_PredictorEncode()
265 move_size = data_size - (move_size * row); in PNG_PredictorEncode()
273 for (int byte = 0; byte < row_size && byte_cnt < (int)data_size; byte++) { in PNG_PredictorEncode()
329 data_size = (row_size + 1) * row_count - in PNG_PredictorEncode()
402 FX_DWORD& data_size, in PNG_Predictor() argument
410 const int row_count = (data_size + row_size) / (row_size + 1); in PNG_Predictor()
413 const int last_row_size = data_size % (row_size + 1); in PNG_Predictor()
[all …]

12345678910