HomeSort by relevance Sort by last modified time
    Searched full:datalength (Results 1 - 25 of 250) sorted by null

1 2 3 4 5 6 7 8 910

  /external/webrtc/src/system_wrappers/test/TestSort/
TestSort.cpp 129 enum { DataLength = 1000 };
131 KeyType key[DataLength];
132 KeyType keyRef[DataLength];
133 LotsOfData<KeyType> data[DataLength];
134 LotsOfData<KeyType> dataRef[DataLength];
149 for (int j = 0; j < DataLength; j++)
164 retVal = webrtc::KeySort(data, key, DataLength, sizeof(LotsOfData<KeyType>),
167 //std::sort(data, data + DataLength, KeyLessThan<KeyType>());
168 //qsort(data, DataLength, sizeof(LotsOfData<KeyType>),
173 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...]
  /cts/tests/tests/content/src/android/content/res/cts/
AssetManager_AssetInputStreamTest.java 76 int dataLength = 10;
77 byte[] data = new byte[dataLength];
79 assertEquals(dataLength, ret);
80 for (int i = 0; i < dataLength; i++) {
83 data = new byte[len - dataLength];
84 assertEquals(len - dataLength, mAssetInputStream.read(data));
85 for (int i = 0; i < len - dataLength; i++) {
86 assertEquals(bytes[i + dataLength], data[i]);
93 ret = mAssetInputStream.read(data, offset, dataLength);
94 assertEquals(dataLength, ret)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/loader/
ThreadableLoaderClientWrapper.h 71 void didReceiveData(const char* data, int dataLength)
74 m_client->didReceiveData(data, dataLength);
77 void didReceiveCachedMetadata(const char* data, int dataLength)
80 m_client->didReceiveCachedMetadata(data, dataLength);
117 void didDownloadData(int dataLength)
120 m_client->didDownloadData(dataLength);
ResourceLoadNotifier.cpp 65 void ResourceLoadNotifier::dispatchDidReceiveData(DocumentLoader*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength)
68 page->progress()->incrementProgress(identifier, data, dataLength);
69 InspectorInstrumentation::didReceiveData(m_frame, identifier, data, dataLength, encodedDataLength);
88 void ResourceLoadNotifier::sendRemainingDelegateMessages(DocumentLoader* loader, unsigned long identifier, const ResourceResponse& response, const char* data, int dataLength, int encodedDataLength, const ResourceError& error)
93 if (dataLength > 0)
94 dispatchDidReceiveData(loader, identifier, data, dataLength, encodedDataLength);
ThreadableLoaderClient.h 46 virtual void didReceiveData(const char*, int /*dataLength*/) { }
47 virtual void didReceiveCachedMetadata(const char*, int /*dataLength*/) { }
55 virtual void didDownloadData(int /*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...]
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/chromium_org/third_party/icu/source/common/
unistr_cnv.cpp 52 int32_t dataLength)
57 doCodepageCreate(codepageData, dataLength, 0);
75 int32_t dataLength,
81 doCodepageCreate(codepageData, dataLength, codepage);
307 int32_t dataLength,
311 if(codepageData == 0 || dataLength == 0 || dataLength < -1) {
314 if(dataLength == -1) {
315 dataLength = (int32_t)uprv_strlen(codepageData);
327 setToUTF8(StringPiece(codepageData, dataLength));
    [all...]
utrie.c 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...]
  /external/icu4c/common/
unistr_cnv.cpp 52 int32_t dataLength)
57 doCodepageCreate(codepageData, dataLength, 0);
75 int32_t dataLength,
81 doCodepageCreate(codepageData, dataLength, codepage);
307 int32_t dataLength,
311 if(codepageData == 0 || dataLength == 0 || dataLength < -1) {
314 if(dataLength == -1) {
315 dataLength = (int32_t)uprv_strlen(codepageData);
327 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...]
  /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/icu4c/test/intltest/
bytestrietest.cpp 58 void checkData(const StringAndValue data[], int32_t dataLength);
59 void checkData(const StringAndValue data[], int32_t dataLength, UStringTrieBuildOption buildOption);
60 BytesTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
62 void checkFirst(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
63 void checkNext(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
64 void checkNextWithState(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
65 void checkNextString(BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
66 void checkIterator(const BytesTrie &trie, const StringAndValue data[], int32_t dataLength);
67 void checkIterator(BytesTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
589 void BytesTrieTest::checkData(const StringAndValue data[], int32_t dataLength) {
    [all...]
ucharstrietest.cpp 65 void checkData(const StringAndValue data[], int32_t dataLength);
66 void checkData(const StringAndValue data[], int32_t dataLength, UStringTrieBuildOption buildOption);
67 UCharsTrie *buildTrie(const StringAndValue data[], int32_t dataLength,
69 void checkFirst(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
70 void checkNext(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
71 void checkNextWithState(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
72 void checkNextString(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
73 void checkIterator(UCharsTrie &trie, const StringAndValue data[], int32_t dataLength);
74 void checkIterator(UCharsTrie::Iterator &iter, const StringAndValue data[], int32_t dataLength);
748 void UCharsTrieTest::checkData(const StringAndValue data[], int32_t dataLength) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
NetworkResourcesData.cpp 115 size_t NetworkResourcesData::ResourceData::dataLength() const
120 void NetworkResourcesData::ResourceData::appendData(const char* data, size_t dataLength)
124 m_dataBuffer = SharedBuffer::create(data, dataLength);
126 m_dataBuffer->append(data, dataLength);
132 size_t dataLength = m_dataBuffer->size();
136 return contentSizeInBytes(m_content) - dataLength;
205 size_t dataLength = contentSizeInBytes(content);
206 if (dataLength > m_maximumSingleResourceContentSize)
210 if (ensureFreeSpace(dataLength) && !resourceData->isContentEvicted()) {
216 m_contentSize += dataLength;
    [all...]
  /external/chromium_org/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/icu4c/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/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...]
  /external/libvpx/libvpx/libmkv/
WebMElement.h 15 unsigned char *data, unsigned long dataLength);
31 unsigned char *data, unsigned long dataLength);
  /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,
  /external/chromium_org/third_party/WebKit/public/platform/
WebURLLoaderClient.h 58 virtual void didDownloadData(WebURLLoader*, int dataLength) { }
61 virtual void didReceiveData(WebURLLoader*, const char* data, int dataLength, int encodedDataLength) { }
64 virtual void didReceiveCachedMetadata(WebURLLoader*, const char* data, int dataLength) { }
  /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 50 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength);
51 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength,

Completed in 1269 milliseconds

1 2 3 4 5 6 7 8 910