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

1 2 3 4 5 6 7

  /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...]
  /cts/tests/tests/content/src/android/content/res/cts/
AssetManager_AssetInputStreamTest.java 151 int dataLength = 10;
152 byte[] data = new byte[dataLength];
154 assertEquals(dataLength, ret);
155 for (int i = 0; i < dataLength; i++) {
158 data = new byte[len - dataLength];
159 assertEquals(len - dataLength, mAssetInputStream.read(data));
160 for (int i = 0; i < len - dataLength; i++) {
161 assertEquals(bytes[i + dataLength], data[i]);
168 ret = mAssetInputStream.read(data, offset, dataLength);
169 assertEquals(dataLength, ret)
    [all...]
  /external/libnfc-nxp/src/
phFriNfc_LlcpUtils.c 172 * Attempts to write dataLength bytes to the specified Fifo Cyclic Buffer.
176 uint32_t dataLength)
181 while(dataLengthWritten < dataLength)
212 * Attempts to read dataLength bytes from the specified Fifo Cyclic Buffer.
216 uint32_t dataLength)
221 while(dataLengthRead < dataLength)
258 uint32_t dataLength;
264 dataLength = pUtilFifo->pBuffEnd - pUtilFifo->pBuffStart + 1;
270 dataLength = pIn - pOut;
274 dataLength = pUtilFifo->pBuffEnd - pOut
    [all...]
phFriNfc_LlcpUtils.h 92 * Attempts to write dataLength bytes to the specified Fifo Cyclic Buffer.
96 uint32_t dataLength);
99 * Attempts to read dataLength bytes from the specified Fifo Cyclic Buffer.
103 uint32_t 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...]
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...]
utrie2_builder.c 160 newTrie->dataLength=UNEWTRIE2_DATA_START_OFFSET;
257 uprv_memcpy(trie->data, other->data, other->dataLength*4);
259 trie->dataLength=other->dataLength;
265 uprv_memcpy(trie->map, other->map, (other->dataLength>>UTRIE2_SHIFT_2)*4);
349 long dataLength=(long)trie->dataLength;
350 long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2);
352 indexLength, dataLength, totalLength);
358 long dataLength=(long)trie->dataLength
    [all...]
utrie2.cpp 41 return trie->data[trie->dataLength-UTRIE2_DATA_GRANULARITY];
167 tempTrie.dataLength=header->shiftedDataLength<<UTRIE2_INDEX_SHIFT;
172 tempTrie.highValueIndex=tempTrie.dataLength-UTRIE2_DATA_GRANULARITY;
180 actualLength+=tempTrie.dataLength*2;
182 actualLength+=tempTrie.dataLength*4;
238 int32_t indexLength, dataLength, length, i;
252 dataLength=UTRIE2_DATA_START_OFFSET+UTRIE2_DATA_GRANULARITY;
255 length+=dataLength*2;
257 length+=dataLength*4;
284 trie->dataLength=dataLength
    [all...]
  /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/webkit/Source/WebCore/loader/
ResourceLoadNotifier.cpp 77 void ResourceLoadNotifier::didReceiveData(ResourceLoader* loader, const char* data, int dataLength, int encodedDataLength)
80 page->progress()->incrementProgress(loader->identifier(), data, dataLength);
82 dispatchDidReceiveContentLength(loader->documentLoader(), loader->identifier(), dataLength, encodedDataLength);
133 void ResourceLoadNotifier::dispatchDidReceiveContentLength(DocumentLoader* loader, unsigned long identifier, int dataLength, int encodedDataLength)
135 m_frame->loader()->client()->dispatchDidReceiveContentLength(loader, identifier, dataLength);
137 InspectorInstrumentation::didReceiveContentLength(m_frame, identifier, dataLength, encodedDataLength);
155 void ResourceLoadNotifier::sendRemainingDelegateMessages(DocumentLoader* loader, unsigned long identifier, const ResourceResponse& response, int dataLength, int encodedDataLength, const ResourceError& error)
160 if (dataLength > 0)
161 dispatchDidReceiveContentLength(loader, identifier, dataLength, encodedDataLength);
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);
ResourceLoadNotifier.h 56 void didReceiveData(ResourceLoader*, const char*, int dataLength, int encodedDataLength);
63 void dispatchDidReceiveContentLength(DocumentLoader*, unsigned long identifier, int dataLength, int encodedDataLength);
67 void sendRemainingDelegateMessages(DocumentLoader*, unsigned long identifier, const ResourceResponse&, int dataLength, int encodedDataLength, const ResourceError&);
ThreadableLoaderClient.h 46 virtual void didReceiveData(const char*, int /*dataLength*/) { }
47 virtual void didReceiveCachedMetadata(const char*, int /*dataLength*/) { }
  /frameworks/base/telephony/java/com/android/internal/telephony/
