/external/chromium_org/third_party/icu/source/common/ |
D | unistr_cnv.cpp | 52 int32_t dataLength) in UnicodeString() argument 57 doCodepageCreate(codepageData, dataLength, 0); in UnicodeString() 75 int32_t dataLength, in UnicodeString() argument 81 doCodepageCreate(codepageData, dataLength, codepage); in UnicodeString() 307 int32_t dataLength, in doCodepageCreate() argument 311 if(codepageData == 0 || dataLength == 0 || dataLength < -1) { in doCodepageCreate() 314 if(dataLength == -1) { in doCodepageCreate() 315 dataLength = (int32_t)uprv_strlen(codepageData); in doCodepageCreate() 327 setToUTF8(StringPiece(codepageData, dataLength)); in doCodepageCreate() 333 if(cloneArrayIfNeeded(dataLength, dataLength, FALSE)) { in doCodepageCreate() [all …]
|
D | utrie.c | 100 trie->dataLength=j; in utrie_open() 142 uprv_memcpy(trie->data, other->data, other->dataLength*4); in utrie_clone() 143 trie->dataLength=other->dataLength; in utrie_clone() 169 *pLength=trie->dataLength; in utrie_getData() 177 newBlock=trie->dataLength; in utrie_allocDataBlock() 183 trie->dataLength=newTop; in utrie_allocDataBlock() 560 _findSameDataBlock(const uint32_t *data, int32_t dataLength, in _findSameDataBlock() argument 565 dataLength-=UTRIE_DATA_BLOCK_LENGTH; in _findSameDataBlock() 567 for(block=0; block<=dataLength; block+=step) { in _findSameDataBlock() 617 for(start=newStart; start<trie->dataLength;) { in utrie_compact() [all …]
|
D | utrie2_builder.c | 160 newTrie->dataLength=UNEWTRIE2_DATA_START_OFFSET; in utrie2_open() 257 uprv_memcpy(trie->data, other->data, other->dataLength*4); in cloneBuilder() 259 trie->dataLength=other->dataLength; in cloneBuilder() 265 uprv_memcpy(trie->map, other->map, (other->dataLength>>UTRIE2_SHIFT_2)*4); in cloneBuilder() 349 long dataLength=(long)trie->dataLength; in utrie_printLengths() local 350 … long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths() 352 indexLength, dataLength, totalLength); in utrie_printLengths() 358 long dataLength=(long)trie->dataLength; in utrie2_printLengths() local 359 … long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie2_printLengths() 361 which, indexLength, dataLength, totalLength); in utrie2_printLengths() [all …]
|
D | utrie2.cpp | 41 return trie->data[trie->dataLength-UTRIE2_DATA_GRANULARITY]; in get32() 167 tempTrie.dataLength=header->shiftedDataLength<<UTRIE2_INDEX_SHIFT; in utrie2_openFromSerialized() 172 tempTrie.highValueIndex=tempTrie.dataLength-UTRIE2_DATA_GRANULARITY; in utrie2_openFromSerialized() 180 actualLength+=tempTrie.dataLength*2; in utrie2_openFromSerialized() 182 actualLength+=tempTrie.dataLength*4; in utrie2_openFromSerialized() 238 int32_t indexLength, dataLength, length, i; in utrie2_openDummy() local 252 dataLength=UTRIE2_DATA_START_OFFSET+UTRIE2_DATA_GRANULARITY; in utrie2_openDummy() 255 length+=dataLength*2; in utrie2_openDummy() 257 length+=dataLength*4; in utrie2_openDummy() 284 trie->dataLength=dataLength; in utrie2_openDummy() [all …]
|
/external/icu4c/common/ |
D | unistr_cnv.cpp | 52 int32_t dataLength) in UnicodeString() argument 57 doCodepageCreate(codepageData, dataLength, 0); in UnicodeString() 75 int32_t dataLength, in UnicodeString() argument 81 doCodepageCreate(codepageData, dataLength, codepage); in UnicodeString() 307 int32_t dataLength, in doCodepageCreate() argument 311 if(codepageData == 0 || dataLength == 0 || dataLength < -1) { in doCodepageCreate() 314 if(dataLength == -1) { in doCodepageCreate() 315 dataLength = (int32_t)uprv_strlen(codepageData); in doCodepageCreate() 327 setToUTF8(StringPiece(codepageData, dataLength)); in doCodepageCreate() 333 if(cloneArrayIfNeeded(dataLength, dataLength, FALSE)) { in doCodepageCreate() [all …]
|
D | utrie.cpp | 100 trie->dataLength=j; in utrie_open() 142 uprv_memcpy(trie->data, other->data, other->dataLength*4); in utrie_clone() 143 trie->dataLength=other->dataLength; in utrie_clone() 169 *pLength=trie->dataLength; in utrie_getData() 177 newBlock=trie->dataLength; in utrie_allocDataBlock() 183 trie->dataLength=newTop; in utrie_allocDataBlock() 560 _findSameDataBlock(const uint32_t *data, int32_t dataLength, in _findSameDataBlock() argument 565 dataLength-=UTRIE_DATA_BLOCK_LENGTH; in _findSameDataBlock() 567 for(block=0; block<=dataLength; block+=step) { in _findSameDataBlock() 617 for(start=newStart; start<trie->dataLength;) { in utrie_compact() [all …]
|
D | utrie2_builder.cpp | 160 newTrie->dataLength=UNEWTRIE2_DATA_START_OFFSET; in utrie2_open() 257 uprv_memcpy(trie->data, other->data, other->dataLength*4); in cloneBuilder() 259 trie->dataLength=other->dataLength; in cloneBuilder() 265 uprv_memcpy(trie->map, other->map, (other->dataLength>>UTRIE2_SHIFT_2)*4); in cloneBuilder() 349 long dataLength=(long)trie->dataLength; in utrie_printLengths() local 350 … long totalLength=(long)sizeof(UTrieHeader)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie_printLengths() 352 indexLength, dataLength, totalLength); in utrie_printLengths() 358 long dataLength=(long)trie->dataLength; in utrie2_printLengths() local 359 … long totalLength=(long)sizeof(UTrie2Header)+indexLength*2+dataLength*(trie->data32!=NULL ? 4 : 2); in utrie2_printLengths() 361 which, indexLength, dataLength, totalLength); in utrie2_printLengths() [all …]
|
D | utrie2.cpp | 45 return trie->data[trie->dataLength-UTRIE2_DATA_GRANULARITY]; in get32() 171 tempTrie.dataLength=header->shiftedDataLength<<UTRIE2_INDEX_SHIFT; in utrie2_openFromSerialized() 176 tempTrie.highValueIndex=tempTrie.dataLength-UTRIE2_DATA_GRANULARITY; in utrie2_openFromSerialized() 184 actualLength+=tempTrie.dataLength*2; in utrie2_openFromSerialized() 186 actualLength+=tempTrie.dataLength*4; in utrie2_openFromSerialized() 242 int32_t indexLength, dataLength, length, i; in utrie2_openDummy() local 256 dataLength=UTRIE2_DATA_START_OFFSET+UTRIE2_DATA_GRANULARITY; in utrie2_openDummy() 259 length+=dataLength*2; in utrie2_openDummy() 261 length+=dataLength*4; in utrie2_openDummy() 288 trie->dataLength=dataLength; in utrie2_openDummy() [all …]
|
/external/icu4c/test/intltest/ |
D | 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) { in checkData() argument [all …]
|
D | 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) { in checkData() argument [all …]
|
/external/libnfc-nxp/src/ |
D | phFriNfc_LlcpUtils.c | 218 uint32_t dataLength) in phFriNfc_Llcp_CyclicFifoWrite() argument 223 while(dataLengthWritten < dataLength) in phFriNfc_Llcp_CyclicFifoWrite() 258 uint32_t dataLength) in phFriNfc_Llcp_CyclicFifoFifoRead() argument 263 while(dataLengthRead < dataLength) in phFriNfc_Llcp_CyclicFifoFifoRead() 300 uint32_t dataLength; in phFriNfc_Llcp_CyclicFifoUsage() local 306 dataLength = pUtilFifo->pBuffEnd - pUtilFifo->pBuffStart + 1; in phFriNfc_Llcp_CyclicFifoUsage() 312 dataLength = pIn - pOut; in phFriNfc_Llcp_CyclicFifoUsage() 316 dataLength = pUtilFifo->pBuffEnd - pOut; in phFriNfc_Llcp_CyclicFifoUsage() 317 dataLength += (pIn+1) - pUtilFifo->pBuffStart; in phFriNfc_Llcp_CyclicFifoUsage() 321 return dataLength; in phFriNfc_Llcp_CyclicFifoUsage() [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | NetworkResourcesData.cpp | 114 size_t NetworkResourcesData::ResourceData::dataLength() const in dataLength() function in WebCore::NetworkResourcesData::ResourceData 119 void NetworkResourcesData::ResourceData::appendData(const char* data, size_t dataLength) in appendData() argument 123 m_dataBuffer = SharedBuffer::create(data, dataLength); in appendData() 125 m_dataBuffer->append(data, dataLength); in appendData() 131 size_t dataLength = m_dataBuffer->size(); in decodeDataToContent() local 135 return contentSizeInBytes(m_content) - dataLength; in decodeDataToContent() 204 size_t dataLength = contentSizeInBytes(content); in setResourceContent() local 205 if (dataLength > m_maximumSingleResourceContentSize) in setResourceContent() 209 if (ensureFreeSpace(dataLength) && !resourceData->isContentEvicted()) { in setResourceContent() 215 m_contentSize += dataLength; in setResourceContent() [all …]
|
/external/clang/test/Analysis/ |
D | 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… 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:NSUTF8Stri… [all …]
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | ThreadableLoaderClientWrapper.h | 71 void didReceiveData(const char* data, int dataLength) in didReceiveData() argument 74 m_client->didReceiveData(data, dataLength); in didReceiveData() 77 void didReceiveCachedMetadata(const char* data, int dataLength) in didReceiveCachedMetadata() argument 80 m_client->didReceiveCachedMetadata(data, dataLength); in didReceiveCachedMetadata() 117 void didDownloadData(int dataLength) in didDownloadData() argument 120 m_client->didDownloadData(dataLength); in didDownloadData()
|
D | FrameFetchContext.cpp | 141 …eData(DocumentLoader*, unsigned long identifier, const char* data, int dataLength, int encodedData… in dispatchDidReceiveData() argument 144 page->progress().incrementProgress(identifier, data, dataLength); in dispatchDidReceiveData() 145 …InspectorInstrumentation::didReceiveData(m_frame, identifier, data, dataLength, encodedDataLength); in dispatchDidReceiveData() 148 …dispatchDidDownloadData(DocumentLoader*, unsigned long identifier, int dataLength, int encodedData… in dispatchDidDownloadData() argument 151 page->progress().incrementProgress(identifier, 0, dataLength); in dispatchDidDownloadData() 152 InspectorInstrumentation::didReceiveData(m_frame, identifier, 0, dataLength, encodedDataLength); in dispatchDidDownloadData() 171 …DocumentLoader* loader, unsigned long identifier, const ResourceResponse& response, int dataLength) in sendRemainingDelegateMessages() argument 176 if (dataLength > 0) in sendRemainingDelegateMessages() 177 dispatchDidReceiveData(ensureLoader(loader), identifier, 0, dataLength, 0); in sendRemainingDelegateMessages()
|
D | WorkerThreadableLoader.cpp | 196 void WorkerThreadableLoader::MainThreadBridge::didReceiveData(const char* data, int dataLength) in didReceiveData() argument 198 …OwnPtr<Vector<char> > vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr fo… in didReceiveData() 199 memcpy(vector->data(), data, dataLength); in didReceiveData() 203 …ionContext* context, PassRefPtr<ThreadableLoaderClientWrapper> workerClientWrapper, int dataLength) in workerGlobalScopeDidDownloadData() argument 206 workerClientWrapper->didDownloadData(dataLength); in workerGlobalScopeDidDownloadData() 209 void WorkerThreadableLoader::MainThreadBridge::didDownloadData(int dataLength) in didDownloadData() argument 211 …ateCallbackTask(&workerGlobalScopeDidDownloadData, m_workerClientWrapper, dataLength), m_taskMode); in didDownloadData() 220 …orkerThreadableLoader::MainThreadBridge::didReceiveCachedMetadata(const char* data, int dataLength) in didReceiveCachedMetadata() argument 222 …OwnPtr<Vector<char> > vector = adoptPtr(new Vector<char>(dataLength)); // needs to be an OwnPtr fo… in didReceiveCachedMetadata() 223 memcpy(vector->data(), data, dataLength); in didReceiveCachedMetadata()
|
D | FrameFetchContext.h | 60 …eData(DocumentLoader*, unsigned long identifier, const char* data, int dataLength, int encodedData… 61 …virtual void dispatchDidDownloadData(DocumentLoader*, unsigned long identifier, int dataLength, in… 64 …sages(DocumentLoader*, unsigned long identifier, const ResourceResponse&, int dataLength) OVERRIDE;
|
/external/icu4c/samples/udata/ |
D | writer.c | 66 long dataLength; in main() local 95 dataLength=udata_finish(pData, &errorCode); in main() 103 if(dataLength!=(long)size) { in main() 104 fprintf(stderr, "Error: data length %ld != calculated size %lu\n", dataLength, size); in main()
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebURLLoaderClient.h | 58 virtual void didDownloadData(WebURLLoader*, int dataLength, int encodedDataLength) { } in didDownloadData() argument 61 …virtual void didReceiveData(WebURLLoader*, const char* data, int dataLength, int encodedDataLength… in didReceiveData() argument 64 virtual void didReceiveCachedMetadata(WebURLLoader*, const char* data, int dataLength) { } in didReceiveCachedMetadata() argument
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
D | QuotedPrintable.cpp | 121 void quotedPrintableDecode(const char* data, size_t dataLength, Vector<char>& out) in quotedPrintableDecode() argument 124 if (!dataLength) in quotedPrintableDecode() 127 for (size_t i = 0; i < dataLength; ++i) { in quotedPrintableDecode() 134 if (dataLength - i < 3) { in quotedPrintableDecode()
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | FetchContext.h | 68 …eData(DocumentLoader*, unsigned long identifier, const char* data, int dataLength, int encodedData… 69 …virtual void dispatchDidDownloadData(DocumentLoader*, unsigned long identifier, int dataLength, in… 72 …legateMessages(DocumentLoader*, unsigned long identifier, const ResourceResponse&, int dataLength);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
D | Base64Encoder.java | 63 int dataLength = (length - modulus); in encode() local 66 for (int i = off; i < off + dataLength; i += 3) in encode() 89 d1 = data[off + dataLength] & 0xff; in encode() 99 d1 = data[off + dataLength] & 0xff; in encode() 100 d2 = data[off + dataLength + 1] & 0xff; in encode() 113 return (dataLength / 3) * 4 + ((modulus == 0) ? 0 : 4); in encode()
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
D | RTCDataChannel.cpp | 193 size_t dataLength = data->byteLength(); in send() local 194 if (!dataLength) in send() 199 if (!m_handler->sendRawData(dataPointer, dataLength)) { in send() 252 void RTCDataChannel::didReceiveRawData(const char* data, size_t dataLength) in didReceiveRawData() argument 262 RefPtr<ArrayBuffer> buffer = ArrayBuffer::create(data, dataLength); in didReceiveRawData()
|
/external/chromium_org/third_party/WebKit/Source/platform/network/ |
D | HTTPRequest.cpp | 62 size_t dataLength = request->parseRequestBody(pos, remainingLength); in parseHTTPRequestFromBuffer() local 63 pos += dataLength; in parseHTTPRequestFromBuffer() 64 remainingLength -= dataLength; in parseHTTPRequestFromBuffer()
|
/external/chromium_org/third_party/icu/source/tools/gentest/ |
D | gentest.c | 108 long dataLength; in createData() local 124 dataLength=udata_finish(pData, errorCode); in createData() 132 if(dataLength!=(long)size) { in createData() 134 dataLength, (unsigned long)size); in createData()
|