/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...] |
/device/linaro/bootloader/edk2/BaseTools/Source/C/PyUtility/ |
PyUtility.c | 31 UINTN DataLength;
42 &DataLength
62 while (WriteFile(FileHandle, Data, DataLength, &WriteBytes, NULL)) {
63 if (DataLength <= WriteBytes) {
64 DataLength = 0;
69 DataLength -= WriteBytes;
72 if (DataLength != 0) {
|
/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...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/UsbIo/ |
UsbIo.h | 46 IN UINTN DataLength,
62 IN UINTN DataLength OPTIONAL,
72 IN OUT UINTN *DataLength,
84 IN UINTN DataLength OPTIONAL,
95 IN OUT UINTN *DataLength,
106 IN UINTN DataLength,
116 IN UINTN DataLength,
|
/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...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/UsbHostController/ |
UsbHostController.h | 83 IN OUT UINTN *DataLength OPTIONAL,
96 IN OUT UINTN *DataLength,
113 IN UINTN DataLength OPTIONAL,
127 IN OUT UINTN *DataLength,
141 IN UINTN DataLength,
153 IN UINTN DataLength,
275 IN OUT UINTN *DataLength OPTIONAL,
293 IN OUT UINTN *DataLength,
311 IN UINTN DataLength OPTIONAL,
326 IN OUT UINTN *DataLength,
[all...] |
/external/icu/icu4c/source/common/ |
unistr_cnv.cpp | 52 int32_t dataLength) { 55 doCodepageCreate(codepageData, dataLength, 0); 71 int32_t dataLength, 75 doCodepageCreate(codepageData, dataLength, codepage); 299 int32_t dataLength, 303 if(codepageData == 0 || dataLength == 0 || dataLength < -1) { 306 if(dataLength == -1) { 307 dataLength = (int32_t)uprv_strlen(codepageData); 319 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 | 60 void checkData(const StringAndValue data[], int32_t dataLength); 61 void checkData(const StringAndValue data[], int32_t dataLength, UStringTrieBuildOption buildOption); 62 BytesTrie *buildTrie(const StringAndValue data[], int32_t dataLength, 64 void checkFirst(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 65 void checkNext(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 66 void checkNextWithState(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 67 void checkNextString(BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 68 void checkIterator(const BytesTrie &trie, const StringAndValue data[], int32_t dataLength); 69 void checkIterator(BytesTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength); 601 void BytesTrieTest::checkData(const StringAndValue data[], int32_t dataLength) { [all...] |
ucharstrietest.cpp | 66 void checkData(const StringAndValue data[], int32_t dataLength); 67 void checkData(const StringAndValue data[], int32_t dataLength, UStringTrieBuildOption buildOption); 68 UCharsTrie *buildTrie(const StringAndValue data[], int32_t dataLength, 70 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 71 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 72 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 73 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 74 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength); 75 void checkIterator(UCharsTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength); 749 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)
|
/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);
|
dmksctrl.h | 89 STDMETHOD (KsProperty) (THIS_ PKSPROPERTY Property, ULONG PropertyLength, LPVOID PropertyData, ULONG DataLength, ULONG *BytesReturned) PURE; 90 STDMETHOD (KsMethod) (THIS_ PKSMETHOD Method, ULONG MethodLength, LPVOID MethodData, ULONG DataLength, ULONG *BytesReturned) PURE; 91 STDMETHOD (KsEvent) (THIS_ PKSEVENT Event, ULONG EventLength, LPVOID EventData, ULONG DataLength, ULONG *BytesReturned) PURE;
|
/external/icu/icu4c/source/samples/udata/ |
writer.c | 72 long dataLength; 101 dataLength=udata_finish(pData, &errorCode); 109 if(dataLength!=(long)size) { 110 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 | 515 private void checkData(StringAndValue data[], int dataLength) { 516 logln("checkData(dataLength="+dataLength+", fast)"); 517 checkData(data, dataLength, StringTrieBuilder.Option.FAST); 518 logln("checkData(dataLength="+dataLength+", small)"); 519 checkData(data, dataLength, StringTrieBuilder.Option.SMALL); 522 private void checkData(StringAndValue data[], int dataLength, StringTrieBuilder.Option buildOption) { 523 BytesTrie trie=buildTrie(data, dataLength, buildOption); 524 checkFirst(trie, data, dataLength); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
BytesTrieTest.java | 514 private void checkData(StringAndValue data[], int dataLength) { 515 logln("checkData(dataLength="+dataLength+", fast)"); 516 checkData(data, dataLength, StringTrieBuilder.Option.FAST); 517 logln("checkData(dataLength="+dataLength+", small)"); 518 checkData(data, dataLength, StringTrieBuilder.Option.SMALL); 521 private void checkData(StringAndValue data[], int dataLength, StringTrieBuilder.Option buildOption) { 522 BytesTrie trie=buildTrie(data, dataLength, buildOption); 523 checkFirst(trie, data, dataLength); [all...] |
/bionic/libc/upstream-openbsd/lib/libc/net/ |
base64.c | 132 size_t datalength = 0; local 148 if (datalength + 4 > targsize) 150 target[datalength++] = Base64[output[0]]; 151 target[datalength++] = Base64[output[1]]; 152 target[datalength++] = Base64[output[2]]; 153 target[datalength++] = Base64[output[3]]; 167 if (datalength + 4 > targsize) 169 target[datalength++] = Base64[output[0]]; 170 target[datalength++] = Base64[output[1]]; 172 target[datalength++] = Pad64 [all...] |
/external/openssh/openbsd-compat/ |
base64.c | 136 size_t datalength = 0; local 152 if (datalength + 4 > targsize) 154 target[datalength++] = Base64[output[0]]; 155 target[datalength++] = Base64[output[1]]; 156 target[datalength++] = Base64[output[2]]; 157 target[datalength++] = Base64[output[3]]; 171 if (datalength + 4 > targsize) 173 target[datalength++] = Base64[output[0]]; 174 target[datalength++] = Base64[output[1]]; 176 target[datalength++] = Pad64 [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
ScanRecord.java | 199 int dataLength = length - 1; 209 dataLength, BluetoothUuid.UUID_BYTES_16_BIT, serviceUuids); 213 parseServiceUuid(scanRecord, currentPos, dataLength, 218 parseServiceUuid(scanRecord, currentPos, dataLength, 224 extractBytes(scanRecord, currentPos, dataLength)); 244 currentPos + serviceUuidLength, dataLength - serviceUuidLength); 253 dataLength - 2); 260 currentPos += dataLength; 285 private static int parseServiceUuid(byte[] scanRecord, int currentPos, int dataLength, 287 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,
|
/cts/apps/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);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbBusDxe/ |
UsbUtility.h | 153 @param DataLength The length of the data.
171 IN OUT UINTN *DataLength,
188 @param DataLength The length of data buffer.
208 IN OUT UINTN *DataLength,
228 @param DataLength The length of periodical data receive.
247 IN UINTN DataLength,
263 @param DataLength The length of data buffer.
282 IN OUT UINTN *DataLength,
300 @param DataLength The length of data buffer.
316 IN UINTN DataLength,
[all...] |