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

1 2 3 4 5 6 7 8 91011

  /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);
FrameFetchContext.cpp 141 void FrameFetchContext::dispatchDidReceiveData(DocumentLoader*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength)
144 page->progress().incrementProgress(identifier, data, dataLength);
145 InspectorInstrumentation::didReceiveData(m_frame, identifier, data, dataLength, encodedDataLength);
148 void FrameFetchContext::dispatchDidDownloadData(DocumentLoader*, unsigned long identifier, int dataLength, int encodedDataLength)
151 page->progress().incrementProgress(identifier, 0, dataLength);
152 InspectorInstrumentation::didReceiveData(m_frame, identifier, 0, dataLength, encodedDataLength);
171 void FrameFetchContext::sendRemainingDelegateMessages(DocumentLoader* loader, unsigned long identifier, const ResourceResponse& response, int dataLength)
176 if (dataLength > 0)
177 dispatchDidReceiveData(ensureLoader(loader), identifier, 0, dataLength, 0);
WorkerThreadableLoader.cpp 196 void WorkerThreadableLoader::MainThreadBridge::didReceiveData(const char* data, int dataLength)
198 OwnPtr<Vector<char> > vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr for usage with createCallbackTask.
199 memcpy(vector->data(), data, dataLength);
203 static void workerGlobalScopeDidDownloadData(ExecutionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, int dataLength)
206 workerClientWrapper->didDownloadData(dataLength);
209 void WorkerThreadableLoader::MainThreadBridge::didDownloadData(int dataLength)
211 m_loaderProxy.postTaskForModeToWorkerGlobalScope(createCallbackTask(&workerGlobalScopeDidDownloadData, m_workerClientWrapper, dataLength), m_taskMode);
220 void WorkerThreadableLoader::MainThreadBridge::didReceiveCachedMetadata(const char* data, int dataLength)
222 OwnPtr<Vector<char> > vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr for usage with createCallbackTask.
223 memcpy(vector->data(), data, dataLength);
    [all...]
FrameFetchContext.h 60 virtual void dispatchDidReceiveData(DocumentLoader*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength) OVERRIDE;
61 virtual void dispatchDidDownloadData(DocumentLoader*, unsigned long identifier, int dataLength, int encodedDataLength) OVERRIDE;
64 virtual void sendRemainingDelegateMessages(DocumentLoader*, unsigned long identifier, const ResourceResponse&, int dataLength) OVERRIDE;
ThreadableLoaderClient.h 48 virtual void didReceiveData(const char*, int /*dataLength*/) { }
49 virtual void didReceiveCachedMetadata(const char*, int /*dataLength*/) { }
57 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...]
  /external/chromium_org/third_party/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();
  /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...]
  /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 114 size_t NetworkResourcesData::ResourceData::dataLength() const
119 void NetworkResourcesData::ResourceData::appendData(const char* data, size_t dataLength)
123 m_dataBuffer = SharedBuffer::create(data, dataLength);
125 m_dataBuffer->append(data, dataLength);
131 size_t dataLength = m_dataBuffer->size();
135 return contentSizeInBytes(m_content) - dataLength;
204 size_t dataLength = contentSizeInBytes(content);
205 if (dataLength > m_maximumSingleResourceContentSize)
209 if (ensureFreeSpace(dataLength) && !resourceData->isContentEvicted()) {
215 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/third_party/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/Source/core/fetch/
FetchContext.h 68 virtual void dispatchDidReceiveData(DocumentLoader*, unsigned long identifier, const char* data, int dataLength, int encodedDataLength);
69 virtual void dispatchDidDownloadData(DocumentLoader*, unsigned long identifier, int dataLength, int encodedDataLength);
72 virtual void sendRemainingDelegateMessages(DocumentLoader*, unsigned long identifier, const ResourceResponse&, int dataLength);
  /external/chromium_org/third_party/WebKit/public/platform/
WebURLLoaderClient.h 58 virtual void didDownloadData(WebURLLoader*, int dataLength, int encodedDataLength) { }
61 virtual void didReceiveData(WebURLLoader*, const char* data, int dataLength, int encodedDataLength) { }
64 virtual void didReceiveCachedMetadata(WebURLLoader*, const char* data, int dataLength) { }

Completed in 580 milliseconds

1 2 3 4 5 6 7 8 91011