Home
last modified time | relevance | path

Searched refs:dfs (Results 1 – 25 of 120) sorted by relevance

12345

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_fs.c46 struct draw_fragment_shader *dfs; in draw_create_fragment_shader() local
48 dfs = CALLOC_STRUCT(draw_fragment_shader); in draw_create_fragment_shader()
49 if (dfs) { in draw_create_fragment_shader()
50 dfs->base = *shader; in draw_create_fragment_shader()
52 tgsi_scan_shader(shader->tokens, &dfs->info); in draw_create_fragment_shader()
54 nir_tgsi_scan_shader(shader->ir.nir, &dfs->info, true); in draw_create_fragment_shader()
57 return dfs; in draw_create_fragment_shader()
63 struct draw_fragment_shader *dfs) in draw_bind_fragment_shader() argument
67 draw->fs.fragment_shader = dfs; in draw_bind_fragment_shader()
73 struct draw_fragment_shader *dfs) in draw_delete_fragment_shader() argument
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dnumber_symbolswrapper.cpp45 void SymbolsWrapper::setTo(const DecimalFormatSymbols &dfs) { in setTo() argument
48 fPtr.dfs = new DecimalFormatSymbols(dfs); in setTo()
65 if (other.fPtr.dfs != nullptr) { in doCopyFrom()
66 fPtr.dfs = new DecimalFormatSymbols(*other.fPtr.dfs); in doCopyFrom()
68 fPtr.dfs = nullptr; in doCopyFrom()
89 fPtr.dfs = src.fPtr.dfs; in doMoveFrom()
90 src.fPtr.dfs = nullptr; in doMoveFrom()
105 delete fPtr.dfs; in doCleanup()
123 return fPtr.dfs; in getDecimalFormatSymbols()
Dnumparse_symbols.cpp97 InfinityMatcher::InfinityMatcher(const DecimalFormatSymbols& dfs) in InfinityMatcher() argument
98 …: SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kInfinitySymbol), unisets::INFINITY_SIGN)… in InfinityMatcher()
111 MinusSignMatcher::MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing) in MinusSignMatcher() argument
112 … : SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kMinusSignSymbol), unisets::MINUS_SIGN), in MinusSignMatcher()
126 NanMatcher::NanMatcher(const DecimalFormatSymbols& dfs) in NanMatcher() argument
127 : SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kNaNSymbol), unisets::EMPTY) { in NanMatcher()
156 PercentMatcher::PercentMatcher(const DecimalFormatSymbols& dfs) in PercentMatcher() argument
157 … : SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kPercentSymbol), unisets::PERCENT_SIGN) { in PercentMatcher()
170 PermilleMatcher::PermilleMatcher(const DecimalFormatSymbols& dfs) in PermilleMatcher() argument
171 …: SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kPerMillSymbol), unisets::PERMILLE_SIGN) { in PermilleMatcher()
[all …]
Dnumparse_symbols.h70 InfinityMatcher(const DecimalFormatSymbols& dfs);
84 MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
100 NanMatcher(const DecimalFormatSymbols& dfs);
129 PercentMatcher(const DecimalFormatSymbols& dfs);
142 PermilleMatcher(const DecimalFormatSymbols& dfs);
156 PlusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
/third_party/icu/icu4c/source/i18n/
Dnumber_symbolswrapper.cpp45 void SymbolsWrapper::setTo(const DecimalFormatSymbols &dfs) { in setTo() argument
48 fPtr.dfs = new DecimalFormatSymbols(dfs); in setTo()
65 if (other.fPtr.dfs != nullptr) { in doCopyFrom()
66 fPtr.dfs = new DecimalFormatSymbols(*other.fPtr.dfs); in doCopyFrom()
68 fPtr.dfs = nullptr; in doCopyFrom()
89 fPtr.dfs = src.fPtr.dfs; in doMoveFrom()
90 src.fPtr.dfs = nullptr; in doMoveFrom()
105 delete fPtr.dfs; in doCleanup()
123 return fPtr.dfs; in getDecimalFormatSymbols()
Dnumparse_symbols.cpp97 InfinityMatcher::InfinityMatcher(const DecimalFormatSymbols& dfs) in InfinityMatcher() argument
98 …: SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kInfinitySymbol), unisets::INFINITY_SIGN)… in InfinityMatcher()
111 MinusSignMatcher::MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing) in MinusSignMatcher() argument
112 … : SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kMinusSignSymbol), unisets::MINUS_SIGN), in MinusSignMatcher()
126 NanMatcher::NanMatcher(const DecimalFormatSymbols& dfs) in NanMatcher() argument
127 : SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kNaNSymbol), unisets::EMPTY) { in NanMatcher()
156 PercentMatcher::PercentMatcher(const DecimalFormatSymbols& dfs) in PercentMatcher() argument
157 … : SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kPercentSymbol), unisets::PERCENT_SIGN) { in PercentMatcher()
170 PermilleMatcher::PermilleMatcher(const DecimalFormatSymbols& dfs) in PermilleMatcher() argument
171 …: SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kPerMillSymbol), unisets::PERMILLE_SIGN) { in PermilleMatcher()
[all …]
Dnumparse_symbols.h70 InfinityMatcher(const DecimalFormatSymbols& dfs);
84 MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
100 NanMatcher(const DecimalFormatSymbols& dfs);
129 PercentMatcher(const DecimalFormatSymbols& dfs);
142 PermilleMatcher(const DecimalFormatSymbols& dfs);
156 PlusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
Dnumparse_scientific.cpp35 ScientificMatcher::ScientificMatcher(const DecimalFormatSymbols& dfs, const Grouper& grouper) in ScientificMatcher() argument
36 : fExponentSeparatorString(dfs.getConstSymbol(DecimalFormatSymbols::kExponentialSymbol)), in ScientificMatcher()
37 fExponentMatcher(dfs, grouper, PARSE_FLAG_INTEGER_ONLY | PARSE_FLAG_GROUPING_DISABLED), in ScientificMatcher()
40 const UnicodeString& minusSign = dfs.getConstSymbol(DecimalFormatSymbols::kMinusSignSymbol); in ScientificMatcher()
47 const UnicodeString& plusSign = dfs.getConstSymbol(DecimalFormatSymbols::kPlusSignSymbol); in ScientificMatcher()
/third_party/node/deps/icu-small/source/i18n/
Dnumber_symbolswrapper.cpp45 void SymbolsWrapper::setTo(const DecimalFormatSymbols &dfs) { in setTo() argument
48 fPtr.dfs = new DecimalFormatSymbols(dfs); in setTo()
65 if (other.fPtr.dfs != nullptr) { in doCopyFrom()
66 fPtr.dfs = new DecimalFormatSymbols(*other.fPtr.dfs); in doCopyFrom()
68 fPtr.dfs = nullptr; in doCopyFrom()
89 fPtr.dfs = src.fPtr.dfs; in doMoveFrom()
90 src.fPtr.dfs = nullptr; in doMoveFrom()
105 delete fPtr.dfs; in doCleanup()
123 return fPtr.dfs; in getDecimalFormatSymbols()
Dnumparse_symbols.cpp97 InfinityMatcher::InfinityMatcher(const DecimalFormatSymbols& dfs) in InfinityMatcher() argument
98 …: SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kInfinitySymbol), unisets::INFINITY_SIGN)… in InfinityMatcher()
111 MinusSignMatcher::MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing) in MinusSignMatcher() argument
112 … : SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kMinusSignSymbol), unisets::MINUS_SIGN), in MinusSignMatcher()
126 NanMatcher::NanMatcher(const DecimalFormatSymbols& dfs) in NanMatcher() argument
127 : SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kNaNSymbol), unisets::EMPTY) { in NanMatcher()
156 PercentMatcher::PercentMatcher(const DecimalFormatSymbols& dfs) in PercentMatcher() argument
157 … : SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kPercentSymbol), unisets::PERCENT_SIGN) { in PercentMatcher()
170 PermilleMatcher::PermilleMatcher(const DecimalFormatSymbols& dfs) in PermilleMatcher() argument
171 …: SymbolMatcher(dfs.getConstSymbol(DecimalFormatSymbols::kPerMillSymbol), unisets::PERMILLE_SIGN) { in PermilleMatcher()
[all …]
Dnumparse_symbols.h70 InfinityMatcher(const DecimalFormatSymbols& dfs);
84 MinusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
100 NanMatcher(const DecimalFormatSymbols& dfs);
129 PercentMatcher(const DecimalFormatSymbols& dfs);
142 PermilleMatcher(const DecimalFormatSymbols& dfs);
156 PlusSignMatcher(const DecimalFormatSymbols& dfs, bool allowTrailing);
/third_party/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DDateFormatSymbolsTest.java34 DateFormatSymbols dfs = DateFormatSymbols.getInstance(loc); in TestGetInstance() local
35 boolean isIcuImpl = (dfs instanceof com.ibm.icu.impl.jdkadapter.DateFormatSymbolsICU); in TestGetInstance()
45 if (!dfs.equals(dfsIcu)) { in TestGetInstance()
87 DateFormatSymbols dfs = DateFormatSymbols.getInstance(new Locale("ja", "JP", "ICU")); in TestSetSymbols() local
94 dfs.setAmPmStrings(dfsEnUS.getAmPmStrings()); in TestSetSymbols()
95 dfs.setEras(dfsEnUS.getEras()); in TestSetSymbols()
96 dfs.setMonths(dfsEnUS.getMonths()); in TestSetSymbols()
97 dfs.setShortMonths(dfsEnUS.getShortMonths()); in TestSetSymbols()
98 dfs.setShortWeekdays(dfsEnUS.getShortWeekdays()); in TestSetSymbols()
99 dfs.setWeekdays(dfsEnUS.getWeekdays()); in TestSetSymbols()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/
DFormatHandler.java721 DateFormatSymbols dfs =new DateFormatSymbols(GregorianCalendar.class, uloc); in getCannedDateFormatSymbols() local
724 dfs.setMonths((String[]) cannedMonthNames.get(key)); in getCannedDateFormatSymbols()
725 dfs.setShortMonths((String[]) cannedShortMonthNames.get(key)); in getCannedDateFormatSymbols()
727 return dfs; in getCannedDateFormatSymbols()
732 DateFormatSymbols dfs = getCannedDateFormatSymbols(uloc); in getCannedSimpleDateFormat() local
736 SimpleDateFormat cannedSDF = new SimpleDateFormat(pattern, dfs, uloc); in getCannedSimpleDateFormat()
952 private static char[] getCharSymbols(DecimalFormatSymbols dfs) in getCharSymbols() argument
955 dfs.getDecimalSeparator(), in getCharSymbols()
956 dfs.getDigit(), in getCharSymbols()
957 dfs.getGroupingSeparator(), in getCharSymbols()
[all …]
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DCalendarICU.java123 DateFormatSymbols dfs = DateFormatSymbols.getInstance(locale); in getDisplayName() local
124 String[] array = getFieldStrings(field, style, dfs); in getDisplayName()
139 DateFormatSymbols dfs = DateFormatSymbols.getInstance(locale); in getDisplayNames() local
141 return getFieldStringsMap(field, style, dfs); in getDisplayNames()
144 Map<String,Integer> result = getFieldStringsMap(field, SHORT, dfs); in getDisplayNames()
149 Map<String,Integer> longMap = getFieldStringsMap(field, LONG, dfs); in getDisplayNames()
303 private static String[] getFieldStrings(int field, int style, DateFormatSymbols dfs) { in getFieldStrings() argument
307 result = dfs.getAmPmStrings(); in getFieldStrings()
310 result = (style == LONG) ? dfs.getWeekdays() : dfs.getShortWeekdays(); in getFieldStrings()
314 result = dfs.getEras(); in getFieldStrings()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatHandler.java719 DateFormatSymbols dfs =new DateFormatSymbols(GregorianCalendar.class, uloc); in getCannedDateFormatSymbols() local
722 dfs.setMonths((String[]) cannedMonthNames.get(key)); in getCannedDateFormatSymbols()
723 dfs.setShortMonths((String[]) cannedShortMonthNames.get(key)); in getCannedDateFormatSymbols()
725 return dfs; in getCannedDateFormatSymbols()
730 DateFormatSymbols dfs = getCannedDateFormatSymbols(uloc); in getCannedSimpleDateFormat() local
734 SimpleDateFormat cannedSDF = new SimpleDateFormat(pattern, dfs, uloc); in getCannedSimpleDateFormat()
950 private static char[] getCharSymbols(DecimalFormatSymbols dfs) in getCharSymbols() argument
953 dfs.getDecimalSeparator(), in getCharSymbols()
954 dfs.getDigit(), in getCharSymbols()
955 dfs.getGroupingSeparator(), in getCharSymbols()
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormatSymbols.java1566 DateFormatSymbols dfs = DFSCACHE.getInstance(key, desiredLocale); in initializeData() local
1567 initializeData(dfs); in initializeData()
1575 void initializeData(DateFormatSymbols dfs) { in initializeData() argument
1576 this.eras = dfs.eras; in initializeData()
1577 this.eraNames = dfs.eraNames; in initializeData()
1578 this.narrowEras = dfs.narrowEras; in initializeData()
1579 this.months = dfs.months; in initializeData()
1580 this.shortMonths = dfs.shortMonths; in initializeData()
1581 this.narrowMonths = dfs.narrowMonths; in initializeData()
1582 this.standaloneMonths = dfs.standaloneMonths; in initializeData()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DDateFormatSymbols.java1510 DateFormatSymbols dfs = DFSCACHE.getInstance(key, desiredLocale); in initializeData() local
1511 initializeData(dfs); in initializeData()
1519 void initializeData(DateFormatSymbols dfs) { in initializeData() argument
1520 this.eras = dfs.eras; in initializeData()
1521 this.eraNames = dfs.eraNames; in initializeData()
1522 this.narrowEras = dfs.narrowEras; in initializeData()
1523 this.months = dfs.months; in initializeData()
1524 this.shortMonths = dfs.shortMonths; in initializeData()
1525 this.narrowMonths = dfs.narrowMonths; in initializeData()
1526 this.standaloneMonths = dfs.standaloneMonths; in initializeData()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dstatic_unisets_test.cpp76 DecimalFormatSymbols dfs(locale, status); in testSetCoverage() local
83 ASSERT_IN_SET(decimals, dfs.getConstSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol)); in testSetCoverage()
84 ASSERT_IN_SET(grouping, dfs.getConstSymbol(DecimalFormatSymbols::kGroupingSeparatorSymbol)); in testSetCoverage()
85 ASSERT_IN_SET(plusSign, dfs.getConstSymbol(DecimalFormatSymbols::kPlusSignSymbol)); in testSetCoverage()
86 ASSERT_IN_SET(minusSign, dfs.getConstSymbol(DecimalFormatSymbols::kMinusSignSymbol)); in testSetCoverage()
87 ASSERT_IN_SET(percent, dfs.getConstSymbol(DecimalFormatSymbols::kPercentSymbol)); in testSetCoverage()
88 ASSERT_IN_SET(permille, dfs.getConstSymbol(DecimalFormatSymbols::kPerMillSymbol)); in testSetCoverage()
89 ASSERT_IN_SET(infinity, dfs.getConstSymbol(DecimalFormatSymbols::kInfinitySymbol)); in testSetCoverage()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DCombinedCurrencyMatcher.java42 …public static CombinedCurrencyMatcher getInstance(Currency currency, DecimalFormatSymbols dfs, int… in getInstance() argument
44 return new CombinedCurrencyMatcher(currency, dfs, parseFlags); in getInstance()
47 private CombinedCurrencyMatcher(Currency currency, DecimalFormatSymbols dfs, int parseFlags) { in CombinedCurrencyMatcher() argument
49 this.currency1 = currency.getSymbol(dfs.getULocale()); in CombinedCurrencyMatcher()
52 … afterPrefixInsert = dfs.getPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, in CombinedCurrencyMatcher()
54 … beforeSuffixInsert = dfs.getPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, in CombinedCurrencyMatcher()
60 longNameTrie = Currency.getParsingTrie(dfs.getULocale(), Currency.LONG_NAME); in CombinedCurrencyMatcher()
61 symbolTrie = Currency.getParsingTrie(dfs.getULocale(), Currency.SYMBOL_NAME); in CombinedCurrencyMatcher()
71 .getName(dfs.getLocale(), Currency.PLURAL_LONG_NAME, pluralKeyword, null); in CombinedCurrencyMatcher()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/
DCombinedCurrencyMatcher.java44 …public static CombinedCurrencyMatcher getInstance(Currency currency, DecimalFormatSymbols dfs, int… in getInstance() argument
46 return new CombinedCurrencyMatcher(currency, dfs, parseFlags); in getInstance()
49 private CombinedCurrencyMatcher(Currency currency, DecimalFormatSymbols dfs, int parseFlags) { in CombinedCurrencyMatcher() argument
51 this.currency1 = currency.getSymbol(dfs.getULocale()); in CombinedCurrencyMatcher()
54 … afterPrefixInsert = dfs.getPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, in CombinedCurrencyMatcher()
56 … beforeSuffixInsert = dfs.getPatternForCurrencySpacing(DecimalFormatSymbols.CURRENCY_SPC_INSERT, in CombinedCurrencyMatcher()
62 longNameTrie = Currency.getParsingTrie(dfs.getULocale(), Currency.LONG_NAME); in CombinedCurrencyMatcher()
63 symbolTrie = Currency.getParsingTrie(dfs.getULocale(), Currency.SYMBOL_NAME); in CombinedCurrencyMatcher()
73 .getName(dfs.getLocale(), Currency.PLURAL_LONG_NAME, pluralKeyword, null); in CombinedCurrencyMatcher()
/third_party/python/Tools/peg_generator/pegen/
Dsccutils.py28 def dfs(v: str) -> Iterator[Set[str]]: function
35 yield from dfs(w)
49 yield from dfs(v)
120 def dfs(node: str, path: List[str]) -> Iterator[List[str]]: function
126 yield from dfs(child, path)
128 yield from dfs(start, [])
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
DExhaustiveNumberTest.java62 DecimalFormatSymbols dfs = DecimalFormatSymbols.getInstance(locale); in testSetCoverage() local
64 assertInSet(locale, decimals, dfs.getDecimalSeparatorString()); in testSetCoverage()
65 assertInSet(locale, grouping, dfs.getGroupingSeparatorString()); in testSetCoverage()
66 assertInSet(locale, plusSign, dfs.getPlusSignString()); in testSetCoverage()
67 assertInSet(locale, minusSign, dfs.getMinusSignString()); in testSetCoverage()
68 assertInSet(locale, percent, dfs.getPercentString()); in testSetCoverage()
69 assertInSet(locale, permille, dfs.getPerMillString()); in testSetCoverage()
70 assertInSet(locale, infinity, dfs.getInfinity()); in testSetCoverage()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DExhaustiveNumberTest.java59 DecimalFormatSymbols dfs = DecimalFormatSymbols.getInstance(locale); in testSetCoverage() local
62 assertInSet(locale, decimals, dfs.getDecimalSeparatorString()); in testSetCoverage()
64 assertInSet(locale, grouping, dfs.getGroupingSeparatorString()); in testSetCoverage()
65 assertInSet(locale, plusSign, dfs.getPlusSignString()); in testSetCoverage()
66 assertInSet(locale, minusSign, dfs.getMinusSignString()); in testSetCoverage()
67 assertInSet(locale, percent, dfs.getPercentString()); in testSetCoverage()
68 assertInSet(locale, permille, dfs.getPerMillString()); in testSetCoverage()
69 assertInSet(locale, infinity, dfs.getInfinity()); in testSetCoverage()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDecimalFormatSymbols.java274 DecimalFormatSymbols dfs = new DecimalFormatSymbols(); in testPropagateZeroDigit() local
275 dfs.setZeroDigit('\u1040'); in testPropagateZeroDigit()
277 df.setDecimalFormatSymbols(dfs); in testPropagateZeroDigit()
279 '\u1041', dfs.getDigits()[1]); in testPropagateZeroDigit()
282 dfs.setZeroDigit('a'); in testPropagateZeroDigit()
283 df.setDecimalFormatSymbols(dfs); in testPropagateZeroDigit()
285 'b', dfs.getDigits()[1]); in testPropagateZeroDigit()
390 DecimalFormatSymbols dfs = DecimalFormatSymbols.forNumberingSystem(loc, ns); in testNumberingSystem() local
391 DecimalFormat df = new DecimalFormat("#,##0.##", dfs); in testNumberingSystem()
397 String actual2 = dfs.getPercentString(); in testNumberingSystem()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatSymbols.java271 DecimalFormatSymbols dfs = new DecimalFormatSymbols(); in testPropagateZeroDigit() local
272 dfs.setZeroDigit('\u1040'); in testPropagateZeroDigit()
274 df.setDecimalFormatSymbols(dfs); in testPropagateZeroDigit()
276 '\u1041', dfs.getDigits()[1]); in testPropagateZeroDigit()
279 dfs.setZeroDigit('a'); in testPropagateZeroDigit()
280 df.setDecimalFormatSymbols(dfs); in testPropagateZeroDigit()
282 'b', dfs.getDigits()[1]); in testPropagateZeroDigit()
387 DecimalFormatSymbols dfs = DecimalFormatSymbols.forNumberingSystem(loc, ns); in testNumberingSystem() local
388 DecimalFormat df = new DecimalFormat("#,##0.##", dfs); in testNumberingSystem()
394 String actual2 = dfs.getPercentString(); in testNumberingSystem()
[all …]

12345