Home
last modified time | relevance | path

Searched refs:fSuffix (Results 1 – 19 of 19) sorted by relevance

/external/junit/src/main/java/junit/framework/
DComparisonCompactor.java13 private int fSuffix; field in ComparisonCompactor
35 …String result = DELTA_START + source.substring(fPrefix, source.length() - fSuffix + 1) + DELTA_END; in compactString()
39 if (fSuffix > 0) { in compactString()
63 fSuffix = fExpected.length() - expectedSuffix; in findCommonSuffix()
71 int end = Math.min(fExpected.length() - fSuffix + 1 + fContextLength, fExpected.length()); in computeCommonSuffix()
72 …return fExpected.substring(fExpected.length() - fSuffix + 1, end) + (fExpected.length() - fSuffix in computeCommonSuffix()
/external/icu/icu4c/source/i18n/
Dnumparse_affixes.cpp363 : fPrefix(prefix), fSuffix(suffix), fFlags(flags) {} in AffixMatcher()
389 if (!result.suffix.isBogus() || fSuffix == nullptr || !matched(fPrefix, result.prefix)) { in match()
395 bool maybeMore = fSuffix->match(segment, result, status); in match()
397 result.suffix = fSuffix->getPattern(); in match()
405 (fSuffix != nullptr && fSuffix->smokeTest(segment)); in smokeTest()
410 if (matched(fPrefix, result.prefix) && matched(fSuffix, result.suffix)) { in postProcess()
423 if (fSuffix != nullptr) { in postProcess()
424 fSuffix->postProcess(result); in postProcess()
433 } else if (length(lhs.fSuffix) != length(rhs.fSuffix)) { in compareTo()
434 return length(lhs.fSuffix) > length(rhs.fSuffix) ? -1 : 1; in compareTo()
[all …]
Dnumber_modifiers.cpp75 int length = output.insert(rightIndex, fSuffix, fField, status); in apply()
85 return fPrefix.countChar32() + fSuffix.countChar32(); in getCodePointCount()
110 && fSuffix == _other->fSuffix in semanticallyEquivalent()
297 length += output.insert(rightIndex + length, fSuffix, status); in apply()
306 return fPrefix.codePointCount() + fSuffix.codePointCount(); in getCodePointCount()
314 return fPrefix.containsField(field) || fSuffix.containsField(field); in containsField()
330 && fSuffix.contentEquals(_other->fSuffix) in semanticallyEquivalent()
Dnumber_modifiers.h29 : fPrefix(prefix), fSuffix(suffix), fField(field), fStrong(strong) {} in ConstantAffixModifier()
48 UnicodeString fSuffix; variable
145 fSuffix(suffix), in ConstantMultiFieldModifier()
156 fSuffix(suffix), in ConstantMultiFieldModifier()
179 FormattedStringBuilder fSuffix; variable
Dnumparse_affixes.h188 AffixPatternMatcher* fSuffix; variable
/external/skqp/src/sksl/ast/
DSkSLASTSuffixExpression.h23 , fSuffix(std::move(suffix)) {} in ASTSuffixExpression()
26 return fBase->description() + fSuffix->description(); in description()
30 const std::unique_ptr<ASTSuffix> fSuffix; member
/external/skqp/gm/
Dimagesource2.cpp19 ImageSourceGM(const char* suffix, SkFilterQuality filter) : fSuffix(suffix), fFilter(filter) { in ImageSourceGM()
26 name.append(fSuffix); in onShortName()
78 SkString fSuffix; member in skiagm::ImageSourceGM
Dimagefiltersbase.cpp225 SkString fSuffix; member in ImageFiltersTextBaseGM
227 ImageFiltersTextBaseGM(const char suffix[]) : fSuffix(suffix) {} in ImageFiltersTextBaseGM()
232 name.printf("%s_%s", "textfilter", fSuffix.c_str()); in onShortName()
/external/skia/gm/
Dimagesource2.cpp31 : fSuffix(suffix), fSampling(sampling) { in ImageSourceGM()
38 name.append(fSuffix); in onShortName()
90 SkString fSuffix; member in skiagm::ImageSourceGM
Dimagefiltersbase.cpp289 SkString fSuffix; member in ImageFiltersTextBaseGM
291 ImageFiltersTextBaseGM(const char suffix[]) : fSuffix(suffix) {} in ImageFiltersTextBaseGM()
296 name.printf("%s_%s", "textfilter", fSuffix.c_str()); in onShortName()
/external/skqp/src/ports/
DSkOSFile_posix.cpp129 SkString fPath, fSuffix; member
164 self.fSuffix.set(suffix); in reset()
166 self.fSuffix.reset(); in reset()
199 if (!(s.st_mode & S_IFDIR) && issuffixfor(self.fSuffix, entry->d_name)) { in next()
/external/skia/src/ports/
DSkOSFile_posix.cpp129 SkString fPath, fSuffix; member
164 self.fSuffix.set(suffix); in reset()
166 self.fSuffix.reset(); in reset()
199 if (!(s.st_mode & S_IFDIR) && issuffixfor(self.fSuffix, entry->d_name)) { in next()
/external/icu/libicu/cts_headers/
Dnumber_modifiers.h29 : fPrefix(prefix), fSuffix(suffix), fField(field), fStrong(strong) {} in ConstantAffixModifier()
48 UnicodeString fSuffix; variable
145 fSuffix(suffix), in ConstantMultiFieldModifier()
156 fSuffix(suffix), in ConstantMultiFieldModifier()
179 FormattedStringBuilder fSuffix; variable
Dnumparse_affixes.h188 AffixPatternMatcher* fSuffix; variable
/external/skqp/tools/
Dskhello.cpp86 const char* fSuffix; in main() member
94 file.printf("%s%s", path.c_str(), gRec[i].fSuffix); in main()
/external/skia/tools/
Dskhello.cpp86 const char* fSuffix; in main() member
94 file.printf("%s%s", path.c_str(), gRec[i].fSuffix); in main()
/external/skqp/tools/bookmaker/
DparserCommon.cpp404 : fSuffix(suffix) in StatusIter()
486 if (str.length() - strlen(fSuffix) == str.find(fSuffix)) { in next()
DparserCommon.h287 const char* fSuffix;
/external/skqp/src/sksl/
DSkSLIRGenerator.cpp2110 switch (expression.fSuffix->fKind) { in convertSuffixExpression()
2112 const ASTExpression* expr = ((ASTIndexSuffix&) *expression.fSuffix).fExpression.get(); in convertSuffixExpression()
2128 auto rawArguments = &((ASTCallSuffix&) *expression.fSuffix).fArguments; in convertSuffixExpression()
2145 StringFragment field = ((ASTFieldSuffix&) *expression.fSuffix).fField; in convertSuffixExpression()