/external/icu4c/samples/udata/ |
writer.c | 66 long dataLength; 95 dataLength=udata_finish(pData, &errorCode); 103 if(dataLength!=(long)size) { 104 fprintf(stderr, "Error: data length %ld != calculated size %lu\n", dataLength, size);
|
/external/webkit/Tools/DumpRenderTree/cairo/ |
PixelDumpSupportCairo.cpp | 58 const size_t dataLength = pixelData.size(); 61 printPNG(data, dataLength, checksum);
|
/external/webkit/Tools/DumpRenderTree/cg/ |
PixelDumpSupportCG.cpp | 66 CFIndex dataLength = CFDataGetLength(imageData.get()); 68 printPNG(static_cast<const unsigned char*>(data), static_cast<size_t>(dataLength), checksum);
|
/external/icu4c/tools/gentest/ |
gentest.c | 108 long dataLength; 124 dataLength=udata_finish(pData, errorCode); 132 if(dataLength!=(long)size) { 134 dataLength, (unsigned long)size);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
MessageProtocol.java | 76 short dataLength = (short)(buffer.remaining() - 2); 77 buffer.putShort( dataLength );
|
/external/libnfc-nxp/src/ |
phFriNfc_LlcpUtils.c | 214 * Attempts to write dataLength bytes to the specified Fifo Cyclic Buffer. 218 uint32_t dataLength) 223 while(dataLengthWritten < dataLength) 254 * Attempts to read dataLength bytes from the specified Fifo Cyclic Buffer. 258 uint32_t dataLength) 263 while(dataLengthRead < dataLength) 300 uint32_t dataLength; 306 dataLength = pUtilFifo->pBuffEnd - pUtilFifo->pBuffStart + 1; 312 dataLength = pIn - pOut; 316 dataLength = pUtilFifo->pBuffEnd - pOut [all...] |
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NetscapePluginStream.cpp | 219 int32_t dataLength = min(numBytesPluginCanHandle, numBytesToDeliver - numBytesDelivered); 222 int32_t numBytesWritten = m_plugin->NPP_Write(&m_npStream, m_offset, dataLength, data); 233 numBytesWritten = min(numBytesWritten, dataLength);
|
/external/webkit/Tools/WebKitTestRunner/cg/ |
TestInvocationCG.cpp | 111 const size_t dataLength = CFDataGetLength(imageData.get()); 115 fprintf(stdout, "Content-Length: %lu\n", static_cast<unsigned long>(dataLength)); 118 size_t dataRemainingToWrite = dataLength;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
TouchPositionCorrection.java | 31 final int dataLength = data.length; 32 if (dataLength % TOUCH_POSITION_CORRECTION_RECORD_SIZE != 0) { 40 final int length = dataLength / TOUCH_POSITION_CORRECTION_RECORD_SIZE; 45 for (int i = 0; i < dataLength; ++i) { 57 mEnabled = dataLength > 0;
|
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManager_AssetInputStreamTest.java | 76 int dataLength = 10; 77 byte[] data = new byte[dataLength]; 79 assertEquals(dataLength, ret); 80 for (int i = 0; i < dataLength; i++) { 83 data = new byte[len - dataLength]; 84 assertEquals(len - dataLength, mAssetInputStream.read(data)); 85 for (int i = 0; i < len - dataLength; i++) { 86 assertEquals(bytes[i + dataLength], data[i]); 93 ret = mAssetInputStream.read(data, offset, dataLength); 94 assertEquals(dataLength, ret) [all...] |
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbMessage.java | 151 int dataLength = getDataLength(); 153 " arg1: " + getArg1() + " dataLength: " + dataLength; 154 if (dataLength > 0) {
|
AdbDevice.java | 219 int dataLength = message.getDataLength(); 221 if (dataLength > 0) { 222 message.readData(getInRequest(), dataLength);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64Encoder.java | 63 int dataLength = (length - modulus); 66 for (int i = off; i < off + dataLength; i += 3) 89 d1 = data[off + dataLength] & 0xff; 99 d1 = data[off + dataLength] & 0xff; 100 d2 = data[off + dataLength + 1] & 0xff; 113 return (dataLength / 3) * 4 + ((modulus == 0) ? 0 : 4);
|
/external/icu4c/common/ |
utrie2_impl.h | 136 * and allocDataBlock() needs to look for a free block before increasing dataLength. 148 int32_t index2Length, dataCapacity, dataLength;
|
utrie.h | 167 int32_t indexLength, dataLength; 561 int32_t indexLength, dataCapacity, dataLength; 749 * uint16_t data[header.dataLength]; 768 /** dataLength>=UTRIE_DATA_BLOCK_LENGTH */ 769 int32_t dataLength;
|
utrie2.cpp | 45 return trie->data[trie->dataLength-UTRIE2_DATA_GRANULARITY]; 171 tempTrie.dataLength=header->shiftedDataLength<<UTRIE2_INDEX_SHIFT; 176 tempTrie.highValueIndex=tempTrie.dataLength-UTRIE2_DATA_GRANULARITY; 184 actualLength+=tempTrie.dataLength*2; 186 actualLength+=tempTrie.dataLength*4; 242 int32_t indexLength, dataLength, length, i; 256 dataLength=UTRIE2_DATA_START_OFFSET+UTRIE2_DATA_GRANULARITY; 259 length+=dataLength*2; 261 length+=dataLength*4; 288 trie->dataLength=dataLength [all...] |
/external/webkit/Source/WebCore/dom/ |
Text.cpp | 139 unsigned dataLength = data.length(); 140 memcpy(p, data.characters(), dataLength * sizeof(UChar)); 141 p += dataLength; 309 unsigned dataLength = data.length(); 311 if (!start && dataLength <= maxChars) 315 result->parserAppendData(data.characters() + start, dataLength - start, maxChars);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
FwdLockGlue.c | 158 size_t dataLength = encryptedKeyLength - AES_BLOCK_SIZE; 161 memcpy((unsigned char *)pEncryptedKey + dataLength, initVector, AES_BLOCK_SIZE); 162 AES_cbc_encrypt(pEncryptedKey, pEncryptedKey, dataLength, &encryptionRoundKeys, 177 size_t dataLength = encryptedKeyLength - AES_BLOCK_SIZE; 178 unsigned char *pData = malloc(dataLength); 181 memcpy(pData, pEncryptedKey, dataLength); 182 memcpy(initVector, (const unsigned char *)pEncryptedKey + dataLength, AES_BLOCK_SIZE); 183 AES_cbc_encrypt(pData, pData, dataLength, &decryptionRoundKeys, initVector,
|
/libcore/luni/src/main/java/libcore/net/http/ |
ChunkedOutputStream.java | 46 this.maxChunkLength = Math.max(1, dataLength(maxChunkLength)); 55 private int dataLength(int dataPlusHeaderLength) {
|
/external/icu4c/test/cintltst/ |
trietest.c | 331 int32_t dataLength; 333 data=utrie_getData(newTrie, &dataLength); 538 int32_t dataLength; 540 data=utrie_getData(newTrie, &dataLength);
|
/external/icu4c/tools/gensprep/ |
store.c | 553 int32_t size, dataLength; 607 dataLength=udata_finish(pData, &errorCode); 613 if(dataLength!=size) { 615 (long)dataLength, (long)size);
|
/external/srec/srec/EventLog/include/ |
riff.h | 124 unsigned int dataLength;
|
/external/webkit/Source/WebCore/plugins/ |
PluginStream.cpp | 356 int32_t dataLength = deliveryBytes; 360 deliveryBytes = m_pluginFuncs->write(m_instance, &m_stream, m_offset, dataLength, (void*)data); 368 deliveryBytes = min(deliveryBytes, dataLength);
|
/frameworks/av/media/libstagefright/ |
AACWriter.cpp | 367 ssize_t dataLength = buffer->range_length(); 369 if (writeAdtsHeader(kAdtsHeaderLength + dataLength) != OK || 370 dataLength != write(mFd, data, dataLength)) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
SoftMPEG4Encoder.cpp | 650 int32_t dataLength = outHeader->nAllocLen; 653 if (!PVGetVolHeader(mHandle, outPtr, &dataLength, 0)) { 659 ALOGV("Output VOL header: %d bytes", dataLength); 662 outHeader->nFilledLen = dataLength; 726 &modTimeMs, outPtr, &dataLength, &nLayer) || 740 dataLength = 0; 754 outHeader->nFilledLen = dataLength;
|