Home
last modified time | relevance | path

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

12

/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python2/src/
D_crcfunext.c83 Py_ssize_t dataLen; in _crc8() local
87 if (!PyArg_ParseTuple(args, INPUT8, &data, &dataLen, &crc, in _crc8()
99 while (dataLen--) in _crc8()
124 Py_ssize_t dataLen; in _crc8r() local
128 if (!PyArg_ParseTuple(args, INPUT8, &data, &dataLen, &crc, in _crc8r()
140 while (dataLen--) in _crc8r()
164 Py_ssize_t dataLen; in _crc16() local
168 if (!PyArg_ParseTuple(args, INPUT16, &data, &dataLen, &crc, in _crc16()
180 while (dataLen--) in _crc16()
205 Py_ssize_t dataLen; in _crc16r() local
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/crcmod/python3/src/
D_crcfunext.c103 Py_ssize_t dataLen; in _crc8() local
121 dataLen = buf.len; in _crc8()
123 while (dataLen--) in _crc8()
152 Py_ssize_t dataLen; in _crc8r() local
170 dataLen = buf.len; in _crc8r()
172 while (dataLen--) in _crc8r()
200 Py_ssize_t dataLen; in _crc16() local
218 dataLen = buf.len; in _crc16()
220 while (dataLen--) in _crc16()
249 Py_ssize_t dataLen; in _crc16r() local
[all …]
/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.java67 int dataLen = ((obj.getContent().length + 2) / 3) * 4; in getOutputSize() local
69 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.h325 StringData(FX_STRSIZE dataLen, FX_STRSIZE allocLen) in StringData() argument
326 : m_nRefs(1), m_nDataLength(dataLen), m_nAllocLength(allocLen) { in StringData()
327 FXSYS_assert(dataLen >= 0); in StringData()
329 FXSYS_assert(dataLen <= allocLen); in StringData()
330 m_String[dataLen] = 0; in StringData()
706 StringData(FX_STRSIZE dataLen, FX_STRSIZE allocLen) in StringData() argument
707 : m_nRefs(1), m_nDataLength(dataLen), m_nAllocLength(allocLen) { in StringData()
708 FXSYS_assert(dataLen >= 0); in StringData()
710 FXSYS_assert(dataLen <= allocLen); in StringData()
711 m_String[dataLen] = 0; in StringData()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DNETEQTEST_RTPpacket.h31 bool operator !() const { return (dataLen() < 0); };
45 int16_t dataLen() const;
Drtp_to_text.cc111 DataLog::InsertCell(table_name, "length", packet->dataLen()); in main()
DRTPencode.cc126 void stereoInterleave(unsigned char* data, size_t dataLen, size_t stride);
1856 void stereoInterleave(unsigned char* data, size_t dataLen, size_t stride) { in stereoInterleave() argument
1864 if (dataLen % 1 != 0) { in stereoInterleave()
1871 ptrR = &data[dataLen / 2]; in stereoInterleave()
/external/skia/src/pdf/
DSkPDFFont.cpp74 size_t* dataLen, size_t* trailerLen) { in parsePFB() argument
79 parsePFBSection(&srcPtr, &remaining, 2, dataLen) && in parsePFB()
93 size_t* hexDataLen, size_t* dataLen, size_t* trailerLen) { in parsePFA() argument
139 *dataLen = (nibbles + 1) / 2; in parsePFA()
158 size_t* dataLen, size_t* trailerLen) { in handle_type1_stream() argument
205 if (parsePFB(src, srcLen, headerLen, dataLen, trailerLen)) { in handle_type1_stream()
207 const size_t length = *headerLen + *dataLen + *trailerLen; in handle_type1_stream()
221 uint8_t* const resultTrailer = resultData + *dataLen; in handle_type1_stream()
226 memcpy(resultData, srcData, *dataLen); in handle_type1_stream()
234 if (parsePFA((const char*)src, srcLen, headerLen, &hexDataLen, dataLen, in handle_type1_stream()
[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.java350 private int calculateMac(byte[] data, int dataOff, int dataLen, byte[] macBlock) in calculateMac() argument
372 int q = dataLen; in calculateMac()
432 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()
Duniset.cpp1478 UnicodeSet::UnicodeSet(const uint16_t data[], int32_t dataLen, ESerialization serialization, UError… in UnicodeSet() argument
1490 || (dataLen < 1)) { in UnicodeSet()
1508 …printf("dataLen %d headerSize %d bmpLen %d len %d. data[0]=%X/%X/%X/%X\n", dataLen,headerSize,bmpL… in UnicodeSet()
/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/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/deqp/framework/opengl/
DgluShaderLibrary.cpp1624 const int dataLen = m_resource->getSize(); in parse() local
1626 m_input.resize(dataLen+1); in parse()
1628 m_resource->read((deUint8*)&m_input[0], dataLen); in parse()
1629 m_input[dataLen] = '\0'; in parse()
/external/clang/lib/Lex/
DPTHLexer.cpp334 unsigned dataLen = (unsigned) *(d++); in ReadKeyDataLength() local
335 return std::make_pair(keyLen, dataLen); in ReadKeyDataLength()
/external/curl/lib/vtls/
Ddarwinssl.c191 size_t dataLen = *dataLength; in SocketWrite() local
201 dataLen - bytesSent); in SocketWrite()
203 ( (bytesSent += length) < dataLen) ); in SocketWrite()

12