Home
last modified time | relevance | path

Searched refs:dataLen (Results 1 – 25 of 37) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/tables/
DC_B_D_T_.py43 (dataLen,) = struct.unpack(">L", data[:4])
47 assert dataLen <= len(data), "Data overun in format 17"
48 self.imageData = data[:dataLen]
62 (dataLen,) = struct.unpack(">L", data[:4])
66 assert dataLen <= len(data), "Data overun in format 18"
67 self.imageData = data[:dataLen]
79 (dataLen,) = struct.unpack(">L", self.data[:4])
82 assert dataLen <= len(data), "Data overun in format 19"
83 self.imageData = data[:dataLen]
D_p_o_s_t.py259 dataLen = len(data)
260 while index < dataLen:
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/pem/
DPemWriter.java66 int dataLen = ((obj.getContent().length + 2) / 3) * 4; in getOutputSize() local
68 size += dataLen + (((dataLen + LINE_LENGTH - 1) / LINE_LENGTH) * nlLength); in getOutputSize()
/external/chromium_org/third_party/mesa/src/src/glx/
Dglxext.c1021 GLint totalRequests, const GLvoid * data, GLint dataLen) in __glXSendLargeChunk() argument
1027 totalRequests, dataLen, data); in __glXSendLargeChunk()
1039 req->length += (dataLen + 3) >> 2; in __glXSendLargeChunk()
1042 req->dataBytes = dataLen; in __glXSendLargeChunk()
1043 Data(dpy, data, dataLen); in __glXSendLargeChunk()
1071 const GLvoid * data, GLint dataLen) in __glXSendLargeCommand() argument
1082 totalRequests = 1 + (dataLen / maxSize); in __glXSendLargeCommand()
1083 if (dataLen % maxSize) in __glXSendLargeCommand()
1099 dataLen -= maxSize; in __glXSendLargeCommand()
1100 assert(dataLen > 0); in __glXSendLargeCommand()
[all …]
/external/mesa3d/src/glx/
Dglxext.c1021 GLint totalRequests, const GLvoid * data, GLint dataLen) in __glXSendLargeChunk() argument
1027 totalRequests, dataLen, data); in __glXSendLargeChunk()
1039 req->length += (dataLen + 3) >> 2; in __glXSendLargeChunk()
1042 req->dataBytes = dataLen; in __glXSendLargeChunk()
1043 Data(dpy, data, dataLen); in __glXSendLargeChunk()
1071 const GLvoid * data, GLint dataLen) in __glXSendLargeCommand() argument
1082 totalRequests = 1 + (dataLen / maxSize); in __glXSendLargeCommand()
1083 if (dataLen % maxSize) in __glXSendLargeCommand()
1099 dataLen -= maxSize; in __glXSendLargeCommand()
1100 assert(dataLen > 0); in __glXSendLargeCommand()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/
DNETEQTEST_RTPpacket.h31 bool operator !() const { return (dataLen() < 0); };
46 int16_t dataLen() const;
Drtp_to_text.cc111 DataLog::InsertCell(table_name, "length", packet->dataLen()); in main()
/external/skia/src/pdf/
DSkPDFFont.cpp70 size_t* dataLen, size_t* trailerLen) { in parsePFB() argument
75 parsePFBSection(&srcPtr, &remaining, 2, dataLen) && in parsePFB()
89 size_t* hexDataLen, size_t* dataLen, size_t* trailerLen) { in parsePFA() argument
135 *dataLen = (nibbles + 1) / 2; in parsePFA()
154 size_t* dataLen, size_t* trailerLen) { in handleType1Stream() argument
201 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { in handleType1Stream()
203 new SkMemoryStream(*headerLen + *dataLen + *trailerLen); in handleType1Stream()
206 memcpy((char*)result->getAtPos(), src + 6 + *headerLen + 6, *dataLen); in handleType1Stream()
207 result->seek(*headerLen + *dataLen); in handleType1Stream()
208 memcpy((char*)result->getAtPos(), src + 6 + *headerLen + 6 + *dataLen, in handleType1Stream()
[all …]
/external/chromium_org/third_party/skia/src/pdf/
DSkPDFFont.cpp70 size_t* dataLen, size_t* trailerLen) { in parsePFB() argument
75 parsePFBSection(&srcPtr, &remaining, 2, dataLen) && in parsePFB()
89 size_t* hexDataLen, size_t* dataLen, size_t* trailerLen) { in parsePFA() argument
135 *dataLen = (nibbles + 1) / 2; in parsePFA()
154 size_t* dataLen, size_t* trailerLen) { in handleType1Stream() argument
201 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { in handleType1Stream()
203 new SkMemoryStream(*headerLen + *dataLen + *trailerLen); in handleType1Stream()
206 memcpy((char*)result->getAtPos(), src + 6 + *headerLen + 6, *dataLen); in handleType1Stream()
207 result->seek(*headerLen + *dataLen); in handleType1Stream()
208 memcpy((char*)result->getAtPos(), src + 6 + *headerLen + 6 + *dataLen, in handleType1Stream()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DHalAdaptation.cpp348 int HaiWrite (const bcm2079x_dev_t* dev, uint16_t dataLen, const uint8_t* data) in HaiWrite() argument
350 ALOGD ("%s: enter; len=%u", __FUNCTION__, dataLen); in HaiWrite()
353 HAL_NfcWrite (dataLen, const_cast<UINT8*> (data)); in HaiWrite()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java343 private int calculateMac(byte[] data, int dataOff, int dataLen, byte[] macBlock) in calculateMac() argument
365 int q = dataLen; in calculateMac()
425 cMac.update(data, dataOff, dataLen); in calculateMac()
/external/libnfc-nci/halimpl/bcm2079x/include/
DHalAdaptation.h57 extern int HaiWrite (const bcm2079x_dev_t* dev, uint16_t dataLen, const uint8_t* data);
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
Dneteq_rtpplay.cc199 if (rtp->dataLen() < 0) { in main()
230 while (rtp->dataLen() >= 0) { in main()
232 while (time_now_ms >= next_input_time_ms && rtp->dataLen() >= 0) { in main()
233 if (rtp->dataLen() > 0) { in main()
/external/chromium_org/net/quic/crypto/
Daead_base_encrypter.h20 const unsigned char* data, unsigned int dataLen);
/external/icu/icu4c/source/common/
Dumapfile.c205 size_t dataLen = (char *)pData->map - (char *)pData->mapAddr; in uprv_unmapFile() local
206 if(munmap(pData->mapAddr, dataLen)==-1) { in uprv_unmapFile()
/external/chromium_org/third_party/icu/source/common/
Dumapfile.c206 size_t dataLen = (char *)pData->map - (char *)pData->mapAddr; in uprv_unmapFile() local
207 if(munmap(pData->mapAddr, dataLen)==-1) { in uprv_unmapFile()
/external/chromium_org/third_party/skia/third_party/ktx/
Dktx.h129 bool readKTXFile(const uint8_t *data, size_t dataLen);
Dktx.cpp138 bool SkKTXFile::readKTXFile(const uint8_t* data, size_t dataLen) { in readKTXFile() argument
140 size_t bytesLeft = dataLen; in readKTXFile()
/external/skia/third_party/ktx/
Dktx.h129 bool readKTXFile(const uint8_t *data, size_t dataLen);
Dktx.cpp138 bool SkKTXFile::readKTXFile(const uint8_t* data, size_t dataLen) { in readKTXFile() argument
140 size_t bytesLeft = dataLen; in readKTXFile()
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/
DSimpleWebServer.java409 final long dataLen = newLen; in serveFile() local
413 return (int) dataLen; in serveFile()
419 res.addHeader("Content-Length", "" + dataLen); in serveFile()
/external/zlib/src/contrib/minizip/
Dzip.h340 extern int ZEXPORT zipRemoveExtraInfoBlock OF((char* pData, int* dataLen, short sHeader));
Dzip.c1951 extern int ZEXPORT zipRemoveExtraInfoBlock (char* pData, int* dataLen, short sHeader) in zipRemoveExtraInfoBlock() argument
1962 if(pData == NULL || *dataLen < 4) in zipRemoveExtraInfoBlock()
1965 pNewHeader = (char*)ALLOC(*dataLen); in zipRemoveExtraInfoBlock()
1968 while(p < (pData + *dataLen)) in zipRemoveExtraInfoBlock()
1987 if(size < *dataLen) in zipRemoveExtraInfoBlock()
1990 memset(pData,0, *dataLen); in zipRemoveExtraInfoBlock()
1997 *dataLen = size; in zipRemoveExtraInfoBlock()
/external/chromium_org/third_party/zlib/contrib/minizip/
Dzip.h340 extern int ZEXPORT zipRemoveExtraInfoBlock OF((char* pData, int* dataLen, short sHeader));
Dzip.c1948 extern int ZEXPORT zipRemoveExtraInfoBlock (char* pData, int* dataLen, short sHeader) in zipRemoveExtraInfoBlock() argument
1959 if(pData == NULL || *dataLen < 4) in zipRemoveExtraInfoBlock()
1962 pNewHeader = (char*)ALLOC(*dataLen); in zipRemoveExtraInfoBlock()
1965 while(p < (pData + *dataLen)) in zipRemoveExtraInfoBlock()
1984 if(size < *dataLen) in zipRemoveExtraInfoBlock()
1987 memset(pData,0, *dataLen); in zipRemoveExtraInfoBlock()
1994 *dataLen = size; in zipRemoveExtraInfoBlock()

12