/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
ReplaceTest.java | 29 String target, pattern, repl; local 33 repl = "xxx"; 38 assertEquals("foobarxxxarfoofo1", m.replaceFirst(repl)); 39 assertEquals("foobarxxxarfooxxx", m.replaceAll(repl)); 43 String target, pattern, repl, s; local 49 repl = "$2[$1]"; 53 s = m.replaceFirst(repl); 55 s = m.replaceAll(repl); 60 repl = "[$5]$6($3)$4{$1}$2"; 63 s = m.replaceFirst(repl); 76 String target, pattern, repl, s; local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
ReplaceTest.java | 26 String target, pattern, repl; local 30 repl = "xxx"; 35 assertEquals("foobarxxxarfoofo1barfort", m.replaceFirst(repl)); 36 assertEquals("foobarxxxarfooxxxbarxxxt", m.replaceAll(repl)); 40 String target, pattern, repl, s; local 46 repl = "$2[$1]"; 50 s = m.replaceFirst(repl); 52 s = m.replaceAll(repl); 57 repl = "[$5]$6($3)$4{$1}$2"; 60 s = m.replaceFirst(repl); 71 String target, pattern, repl, s; local [all...] |
/external/clang/www/ |
builtins.py | 147 def report_repl(builtin, repl): 148 sys.stderr.write("%s:%d: x86 builtin %s used, replaced with %s\n" % (fileinput.filename(), fileinput.filelineno(), builtin, repl)) 154 for builtin, repl in repl_map.iteritems(): 156 line = line.replace(builtin, repl) 157 report_repl(builtin, repl)
|
/external/chromium/chrome/browser/search_engines/ |
search_terms_data.cc | 36 GURL::Replacements repl; local 39 repl.SetHostStr(suggest_host); 43 repl.SetPathStr(suggest_path); 46 repl.ClearQuery(); 47 repl.ClearRef(); 48 return base_url.ReplaceComponents(repl).spec();
|
/cts/tests/tests/text/src/android/text/method/cts/ |
QwertyKeyListenerTest.java | 175 Object[] repl = content.getSpans(0, content.length(), Object.class); local 176 assertEquals(0, repl.length); 179 repl = content.getSpans(0, content.length(), Object.class); 180 assertEquals(1, repl.length); 181 assertEquals(0, content.getSpanStart(repl[0])); 182 assertEquals(content.length(), content.getSpanEnd(repl[0])); 183 assertEquals(Spannable.SPAN_EXCLUSIVE_EXCLUSIVE, content.getSpanFlags(repl[0])); 186 repl = content.getSpans(0, content.length(), Object.class); 187 assertEquals(1, repl.length); 188 assertEquals(1, content.getSpanStart(repl[0])) [all...] |
/external/chromium/chrome/browser/google/ |
google_util.cc | 25 GURL::Replacements repl; local 26 repl.SetQueryStr(query); 27 return url.ReplaceComponents(repl);
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
MacroExpander.cpp | 201 Token& repl = replacements->front(); local 206 repl.text = stream.str(); 212 repl.text = stream.str(); 229 Token& repl = replacements->at(i); local 234 repl.setAtStartOfLine(identifier.atStartOfLine()); 235 repl.setHasLeadingSpace(identifier.hasLeadingSpace()); 237 repl.location = identifier.location; 337 const Token& repl = macro.replacements[i]; local 338 if (repl.type != Token::IDENTIFIER) 340 replacements->push_back(repl); [all...] |
/external/chromium/chrome/browser/ |
browser_url_handler.cc | 54 url_canon::Replacements<char> repl; 55 repl.SetScheme(chrome::kViewSourceScheme, 57 repl.SetPath(url->spec().c_str(), 59 *url = url->ReplaceComponents(repl);
|
/external/chromium_org/content/browser/ |
browser_url_handler_impl.cc | 56 url_canon::Replacements<char> repl; 57 repl.SetScheme(kViewSourceScheme, 59 repl.SetPath(url->spec().c_str(), 61 *url = url->ReplaceComponents(repl);
|
/external/hyphenation/ |
hyphen.h | 80 char *repl; member in struct:_HyphenState
|
substrings.pl | 32 $repl = $2; 42 $repltab{$pat} = $repl; 48 $repl = $2; 56 $repltab{$pat} = $repl;
|
hyphen.c | 186 dict->states[dict->num_states].repl = NULL; 287 char * repl; local 312 dict[k]->states[0].repl = NULL; 359 repl = strchr(buf, '/'); 362 if (repl) { 363 char * index = strchr(repl + 1, ','); 364 *repl = '\0'; 374 hnj_strchomp(repl + 1); 378 repl = hnj_strdup(repl + 1) 717 char *repl; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
ReplaceDialog.py | 65 def _replace_expand(self, m, repl): 70 new = m.expand(repl) 72 self.engine.report_error(repl, 'Invalid Replace Expression') 75 new = repl 82 repl = self.replvar.get() 106 new = self._replace_expand(m, repl)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
re.py | 144 def sub(pattern, repl, string, count=0, flags=0): 147 replacement repl. repl can be either a string or a callable; 151 return _compile(pattern, flags).sub(repl, string, count) 153 def subn(pattern, repl, string, count=0, flags=0): 157 string by the replacement repl. number is the number of 158 substitutions that were made. repl can be either a string or a 162 return _compile(pattern, flags).subn(repl, string, count) 253 repl, pattern = key 255 p = sre_parse.parse_template(repl, pattern [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ReplaceDialog.py | 65 def _replace_expand(self, m, repl): 70 new = m.expand(repl) 72 self.engine.report_error(repl, 'Invalid Replace Expression') 75 new = repl 82 repl = self.replvar.get() 106 new = self._replace_expand(m, repl)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
re.py | 144 def sub(pattern, repl, string, count=0, flags=0): 147 replacement repl. repl can be either a string or a callable; 151 return _compile(pattern, flags).sub(repl, string, count) 153 def subn(pattern, repl, string, count=0, flags=0): 157 string by the replacement repl. number is the number of 158 substitutions that were made. repl can be either a string or a 162 return _compile(pattern, flags).subn(repl, string, count) 253 repl, pattern = key 255 p = sre_parse.parse_template(repl, pattern [all...] |
/external/chromium/googleurl/src/ |
gurl_unittest.cc | 255 GURL::Replacements repl; local 256 SetupReplacement(&GURL::Replacements::SetScheme, &repl, cur.scheme); 257 SetupReplacement(&GURL::Replacements::SetUsername, &repl, cur.username); 258 SetupReplacement(&GURL::Replacements::SetPassword, &repl, cur.password); 259 SetupReplacement(&GURL::Replacements::SetHost, &repl, cur.host); 260 SetupReplacement(&GURL::Replacements::SetPort, &repl, cur.port); 261 SetupReplacement(&GURL::Replacements::SetPath, &repl, cur.path); 262 SetupReplacement(&GURL::Replacements::SetQuery, &repl, cur.query); 263 SetupReplacement(&GURL::Replacements::SetRef, &repl, cur.ref); 264 GURL output = url.ReplaceComponents(repl); [all...] |
url_canon_internal.cc | 305 const Replacements<char>& repl, 309 const URLComponentSource<char>& repl_source = repl.sources(); 310 const url_parse::Parsed& repl_parsed = repl.components(); 336 const Replacements<char16>& repl, 343 const URLComponentSource<char16>& repl_source = repl.sources(); 344 const url_parse::Parsed& repl_parsed = repl.components();
|
/external/chromium_org/url/ |
gurl_unittest.cc | 337 GURL::Replacements repl; local 338 SetupReplacement(&GURL::Replacements::SetScheme, &repl, cur.scheme); 339 SetupReplacement(&GURL::Replacements::SetUsername, &repl, cur.username); 340 SetupReplacement(&GURL::Replacements::SetPassword, &repl, cur.password); 341 SetupReplacement(&GURL::Replacements::SetHost, &repl, cur.host); 342 SetupReplacement(&GURL::Replacements::SetPort, &repl, cur.port); 343 SetupReplacement(&GURL::Replacements::SetPath, &repl, cur.path); 344 SetupReplacement(&GURL::Replacements::SetQuery, &repl, cur.query); 345 SetupReplacement(&GURL::Replacements::SetRef, &repl, cur.ref); 346 GURL output = url.ReplaceComponents(repl); 361 GURL::Replacements repl; local [all...] |
url_canon_internal.cc | 283 const Replacements<char>& repl, 287 const URLComponentSource<char>& repl_source = repl.sources(); 288 const url_parse::Parsed& repl_parsed = repl.components(); 314 const Replacements<base::char16>& repl, 321 const URLComponentSource<base::char16>& repl_source = repl.sources(); 322 const url_parse::Parsed& repl_parsed = repl.components();
|
/external/chromium_org/chrome/browser/search_engines/ |
search_terms_data.cc | 47 GURL::Replacements repl; local 50 // SetPathStr() requires its argument to stay in scope as long as |repl| is, 54 repl.SetPathStr(suggest_path); 57 repl.ClearQuery(); 58 repl.ClearRef(); 59 return base_url.ReplaceComponents(repl).spec();
|
/external/chromium/chrome/common/net/gaia/ |
gaia_authenticator.cc | 210 GURL::Replacements repl; local 213 repl.SetPathStr(path); 214 url = url.ReplaceComponents(repl); 260 GURL::Replacements repl; local 263 repl.SetPathStr(path); 264 url = url.ReplaceComponents(repl);
|
/external/iptables/libiptc/ |
libiptc.c | 1119 static inline int iptcc_compile_rule (struct xtc_handle *h, STRUCT_REPLACE *repl, struct rule_head *r) 1138 memcpy((char *)repl->entries+r->offset, r->entry, r->size); 1144 static int iptcc_compile_chain(struct xtc_handle *h, STRUCT_REPLACE *repl, struct chain_head *c) 1154 head = (void *)repl->entries + c->head_offset; 1162 repl->hook_entry[c->hooknum-1] = c->head_offset; 1163 repl->underflow[c->hooknum-1] = c->foot_offset; 1168 ret = iptcc_compile_rule(h, repl, r); 1174 foot = (void *)repl->entries + c->foot_offset; 2521 STRUCT_REPLACE *repl; local [all...] |
/system/core/sh/ |
histedit.c | 228 char *pat = NULL, *repl; /* ksh "fc old=new" crap */ local 244 (void) &repl; 328 ((repl = strchr(argv[0], '=')) != NULL)) { 330 *repl++ = '\0'; 403 fc_replace(he.str, pat, repl) : he.str;
|
/frameworks/base/core/java/android/text/method/ |
TextKeyListener.java | 168 QwertyKeyListener.Replaced[] repl = e.getSpans(0, e.length(), local 170 final int count = repl.length; 172 e.removeSpan(repl[i]);
|