Home
last modified time | relevance | path

Searched refs:repl (Results 1 – 25 of 39) sorted by relevance

12

/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
DReplaceTest.java29 String target, pattern, repl; in testSimpleReplace() local
33 repl = "xxx"; in testSimpleReplace()
38 assertEquals("foobarxxxarfoofo1", m.replaceFirst(repl)); in testSimpleReplace()
39 assertEquals("foobarxxxarfooxxx", m.replaceAll(repl)); in testSimpleReplace()
43 String target, pattern, repl, s; in testCaptureReplace() local
49 repl = "$2[$1]"; in testCaptureReplace()
53 s = m.replaceFirst(repl); in testCaptureReplace()
55 s = m.replaceAll(repl); in testCaptureReplace()
60 repl = "[$5]$6($3)$4{$1}$2"; in testCaptureReplace()
63 s = m.replaceFirst(repl); in testCaptureReplace()
[all …]
/external/clang/www/
Dbuiltins.py147 def report_repl(builtin, repl): argument
148 …iltin %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/
Dsearch_terms_data.cc36 GURL::Replacements repl; in GoogleBaseSuggestURLValue() local
39 repl.SetHostStr(suggest_host); in GoogleBaseSuggestURLValue()
43 repl.SetPathStr(suggest_path); in GoogleBaseSuggestURLValue()
46 repl.ClearQuery(); in GoogleBaseSuggestURLValue()
47 repl.ClearRef(); in GoogleBaseSuggestURLValue()
48 return base_url.ReplaceComponents(repl).spec(); in GoogleBaseSuggestURLValue()
Dtemplate_url_parser.cc438 GURL::Replacements repl; in ProcessURLParams() local
439 repl.SetQueryStr(new_query); in ProcessURLParams()
440 url = url.ReplaceComponents(repl); in ProcessURLParams()
/external/iptables/libiptc/
Dlibiptc.c1119 static inline int iptcc_compile_rule (struct xtc_handle *h, STRUCT_REPLACE *repl, struct rule_head … in iptcc_compile_rule() argument
1138 memcpy((char *)repl->entries+r->offset, r->entry, r->size); in iptcc_compile_rule()
1144 static int iptcc_compile_chain(struct xtc_handle *h, STRUCT_REPLACE *repl, struct chain_head *c) in iptcc_compile_chain() argument
1154 head = (void *)repl->entries + c->head_offset; in iptcc_compile_chain()
1162 repl->hook_entry[c->hooknum-1] = c->head_offset; in iptcc_compile_chain()
1163 repl->underflow[c->hooknum-1] = c->foot_offset; in iptcc_compile_chain()
1168 ret = iptcc_compile_rule(h, repl, r); in iptcc_compile_chain()
1174 foot = (void *)repl->entries + c->foot_offset; in iptcc_compile_chain()
1250 static int iptcc_compile_table(struct xtc_handle *h, STRUCT_REPLACE *repl) in iptcc_compile_table() argument
1257 int ret = iptcc_compile_chain(h, repl, c); in iptcc_compile_table()
[all …]
/external/chromium/googleurl/src/
Dgurl_unittest.cc255 GURL::Replacements repl; in TEST() local
256 SetupReplacement(&GURL::Replacements::SetScheme, &repl, cur.scheme); in TEST()
257 SetupReplacement(&GURL::Replacements::SetUsername, &repl, cur.username); in TEST()
258 SetupReplacement(&GURL::Replacements::SetPassword, &repl, cur.password); in TEST()
259 SetupReplacement(&GURL::Replacements::SetHost, &repl, cur.host); in TEST()
260 SetupReplacement(&GURL::Replacements::SetPort, &repl, cur.port); in TEST()
261 SetupReplacement(&GURL::Replacements::SetPath, &repl, cur.path); in TEST()
262 SetupReplacement(&GURL::Replacements::SetQuery, &repl, cur.query); in TEST()
263 SetupReplacement(&GURL::Replacements::SetRef, &repl, cur.ref); in TEST()
264 GURL output = url.ReplaceComponents(repl); in TEST()
Durl_canon_internal.cc305 const Replacements<char>& repl, in SetupOverrideComponents() argument
309 const URLComponentSource<char>& repl_source = repl.sources(); in SetupOverrideComponents()
310 const url_parse::Parsed& repl_parsed = repl.components(); in SetupOverrideComponents()
336 const Replacements<char16>& repl, in SetupUTF16OverrideComponents() argument
343 const URLComponentSource<char16>& repl_source = repl.sources(); in SetupUTF16OverrideComponents()
344 const url_parse::Parsed& repl_parsed = repl.components(); in SetupUTF16OverrideComponents()
Durl_canon_internal.h389 const Replacements<char>& repl,
410 const Replacements<char16>& repl,
/external/hyphenation/
Dhyphen.c186 dict->states[dict->num_states].repl = NULL; in hnj_get_state()
287 char * repl; in hnj_hyphen_load_from_buffer() local
312 dict[k]->states[0].repl = NULL; in hnj_hyphen_load_from_buffer()
359 repl = strchr(buf, '/'); in hnj_hyphen_load_from_buffer()
362 if (repl) { in hnj_hyphen_load_from_buffer()
363 char * index = strchr(repl + 1, ','); in hnj_hyphen_load_from_buffer()
364 *repl = '\0'; in hnj_hyphen_load_from_buffer()
374 hnj_strchomp(repl + 1); in hnj_hyphen_load_from_buffer()
378 repl = hnj_strdup(repl + 1); in hnj_hyphen_load_from_buffer()
394 if (!repl) { in hnj_hyphen_load_from_buffer()
[all …]
Dsubstrings.pl32 $repl = $2;
42 $repltab{$pat} = $repl;
48 $repl = $2;
56 $repltab{$pat} = $repl;
Dhyphen.h80 char *repl; member
/external/chromium/chrome/browser/
Dbrowser_url_handler.cc54 url_canon::Replacements<char> repl; in ReverseViewSource() local
55 repl.SetScheme(chrome::kViewSourceScheme, in ReverseViewSource()
57 repl.SetPath(url->spec().c_str(), in ReverseViewSource()
59 *url = url->ReplaceComponents(repl); in ReverseViewSource()
/external/chromium/chrome/browser/google/
Dgoogle_util.cc25 GURL::Replacements repl; in AppendParam() local
26 repl.SetQueryStr(query); in AppendParam()
27 return url.ReplaceComponents(repl); in AppendParam()
/external/chromium/chrome/common/net/gaia/
Dgaia_authenticator.cc210 GURL::Replacements repl; in LookupEmail() local
213 repl.SetPathStr(path); in LookupEmail()
214 url = url.ReplaceComponents(repl); in LookupEmail()
260 GURL::Replacements repl; in IssueAuthToken() local
263 repl.SetPathStr(path); in IssueAuthToken()
264 url = url.ReplaceComponents(repl); in IssueAuthToken()
/external/antlr/antlr-3.4/runtime/Python/
Dez_setup.py202 repl = "".join(data)
213 src = src[:match.start(1)] + repl + src[match.end(1):]
/external/protobuf/python/
Dez_setup.py254 repl = "".join(data)
265 src = src[:match.start(1)] + repl + src[match.end(1):]
/external/llvm/test/Transforms/Inline/
Dalloca-bonus.ll36 ; %D poisons this call, scalar-repl can't handle that instruction.
95 ; %B poisons this call, scalar-repl can't handle that instruction. However, we
136 ; %D poisons this call, scalar-repl can't handle that instruction. However, if
/external/icu4c/test/cintltst/
Dreapits.c957 UChar repl[100]; in TestRegexCAPI() local
968 u_uastrncpy(repl, "some other", sizeof(repl)/2); in TestRegexCAPI()
976 uregex_appendReplacement(re, repl, -1, &bufPtr, &bufCap, &status); in TestRegexCAPI()
985 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ $ \\abc", sizeof(repl)/2); in TestRegexCAPI()
986 uregex_appendReplacement(re, repl, -1, &bufPtr, &bufCap, &status); in TestRegexCAPI()
996 uregex_appendReplacement(re, repl, -1, &bufPtr, NULL, &status); in TestRegexCAPI()
1882 UChar repl[100]; in TestUTextAPI() local
1892 u_uastrncpy(repl, "some other", sizeof(repl)/2); in TestUTextAPI()
1900 uregex_appendReplacement(re, repl, -1, &bufPtr, &bufCap, &status); in TestUTextAPI()
1909 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ $ \\abc", sizeof(repl)/2); in TestUTextAPI()
[all …]
/external/openssh/
Dmisc.c572 const char *repl; in percent_expand() member
583 keys[num_keys].repl = va_arg(ap, char *); in percent_expand()
584 if (keys[num_keys].repl == NULL) in percent_expand()
608 i = strlcat(buf, keys[j].repl, sizeof(buf)); in percent_expand()
/external/kernel-headers/original/linux/netfilter_arp/
Darp_tables.h245 const struct arpt_replace *repl);
/external/kernel-headers/original/linux/netfilter_ipv4/
Dip_tables.h286 const struct ipt_replace *repl);
/external/kernel-headers/original/linux/netfilter_ipv6/
Dip6_tables.h297 const struct ip6t_replace *repl);
/external/chromium/net/socket_stream/
Dsocket_stream.cc492 GURL::Replacements repl; in DoResolveProxyComplete() local
493 repl.SetSchemeStr(scheme); in DoResolveProxyComplete()
494 proxy_url_ = url_.ReplaceComponents(repl); in DoResolveProxyComplete()
/external/libxml2/
Dvalid.c5233 xmlNodePtr repl = NULL, last = NULL, tmp; in xmlValidateElementContent() local
5387 xmlFreeNodeList(repl); in xmlValidateElementContent()
5396 if (repl == NULL) in xmlValidateElementContent()
5397 repl = last = tmp; in xmlValidateElementContent()
5431 NODE = repl; in xmlValidateElementContent()
5447 if (repl != NULL) in xmlValidateElementContent()
5448 xmlSnprintfElements(&list[0], 5000, repl, 1); in xmlValidateElementContent()
5483 while (repl != NULL) { in xmlValidateElementContent()
5484 tmp = repl->next; in xmlValidateElementContent()
5485 xmlFree(repl); in xmlValidateElementContent()
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp2278 Value *repl = findLeader(I->getParent(), Num); in processInstruction() local
2279 if (repl == 0) { in processInstruction()
2286 patchAndReplaceAllUsesWith(repl, I); in processInstruction()
2287 if (MD && repl->getType()->isPointerTy()) in processInstruction()
2288 MD->invalidateCachedPointerInfo(repl); in processInstruction()

12