/external/webkit/Tools/Scripts/ |
D | commit-log-editor | 318 my $prefixLength = length $prefix; 320 while ($prefixLength) { 321 last if substr($string, 0, $prefixLength) eq $prefix; 322 --$prefixLength; 325 last unless $prefixLength; 328 return "" unless $prefixLength;
|
/external/webkit/Tools/WebKitTestRunner/ |
D | TestInvocation.cpp | 64 static const size_t prefixLength = strlen(filePrefix); in createWKURL() local 75 buffer = adoptArrayPtr(new char[prefixLength + length + 1]); in createWKURL() 77 strcpy(buffer.get() + prefixLength, pathOrURL); in createWKURL() 79 … buffer = adoptArrayPtr(new char[prefixLength + PATH_MAX + length + 2]); // 1 for the separator in createWKURL() 81 if (!getcwd(buffer.get() + prefixLength, PATH_MAX)) in createWKURL()
|
/external/webkit/Tools/DumpRenderTree/ |
D | PixelDumpSupport.cpp | 91 …static const size_t prefixLength = sizeof(textCommentPrefix) - 1; // The -1 is for the null at the… in convertChecksumToPNGComment() local 94 bytesToAdd.append(textCommentPrefix, prefixLength); in convertChecksumToPNGComment() 98 …dataToCrc.append(textCommentPrefix + 4, prefixLength - 4); // Don't include the chunk length in th… in convertChecksumToPNGComment()
|
/external/icu4c/tools/toolutil/ |
D | package.cpp | 528 int32_t inPkgNameLength, prefixLength, stringsOffset; in readPackage() local 562 prefixLength=inPkgNameLength; in readPackage() 578 prefix[prefixLength++]='_'; in readPackage() 581 prefix[prefixLength++]=U_TREE_ENTRY_SEP_CHAR; in readPackage() 585 prefix[prefixLength]=0; in readPackage() 593 if(0!=strncmp(s, prefix, prefixLength) || s[prefixLength]==0) { in readPackage() 598 items[i].name=s+prefixLength; in readPackage() 649 int32_t i, length, prefixLength, maxItemLength, basenameOffset, offset, outInt32; in writePackage() local 727 prefixLength=(int32_t)strlen(prefix); in writePackage() 729 dsLocalToOut->swapInvChars(dsLocalToOut, prefix, prefixLength, prefix, &errorCode); in writePackage() [all …]
|
/external/emma/core/java12/com/vladium/util/ |
D | WCMatcher.java | 168 final int prefixLength = prefixChars.length - 1; in matches() local 170 if (chars.length < prefixLength) return false; in matches() 172 for (int c = 0; c < prefixLength; ++ c) in matches()
|
/external/icu4c/i18n/ |
D | nfrule.cpp | 788 int32_t prefixLength = text.length() - workText.length(); in doParse() local 791 fprintf(stderr, "' pl: %d ppi: %d s1p: %d\n", prefixLength, pp.getIndex(), sub1->getPos()); in doParse() 873 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) { in doParse() 874 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex(); in doParse() 956 int32_t pfl = prefixLength(text, prefix, status); in stripPrefix() 1123 NFRule::prefixLength(const UnicodeString& str, const UnicodeString& prefix, UErrorCode& status) con… in prefixLength() function in NFRule 1353 keyLen = prefixLength(temp, key, status); in findText()
|
D | nfrule.h | 89 …int32_t prefixLength(const UnicodeString& str, const UnicodeString& prefix, UErrorCode& status) co…
|
D | dtitvfmt.cpp | 1027 int8_t prefixLength = sizeof(gLaterFirstPrefix)/sizeof(gLaterFirstPrefix[0]); in setIntervalPattern() local 1030 if ( intervalPattern.startsWith(gLaterFirstPrefix, prefixLength) ) { in setIntervalPattern() 1032 intervalPattern.extract(prefixLength, in setIntervalPattern() 1033 intervalPattern.length() - prefixLength, in setIntervalPattern()
|
/external/webkit/Source/WebKit/mac/WebView/ |
D | WebTextCompletionController.h | 37 int prefixLength; variable
|
D | WebTextCompletionController.mm | 79 NSString *newText = [match substringFromIndex:prefixLength]; 193 prefixLength = [prefixStr length];
|
/external/webkit/Source/WebCore/platform/gtk/ |
D | PopupMenuGtk.cpp | 184 size_t prefixLength = strlen(searchStringWithCaseFolded.get()); in typeAheadFind() local 215 if (!strncmp(searchStringWithCaseFolded.get(), itemText.get(), prefixLength)) { in typeAheadFind()
|
/external/icu4c/common/ |
D | unames.c | 1008 uint16_t prefixLength, i, idx; in enumAlgNames() local 1016 prefixLength=0; in enumAlgNames() 1019 ++prefixLength; in enumAlgNames() 1023 length=(uint16_t)(prefixLength+writeFactorSuffix(factors, count, in enumAlgNames() 1026 suffix, (uint16_t)(sizeof(buffer)-prefixLength))); in enumAlgNames() 1056 length=prefixLength; in enumAlgNames()
|
/external/webkit/Source/WebCore/editing/ |
D | visible_units.cpp | 146 unsigned prefixLength = 0; in nextBoundary() local 158 prefixLength += length - i; in nextBoundary() 182 …next = searchFunction(string.data(), string.size(), prefixLength, MayHaveMoreContext, needMoreCont… in nextBoundary() 190 …next = searchFunction(string.data(), string.size(), prefixLength, DontHaveMoreContext, needMoreCon… in nextBoundary() 196 } else if (next != prefixLength) { in nextBoundary() 199 charIt.advance(next - prefixLength - 1); in nextBoundary()
|
/external/webkit/Source/WebCore/rendering/ |
D | RenderBlockLineLayout.cpp | 1658 …unsigned prefixLength = font.offsetForPosition(TextRun(text->characters() + lastSpace, pos - lastS… in tryHyphenating() local 1659 if (prefixLength < static_cast<unsigned>(minimumPrefixLength)) in tryHyphenating() 1662 …prefixLength = lastHyphenLocation(text->characters() + lastSpace, pos - lastSpace, min(prefixLengt… in tryHyphenating() 1666 …if (!prefixLength || prefixLength - (lastSpace ? 1 : 0) < static_cast<unsigned>(minimumPrefixLengt… in tryHyphenating() 1669 ASSERT(pos - lastSpace - prefixLength >= static_cast<unsigned>(minimumSuffixLength)); in tryHyphenating() 1672 …float prefixWidth = hyphenWidth + textWidth(text, lastSpace, prefixLength, font, xPos, isFixedPitc… in tryHyphenating() 1678 lineBreak.moveTo(text, lastSpace + prefixLength, nextBreakable); in tryHyphenating()
|
/external/google-diff-match-patch/name/fraser/neil/plaintext/ |
D | diff_match_patch.java | 761 int prefixLength = diff_commonPrefix(longtext.substring(i), in diff_halfMatchI() local 765 if (best_common.length() < suffixLength + prefixLength) { in diff_halfMatchI() 767 + shorttext.substring(j, j + prefixLength); in diff_halfMatchI() 769 best_longtext_b = longtext.substring(i + prefixLength); in diff_halfMatchI() 771 best_shorttext_b = shorttext.substring(j + prefixLength); in diff_halfMatchI()
|
/external/webkit/Source/WebCore/css/ |
D | CSSParser.cpp | 565 static const unsigned prefixLength = 15; in parseDeclaration() local 592 (*it).range.start -= prefixLength; in parseDeclaration() 593 (*it).range.end -= prefixLength; in parseDeclaration()
|