/external/webkit/Source/WebCore/platform/graphics/opentype/ |
OpenTypeUtilities.cpp | 200 size_t dataLength = fontData->size(); 205 prefix->fontDataSize = dataLength; 209 if (dataLength < offsetof(sfntHeader, tables)) 214 if (dataLength < offsetof(sfntHeader, tables) + sfnt->numTables * sizeof(TableDirectoryEntry)) 234 if (dataLength < tableOffset || dataLength < tableLength || dataLength < tableOffset + tableLength) 241 if (dataLength < tableOffset + sizeof(OS2Table)) 261 if (dataLength < tableOffset + sizeof(headTable)) 271 if (dataLength < tableOffset + offsetof(nameTable, nameRecords) [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/util/encoders/ |
Base64Encoder.java | 58 int dataLength = (length - modulus); 61 for (int i = off; i < off + dataLength; i += 3) 84 d1 = data[off + dataLength] & 0xff; 94 d1 = data[off + dataLength] & 0xff; 95 d2 = data[off + dataLength + 1] & 0xff; 108 return (dataLength / 3) * 4 + ((modulus == 0) ? 0 : 4);
|
/external/webkit/Source/WebCore/loader/ |
WorkerThreadableLoader.cpp | 194 void WorkerThreadableLoader::MainThreadBridge::didReceiveData(const char* data, int dataLength) 196 OwnPtr<Vector<char> > vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr for usage with createCallbackTask. 197 memcpy(vector->data(), data, dataLength); 207 void WorkerThreadableLoader::MainThreadBridge::didReceiveCachedMetadata(const char* data, int dataLength) 209 OwnPtr<Vector<char> > vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr for usage with createCallbackTask. 210 memcpy(vector->data(), data, dataLength);
|
SubresourceLoaderClient.h | 49 virtual void didReceiveData(SubresourceLoader*, const char*, int /*dataLength*/) { } 50 virtual void didReceiveCachedMetadata(SubresourceLoader*, const char*, int /*dataLength*/) { }
|
DocumentThreadableLoader.h | 79 virtual void didReceiveData(SubresourceLoader*, const char*, int dataLength); 80 virtual void didReceiveCachedMetadata(SubresourceLoader*, const char*, int dataLength);
|
/external/webkit/Source/WebKit/chromium/src/ |
ResourceHandle.cpp | 75 virtual void didReceiveData(WebURLLoader*, const char* data, int dataLength, int encodedDataLength); 77 virtual void didReceiveCachedMetadata(WebURLLoader*, const char* data, int dataLength); 163 void ResourceHandleInternal::didReceiveData(WebURLLoader*, const char* data, int dataLength, int encodedDataLength) 170 m_client->didReceiveData(m_owner, data, dataLength, encodedDataLength); 173 void ResourceHandleInternal::didReceiveCachedMetadata(WebURLLoader*, const char* data, int dataLength) 179 m_client->didReceiveCachedMetadata(m_owner, data, dataLength);
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 49 JNIEnv* env, jobject object, const char* fieldName, int* dataLength); 52 JNIEnv* env, jbyteArray byteArray, int* dataLength); 104 JNIEnv* env, jobject object, const char* fieldName, int* dataLength) { 106 *dataLength = 0; 115 *dataLength = length; 116 if (0 < *dataLength) { 125 char* Utility::getByteArrayValue(JNIEnv* env, jbyteArray byteArray, int* dataLength) { 130 *dataLength = length; 131 if (0 < *dataLength) { 402 int dataLength = 0 [all...] |
/frameworks/base/libs/rs/driver/ |
rsdBcc.h | 63 size_t dataLength); 68 size_t dataLength);
|
/frameworks/base/media/libstagefright/codecs/avc/enc/ |
AVCEncoder.cpp | 422 uint32_t dataLength = outputBuffer->size(); 428 dataLength -= 4; 438 encoderStatus = PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type); 447 outputBuffer->set_range(0, dataLength + 4); 448 outPtr += (dataLength + 4); // 4 bytes for next start code 449 dataLength = outputBuffer->size() - 458 dataLength + outputBuffer->range_length() + 4); 556 dataLength = outputBuffer->size(); // Reset the output buffer length 557 encoderStatus = PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type); 574 dataLength = 0 [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/chromium/chrome/common/extensions/docs/examples/extensions/imageinfo/imageinfo/ |
binaryajax.js | 12 var dataLength = 0; 19 dataLength = iDataLength || data.length; 25 dataLength = iDataLength || IEBinary_getLength(data); 33 return dataLength;
|
/external/icu4c/tools/toolutil/ |
writesrc.c | 163 usrc_writeArray(f, indexPrefix, pTrie->index, 16, pTrie->indexLength+pTrie->dataLength, postfix); 167 usrc_writeArray(f, data32Prefix, pTrie->data32, 32, pTrie->dataLength, postfix); 203 " %ld,\n" /* dataLength */ 211 (long)pTrie->indexLength, (long)pTrie->dataLength,
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
KeyboardParams.java | 83 final int dataLength = data.length; 84 if (dataLength % TOUCH_POSITION_CORRECTION_RECORD_SIZE != 0) { 91 final int length = dataLength / TOUCH_POSITION_CORRECTION_RECORD_SIZE; 96 for (int i = 0; i < dataLength; ++i) {
|
/external/webkit/Source/WebCore/dom/ |
Text.cpp | 137 unsigned dataLength = data.length(); 138 memcpy(p, data.characters(), dataLength * sizeof(UChar)); 139 p += dataLength; 307 unsigned dataLength = data.length(); 309 if (!start && dataLength <= maxChars) 313 result->parserAppendData(data.characters() + start, dataLength - start, maxChars);
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/ |
M4vH263Encoder.cpp | 384 int32_t dataLength = outputBuffer->size(); 388 if (!PVGetVolHeader(mHandle, outPtr, &dataLength, 0)) { 392 LOGV("Output VOL header: %d bytes", dataLength); 394 outputBuffer->set_range(0, dataLength); 461 &modTimeMs, outPtr, &dataLength, &nLayer) || 477 outputBuffer->set_range(0, dataLength);
|
/external/icu4c/common/ |
ucol_swp.cpp | 59 trie.dataLength=udata_readInt32(ds, inTrie->dataLength); 66 trie.dataLength<UTRIE_DATA_BLOCK_LENGTH || 67 (trie.dataLength&(UTRIE_DATA_GRANULARITY-1))!=0 || 68 ((trie.options&UTRIE_OPTIONS_LATIN1_IS_LINEAR)!=0 && trie.dataLength<(UTRIE_DATA_BLOCK_LENGTH+0x100)) 75 size=sizeof(UTrieHeader)+trie.indexLength*2+trie.dataLength*(dataIs32?4:2); 93 ds->swapArray32(ds, (const uint16_t *)(inTrie+1)+trie.indexLength, trie.dataLength*4, 96 ds->swapArray16(ds, inTrie+1, (trie.indexLength+trie.dataLength)*2, outTrie+1, pErrorCode);
|
/external/webkit/Source/WebCore/html/canvas/ |
TypedArrayBase.h | 45 void setRange(const T* data, size_t dataLength, unsigned offset, ExceptionCode& ec) 47 setRangeImpl(reinterpret_cast<const char*>(data), dataLength * sizeof(T), offset * sizeof(T), ec);
|
/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);
|
/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/tools/gentest/ |
gentest.c | 108 long dataLength; 124 dataLength=udata_finish(pData, errorCode); 132 if(dataLength!=(long)size) { 134 dataLength, (unsigned long)size);
|
/external/libvpx/libmkv/ |
WebMElement.c | 33 unsigned char *data, unsigned long dataLength) 36 unsigned long blockLength = 4 + dataLength; 45 Ebml_Write(glob, data, dataLength); 217 Ebml_Serialize(ebml_out, block.data, block.dataLength);
|
/external/webkit/Tools/DumpRenderTree/ |
PixelDumpSupport.h | 43 void printPNG(const unsigned char* data, const size_t dataLength, const char* checksum);
|
/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;
|