Searched refs:replacement (Results 1 - 25 of 117) sorted by relevance

12345

/external/webkit/Source/WebCore/platform/text/
H A DTextCodec.cpp39 int TextCodec::getUnencodableReplacement(unsigned codePoint, UnencodableHandling handling, UnencodableReplacementArray replacement) argument
43 replacement[0] = '?';
44 replacement[1] = 0;
47 snprintf(replacement, sizeof(UnencodableReplacementArray), "&#%u;", codePoint);
48 return static_cast<int>(strlen(replacement));
50 snprintf(replacement, sizeof(UnencodableReplacementArray), "%%26%%23%u%%3B", codePoint);
51 return static_cast<int>(strlen(replacement));
54 replacement[0] = 0;
H A DTextCodecUserDefined.cpp79 UnencodableReplacementArray replacement; local
80 int replacementLength = TextCodec::getUnencodableReplacement(c, handling, replacement);
83 memcpy(bytes + resultLength, replacement, replacementLength);
H A DRegularExpression.cpp158 void replace(String& string, const RegularExpression& target, const String& replacement) argument
166 string.replace(index, matchLength, replacement);
167 index += replacement.length();
/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/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
H A DASCCharsetTest.java43 this.testingCharset.newEncoder().replacement()[0],
44 this.testingCharset.newEncoder().replacement()[0] };
H A DISOCharsetTest.java42 this.testingCharset.newEncoder().replacement()[0],
43 this.testingCharset.newEncoder().replacement()[0] };
/external/chromium/chrome/common/
H A Dthumbnail_score.cc87 const ThumbnailScore& replacement) {
89 int replacement_type = GetThumbnailType(replacement.good_clipping,
90 replacement.at_top);
94 return replacement.boring_score <
102 double replacement_interesting_score = 1.0 - replacement.boring_score;
110 1.0 / (replacement.redirect_hops_from_dest + 1);
116 replacement.time_at_snapshot - current.time_at_snapshot;
127 // requirements, but the replacement does, always replace the
130 replacement.boring_score < ThumbnailScore::kThumbnailMaximumBoringness;
86 ShouldReplaceThumbnailWith(const ThumbnailScore& current, const ThumbnailScore& replacement) argument
H A Dthumbnail_score.h94 const ThumbnailScore& replacement);
/external/chromium/chrome/browser/chromeos/input_method/
H A Dxkeyboard.h35 : original(in_original), replacement(in_replacement) {}
38 return (rhs.original == original) && (rhs.replacement == replacement);
41 ModifierKey replacement; // this key. member in struct:chromeos::input_method::ModifierKeyPair
100 // Returns true if |key| is in |modifier_map| as replacement.
/external/icu4c/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/compiler-rt/lib/interception/mach_override/
H A Dmach_override.h119 (void*)mach_override_class__##ORIGINAL_FUNCTION_NAME::replacement, \
124 static ORIGINAL_FUNCTION_RETURN_TYPE replacement ORIGINAL_FUNCTION_ARGS {
/external/doclava/res/assets/templates/
H A Dcomponents.cs2 <?cs # Use the -tempatedir arg to javadoc to set your own directory with a replacement for this file in it. ?>
/external/llvm/utils/llvm-build/llvmbuild/
H A Dconfigutil.py16 replacement), where the regex and replacement will be used as in 're.sub' to
17 execute the variable replacement.
34 for regex_string,replacement in substitutions:
36 data = regex.sub(replacement, data)
/external/chromium/net/base/
H A Dmock_host_resolver.cc133 std::string replacement; member in struct:net::RuleBasedHostResolverProc::Rule
141 const std::string& replacement,
148 replacement(replacement),
158 const std::string& replacement) {
160 replacement);
166 const std::string& replacement) {
167 DCHECK(!replacement.empty());
171 replacement, "", 0);
195 const std::string& replacement,
137 Rule(ResolverType resolver_type, const std::string& host_pattern, AddressFamily address_family, HostResolverFlags host_resolver_flags, const std::string& replacement, const std::string& canonical_name, int latency_ms) argument
157 AddRule(const std::string& host_pattern, const std::string& replacement) argument
163 AddRuleForAddressFamily( const std::string& host_pattern, AddressFamily address_family, const std::string& replacement) argument
193 AddRuleWithLatency( const std::string& host_pattern, const std::string& replacement, int latency_ms) argument
[all...]
H A Dmock_host_resolver.h101 // a replacement host string. It then uses the system host resolver to return
102 // a socket address. Generally the replacement should be an IPv4 literal so
109 // replacement value. Usually, replacement should be an IP address literal.
111 const std::string& replacement);
116 const std::string& replacement);
118 // Same as AddRule(), but the replacement is expected to be an IPv4 or IPv6
128 const std::string& 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/guava/guava/src/com/google/common/base/
H A DCharMatcher.java251 @Override public String replaceFrom(CharSequence sequence, char replacement) {
253 Arrays.fill(array, replacement);
257 @Override public String replaceFrom(CharSequence sequence, CharSequence replacement) {
258 StringBuilder retval = new StringBuilder(sequence.length() * replacement.length());
260 retval.append(replacement);
265 @Override public String collapseFrom(CharSequence sequence, char replacement) {
266 return (sequence.length() == 0) ? "" : String.valueOf(replacement);
332 @Override public String replaceFrom(CharSequence sequence, char replacement) {
336 @Override public String replaceFrom(CharSequence sequence, CharSequence replacement) {
337 checkNotNull(replacement);
924 replaceFrom(CharSequence sequence, char replacement) argument
957 replaceFrom(CharSequence sequence, CharSequence replacement) argument
1084 collapseFrom(CharSequence sequence, char replacement) argument
1116 trimAndCollapseFrom(CharSequence sequence, char replacement) argument
[all...]
/external/valgrind/main/VEX/priv/
H A Dhost_generic_regs.c147 ppHReg(map->replacement[i]);
160 void addToHRegRemap ( HRegRemap* map, HReg orig, HReg replacement )
168 if (hregIsVirtual(replacement))
169 vpanic("addToHRegMap: replacement is a vreg");
173 map->replacement[map->n_used] = replacement;
185 return map->replacement[i];
/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);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DStringExtensions.cs112 public static string replaceFirst( string str, string regex, string replacement )
114 return System.Text.RegularExpressions.Regex.Replace( str, regex, replacement );
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStringExtensions.cs108 public static string replaceFirst( this string str, string regex, string replacement )
110 return Regex.Replace( str, regex, replacement );
/external/webkit/Source/WebCore/platform/text/qt/
H A DTextCodecQt.cpp150 UnencodableReplacementArray replacement; local
151 getUnencodableReplacement(characters[0], handling, replacement);
152 tba.replace('\0', replacement);
/external/chromium/googleurl/src/
H A Durl_canon_host.cc163 unsigned char replacement = kHostCharLookup[source]; local
164 if (!replacement) {
168 } else if (replacement == kEsc) {
175 output->push_back(replacement);
/external/kernel-headers/original/asm-x86/
H A Dalternative_32.h10 u8 *replacement; member in struct:alt_instr
11 u8 cpuid; /* cpuid bit set for replacement */
58 "663:\n\t" newinstr "\n664:\n" /* replacement */\
69 * replacement maake sure to pad to the worst case length.
82 "663:\n\t" newinstr "\n664:\n" /* replacement */\
97 "663:\n\t" newinstr "\n664:\n" /* replacement */ \
123 * separate table which is a pure address list without replacement ptr
/external/v8/test/preparser/
H A Dtestcfg.py112 def MkTest(replacement, expectation):
115 for key in replacement.keys():
116 testname = testname.replace("$"+key, replacement[key]);
117 testsource = testsource.replace("$"+key, replacement[key]);

Completed in 523 milliseconds

12345