HomeSort by relevance Sort by last modified time
    Searched full:datalength (Results 1 - 25 of 372) 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...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
dmksctrl.h 37 ULONG DataLength,
45 ULONG DataLength,
53 ULONG DataLength,
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/webrtc/webrtc/system_wrappers/test/TestSort/
TestSort.cc 130 enum { DataLength = 1000 };
132 KeyType key[DataLength];
133 KeyType keyRef[DataLength];
134 LotsOfData<KeyType> data[DataLength];
135 LotsOfData<KeyType> dataRef[DataLength];
150 for (int j = 0; j < DataLength; j++)
165 retVal = webrtc::KeySort(data, key, DataLength, sizeof(LotsOfData<KeyType>),
168 //std::sort(data, data + DataLength, KeyLessThan<KeyType>());
169 //qsort(data, DataLength, sizeof(LotsOfData<KeyType>),
174 retVal = webrtc::Sort(key, DataLength, sortType)
    [all...]
  /external/clang/test/Analysis/
malloc.mm 6 void testNSDatafFreeWhenDoneNoError(NSUInteger dataLength) {
8 NSData *nsdata = [NSData dataWithBytesNoCopy:data length:dataLength];
11 void testNSDataFreeWhenDoneYES(NSUInteger dataLength) {
13 NSData *nsdata = [NSData dataWithBytesNoCopy:data length:dataLength freeWhenDone:1]; // no-warning
16 void testNSDataFreeWhenDoneYES2(NSUInteger dataLength) {
18 NSData *nsdata = [[NSData alloc] initWithBytesNoCopy:data length:dataLength freeWhenDone:1]; // no-warning
21 void testNSDataFreeWhenDoneYES2_with_wrapper(NSUInteger dataLength) {
23 Wrapper *nsdata = [[Wrapper alloc] initWithBytesNoCopy:data length:dataLength]; // no-warning
26 void testNSStringFreeWhenDoneYES3(NSUInteger dataLength) {
28 NSString *nsstr = [[NSString alloc] initWithBytesNoCopy:data length:dataLength encoding:NSUTF8StringEncoding freeWhenDone:1]
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/
acpiioct.h 65 USHORT DataLength;
144 #define ACPI_METHOD_ARGUMENT_LENGTH( DataLength ) \
145 (FIELD_OFFSET(ACPI_METHOD_ARGUMENT, Data) + max(sizeof(ULONG), DataLength))
148 (ACPI_METHOD_ARGUMENT_LENGTH(((PACPI_METHOD_ARGUMENT)Argument)->DataLength))
157 MethodArgument->DataLength = sizeof(ULONG); \
162 Argument->DataLength = strlen((PCHAR)StrData) + sizeof(UCHAR); \
163 RtlCopyMemory(&Argument->Data[0],(PUCHAR)StrData,Argument->DataLength); }
167 Argument->DataLength = BuffLength; \
168 RtlCopyMemory(&Argument->Data[0],(PUCHAR)BuffData,Argument->DataLength); }
  /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/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...]
phFriNfc_LlcpUtils.h 98 * Attempts to write dataLength bytes to the specified Fifo Cyclic Buffer.
102 uint32_t dataLength);
105 * Attempts to read dataLength bytes from the specified Fifo Cyclic Buffer.
109 uint32_t dataLength);
  /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...]
  /external/sfntly/cpp/src/sample/subtly/
stats.cc 32 size += it->second->DataLength();
39 return static_cast<double>(table->DataLength()) / TotalFontSize(font) * 100;
48 int32_t size = it->second->DataLength();
57 new_size = new_table->DataLength();
76 int32_t size = it->second->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;
  /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...]
  /external/v8/tools/testrunner/server/
compression.py 55 self.datalength = 0
72 while self.datalength < constants.SIZE_T:
81 while self.datalength < size:
100 self.datalength += len(new)
109 assert self.datalength - length == len(remaining)
110 self.datalength = len(remaining)
  /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);
  /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...]
  /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...]
  /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...]
  /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,
  /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];
  /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/pdfium/xfa/include/fwl/lightwidget/
barcode.h 35 void SetDataLength(int32_t dataLength) {
37 m_barcodeData.m_nDataLength = dataLength;
38 static_cast<IFWL_Barcode*>(m_pIface)->SetLimit(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...]

Completed in 751 milliseconds

1 2 3 4 5 6 7 8 91011>>