/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
CharsTrieTest.java | 623 private void checkData(StringAndValue data[], int dataLength) { 624 logln("checkData(dataLength="+dataLength+", fast)"); 625 checkData(data, dataLength, StringTrieBuilder.Option.FAST); 626 logln("checkData(dataLength="+dataLength+", small)"); 627 checkData(data, dataLength, StringTrieBuilder.Option.SMALL); 630 private void checkData(StringAndValue[] data, int dataLength, StringTrieBuilder.Option buildOption) { 631 CharsTrie trie=buildTrie(data, dataLength, buildOption); 632 checkFirst(trie, data, dataLength); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
CharsTrieTest.java | 619 private void checkData(StringAndValue data[], int dataLength) { 620 logln("checkData(dataLength="+dataLength+", fast)"); 621 checkData(data, dataLength, StringTrieBuilder.Option.FAST); 622 logln("checkData(dataLength="+dataLength+", small)"); 623 checkData(data, dataLength, StringTrieBuilder.Option.SMALL); 626 private void checkData(StringAndValue[] data, int dataLength, StringTrieBuilder.Option buildOption) { 627 CharsTrie trie=buildTrie(data, dataLength, buildOption); 628 checkFirst(trie, data, dataLength); [all...] |
/external/icu/icu4c/source/common/ |
utrie.cpp | 100 trie->dataLength=j; 142 uprv_memcpy(trie->data, other->data, other->dataLength*4); 143 trie->dataLength=other->dataLength; 169 *pLength=trie->dataLength; 177 newBlock=trie->dataLength; 183 trie->dataLength=newTop; 560 _findSameDataBlock(const uint32_t *data, int32_t dataLength, 564 /* ensure that we do not even partially get past dataLength */ 565 dataLength-=UTRIE_DATA_BLOCK_LENGTH [all...] |
utrie2_builder.cpp | 158 newTrie->dataLength=UNEWTRIE2_DATA_START_OFFSET; 255 uprv_memcpy(trie->data, other->data, other->dataLength*4); 257 trie->dataLength=other->dataLength; 263 uprv_memcpy(trie->map, other->map, (other->dataLength>>UTRIE2_SHIFT_2)*4); 347 long dataLength=(long)trie->dataLength; 348 long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); 350 indexLength, dataLength, totalLength); 356 long dataLength=(long)trie->dataLength [all...] |
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...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
SoftAVCEncoder.cpp | 520 uint32_t dataLength = outHeader->nAllocLen; 526 dataLength -= 4; 536 encoderStatus = PVAVCEncodeNAL(mHandle, outPtr, &dataLength, &type); 550 outHeader->nFilledLen = 4 + dataLength; 551 outPtr += (dataLength + 4); // 4 bytes for next start code 552 dataLength = outHeader->nAllocLen - outHeader->nFilledLen; 559 outHeader->nFilledLen += (dataLength + 4); 560 outPtr += (dataLength + 4); 642 dataLength = outHeader->nAllocLen; // Reset the output buffer length 647 dataLength -= 4 [all...] |
/frameworks/wilhelm/src/itf/ |
IAndroidBufferQueue.c | 54 static SLresult setItems(SLuint32 dataLength, 195 if (dataLength > 0) { 217 if (dataLength > 0) { 297 SLuint32 dataLength, 302 SL_LOGD("IAndroidBufferQueue_Enqueue pData=%p dataLength=%d", pData, dataLength); 304 if ((dataLength > 0) && (NULL == pData)) { 305 SL_LOGE("Enqueue failure: non-zero data length %u but NULL data pointer", dataLength); 310 } else if ((0 == dataLength) && (0 == itemsLength)) { 324 if (dataLength % MPEG2_TS_PACKET_SIZE == 0) [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsic.h | 54 void setGlobalVar(uint32_t slot, const void * data, size_t dataLength) override; 56 size_t dataLength, const Element * e,
|
rsCpuScript.h | 71 void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) override; 72 void getGlobalVar(uint32_t slot, void *data, size_t dataLength) override; 73 void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength,
|
rsd_cpu.h | 69 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) = 0; 70 virtual void getGlobalVar(uint32_t slot, void *data, size_t dataLength) = 0; 71 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength,
|
/frameworks/rs/driver/ |
rsdBcc.cpp | 137 uint32_t slot, void *data, size_t dataLength) { 139 cs->setGlobalVar(slot, data, dataLength); 143 uint32_t slot, void *data, size_t dataLength) { 145 cs->getGlobalVar(slot, data, dataLength); 150 uint32_t slot, void *data, size_t dataLength, 154 cs->setGlobalVarWithElemDims(slot, data, dataLength, elem, dims, dimLength);
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
SapSocketTest.java | 33 byte[] dataLength = new byte[4]; 34 dataLength[0] = dataLength[1] = 0; 35 dataLength[2] = (byte)((length >> 8) & 0xff); 36 dataLength[3] = (byte)((length) & 0xff); 37 rawOut.write(dataLength);
|
/bionic/libc/dns/net/ |
base64.c | 143 size_t datalength = 0; local 168 if (datalength + 4 > targsize) 170 target[datalength++] = Base64[output[0]]; 171 target[datalength++] = Base64[output[1]]; 172 target[datalength++] = Base64[output[2]]; 173 target[datalength++] = Base64[output[3]]; 192 if (datalength + 4 > targsize) 194 target[datalength++] = Base64[output[0]]; 195 target[datalength++] = Base64[output[1]]; 197 target[datalength++] = Pad64 [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64Encoder.java | 66 int dataLength = (length - modulus); 69 for (int i = off; i < off + dataLength; i += 3) 92 d1 = data[off + dataLength] & 0xff; 102 d1 = data[off + dataLength] & 0xff; 103 d2 = data[off + dataLength + 1] & 0xff; 116 return (dataLength / 3) * 4 + ((modulus == 0) ? 0 : 4);
|
/frameworks/base/drm/jni/ |
android_drm_DrmManagerClient.cpp | 50 JNIEnv* env, jobject object, const char* fieldName, int* dataLength); 53 JNIEnv* env, jbyteArray byteArray, int* dataLength); 92 JNIEnv* env, jobject object, const char* fieldName, int* dataLength) { 94 *dataLength = 0; 100 return Utility::getByteArrayValue(env, byteArray, dataLength); 105 char* Utility::getByteArrayValue(JNIEnv* env, jbyteArray byteArray, int* dataLength) { 110 *dataLength = length; 111 if (0 < *dataLength) { 397 int dataLength = 0; 398 char* mData = Utility::getByteArrayValue(env, drmRights, "mData", &dataLength); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Trie2Writable.java | 63 dataLength = UNEWTRIE2_DATA_START_OFFSET; 211 newBlock=dataLength; 231 System.arraycopy(data, 0, newData, 0, dataLength); 235 dataLength=newTop; 341 this.dataLength = tempTrie.dataLength; 583 return data[dataLength-UTRIE2_DATA_GRANULARITY]; 642 private int findSameDataBlock(int dataLength, int otherBlock, int blockLength) { 645 /* ensure that we do not even partially get past dataLength */ 646 dataLength-=blockLength [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Trie2Writable.java | 61 dataLength = UNEWTRIE2_DATA_START_OFFSET; 209 newBlock=dataLength; 229 System.arraycopy(data, 0, newData, 0, dataLength); 233 dataLength=newTop; 339 this.dataLength = tempTrie.dataLength; 581 return data[dataLength-UTRIE2_DATA_GRANULARITY]; 640 private int findSameDataBlock(int dataLength, int otherBlock, int blockLength) { 643 /* ensure that we do not even partially get past dataLength */ 644 dataLength-=blockLength [all...] |
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbMessage.java | 151 int dataLength = getDataLength(); 153 " arg1: " + getArg1() + " dataLength: " + dataLength; 154 if (dataLength > 0) {
|
/external/icu/icu4c/source/tools/toolutil/ |
writesrc.c | 168 usrc_writeArray(f, indexPrefix, pTrie->index, 16, pTrie->indexLength+pTrie->dataLength, postfix); 172 usrc_writeArray(f, data32Prefix, pTrie->data32, 32, pTrie->dataLength, postfix); 208 " %ld,\n" /* dataLength */ 216 (long)pTrie->indexLength, (long)pTrie->dataLength,
|
/external/sfntly/cpp/src/test/ |
serialization_test.cc | 72 EXPECT_EQ(original_table->DataLength(), serialized_table->DataLength()); 137 EXPECT_EQ(original_table->DataLength(), serialized_table->DataLength());
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/ |
WebMElement.h | 30 unsigned char *data, unsigned long dataLength);
|
/system/security/softkeymaster/include/keymaster/ |
softkeymaster.h | 33 const size_t keyBlobLength, const uint8_t* data, const size_t dataLength,
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
SoftMPEG4Encoder.cpp | 415 int32_t dataLength = outHeader->nAllocLen; 418 if (!PVGetVolHeader(mHandle, outPtr, &dataLength, 0)) { 424 ALOGV("Output VOL header: %d bytes", dataLength); 427 outHeader->nFilledLen = dataLength; 484 &modTimeMs, outPtr, &dataLength, &nLayer) || 498 dataLength = 0; 510 outHeader->nFilledLen = dataLength;
|
/external/webrtc/webrtc/modules/media_file/ |
media_file_utility.cc | 708 const size_t dataLength) 712 "dataLen= %" PRIuS ")", &out, buffer, dataLength); 721 if(!out.Write(buffer, dataLength)) 725 _bytesWritten += dataLength; 726 return static_cast<int32_t>(dataLength); 870 const size_t dataLength) 875 dataLength); 885 lengthBuf = (int16_t)dataLength; 886 if(dataLength > static_cast<size_t>(std::numeric_limits<int16_t>::max()) || 893 if(!out.Write(buffer, dataLength)) [all...] |
/frameworks/base/core/java/android/speech/tts/ |
FileSynthesisCallback.java | 235 int dataLength = (int) (fileChannel.size() - WAV_HEADER_LENGTH); 237 makeWavHeader(sampleRateInHz, audioFormat, channelCount, dataLength)); 285 int dataLength) { 296 header.putInt(dataLength + WAV_HEADER_LENGTH - 8); // RIFF chunk size 307 header.putInt(dataLength);
|