Home
last modified time | relevance | path

Searched refs:datasize (Results 1 – 25 of 74) sorted by relevance

123

/external/u-boot/tools/
Denvcrc.c76 unsigned int datasize = ENV_SIZE; in main() local
88 for (eoe = 0; eoe < datasize - 1; ++eoe) in main()
93 if (eoe < datasize - 1) in main()
94 memset(dataptr + eoe, pad, datasize - eoe); in main()
97 crc = crc32 (0, dataptr, datasize); in main()
115 if (fwrite(dataptr, 1, datasize, stdout) != datasize) in main()
120 (unsigned int) (dataptr - envptr) + datasize, in main()
Dmkenvimage.c75 unsigned int filesize = 0, envsize = 0, datasize = 0; in main() local
97 datasize = xstrtol(optarg); in main()
134 if (datasize == 0) { in main()
140 dataptr = malloc(datasize * sizeof(*dataptr)); in main()
143 datasize); in main()
151 envsize = datasize - (CRC_SIZE + redundant); in main()
305 if (write(bin_fd, dataptr, sizeof(*dataptr) * datasize) != in main()
306 sizeof(*dataptr) * datasize) { in main()
/external/curl/tests/libtest/
Dlib643.c82 curl_off_t datasize = -1; in once() local
86 datasize = (curl_off_t)strlen(data); in once()
88 pooh.sizeleft = datasize; in once()
118 res = curl_mime_data_cb(part, datasize, read_callback, in once()
127 res = curl_mime_data_cb(part, datasize, read_callback, in once()
141 datasize = (curl_off_t)strlen(data); in once()
143 pooh2.sizeleft = datasize; in once()
156 res = curl_mime_data_cb(part, datasize, read_callback, in once()
/external/pdfium/core/fxge/
Dcfx_folderfontinfo.cpp342 uint32_t datasize = 0; in GetFontData() local
345 datasize = pFont->m_FontOffset ? 0 : pFont->m_FileSize; in GetFontData()
347 datasize = pFont->m_FontOffset ? pFont->m_FileSize : 0; in GetFontData()
354 datasize = GET_TT_LONG(p + 12); in GetFontData()
359 if (!datasize || size < datasize) in GetFontData()
360 return datasize; in GetFontData()
367 fread(buffer, datasize, 1, pFile) != 1) { in GetFontData()
368 datasize = 0; in GetFontData()
371 return datasize; in GetFontData()
/external/curl/lib/
Dhttp_chunks.c165 if(curlx_strtoofft(ch->hexbuffer, &endptr, 16, &ch->datasize)) in Curl_httpchunk_read()
175 if(0 == ch->datasize) { in Curl_httpchunk_read()
191 piece = curlx_sotouz((ch->datasize >= length)?length:ch->datasize); in Curl_httpchunk_read()
205 ch->datasize -= piece; /* decrease amount left to expect */ in Curl_httpchunk_read()
209 if(0 == ch->datasize) in Curl_httpchunk_read()
Dmime.c367 return part->datasize; in encoder_nop_size()
470 curl_off_t size = part->datasize; in encoder_base64_size()
605 return part->datasize? -1: 0; in encoder_qp_size()
615 size_t sz = (size_t) part->datasize - part->state.offset; in mime_mem_read()
637 offset += part->datasize; in mime_mem_seek()
641 if(offset < 0 || offset > part->datasize) in mime_mem_seek()
1071 part->datasize = (curl_off_t) 0; /* No size yet. */ in cleanup_part_content()
1141 res = curl_mime_data(dst, src->data, (size_t) src->datasize); in Curl_mime_duppart()
1150 res = curl_mime_data_cb(dst, src->datasize, src->readfunc, in Curl_mime_duppart()
1305 const char *data, size_t datasize) in curl_mime_data() argument
[all …]
Dhttp_chunks.h86 curl_off_t datasize; member
/external/clang/lib/AST/
DRecordLayout.cpp32 CharUnits datasize, in ASTRecordLayout() argument
34 : Size(size), DataSize(datasize), Alignment(alignment), in ASTRecordLayout()
45 CharUnits datasize, in ASTRecordLayout() argument
57 : Size(size), DataSize(datasize), Alignment(alignment), in ASTRecordLayout()
/external/wayland/tests/
Darray-test.c70 const int datasize = sizeof(struct mydata); in TEST() local
78 struct mydata* ptr = wl_array_add(&array, datasize); in TEST()
80 assert((i + 1) * datasize == array.size); in TEST()
90 const int index = datasize * i; in TEST()
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_mem.h89 uint8* Uncompress(const void* srcdata, int datasize,
99 uint8* Uncompress(const void* srcdata, int datasize,
105 bool GetImageInfo(const void* srcdata, int datasize, int* width, int* height,
Djpeg_mem.cc52 FewerArgsForCompiler(int datasize, const UncompressFlags& flags, int64* nwarn, in FewerArgsForCompiler() argument
54 : datasize_(datasize), in FewerArgsForCompiler()
92 const int datasize = argball->datasize_; in UncompressLow() local
110 if (datasize == 0 || srcdata == nullptr) return nullptr; in UncompressLow()
135 SetSrc(&cinfo, srcdata, datasize, flags.try_recover_truncated_jpeg); in UncompressLow()
504 uint8* Uncompress(const void* srcdata, int datasize, in Uncompress() argument
507 FewerArgsForCompiler argball(datasize, flags, nwarn, in Uncompress()
533 uint8* Uncompress(const void* srcdata, int datasize, in Uncompress() argument
538 Uncompress(srcdata, datasize, flags, nwarn, in Uncompress()
553 bool GetImageInfo(const void* srcdata, int datasize, int* width, int* height, in GetImageInfo() argument
[all …]
Djpeg_handle.cc113 src->pub.bytes_in_buffer = src->datasize; in MemInitSource()
164 unsigned long int datasize, bool try_recover_truncated_jpeg) { in SetSrc() argument
178 src->datasize = datasize; in SetSrc()
Djpeg_handle.h42 unsigned long int datasize; member
47 unsigned long int datasize, bool try_recover_truncated_jpeg);
/external/u-boot/drivers/mmc/
Dmxcmmc.c115 unsigned int datasize; member
153 unsigned int datasize = nob * blksz; in mxcmci_setup_data() local
159 host->datasize = datasize; in mxcmci_setup_data()
348 host->datasize = 0; in mxcmci_transfer_data()
354 host->datasize += length; in mxcmci_transfer_data()
359 host->datasize += length; in mxcmci_transfer_data()
/external/elfutils/src/
Dsize.c515 GElf_Off datasize = 0; in show_bsd() local
539 datasize += shdr->sh_size; in show_bsd()
545 ddigits - 2, datasize, in show_bsd()
547 ddigits - 2, textsize + datasize + bsssize, in show_bsd()
548 xdigits - 2, textsize + datasize + bsssize, in show_bsd()
555 total_datasize += datasize; in show_bsd()
/external/u-boot/drivers/net/
Darmada100_fec.c545 static int armdfec_send(struct eth_device *dev, void *dataptr, int datasize) in armdfec_send() argument
556 if (datasize > PKTSIZE_ALIGN) { in armdfec_send()
558 datasize); in armdfec_send()
561 memcpy(darmdfec->p_aligned_txbuf, p, datasize); in armdfec_send()
570 p_txdesc->byte_cnt = datasize; in armdfec_send()
Dmvgbe.c519 static int mvgbe_send(struct eth_device *dev, void *dataptr, int datasize) in mvgbe_send() argument
530 if (datasize > PKTSIZE_ALIGN) { in mvgbe_send()
532 datasize); in mvgbe_send()
536 memcpy(dmvgbe->p_aligned_txbuf, p, datasize); in mvgbe_send()
545 p_txdesc->byte_cnt = datasize; in mvgbe_send()
/external/clang/include/clang/AST/
DRecordLayout.h136 CharUnits requiredAlignment, CharUnits datasize,
146 CharUnits datasize,
/external/tensorflow/tensorflow/core/lib/gif/
Dgif_io.cc56 uint8* Decode(const void* srcdata, int datasize, in Decode() argument
60 InputBufferInfo info = {reinterpret_cast<const uint8*>(srcdata), datasize}; in Decode()
Dgif_io.h45 uint8* Decode(const void* srcdata, int datasize,
/external/kernel-headers/original/uapi/linux/
Dcycx_cfm.h74 unsigned long datasize; member
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DH264TrackImpl.java590 int datasize = is.available(); in SEIMessage() local
592 while (read < datasize) { in SEIMessage()
612 if (datasize - read >= payloadSize) { in SEIMessage()
701 read = datasize; in SEIMessage()
/external/zopfli/src/zopfli/
Dlz77.h99 void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-objdump/AArch64/
Dmacho-private-headers.test302 EXE: datasize 8
307 EXE: datasize 0
312 EXE: datasize 24
/external/llvm/test/tools/llvm-objdump/AArch64/
Dmacho-private-headers.test302 EXE: datasize 8
307 EXE: datasize 0
312 EXE: datasize 24

123