WspTypeDecoder.java 200 int dataLength;
224 dataLength = index - startIndex + 1;
226 stringValue = new String(wspData, startIndex + 1, dataLength - 2);
228 stringValue = new String(wspData, startIndex, dataLength - 1);
247 dataLength = index - startIndex + 1;
248 stringValue = new String(wspData, startIndex, dataLength - 1);
267 dataLength = 1;
290 dataLength = 1 + lengthMultiOctet;
331 dataLength = index - startIndex + 1;
350 dataLength = 1
    [all...]
  /external/libvpx/libmkv/
WebMElement.h 15 unsigned char *data, unsigned long dataLength);
31 unsigned char *data, unsigned long dataLength);
  /frameworks/base/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/webkit/Source/WebKit/chromium/src/
AssociatedURLLoader.cpp 64 virtual void didReceiveData(const char*, int /*dataLength*/);
65 virtual void didReceiveCachedMetadata(const char*, int /*dataLength*/);
122 void AssociatedURLLoader::ClientAdapter::didReceiveData(const char* data, int dataLength)
127 m_client->didReceiveData(m_loader, data, dataLength, -1);
128 m_downloadLength += dataLength;
131 void AssociatedURLLoader::ClientAdapter::didReceiveCachedMetadata(const char* data, int dataLength)
136 m_client->didReceiveCachedMetadata(m_loader, data, dataLength);
  /external/webkit/Source/WebKit/chromium/public/
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) { }
  /system/media/wilhelm/src/itf/
IAndroidBufferQueue.c 301 SLuint32 dataLength,
306 SL_LOGD("IAndroidBufferQueue_Enqueue pData=%p dataLength=%d", pData, dataLength);
308 if ((dataLength > 0) && (NULL == pData)) {
309 SL_LOGE("Enqueue failure: non-zero data length %u but NULL data pointer", dataLength);
314 } else if ((0 == dataLength) && (0 == itemsLength)) {
328 if (dataLength % MPEG2_TS_BLOCK_SIZE == 0) {
337 // non-zero dataLength is permitted in case of EOS command only
338 if (dataLength > 0) {
340 pData, dataLength);
    [all...]
  /frameworks/base/core/java/android/nfc/
LlcpPacket.java 74 int dataLength = in.readInt();
75 byte[] data = new byte[dataLength];
  /bionic/libc/netbsd/net/
base64.c 143 size_t datalength = 0; local
168 if (datalength + 4 > targsize)
170 target[datalength++] = Base64[output[0]];
171 target[datalength++] = Base64[output[1]];
172 target[datalength++] = Base64[output[2]];
173 target[datalength++] = Base64[output[3]];
192 if (datalength + 4 > targsize)
194 target[datalength++] = Base64[output[0]];
195 target[datalength++] = Base64[output[1]];
197 target[datalength++] = Pad64
    [all...]
  /external/webkit/Source/WebCore/dom/
CharacterData.cpp 57 unsigned CharacterData::parserAppendData(const UChar* data, unsigned dataLength, unsigned lengthLimit)
61 unsigned end = min(dataLength, lengthLimit - oldLength);
67 if (end < dataLength) {
68 TextBreakIterator* it = characterBreakIterator(data, (end + 2 > dataLength) ? dataLength : end + 2);
  /external/webkit/Tools/DumpRenderTree/
PixelDumpSupport.cpp 105 static size_t offsetAfterIHDRChunk(const unsigned char* data, const size_t dataLength)
112 void printPNG(const unsigned char* data, const size_t dataLength, const char* checksum)
118 printf("Content-Length: %lu\n", static_cast<unsigned long>(dataLength + bytesToAdd.size()));
120 size_t insertOffset = offsetAfterIHDRChunk(data, dataLength);
127 size_t dataRemainingToWrite = dataLength - insertOffset;
  /frameworks/base/core/java/android/speech/tts/
FileSynthesisCallback.java 168 int dataLength = (int) (mFile.length() - WAV_HEADER_LENGTH);
170 makeWavHeader(mSampleRateInHz, mAudioFormat, mChannelCount, dataLength));
191 int dataLength) {
203 header.putInt(dataLength + WAV_HEADER_LENGTH - 8); // RIFF chunk size
214 header.putInt(dataLength);
  /external/chromium/webkit/glue/media/
simple_data_source.h 73 int dataLength);
77 int dataLength,
81 const char* data, int dataLength);

Completed in 1230 milliseconds

1 2 3 4 5 6 7