Home
last modified time | relevance | path

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

/external/junit/src/main/java/junit/framework/
DComparisonCompactor.java13 private int fSuffix; field in ComparisonCompactor
34 …String result = DELTA_START + source.substring(fPrefix, source.length() - fSuffix + 1) + DELTA_END; in compactString()
38 if (fSuffix > 0) { in compactString()
62 fSuffix = fExpected.length() - expectedSuffix; in findCommonSuffix()
70 int end = Math.min(fExpected.length() - fSuffix + 1 + fContextLength, fExpected.length()); in computeCommonSuffix()
71 …return fExpected.substring(fExpected.length() - fSuffix + 1, end) + (fExpected.length() - fSuffix in computeCommonSuffix()
/external/icu/icu4c/source/i18n/
Dnumparse_affixes.cpp384 : fPrefix(prefix), fSuffix(suffix), fFlags(flags) {} in AffixMatcher()
410 if (!result.suffix.isBogus() || fSuffix == nullptr || !matched(fPrefix, result.prefix)) { in match()
416 bool maybeMore = fSuffix->match(segment, result, status); in match()
418 result.suffix = fSuffix->getPattern(); in match()
426 (fSuffix != nullptr && fSuffix->smokeTest(segment)); in smokeTest()
431 if (matched(fPrefix, result.prefix) && matched(fSuffix, result.suffix)) { in postProcess()
444 if (fSuffix != nullptr) { in postProcess()
445 fSuffix->postProcess(result); in postProcess()
454 } else if (length(lhs.fSuffix) != length(rhs.fSuffix)) { in compareTo()
455 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()
111 && fSuffix == _other->fSuffix in semanticallyEquivalent()
299 length += output.insert(rightIndex + length, fSuffix, status); in apply()
308 return fPrefix.codePointCount() + fSuffix.codePointCount(); in getCodePointCount()
316 return fPrefix.containsField(field) || fSuffix.containsField(field); in containsField()
332 && 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 NumberStringBuilder fSuffix; variable
Dnumparse_affixes.h217 AffixPatternMatcher* fSuffix; variable
/external/skia/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/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.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/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/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/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/skia/tools/bookmaker/
DparserCommon.cpp403 : fSuffix(suffix) in StatusIter()
487 if (str.length() - strlen(fSuffix) == str.find(fSuffix)) { in next()
DparserCommon.h329 const char* fSuffix;
/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/skia/src/sksl/
DSkSLIRGenerator.cpp2174 switch (expression.fSuffix->fKind) { in convertSuffixExpression()
2176 const ASTExpression* expr = ((ASTIndexSuffix&) *expression.fSuffix).fExpression.get(); in convertSuffixExpression()
2192 auto rawArguments = &((ASTCallSuffix&) *expression.fSuffix).fArguments; in convertSuffixExpression()
2209 StringFragment field = ((ASTFieldSuffix&) *expression.fSuffix).fField; in convertSuffixExpression()
/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()