Home
last modified time | relevance | path

Searched refs:replacement (Results 1 – 25 of 921) sorted by relevance

12345678910>>...37

/external/icu/icu4c/source/data/misc/
Dmetadata.txt9 replacement{"ssy"}
13 replacement{"aas"}
17 replacement{"aa"}
21 replacement{"ab"}
25 replacement{"dz"}
29 replacement{"af"}
33 replacement{"apf"}
37 replacement{"ami"}
41 replacement{"jrb"}
45 replacement{"ak"}
[all …]
/external/rust/crates/regex/src/
Dexpand.rs10 mut replacement: &str, in expand_str()
13 while !replacement.is_empty() { in expand_str()
14 match find_byte(b'$', replacement.as_bytes()) { in expand_str()
17 dst.push_str(&replacement[..i]); in expand_str()
18 replacement = &replacement[i..]; in expand_str()
21 if replacement.as_bytes().get(1).map_or(false, |&b| b == b'$') { in expand_str()
23 replacement = &replacement[2..]; in expand_str()
26 debug_assert!(!replacement.is_empty()); in expand_str()
27 let cap_ref = match find_cap_ref(replacement.as_bytes()) { in expand_str()
31 replacement = &replacement[1..]; in expand_str()
[all …]
/external/llvm-project/clang-tools-extra/test/clang-apply-replacements/Inputs/conflict/
Dexpected.txt1 The new replacement overlaps with an existing replacement.
2 New replacement: $(path)/common.h: 106:+26:"int & elem : ints"
3 Existing replacement: $(path)/common.h: 106:+26:"auto & i : ints"
4 The new replacement overlaps with an existing replacement.
5 New replacement: $(path)/common.h: 140:+7:"i"
6 Existing replacement: $(path)/common.h: 140:+7:"elem"
7 The new replacement overlaps with an existing replacement.
8 New replacement: $(path)/common.h: 169:+0:"(int*)"
9 Existing replacement: $(path)/common.h: 160:+12:""
10 The new replacement overlaps with an existing replacement.
[all …]
/external/harfbuzz_ng/src/
Dhb-utf.hh43 hb_codepoint_t replacement) in next()
104 *unicode = replacement; in next()
112 hb_codepoint_t replacement) in prev()
118 if (likely (next (text, end, unicode, replacement) == end)) in prev()
121 *unicode = replacement; in prev()
190 hb_codepoint_t replacement) in next()
214 *unicode = replacement; in next()
222 hb_codepoint_t replacement) in prev()
246 *unicode = replacement; in prev()
298 hb_codepoint_t replacement) in next()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/api/
DFilteredDataTest.java22 CldrValue replacement = in TestSimple() local
31 return replacement; in TestSimple()
40 assertEquals("filtered values", filteredValues, Arrays.asList(keep, replacement)); in TestSimple()
44 assertEquals("filtered is replaced", filtered.get(replace.getPath()), replacement); in TestSimple()
50 CldrValue replacement = in TestBadReplacementPath() local
56 return replacement; in TestBadReplacementPath()
65 assertErrorMessageContains(e, replacement.toString()); in TestBadReplacementPath()
72 CldrValue replacement = in TestBadReplacementAttributes() local
78 return replacement; in TestBadReplacementAttributes()
87 assertErrorMessageContains(e, replacement.toString()); in TestBadReplacementAttributes()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DReplacingClassLoader.java28 private final String replacement; field in ReplacingClassLoader
33 public ReplacingClassLoader(ClassLoader parent, String resource, String replacement) { in ReplacingClassLoader() argument
36 this.replacement = replacement; in ReplacingClassLoader()
42 return getParent().getResource(replacement); in getResource()
50 return getParent().getResources(replacement); in getResources()
/external/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/
DFilteredDataTest.java33 CldrValue replacement = in testSimple() local
42 return replacement; in testSimple()
51 assertThat(filteredValues).containsExactly(keep, replacement).inOrder(); in testSimple()
55 assertThat(filtered.get(replace.getPath())).isEqualTo(replacement); in testSimple()
62 CldrValue replacement = in testBadReplacementPath() local
68 return replacement; in testBadReplacementPath()
75 assertThat(e).hasMessageThat().contains(replacement.toString()); in testBadReplacementPath()
82 CldrValue replacement = in testBadReplacementAttributes() local
88 return replacement; in testBadReplacementAttributes()
95 assertThat(e).hasMessageThat().contains(replacement.toString()); in testBadReplacementAttributes()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DSnippetFormatter.java114 String replacement = formatter.formatSource(wrapper.contents.toString(), ranges); in format() local
115 replacement = in format()
116 replacement.substring( in format()
118 replacement.length() - (wrapper.contents.length() - wrapper.offset - source.length())); in format()
120 return toReplacements(source, replacement).stream() in format()
129 private static List<Replacement> toReplacements(String source, String replacement) { in toReplacements() argument
130 if (!NOT_WHITESPACE.retainFrom(source).equals(NOT_WHITESPACE.retainFrom(replacement))) { in toReplacements()
132 "source = \"" + source + "\", replacement = \"" + replacement + "\""); in toReplacements()
141 int j = NOT_WHITESPACE.indexIn(replacement); in toReplacements()
143 replacements.add(Replacement.create(0, i, replacement.substring(0, j))); in toReplacements()
[all …]
DModifierOrderer.java128 StringBuilder replacement = new StringBuilder(); in reorderModifiers() local
131 addTrivia(replacement, modifierTokens.get(i).getToksBefore()); in reorderModifiers()
133 replacement.append(mods.get(i).toString()); in reorderModifiers()
135 addTrivia(replacement, modifierTokens.get(i).getToksAfter()); in reorderModifiers()
138 replacements.put(Range.closedOpen(begin, end), replacement.toString()); in reorderModifiers()
144 private static void addTrivia(StringBuilder replacement, ImmutableList<? extends Tok> toks) { in addTrivia() argument
146 replacement.append(tok.getText()); in addTrivia()
/external/antlr/runtime/Python/unittests/
Dtestbase.py14 def replacement(*args, **kwargs): function
21 replacement.__doc__ = test_method.__doc__
22 replacement.__name__ = 'XXX_' + test_method.__name__
23 replacement.todo = reason
24 return replacement
/external/antlr/runtime/Python3/unittests/
Dtestbase.py14 def replacement(*args, **kwargs): function
21 replacement.__doc__ = test_method.__doc__
22 replacement.__name__ = 'XXX_' + test_method.__name__
23 replacement.todo = reason
24 return replacement
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DRenamePackage.java33 private final String replacement; field in RenamePackage
35 public RenamePackage(String toMatch, String replacement) { in RenamePackage() argument
37 this.replacement = replacement; in RenamePackage()
50 String newFqn = replacement + fqn.substring(toMatch.length()); in process()
60 ", replacement='" + replacement + '\'' + in toString()
/external/angle/src/compiler/translator/tree_util/
DIntermTraverse.cpp538 const NodeUpdateEntry &replacement = mReplacements[ii]; in updateTree() local
539 ASSERT(replacement.parent); in updateTree()
541 replacement.parent->replaceChildNode(replacement.original, replacement.replacement); in updateTree()
544 if (!replacement.originalBecomesChildOfReplacement) in updateTree()
553 if (replacement2.parent == replacement.original) in updateTree()
554 replacement2.parent = replacement.replacement; in updateTree()
560 const NodeReplaceWithMultipleEntry &replacement = mMultiReplacements[ii]; in updateTree() local
561 ASSERT(replacement.parent); in updateTree()
562 bool replaced = replacement.parent->replaceChildNodeWithMultiple(replacement.original, in updateTree()
563 replacement.replacements); in updateTree()
[all …]
DReplaceVariable.cpp24 ReplaceVariableTraverser(const TVariable *toBeReplaced, const TIntermTyped *replacement) in ReplaceVariableTraverser() argument
27 mReplacement(replacement) in ReplaceVariableTraverser()
110 const TVariable *replacement) in ReplaceVariable() argument
112 ReplaceVariableTraverser traverser(toBeReplaced, new TIntermSymbol(replacement)); in ReplaceVariable()
138 const TIntermTyped *replacement) in ReplaceVariableWithTyped() argument
140 ReplaceVariableTraverser traverser(toBeReplaced, replacement); in ReplaceVariableWithTyped()
/external/angle/src/compiler/translator/tree_ops/gl/mac/
DUnfoldShortCircuitAST.cpp45 TIntermTernary *replacement = nullptr; in visitBinary() local
50 replacement = UnfoldOR(node->getLeft(), node->getRight()); in visitBinary()
53 replacement = UnfoldAND(node->getLeft(), node->getRight()); in visitBinary()
58 if (replacement) in visitBinary()
60 queueReplacement(replacement, OriginalNode::IS_DROPPED); in visitBinary()
/external/guava/guava/src/com/google/common/base/
DCharMatcher.java677 public String replaceFrom(CharSequence sequence, char replacement) {
684 chars[pos] = replacement;
687 chars[i] = replacement;
711 public String replaceFrom(CharSequence sequence, CharSequence replacement) {
712 int replacementLen = replacement.length();
717 return replaceFrom(sequence, replacement.charAt(0));
732 buf.append(replacement);
837 public String collapseFrom(CharSequence sequence, char replacement) {
843 if (c == replacement && (i == len - 1 || !matches(sequence.charAt(i + 1)))) {
847 StringBuilder builder = new StringBuilder(len).append(sequence, 0, i).append(replacement);
[all …]
/external/guava/android/guava/src/com/google/common/base/
DCharMatcher.java676 public String replaceFrom(CharSequence sequence, char replacement) {
683 chars[pos] = replacement;
686 chars[i] = replacement;
710 public String replaceFrom(CharSequence sequence, CharSequence replacement) {
711 int replacementLen = replacement.length();
716 return replaceFrom(sequence, replacement.charAt(0));
731 buf.append(replacement);
836 public String collapseFrom(CharSequence sequence, char replacement) {
842 if (c == replacement && (i == len - 1 || !matches(sequence.charAt(i + 1)))) {
846 StringBuilder builder = new StringBuilder(len).append(sequence, 0, i).append(replacement);
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DArrayChannel.kt190 var replacement: Any? = POLL_FAILED in pollInternal() variable
198 replacement = send!!.pollResult in pollInternal()
205 if (replacement !== POLL_FAILED && replacement !is Closed<*>) { in pollInternal()
207 buffer[(head + size) % buffer.size] = replacement in pollInternal()
230 var replacement: Any? = POLL_FAILED in pollSelectInternal() variable
239 replacement = send!!.pollResult in pollSelectInternal()
252 replacement = failure in pollSelectInternal()
259 if (replacement !== POLL_FAILED && replacement !is Closed<*>) { in pollSelectInternal()
261 buffer[(head + size) % buffer.size] = replacement in pollSelectInternal()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSetSpanner.java208 public String replaceFrom(CharSequence sequence, CharSequence replacement) { in replaceFrom() argument
209 return replaceFrom(sequence, replacement, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE); in replaceFrom()
224 …public String replaceFrom(CharSequence sequence, CharSequence replacement, CountMethod countMethod… in replaceFrom() argument
225 return replaceFrom(sequence, replacement, countMethod, SpanCondition.SIMPLE); in replaceFrom()
242 …public String replaceFrom(CharSequence sequence, CharSequence replacement, CountMethod countMethod, in replaceFrom() argument
246 final boolean remove = replacement.length() == 0; in replaceFrom()
266 result.append(replacement); in replaceFrom()
269 result.append(replacement); in replaceFrom()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSetSpanner.java235 public String replaceFrom(CharSequence sequence, CharSequence replacement) { in replaceFrom() argument
236 return replaceFrom(sequence, replacement, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE); in replaceFrom()
253 …public String replaceFrom(CharSequence sequence, CharSequence replacement, CountMethod countMethod… in replaceFrom() argument
254 return replaceFrom(sequence, replacement, countMethod, SpanCondition.SIMPLE); in replaceFrom()
273 …public String replaceFrom(CharSequence sequence, CharSequence replacement, CountMethod countMethod, in replaceFrom() argument
277 final boolean remove = replacement.length() == 0; in replaceFrom()
297 result.append(replacement); in replaceFrom()
300 result.append(replacement); in replaceFrom()
/external/icu/icu4c/source/common/
Dlocresdata.cpp94 const char* replacement = NULL; in uloc_getTableStringWithFallback() local
99 replacement = uloc_getCurrentCountryID(itemKey); in uloc_getTableStringWithFallback()
101 replacement = uloc_getCurrentLanguageID(itemKey); in uloc_getTableStringWithFallback()
104 if(replacement!=NULL && itemKey != replacement){ in uloc_getTableStringWithFallback()
105 … item = ures_getStringByKeyWithFallback(table.getAlias(), replacement, pLength, &errorCode); in uloc_getTableStringWithFallback()
/external/llvm-project/clang/test/SemaObjC/
Dattr-deprecated-replacement-fixit.m15 #define DEPRECATED(replacement) __attribute__((deprecated("message", replacement)))
19 - (void)multi:(int)param1 parameter:(int)param2 replacement:(int)param3 DEPRECATED("multi_new:param…
55 [object multi:0 parameter:1 replacement:2]; // expected-warning {{is deprecated}}
95 - (void)methodLike:(int)param1 replacement:(int)param2 DEPRECATED("noColon:atTheEnd");
117 [object methodLike:0 replacement:1]; // expected-warning {{is deprecated}}
138 + (void)classMethod:(int)param1 replacement:(int)param2 DEPRECATED("renameClassMethod:replace_new_m…
142 - (void)multi:(int)param1 parameter:(int)param2 replacement:(int)param3 DEPRECATED("multi_new:param…
147 + (void)classMethod:(int)param1 replacement:(int)param2 {}
150 - (void)multi:(int)param1 parameter:(int)param2 replacement:(int)param3 {}
154 [Interface classMethod:0 replacement:1]; // expected-warning {{is deprecated}}
[all …]
/external/angle/src/compiler/translator/tree_ops/vulkan/
DMonomorphizeUnsupportedFunctionsInVulkanGLSL.cpp429 TIntermSequence replacement; in visitFunctionPrototype() local
432 replacement.push_back(node); in visitFunctionPrototype()
436 replacement.push_back(new TIntermFunctionPrototype( in visitFunctionPrototype()
440 std::move(replacement)); in visitFunctionPrototype()
460 TIntermSequence replacement; in visitFunctionDefinition() local
463 replacement.push_back(node); in visitFunctionDefinition()
467 replacement.push_back(monomorphizedDefinition); in visitFunctionDefinition()
470 std::move(replacement)); in visitFunctionDefinition()
483 TIntermSequence replacement; in SortDeclarations() local
496 replacement.push_back(node); in SortDeclarations()
[all …]
/external/angle/src/compiler/translator/tree_ops/
DEmulatePrecision.cpp488 TIntermNode *replacement = createRoundingFunctionCallNode(node); in visitSymbol() local
489 queueReplacement(replacement, OriginalNode::BECOMES_CHILD); in visitSymbol()
536 TIntermNode *replacement = createRoundingFunctionCallNode(node); in visitBinary() local
537 queueReplacement(replacement, OriginalNode::BECOMES_CHILD); in visitBinary()
547 TIntermNode *replacement = createCompoundAssignmentFunctionCallNode( in visitBinary() local
549 queueReplacement(replacement, OriginalNode::IS_DROPPED); in visitBinary()
557 TIntermNode *replacement = createCompoundAssignmentFunctionCallNode( in visitBinary() local
559 queueReplacement(replacement, OriginalNode::IS_DROPPED); in visitBinary()
571 TIntermNode *replacement = createCompoundAssignmentFunctionCallNode( in visitBinary() local
573 queueReplacement(replacement, OriginalNode::IS_DROPPED); in visitBinary()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dall_reduce_simplifier.cc92 HloInstruction* replacement; in Run() local
112 replacement = in Run()
122 replacement = all_reduce->mutable_operand(0); in Run()
128 << replacement->ToString(); in Run()
129 TF_RETURN_IF_ERROR(all_reduce->ReplaceAllUsesWith(replacement)); in Run()

12345678910>>...37