/external/webkit/Source/JavaScriptCore/wtf/ |
D | StringExtras.h | 107 size_t targetLength = strlen(target); in strnstr() local 108 if (targetLength == 0) in strnstr() 110 …for (const char* start = buffer; *start && start + targetLength <= buffer + bufferLength; start++)… in strnstr() 111 if (*start == *target && strncmp(start + 1, target + 1, targetLength - 1) == 0) in strnstr()
|
/external/icu4c/common/ |
D | ucnvhz.c | 39 #define CONCAT_ESCAPE_MACRO( args, targetIndex,targetLength,strToAppend, err, len,sourceIndex){ … argument 41 …if(targetIndex < targetLength){ … 341 int32_t targetLength = (int32_t)(args->targetLimit - myTarget); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() local 357 if(args->converter->fromUChar32!=0 && myTargetIndex < targetLength) { in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 363 if (myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 373 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 398 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 404 … CONCAT_ESCAPE_MACRO(args, myTargetIndex, targetLength, escSeq,err,len,mySourceIndex); in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 411 if( myTargetIndex <targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() 416 if(myTargetIndex < targetLength){ in UConverter_fromUnicode_HZ_OFFSETS_LOGIC() [all …]
|
D | unistr.cpp | 1512 UnicodeString::padLeading(int32_t targetLength, in padLeading() argument 1516 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padLeading() 1521 int32_t start = targetLength - oldLength; in padLeading() 1528 setLength(targetLength); in padLeading() 1534 UnicodeString::padTrailing(int32_t targetLength, in padTrailing() argument 1538 if(oldLength >= targetLength || !cloneArrayIfNeeded(targetLength)) { in padTrailing() 1543 int32_t length = targetLength; in padTrailing() 1547 setLength(targetLength); in padTrailing()
|
D | ucnv.c | 2415 int32_t targetLength=0; in ucnv_internalConvert() local 2431 targetLength=0; in ucnv_internalConvert() 2443 targetLength=(int32_t)(myTarget-target); in ucnv_internalConvert() 2466 targetLength+=(int32_t)(myTarget-targetBuffer); in ucnv_internalConvert() 2470 return u_terminateChars(target, targetCapacity, targetLength, pErrorCode); in ucnv_internalConvert() 2474 return targetLength; in ucnv_internalConvert() 2484 int32_t targetLength; in ucnv_convert() local 2514 targetLength=ucnv_internalConvert(outConverter, inConverter, in ucnv_convert() 2522 return targetLength; in ucnv_convert() 2535 int32_t targetLength; in ucnv_convertAlgorithmic() local [all …]
|
/external/icu4c/i18n/ |
D | bms.cpp | 73 const UChar *target, int32_t targetLength, in bms_open() argument 87 bms->targetString = new UnicodeString(target, targetLength); in bms_open() 136 bms_setTargetString(BMS *bms, const UChar *target, int32_t targetLength, UErrorCode *status) in bms_setTargetString() argument 147 bms->targetString = new UnicodeString(target, targetLength); in bms_setTargetString()
|
D | sortkey.cpp | 194 int32_t targetLength = target.getLength(); in compareTo() local 195 if (minLength < targetLength) { in compareTo() 197 } else if (minLength == targetLength) { in compareTo() 200 minLength = targetLength; in compareTo()
|
D | bmsearch.cpp | 88 int32_t targetLength; member in Target 98 … targetString(NULL), targetBuffer(NULL), targetLength(0), elements(NULL), charBreakIterator(NULL) in Target() 162 targetLength = targetString->length(); in setTargetString() 168 targetBuffer, targetLength, &status); in setTargetString() 171 targetLength = 0; in setTargetString() 277 return targetLength; in stringLength() 333 while (offset < targetLength) { in nextSafeBoundary() 344 return targetLength; in nextSafeBoundary()
|
D | ucol.cpp | 7140 int32_t targetLength; in ucol_compareUsingSortKeys() local 7155 targetLength = targetString.length(); in ucol_compareUsingSortKeys() 7158 targetLength = (tColl->flags&UCOL_ITER_HASLEN)?(int32_t)(tColl->endp-tColl->string):-1; in ucol_compareUsingSortKeys() 7175 targetKeyLen = ucol_getSortKey(coll, target, targetLength, targetKeyP, targetKeyLen); in ucol_compareUsingSortKeys() 7182 targetKeyLen = ucol_getSortKey(coll, target, targetLength, targetKeyP, targetKeyLen); in ucol_compareUsingSortKeys() 7698 const UChar *target, int32_t targetLength, in ucol_strcollRegular() argument 7703 IInit_collIterate(coll, target, targetLength, &tColl, status); in ucol_strcollRegular() 8230 int32_t targetLength, in ucol_strcollRegularUTF8() argument 8237 uiter_setUTF8(&tgt, target, targetLength); in ucol_strcollRegularUTF8() 8747 int32_t targetLength) in ucol_strcoll() argument [all …]
|
D | tblcoll.cpp | 336 int32_t targetLength, in compare() argument 340 return ucol_strcoll(ucollator, source, sourceLength, target, targetLength); in compare()
|
D | coll.cpp | 452 const UChar* target, int32_t targetLength) in compare() 456 return (EComparisonResult)compare(source, sourceLength, target, targetLength, ec); in compare()
|
/external/icu4c/i18n/unicode/ |
D | bms.h | 210 const UChar *target, int32_t targetLength, 274 bms_setTargetString(BMS *bms, const UChar *target, int32_t targetLength, UErrorCode *status);
|
D | ucol.h | 534 int32_t targetLength); 560 int32_t targetLength, 580 const UChar *target, int32_t targetLength); 599 const UChar *target, int32_t targetLength); 618 const UChar *target, int32_t targetLength);
|
D | coll.h | 450 const UChar* target, int32_t targetLength) 470 const UChar* target, int32_t targetLength,
|
D | tblcoll.h | 312 const UChar* target, int32_t targetLength,
|
/external/webkit/Source/WebCore/icu/unicode/ |
D | ucol.h | 396 int32_t targetLength); 415 const UChar *target, int32_t targetLength); 434 const UChar *target, int32_t targetLength); 453 const UChar *target, int32_t targetLength);
|
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
D | ucol.h | 396 int32_t targetLength); 415 const UChar *target, int32_t targetLength); 434 const UChar *target, int32_t targetLength); 453 const UChar *target, int32_t targetLength);
|
/external/icu4c/tools/toolutil/ |
D | pkgitems.cpp | 134 int32_t treeLength, suffixLength, targetLength; in makeTargetName() local 150 targetLength=treeLength+idLength+suffixLength; in makeTargetName() 151 if(targetLength>=capacity) { in makeTargetName() 153 itemName, (long)targetLength); in makeTargetName()
|
/external/webkit/Source/WebCore/loader/ |
D | TextResourceDecoder.cpp | 48 size_t targetLength = strlen(target); in find() local 49 if (targetLength > subjectLength) in find() 51 for (size_t i = 0; i <= subjectLength - targetLength; ++i) { in find() 53 for (size_t j = 0; j < targetLength; ++j) { in find()
|
/external/icu4c/common/unicode/ |
D | unistr.h | 1534 uint32_t targetLength) const; 1602 uint32_t targetLength, 2514 UBool padLeading(int32_t targetLength, 2528 UBool padTrailing(int32_t targetLength, 2537 inline UBool truncate(int32_t targetLength); 4479 UnicodeString::truncate(int32_t targetLength) in truncate() argument 4481 if(isBogus() && targetLength == 0) { in truncate() 4485 } else if((uint32_t)targetLength < (uint32_t)length()) { in truncate() 4486 setLength(targetLength); in truncate() 4488 fUnion.fFields.fCapacity = targetLength; // not NUL-terminated any more in truncate()
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
D | NetscapePluginHostProxy.mm | 384 … data_t url, mach_msg_type_number_t urlLength, data_t target, mach_msg_type_number_t targetLength, 389 DataDeallocator targetDeallocator(target, targetLength); 1071 … data_t targetData, mach_msg_type_number_t targetLength, uint32_t *checkID) 1074 DataDeallocator targetDeallocator(targetData, targetLength); 1103 data_t targetData, mach_msg_type_number_t targetLength, 1107 DataDeallocator targetDeallocator(targetData, targetLength);
|
/external/webkit/Source/WebCore/editing/ |
D | TextIterator.cpp | 1941 size_t targetLength = m_target.length(); in SearchBuffer() local 1942 m_buffer.reserveInitialCapacity(max(targetLength * 8, minimumSearchBufferSize)); in SearchBuffer() 1945 if ((m_options & AtWordStarts) && targetLength) { in SearchBuffer() 1947 U16_GET(m_target.characters(), 0, 0, targetLength, targetFirstCharacter); in SearchBuffer() 1971 usearch_setPattern(searcher, m_target.characters(), targetLength, &status); in SearchBuffer()
|
/external/icu4c/test/cintltst/ |
D | ccapitst.c | 2143 int32_t targetLength; in convertExStreaming() local 2180 targetLength=(int32_t)(target-targetBuffer); in convertExStreaming() 2189 if(targetLength+chunkSize<=sizeof(targetBuffer)) { in convertExStreaming() 2209 } else if(targetLength!=expectTargetLength) { in convertExStreaming() 2211 testName, chunkSize, targetLength, expectTargetLength); in convertExStreaming() 2212 } else if(memcmp(targetBuffer, expectTarget, targetLength)!=0) { in convertExStreaming()
|
/external/icu4c/test/intltest/ |
D | apicoll.cpp | 1924 int32_t targetLength, 2006 int32_t targetLength, in compare() argument 2010 UnicodeString t(target, targetLength); in compare()
|