Home
last modified time | relevance | path

Searched refs:varMap (Results 1 – 4 of 4) sorted by relevance

/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/
DVarString.java46 private final ImmutableMap<Character, String> varMap; field in VarString
51 ImmutableMap<Character, String> varMap) { in VarString() argument
54 this.varMap = checkNotNull(varMap); in VarString()
60 newVarMap.putAll(this.varMap); in apply()
62 if (!varMap.containsKey(c)) { in apply()
75 return varMap.keySet().equals(requiredChars) in resolve()
77 RegexTransformer.substitute(varString, '%', c -> varMap.getOrDefault(c, "%" + c))) in resolve()
83 checkState(varMap.keySet().equals(requiredChars), "unresolved variable string: %s", this); in get()
84 return RegexTransformer.substitute(varString, '%', c -> varMap.getOrDefault(c, "%" + c)); in get()
88 return varString + ": " + varMap; in toString()
DRuleParser.java55 ImmutableMap<Character, String> varMap = configLines.stream() in parseConfig() local
60 return new RuleParser(varMap, functions).parseLines(configLines); in parseConfig()
67 private RuleParser(ImmutableMap<Character, String> varMap, List<NamedFunction> functions) { in RuleParser() argument
68 this.staticVarMap = ImmutableMap.copyOf(filterValues(varMap, s -> !s.startsWith("//"))); in RuleParser()
71 filterValues(varMap, s -> s.startsWith("//")), in RuleParser()
/third_party/skia/src/sksl/
DSkSLInliner.h65 VariableRewriteMap* varMap,
69 VariableRewriteMap* varMap,
81 const VariableRewriteMap* varMap);
DSkSLInliner.cpp221 const VariableRewriteMap* varMap) { in RemapVariable() argument
222 auto iter = varMap->find(variable); in RemapVariable()
223 if (iter == varMap->end()) { in RemapVariable()
301 VariableRewriteMap* varMap, in inlineExpression() argument
306 return this->inlineExpression(line, varMap, symbolTableForExpression, *e); in inlineExpression()
441 auto varMapIter = varMap->find(v.variable()); in inlineExpression()
442 if (varMapIter != varMap->end()) { in inlineExpression()
454 VariableRewriteMap* varMap, in inlineStatement() argument
462 return this->inlineStatement(line, varMap, symbolTableForStatement, resultExpr, in inlineStatement()
477 return this->inlineExpression(line, varMap, symbolTableForStatement, *e); in inlineStatement()
[all …]