Searched defs:replacement (Results 1 - 25 of 81) sorted by relevance

1234

/external/antlr/antlr-3.4/runtime/Python/unittests/
H A Dtestbase.py14 def replacement(*args, **kwargs): function in function:broken.wrapper
21 replacement.__doc__ = test_method.__doc__
22 replacement.__name__ = 'XXX_' + test_method.__name__
23 replacement.todo = reason
24 return replacement
/external/v8/test/mjsunit/
H A Dregexp-global.js176 replacement) {
181 assertEquals(result_expectation, subject.replace(regexps[i], replacement));
251 var replacement = "\x80"; variable
252 var result = subject.replace(/~/g, replacement);
/external/harfbuzz_ng/src/
H A Dhb-utf-private.hh44 hb_codepoint_t replacement)
48 * Generates one "replacement" for each ill-formed byte. */
105 *unicode = replacement;
113 hb_codepoint_t replacement)
119 if (likely (next (text, end, unicode, replacement) == end))
122 *unicode = replacement;
143 hb_codepoint_t replacement)
167 *unicode = replacement;
175 hb_codepoint_t replacement)
189 if (likely (next (text, end, unicode, replacement)
41 next(const uint8_t *text, const uint8_t *end, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
110 prev(const uint8_t *text, const uint8_t *start, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
140 next(const uint16_t *text, const uint16_t *end, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
172 prev(const uint16_t *text, const uint16_t *start, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
213 next(const uint32_t *text, const uint32_t *end HB_UNUSED, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
230 prev(const uint32_t *text, const uint32_t *start HB_UNUSED, hb_codepoint_t *unicode, hb_codepoint_t replacement) argument
[all...]
H A Dhb-buffer-private.hh53 hb_codepoint_t replacement; /* U+FFFD or something else. */ member in struct:hb_buffer_t
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/line/
H A DMultiGroupConversionRule.java32 * each capturing group of this Pattern a replacement text
59 public void addReplacement(int groupIndex, String replacement) { argument
63 replacementTable[groupIndex] = replacement;
/external/v8/src/
H A Dhydrogen-redundant-phi.cc49 HValue* replacement = phi->GetRedundantReplacement(); local
50 if (replacement != NULL) {
54 value->SetOperandAt(it.index(), replacement);
/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_exceptions/
H A Dtest_error_middleware.py28 def replacement(status, headers, exc_info=None): function in function:clear_middleware.clear_throw_errors
35 return app(environ, replacement)
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DTestUtility.java38 public static String replace(String source, String toBeReplaced, String replacement) { argument
43 results.append(replacement);
52 public static String replaceAll(String source, UnicodeSet set, String replacement) { argument
58 results.append(replacement);
/external/skia/src/xml/
H A DSkXMLPullParser.cpp134 SkString* replacement)
133 onEntityReplacement(const char name[], SkString* replacement) argument
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/
H A DInplaceFileConverter.java95 String[] replacement = lineConverter.getReplacement(line);
96 writeReplacement(baos, replacement);
104 private void writeReplacement(OutputStream os, String[] replacement) throws IOException { argument
105 for (int i = 0; i < replacement.length; i++) {
106 os.write(replacement[i].getBytes());
/external/chromium-trace/trace-viewer/third_party/Paste/paste/debug/
H A Dprofile.py138 def replacement(*args, **kw): function in function:profile_decorator.decorator
140 return replacement
/external/clang/lib/AST/
H A DTemplateName.cpp36 TemplateName replacement) {
38 ID.AddPointer(replacement.getAsVoidPointer());
34 Profile(llvm::FoldingSetNodeID &ID, TemplateTemplateParmDecl *parameter, TemplateName replacement) argument
/external/guava/guava/src/com/google/common/escape/
H A DEscapers.java69 * <li>There are no replacement mappings<li>
106 * range that have no explicit replacement are considered 'safe' and remain
121 * Sets the replacement string for any characters outside the 'safe' range
122 * that have no explicit replacement. If {@code unsafeReplacement} is
123 * {@code null} then no replacement will occur, if it is {@code ""} then
135 * Adds a replacement string for the given input character. The specified
141 * @param replacement the string to replace the given character
143 * @throws NullPointerException if {@code replacement} is null
145 public Builder addEscape(char c, String replacement) { argument
146 checkNotNull(replacement);
[all...]
/external/icu/icu4c/source/common/
H A Dlocresdata.cpp93 const char* replacement = NULL; local
98 replacement = uloc_getCurrentCountryID(itemKey);
100 replacement = uloc_getCurrentLanguageID(itemKey);
102 /*pointer comparison is ok since uloc_getCurrentCountryID & uloc_getCurrentLanguageID return the key itself is replacement is not found*/
103 if(replacement!=NULL && itemKey != replacement){
104 item = ures_getStringByKeyWithFallback(&table, replacement, pLength, &errorCode);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUnicodeSetSpanner.java15 * <p><b>Note:</b> The counting, deletion, and replacement depend on alternating a {@link SpanCondition} with
235 * Replace all matching spans in sequence by the replacement,
240 * @param replacement
241 * replacement sequence. To delete, use ""
247 public String replaceFrom(CharSequence sequence, CharSequence replacement) { argument
248 return replaceFrom(sequence, replacement, CountMethod.MIN_ELEMENTS, SpanCondition.SIMPLE);
252 * Replace all matching spans in sequence by replacement, according to the CountMethod, using SpanCondition.SIMPLE.
257 * @param replacement
258 * replacement sequence. To delete, use ""
266 public String replaceFrom(CharSequence sequence, CharSequence replacement, CountMetho argument
287 replaceFrom(CharSequence sequence, CharSequence replacement, CountMethod countMethod, SpanCondition spanCondition) argument
[all...]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
H A DFileUtilities.java49 * Replaces all occurances of piece with replacement, and returns new String
51 public static String replace(String source, String piece, String replacement) { argument
57 source = source.substring(0,pos) + replacement + source.substring(pos + piece.length());
58 pos += replacement.length();
/external/skia/src/svg/parser/
H A DSkSVGGradient.cpp95 SkString replacement; local
96 replacement.set("0x");
97 replacement.append(color.c_str() + 1, 2); // add stop colors using given color, turning existing stop color into alpha
100 replacement.append(baseColor.c_str() + 1);
101 color.set(replacement);
/external/v8/src/compiler/
H A Dgraph-reducer.cc36 Node* replacement = reduction.replacement(); local
37 if (replacement == NULL) {
39 } else if (replacement == node) {
40 // {replacement == node} represents an in-place reduction.
47 if (node == graph_->start()) graph_->SetStart(replacement);
48 if (node == graph_->end()) graph_->SetEnd(replacement);
50 // {replacement} was already reduced and finish.
51 if (replacement->id() < before) {
52 node->ReplaceUses(replacement);
[all...]
H A Dgraph-reducer.h22 explicit Reduction(Node* replacement = NULL) : replacement_(replacement) {}
24 Node* replacement() const { return replacement_; } function in class:v8::internal::compiler::FINAL
25 bool Changed() const { return replacement() != NULL; }
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dtestbase.py46 def replacement(*args, **kwargs): function in function:broken.wrapper
53 replacement.__doc__ = test_method.__doc__
54 replacement.__name__ = 'XXX_' + test_method.__name__
55 replacement.todo = reason
56 return replacement
/external/compiler-rt/lib/interception/
H A Dinterception.h79 // our replacement functions invisible to other libraries. This may be overcomed
95 const uptr replacement; member in struct:interpose_substitution
/external/lldb/source/Target/
H A DPathMappingList.cpp78 const ConstString &replacement,
82 m_pairs.push_back(pair(path, replacement));
103 const ConstString &replacement,
113 m_pairs.insert(insert_iter, pair(path, replacement));
120 const ConstString &replacement,
128 m_pairs[index] = pair(path, replacement);
77 Append(const ConstString &path, const ConstString &replacement, bool notify) argument
102 Insert(const ConstString &path, const ConstString &replacement, uint32_t index, bool notify) argument
119 Replace(const ConstString &path, const ConstString &replacement, uint32_t index, bool notify) argument
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
H A Dwsgilib.py576 def replacement(*args, **kw): function in function:_warn_deprecated
583 replacement.func_name = new_func.func_name
586 return replacement
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/generators/rss/
H A DRSSFeedUpdateEntryTask.java51 * replacement - string to use as replacement
72 private String replacement; field in class:RSSFeedUpdateEntryTask
98 public void setReplacement(String replacement) { this.replacement = replacement; } argument
103 System.out.println(Messages.getString("RSSFeedUpdateEntryTask.SearchingFor") + SP + xpath + (!isNullString(replacement)?", " + Messages.getString("RSSFeedUpdateEntryTask.ReplacingWith") + " '" + replacement + "'":NS)); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$
137 if (!isNullString(replacement)) {
151 if (!isNullString(replacement)
[all...]
/external/mesa3d/src/glsl/
H A Dlist.h173 void replace_with(exec_node *replacement) argument
175 replacement->prev = this->prev;
176 replacement->next = this->next;
178 this->prev->next = replacement;
179 this->next->prev = replacement;

Completed in 2152 milliseconds

1234