HomeSort by relevance Sort by last modified time
    Searched refs:dataLength (Results 1 - 25 of 321) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/caliper/examples/src/main/java/examples/
VarargsBenchmark.java 162 int dataLength = data.length;
164 dummy += strategy.one(data[i % dataLength]);
172 int dataLength = data.length;
174 dummy += strategy.two(data[i % dataLength], data[(i + 1) % dataLength]);
182 int dataLength = data.length;
185 data[i % dataLength],
186 data[(i + 1) % dataLength],
187 data[(i + 2) % dataLength]);
195 int dataLength = data.length
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
AssetManager_AssetInputStreamTest.java 80 int dataLength = 10;
81 byte[] data = new byte[dataLength];
83 assertEquals(dataLength, ret);
84 for (int i = 0; i < dataLength; i++) {
87 data = new byte[len - dataLength];
88 assertEquals(len - dataLength, mAssetInputStream.read(data));
89 for (int i = 0; i < len - dataLength; i++) {
90 assertEquals(bytes[i + dataLength], data[i]);
97 ret = mAssetInputStream.read(data, offset, dataLength);
98 assertEquals(dataLength, ret)
    [all...]
  /external/icu/icu4c/source/common/
unistr_cnv.cpp 50 int32_t dataLength) {
53 doCodepageCreate(codepageData, dataLength, 0);
69 int32_t dataLength,
73 doCodepageCreate(codepageData, dataLength, codepage);
297 int32_t dataLength,
301 if(codepageData == 0 || dataLength == 0 || dataLength < -1) {
304 if(dataLength == -1) {
305 dataLength = (int32_t)uprv_strlen(codepageData);
317 setToUTF8(StringPiece(codepageData, dataLength));
    [all...]
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...]
  /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;
  /external/icu/icu4c/source/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);
  /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,
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/
WebMElement.h 30 unsigned char *data, unsigned long 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...]
  /cts/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/
IcmpMessage.java 37 int dataLength = length - 8;
38 data = new byte[dataLength];
39 int len = stream.read(data, 0, dataLength);
40 if (len != dataLength) {
41 throw new IOException("Expected " + dataLength + " data bytes, received " + len);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
CharTrie.java 63 int dataLength, latin1Length, i, limit;
69 dataLength=latin1Length= INDEX_STAGE_1_SHIFT_<=8 ? 256 : DATA_BLOCK_LENGTH;
71 dataLength+=DATA_BLOCK_LENGTH;
73 m_data_=new char[dataLength];
74 m_dataLength_=dataLength;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CharTrie.java 62 int dataLength, latin1Length, i, limit;
68 dataLength=latin1Length= INDEX_STAGE_1_SHIFT_<=8 ? 256 : DATA_BLOCK_LENGTH;
70 dataLength+=DATA_BLOCK_LENGTH;
72 m_data_=new char[dataLength];
73 m_dataLength_=dataLength;
  /frameworks/base/core/java/android/bluetooth/le/
ScanRecord.java 197 int dataLength = length - 1;
207 dataLength, BluetoothUuid.UUID_BYTES_16_BIT, serviceUuids);
211 parseServiceUuid(scanRecord, currentPos, dataLength,
216 parseServiceUuid(scanRecord, currentPos, dataLength,
222 extractBytes(scanRecord, currentPos, dataLength));
236 currentPos + serviceUuidLength, dataLength - serviceUuidLength);
245 dataLength - 2);
252 currentPos += dataLength;
277 private static int parseServiceUuid(byte[] scanRecord, int currentPos, int dataLength,
279 while (dataLength > 0)
    [all...]
  /external/icu/icu4c/source/test/intltest/
bytestrietest.cpp 57 void checkData(const StringAndValue data[], int32_t dataLength);
58 void checkData(const StringAndValue data[], int32_t dataLength, UStringTrieBuildOption buildOption);
59 BytesTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
61 void checkFirst(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
62 void checkNext(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
63 void checkNextWithState(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
64 void checkNextString(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
65 void checkIterator(const BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
66 void checkIterator(BytesTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
588 void BytesTrieTest::checkData(const StringAndValue data[], int32_t dataLength) {
    [all...]
ucharstrietest.cpp 64 void checkData(const StringAndValue data[], int32_t dataLength);
65 void checkData(const StringAndValue data[], int32_t dataLength, UStringTrieBuildOption buildOption);
66 UCharsTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
68 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
69 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
70 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
71 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
72 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
73 void checkIterator(UCharsTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
747 void UCharsTrieTest::checkData(const StringAndValue data[], int32_t dataLength) {
    [all...]
  /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);
  /frameworks/av/media/libstagefright/codecs/avc/enc/test/
h264_enc_test.cpp 251 uint32_t dataLength = kOutputBufferSize;
253 status = PVAVCEncodeNAL(&handle, outputBuf, &dataLength, &type);
256 fwrite(outputBuf, 1, dataLength, fpOutput); // SPS.
259 dataLength = kOutputBufferSize;
260 status = PVAVCEncodeNAL(&handle, outputBuf, &dataLength, &type);
263 fwrite(outputBuf, 1, dataLength, fpOutput); // PPS.
309 dataLength = kOutputBufferSize;
310 status = PVAVCEncodeNAL(&handle, outputBuf, &dataLength, &type);
321 dataLength = 0;
334 if (dataLength > 0)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
cchannel.h 14 typedef VOID _stdcall CHANNEL_INIT_EVENT_FN(LPVOID pInitHandle,UINT event,LPVOID pData,UINT dataLength);
23 typedef VOID _stdcall CHANNEL_OPEN_EVENT_FN(DWORD openHandle,UINT event,LPVOID pData,UINT32 dataLength,UINT32 totalLength,UINT32 dataFlags);
61 typedef UINT _stdcall VIRTUALCHANNELWRITE(DWORD openHandle,LPVOID pData,ULONG dataLength,LPVOID pUserData);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
BytesTrieTest.java 499 private void checkData(StringAndValue data[], int dataLength) {
500 logln("checkData(dataLength="+dataLength+", fast)");
501 checkData(data, dataLength, StringTrieBuilder.Option.FAST);
502 logln("checkData(dataLength="+dataLength+", small)");
503 checkData(data, dataLength, StringTrieBuilder.Option.SMALL);
506 private void checkData(StringAndValue data[], int dataLength, StringTrieBuilder.Option buildOption) {
507 BytesTrie trie=buildTrie(data, dataLength, buildOption);
508 checkFirst(trie, data, dataLength);
    [all...]
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/
BytesTrieTest.java 495 private void checkData(StringAndValue data[], int dataLength) {
496 logln("checkData(dataLength="+dataLength+", fast)");
497 checkData(data, dataLength, StringTrieBuilder.Option.FAST);
498 logln("checkData(dataLength="+dataLength+", small)");
499 checkData(data, dataLength, StringTrieBuilder.Option.SMALL);
502 private void checkData(StringAndValue data[], int dataLength, StringTrieBuilder.Option buildOption) {
503 BytesTrie trie=buildTrie(data, dataLength, buildOption);
504 checkFirst(trie, data, dataLength);
    [all...]
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...]
  /frameworks/base/packages/Osu/src/com/android/anqp/
HSIconFileElement.java 35 int dataLength = payload.getShort() & SHORT_MASK;
36 mIconData = new byte[dataLength];
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
HSIconFileElement.java 35 int dataLength = payload.getShort() & SHORT_MASK;
36 mIconData = new byte[dataLength];
  /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,

Completed in 994 milliseconds

1 2 3 4 5 6 7 8 91011>>