Home
last modified time | relevance | path

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

/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/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 …]
Dglxclient.h611 const GLvoid * data, GLint dataLen);
/external/pdfium/core/include/fxcrt/
Dfx_string.h374 StringData(FX_STRSIZE dataLen, FX_STRSIZE allocLen) in StringData() argument
375 : m_nRefs(1), m_nDataLength(dataLen), m_nAllocLength(allocLen) { in StringData()
376 FXSYS_assert(dataLen >= 0); in StringData()
378 FXSYS_assert(dataLen <= allocLen); in StringData()
379 m_String[dataLen] = 0; in StringData()
801 StringData(FX_STRSIZE dataLen, FX_STRSIZE allocLen) in StringData() argument
802 : m_nRefs(1), m_nDataLength(dataLen), m_nAllocLength(allocLen) { in StringData()
803 FXSYS_assert(dataLen >= 0); in StringData()
805 FXSYS_assert(dataLen <= allocLen); in StringData()
806 m_String[dataLen] = 0; in StringData()
/external/skia/src/pdf/
DSkPDFFont.cpp75 size_t* dataLen, size_t* trailerLen) { in parsePFB() argument
80 parsePFBSection(&srcPtr, &remaining, 2, dataLen) && in parsePFB()
94 size_t* hexDataLen, size_t* dataLen, size_t* trailerLen) { in parsePFA() argument
140 *dataLen = (nibbles + 1) / 2; in parsePFA()
159 size_t* dataLen, size_t* trailerLen) { in handle_type1_stream() argument
206 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { in handle_type1_stream()
208 const size_t length = *headerLen + *dataLen + *trailerLen; in handle_type1_stream()
222 uint8_t* const resultTrailer = resultData + *dataLen; in handle_type1_stream()
227 memcpy(resultData, srcData, *dataLen); in handle_type1_stream()
235 if (parsePFA((const char*)src, srcLen, headerLen, &hexDataLen, dataLen, in handle_type1_stream()
[all …]
/external/libvncserver/x11vnc/misc/turbovnc/
Dtight.c140 static Bool CompressData(rfbClientPtr cl, int streamId, int dataLen,
706 int paletteLen, dataLen; local
715 dataLen = (w + 7) / 8;
716 dataLen *= h;
763 return CompressData(cl, streamId, dataLen,
864 CompressData(cl, streamId, dataLen, zlibLevel, zlibStrategy) in CompressData() argument
866 int streamId, dataLen, zlibLevel, zlibStrategy;
871 if (dataLen < TIGHT_MIN_TO_COMPRESS) {
872 memcpy(&updateBuf[ublen], tightBeforeBuf, dataLen);
873 ublen += dataLen;
[all …]
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
DHalAdaptation.cpp347 int HaiWrite (const bcm2079x_dev_t* dev, uint16_t dataLen, const uint8_t* data) in HaiWrite() argument
349 ALOGD ("%s: enter; len=%u", __FUNCTION__, dataLen); in HaiWrite()
352 HAL_NfcWrite (dataLen, const_cast<UINT8*> (data)); in HaiWrite()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
DCCMBlockCipher.java348 private int calculateMac(byte[] data, int dataOff, int dataLen, byte[] macBlock) in calculateMac() argument
370 int q = dataLen; in calculateMac()
430 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/libvncserver/libvncserver/
Dtight.c197 static rfbBool CompressData (rfbClientPtr cl, int streamId, int dataLen,
835 int paletteLen, dataLen; in SendMonoRect() local
852 dataLen = (w + 7) / 8; in SendMonoRect()
853 dataLen *= h; in SendMonoRect()
902 return CompressData(cl, streamId, dataLen, in SendMonoRect()
1028 int dataLen, in CompressData() argument
1035 if (dataLen < TIGHT_MIN_TO_COMPRESS) { in CompressData()
1036 memcpy(&cl->updateBuf[cl->ublen], tightBeforeBuf, dataLen); in CompressData()
1037 cl->ublen += dataLen; in CompressData()
1038 rfbStatRecordEncodingSentAdd(cl, cl->tightEncoding, dataLen); in CompressData()
[all …]
/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/skia/third_party/ktx/
Dktx.h130 bool readKTXFile(const uint8_t *data, size_t dataLen);
Dktx.cpp193 bool SkKTXFile::readKTXFile(const uint8_t* data, size_t dataLen) { in readKTXFile() argument
195 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/clang/lib/Lex/
DPTHLexer.cpp334 unsigned dataLen = (unsigned) *(d++); in ReadKeyDataLength() local
335 return std::make_pair(keyLen, dataLen); in ReadKeyDataLength()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.lucene.analysis_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.apache.lucene_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/icu/icu4c/source/test/intltest/
Dtzregts.cpp802 int32_t dataLen = (int32_t)(sizeof(DATA) / sizeof(DATA[0])); in Test4154650() local
806 for(int32_t i = 0; i < dataLen; i += 7) { in Test4154650()
/external/icu/icu4c/source/test/cintltst/
Dcmsccoll.c4048 int32_t dataLen = i+1; in TestSortKeyConsistency() local
4053 ucol_getSortKey(ucol, data, dataLen, bufFull[i], TSKC_BUF_SIZE); in TestSortKeyConsistency()
4056 uiter_setString(&uiter, data, dataLen); in TestSortKeyConsistency()