Searched refs:prefixLength (Results 1 - 25 of 32) sorted by relevance

12

/external/webkit/Source/WebKit/mac/WebView/
H A DWebTextCompletionController.h37 int prefixLength; variable
H A DWebTextCompletionController.mm79 NSString *newText = [match substringFromIndex:prefixLength];
193 prefixLength = [prefixStr length];
/external/icu4c/common/
H A Ducmndata.c133 * Prime the prefix lengths so that we don't keep prefixLength at 0 until
148 int32_t prefixLength=MIN(startPrefixLength, limitPrefixLength); local
149 int32_t cmp=strcmpAfterPrefix(s, names+toc[i].nameOffset, &prefixLength);
152 limitPrefixLength=prefixLength;
157 startPrefixLength=prefixLength;
178 * Prime the prefix lengths so that we don't keep prefixLength at 0 until
193 int32_t prefixLength=MIN(startPrefixLength, limitPrefixLength); local
194 int32_t cmp=strcmpAfterPrefix(s, toc[i].entryName, &prefixLength);
197 limitPrefixLength=prefixLength;
202 startPrefixLength=prefixLength;
[all...]
H A Dunames.c1008 uint16_t prefixLength, i, idx; local
1016 prefixLength=0;
1019 ++prefixLength;
1023 length=(uint16_t)(prefixLength+writeFactorSuffix(factors, count,
1026 suffix, (uint16_t)(sizeof(buffer)-prefixLength)));
1056 length=prefixLength;
/external/webkit/Tools/DumpRenderTree/
H A DPixelDumpSupport.cpp91 static const size_t prefixLength = sizeof(textCommentPrefix) - 1; // The -1 is for the null at the end of the char[]. local
94 bytesToAdd.append(textCommentPrefix, prefixLength);
98 dataToCrc.append(textCommentPrefix + 4, prefixLength - 4); // Don't include the chunk length in the crc.
/external/webkit/Tools/Scripts/
H A Dcommit-log-editor318 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/
H A DTestInvocation.cpp64 static const size_t prefixLength = strlen(filePrefix); local
75 buffer = adoptArrayPtr(new char[prefixLength + length + 1]);
77 strcpy(buffer.get() + prefixLength, pathOrURL);
79 buffer = adoptArrayPtr(new char[prefixLength + PATH_MAX + length + 2]); // 1 for the separator
81 if (!getcwd(buffer.get() + prefixLength, PATH_MAX))
/external/emma/core/java12/com/vladium/util/
H A DWCMatcher.java168 final int prefixLength = prefixChars.length - 1;
170 if (chars.length < prefixLength) return false;
172 for (int c = 0; c < prefixLength; ++ c)
/external/icu4c/test/perf/dicttrieperf/
H A Ddicttrieperf.cpp187 static int32_t strcmpAfterPrefix(const char *s1, const char *s2, int32_t &prefixLength) { argument
188 int32_t pl=prefixLength;
201 prefixLength=pl;
216 // Prime the prefix lengths so that we don't keep prefixLength at 0 until
230 int32_t prefixLength=MIN(startPrefixLength, limitPrefixLength); local
231 int32_t cmp=strcmpAfterPrefix(s, names+toc[i].nameOffset, prefixLength);
234 limitPrefixLength=prefixLength;
239 startPrefixLength=prefixLength;
/external/icu4c/tools/toolutil/
H A Dpackage.cpp529 int32_t inPkgNameLength, prefixLength, stringsOffset; local
563 prefixLength=inPkgNameLength;
579 prefix[prefixLength++]='_';
582 prefix[prefixLength++]=U_TREE_ENTRY_SEP_CHAR;
586 prefix[prefixLength]=0;
594 if(0!=strncmp(s, prefix, prefixLength) || s[prefixLength]==0) {
599 items[i].name=s+prefixLength;
650 int32_t i, length, prefixLength, maxItemLength, basenameOffset, offset, outInt32; local
728 prefixLength
[all...]
/external/icu4c/i18n/
H A Dnfrule.h89 int32_t prefixLength(const UnicodeString& str, const UnicodeString& prefix, UErrorCode& status) const;
H A Dnfrule.cpp787 int32_t prefixLength = text.length() - workText.length(); local
790 fprintf(stderr, "' pl: %d ppi: %d s1p: %d\n", prefixLength, pp.getIndex(), sub1->getPos());
872 if (prefixLength + pp.getIndex() + pp2.getIndex() > highWaterMark) {
873 highWaterMark = prefixLength + pp.getIndex() + pp2.getIndex();
951 // use prefixLength() to match the beginning of
955 int32_t pfl = prefixLength(text, prefix, status);
1122 NFRule::prefixLength(const UnicodeString& str, const UnicodeString& prefix, UErrorCode& status) const function in class:NFRule
1344 // and then use prefixLength() to see if the search key is at
1352 keyLen = prefixLength(temp, key, status);
H A Ddtitvfmt.cpp1071 int8_t prefixLength = sizeof(gLaterFirstPrefix)/sizeof(gLaterFirstPrefix[0]); local
1074 if ( intervalPattern.startsWith(gLaterFirstPrefix, prefixLength) ) {
1076 intervalPattern.extract(prefixLength,
1077 intervalPattern.length() - prefixLength,
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/59/1/.cp/
H A DjdtCompilerAdapter.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/jdt/ org/eclipse/jdt/core/ ...
/external/webkit/Source/WebCore/platform/gtk/
H A DPopupMenuGtk.cpp184 size_t prefixLength = strlen(searchStringWithCaseFolded.get()); local
215 if (!strncmp(searchStringWithCaseFolded.get(), itemText.get(), prefixLength)) {
/external/webkit/Source/WebCore/rendering/
H A DRenderBlockLineLayout.cpp1662 unsigned prefixLength = font.offsetForPosition(TextRun(text->characters() + lastSpace, pos - lastSpace, !collapseWhiteSpace, xPos + lastSpaceWordSpacing), maxPrefixWidth, false); local
1663 if (prefixLength < static_cast<unsigned>(minimumPrefixLength))
1666 prefixLength = lastHyphenLocation(text->characters() + lastSpace, pos - lastSpace, min(prefixLength, static_cast<unsigned>(pos - lastSpace - minimumSuffixLength)) + 1, localeIdentifier);
1670 if (!prefixLength || prefixLength - (lastSpace ? 1 : 0) < static_cast<unsigned>(minimumPrefixLength))
1673 ASSERT(pos - lastSpace - prefixLength >= static_cast<unsigned>(minimumSuffixLength));
1676 float prefixWidth = hyphenWidth + textWidth(text, lastSpace, prefixLength, font, xPos, isFixedPitch, collapseWhiteSpace) + lastSpaceWordSpacing;
1682 lineBreak.moveTo(text, lastSpace + prefixLength, nextBreakable);
/external/webkit/Source/WebCore/editing/
H A Dvisible_units.cpp146 unsigned prefixLength = 0; local
158 prefixLength += length - i;
182 next = searchFunction(string.data(), string.size(), prefixLength, MayHaveMoreContext, needMoreContext);
190 next = searchFunction(string.data(), string.size(), prefixLength, DontHaveMoreContext, needMoreContext);
196 } else if (next != prefixLength) {
199 charIt.advance(next - prefixLength - 1);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.filesystem_1.3.1.R36x_v20100727-0745.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.security_1.0.200.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.apache.lucene_1.9.1.v20100518-1140.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/google-diff-match-patch/name/fraser/neil/plaintext/
H A Ddiff_match_patch.java761 int prefixLength = diff_commonPrefix(longtext.substring(i),
765 if (best_common.length() < suffixLength + prefixLength) {
767 + shorttext.substring(j, j + prefixLength);
769 best_longtext_b = longtext.substring(i + prefixLength);
771 best_shorttext_b = shorttext.substring(j + prefixLength);
/external/icu4c/test/intltest/
H A Dapicoll.cpp1291 for (int32_t prefixLength = 0; prefixLength < maxPrefixLength; ++prefixLength) {
1298 errln("getCollationKey(prefix[%d]+i_and_phi) failed to write proper sort key", prefixLength);
1301 // Insert an 'a' to match ++prefixLength.
1302 s.insert(prefixLength, (UChar)0x61);
/external/webkit/Source/WebCore/css/
H A DCSSParser.cpp520 static const unsigned prefixLength = 15; local
547 (*it).range.start -= prefixLength;
548 (*it).range.end -= prefixLength;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/
H A Dpdebuild.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/eclipse/ org/eclipse/pde/ org/eclipse/pde/build/ ...

Completed in 598 milliseconds

12