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

12345

/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/chromium_org/third_party/WebKit/Source/wtf/text/
H A DTextCodec.cpp38 int TextCodec::getUnencodableReplacement(unsigned codePoint, UnencodableHandling handling, UnencodableReplacementArray replacement) argument
42 replacement[0] = '?';
43 replacement[1] = 0;
46 snprintf(replacement, sizeof(UnencodableReplacementArray), "&#%u;", codePoint);
47 return static_cast<int>(strlen(replacement));
49 snprintf(replacement, sizeof(UnencodableReplacementArray), "%%26%%23%u%%3B", codePoint);
50 return static_cast<int>(strlen(replacement));
53 replacement[0] = 0;
H A DTextCodecUserDefined.cpp80 UnencodableReplacementArray replacement; local
81 int replacementLength = TextCodec::getUnencodableReplacement(c, handling, replacement);
84 memcpy(bytes + resultLength, replacement, replacementLength);
/external/chromium_org/third_party/WebKit/public/web/
H A DWebTextCheckingResult.h52 WebTextCheckingResult(WebTextDecorationType decoration, int location, int length, const WebString& replacement = WebString(), uint32_t hash = 0)
56 , replacement(replacement)
68 WebString replacement; member in struct:blink::WebTextCheckingResult
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DUnfoldShortCircuitAST.h17 // be replaced, and creates the corresponding replacement nodes. However,
37 replacement(_replacement) {}
41 TIntermNode *replacement; member in struct:UnfoldShortCircuitAST::NodeUpdateEntry
H A DUnfoldShortCircuitAST.cpp38 TIntermSelection *replacement = NULL; local
43 replacement = UnfoldOR(node->getLeft(), node->getRight());
46 replacement = UnfoldAND(node->getLeft(), node->getRight());
51 if (replacement)
54 NodeUpdateEntry(getParentNode(), node, replacement));
66 entry.original, entry.replacement);
72 // node; instead, we update the replacement node.
77 entry2.parent = entry.replacement;
/external/chromium_org/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/chromium_org/chrome/common/
H A Dspellcheck_result.h12 // possible replacement of the misspelling if it is available.
33 : decoration(d), location(loc), length(len), replacement(rep), hash(h) {
39 base::string16 replacement; member in struct:SpellCheckResult
/external/chromium_org/third_party/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...]
/external/chromium_org/v8/src/
H A Dhydrogen-redundant-phi.cc49 HValue* replacement = phi->GetRedundantReplacement(); local
50 if (replacement != NULL) {
54 value->SetOperandAt(it.index(), 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...]
/external/chromium_org/chrome/browser/history/
H A Durl_utils.cc83 GURL::Replacements replacement; local
84 replacement.SetScheme(new_scheme.c_str(), comp);
85 return url.ReplaceComponents(replacement);
/external/chromium_org/chrome/browser/ui/android/infobars/
H A Dinfobar_android.cc26 void InfoBarAndroid::ReassignJavaInfoBar(InfoBarAndroid* replacement) { argument
27 DCHECK(replacement);
29 replacement->set_java_infobar(java_info_bar_);
/external/chromium_org/third_party/skia/src/xml/
H A DSkXMLPullParser.cpp134 SkString* replacement)
133 onEntityReplacement(const char name[], SkString* replacement) argument
/external/skia/src/xml/
H A DSkXMLPullParser.cpp134 SkString* replacement)
133 onEntityReplacement(const char name[], SkString* replacement) argument
/external/chromium_org/components/history/core/common/
H A Dthumbnail_score.cc87 const ThumbnailScore& replacement) {
89 int replacement_type = GetThumbnailType(replacement);
93 return replacement.boring_score <
101 double replacement_interesting_score = 1.0 - replacement.boring_score;
108 1.0 / (replacement.redirect_hops_from_dest + 1);
114 replacement.time_at_snapshot - current.time_at_snapshot;
125 // requirements, but the replacement does, always replace the
128 replacement.boring_score < ThumbnailScore::kThumbnailMaximumBoringness;
86 ShouldReplaceThumbnailWith(const ThumbnailScore& current, const ThumbnailScore& replacement) argument
/external/chromium_org/third_party/icu/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/chromium_org/third_party/skia/src/svg/
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/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dauto_testing_hook.h137 T replacement,
139 return AutoTestingHookImpl<T>::MakeTestingHook(target, replacement, do_it);
143 inline AutoTestingHookImpl<T> MakeTestingHook(T target, T replacement) { argument
144 return AutoTestingHookImpl<T>::MakeTestingHook(target, replacement, true);
148 inline AutoTestingHookImpl<T>* MakeTestingHookHolder(T target, T replacement) { argument
149 return AutoTestingHookImpl<T>::MakeTestingHookHolder(target, replacement,
136 MakeTestingHook(T target, T replacement, bool do_it) argument
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Dauto_testing_hook.h137 T replacement,
139 return AutoTestingHookImpl<T>::MakeTestingHook(target, replacement, do_it);
143 inline AutoTestingHookImpl<T> MakeTestingHook(T target, T replacement) { argument
144 return AutoTestingHookImpl<T>::MakeTestingHook(target, replacement, true);
148 inline AutoTestingHookImpl<T>* MakeTestingHookHolder(T target, T replacement) { argument
149 return AutoTestingHookImpl<T>::MakeTestingHookHolder(target, replacement,
136 MakeTestingHook(T target, T replacement, bool do_it) argument
/external/chromium_org/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/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/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/skia/src/svg/
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);

Completed in 1897 milliseconds

12345