Searched refs:repl (Results 1 - 25 of 69) sorted by relevance

123

/external/clang/www/
H A Dbuiltins.py147 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/libnetfilter_conntrack/src/conntrack/
H A Dobjopt.c19 other = &ct->repl;
22 this = &ct->repl;
57 ct->snat.min_ip.v4 = ct->repl.dst.v4;
59 ct->repl.dst.v4 = ct->head.orig.src.v4;
63 memcpy(&ct->snat.min_ip.v6, &ct->repl.dst.v6,
67 memcpy(&ct->repl.dst.v6, &ct->head.orig.src.v6,
80 ct->dnat.min_ip.v4 = ct->repl.src.v4;
82 ct->repl.src.v4 = ct->head.orig.dst.v4;
85 memcpy(&ct->dnat.min_ip.v6, &ct->repl.src.v6,
89 memcpy(&ct->repl
[all...]
H A Dgrp_setter.c51 ct->repl.src.v4 = this->src;
52 ct->repl.dst.v4 = this->dst;
53 ct->repl.l3protonum = AF_INET;
67 memcpy(&ct->repl.src.v6, this->src, sizeof(uint32_t)*4);
68 memcpy(&ct->repl.dst.v6, this->dst, sizeof(uint32_t)*4);
69 ct->repl.l3protonum = AF_INET6;
82 ct->repl.l4src.all = this->sport;
83 ct->repl.l4dst.all = this->dport;
107 ct->repl.l4dst.icmp.type = rtype - 1;
109 ct->repl
[all...]
H A Dgrp_getter.c22 this->src = ct->repl.src.v4;
23 this->dst = ct->repl.dst.v4;
36 memcpy(this->src, &ct->repl.src.v6, sizeof(uint32_t)*4);
37 memcpy(this->dst, &ct->repl.dst.v6, sizeof(uint32_t)*4);
50 this->sport = ct->repl.l4src.all;
51 this->dport = ct->repl.l4dst.all;
115 memcpy(&this->addr, &ct->repl.src, sizeof(ct->repl.src));
122 memcpy(&this->addr, &ct->repl.dst, sizeof(ct->repl
[all...]
H A Dcompare.c188 return (ct1->repl.l3protonum == ct2->repl.l3protonum);
196 return (ct1->repl.l4src.all == ct2->repl.l4src.all);
204 return (ct1->repl.l4dst.all == ct2->repl.l4dst.all);
212 if (ct1->repl.protonum != ct2->repl.protonum)
215 switch(ct1->repl.protonum) {
246 return (ct1->repl
[all...]
H A Dcopy.c27 dest->repl.src.v4 = orig->repl.src.v4;
33 dest->repl.dst.v4 = orig->repl.dst.v4;
55 memcpy(&dest->repl.src,
56 &orig->repl.src,
63 memcpy(&dest->repl.dst,
64 &orig->repl.dst,
83 dest->repl.l4src.all = orig->repl
[all...]
H A Dgetter.c24 return &ct->repl.src.v4;
29 return &ct->repl.dst.v4;
44 return &ct->repl.src.v6;
49 return &ct->repl.dst.v6;
64 return &ct->repl.l4src.all;
69 return &ct->repl.l4dst.all;
79 return &ct->repl.zone;
104 return &ct->repl.l3protonum;
114 return &ct->repl.protonum;
H A Dsetter.c55 ct->repl.src.v4 = *((uint32_t *) value);
61 ct->repl.dst.v4 = *((uint32_t *) value);
79 memcpy(&ct->repl.src.v6, value, sizeof(uint32_t)*4);
85 memcpy(&ct->repl.dst.v6, value, sizeof(uint32_t)*4);
103 ct->repl.l4src.all = *((uint16_t *) value);
109 ct->repl.l4dst.all = *((uint16_t *) value);
121 ct->repl.zone = *((uint16_t *) value);
145 ct->repl.l4dst.icmp.type = rtype - 1;
147 ct->repl.l4dst.icmp.type = 255; /* will fail with -EINVAL */
155 ct->repl
[all...]
/external/libnl/lib/netfilter/
H A Dct.c119 static int ct_parse_ip(struct nfnl_ct *ct, int repl, struct nlattr *attr) argument
133 err = nfnl_ct_set_src(ct, repl, addr);
142 err = nfnl_ct_set_dst(ct, repl, addr);
151 err = nfnl_ct_set_src(ct, repl, addr);
160 err = nfnl_ct_set_dst(ct, repl, addr);
174 static int ct_parse_proto(struct nfnl_ct *ct, int repl, struct nlattr *attr) argument
183 if (!repl && tb[CTA_PROTO_NUM])
186 nfnl_ct_set_src_port(ct, repl,
189 nfnl_ct_set_dst_port(ct, repl,
194 nfnl_ct_set_icmp_id(ct, repl,
217 ct_parse_tuple(struct nfnl_ct *ct, int repl, struct nlattr *attr) argument
277 ct_parse_counters(struct nfnl_ct *ct, int repl, struct nlattr *attr) argument
435 nfnl_ct_build_tuple(struct nl_msg *msg, const struct nfnl_ct *ct, int repl) argument
[all...]
H A Dct_obj.c631 int nfnl_ct_set_src(struct nfnl_ct *ct, int repl, struct nl_addr *addr) argument
633 struct nfnl_ct_dir *dir = repl ? &ct->ct_repl : &ct->ct_orig;
634 int attr = repl ? CT_ATTR_REPL_SRC : CT_ATTR_ORIG_SRC;
638 int nfnl_ct_set_dst(struct nfnl_ct *ct, int repl, struct nl_addr *addr) argument
640 struct nfnl_ct_dir *dir = repl ? &ct->ct_repl : &ct->ct_orig;
641 int attr = repl ? CT_ATTR_REPL_DST : CT_ATTR_ORIG_DST;
645 struct nl_addr *nfnl_ct_get_src(const struct nfnl_ct *ct, int repl) argument
647 const struct nfnl_ct_dir *dir = repl ? &ct->ct_repl : &ct->ct_orig;
648 int attr = repl ? CT_ATTR_REPL_SRC : CT_ATTR_ORIG_SRC;
654 struct nl_addr *nfnl_ct_get_dst(const struct nfnl_ct *ct, int repl) argument
663 nfnl_ct_set_src_port(struct nfnl_ct *ct, int repl, uint16_t port) argument
672 nfnl_ct_test_src_port(const struct nfnl_ct *ct, int repl) argument
678 nfnl_ct_get_src_port(const struct nfnl_ct *ct, int repl) argument
685 nfnl_ct_set_dst_port(struct nfnl_ct *ct, int repl, uint16_t port) argument
694 nfnl_ct_test_dst_port(const struct nfnl_ct *ct, int repl) argument
700 nfnl_ct_get_dst_port(const struct nfnl_ct *ct, int repl) argument
707 nfnl_ct_set_icmp_id(struct nfnl_ct *ct, int repl, uint16_t id) argument
716 nfnl_ct_test_icmp_id(const struct nfnl_ct *ct, int repl) argument
722 nfnl_ct_get_icmp_id(const struct nfnl_ct *ct, int repl) argument
729 nfnl_ct_set_icmp_type(struct nfnl_ct *ct, int repl, uint8_t type) argument
738 nfnl_ct_test_icmp_type(const struct nfnl_ct *ct, int repl) argument
744 nfnl_ct_get_icmp_type(const struct nfnl_ct *ct, int repl) argument
751 nfnl_ct_set_icmp_code(struct nfnl_ct *ct, int repl, uint8_t code) argument
760 nfnl_ct_test_icmp_code(const struct nfnl_ct *ct, int repl) argument
766 nfnl_ct_get_icmp_code(const struct nfnl_ct *ct, int repl) argument
773 nfnl_ct_set_packets(struct nfnl_ct *ct, int repl, uint64_t packets) argument
782 nfnl_ct_test_packets(const struct nfnl_ct *ct, int repl) argument
788 nfnl_ct_get_packets(const struct nfnl_ct *ct, int repl) argument
795 nfnl_ct_set_bytes(struct nfnl_ct *ct, int repl, uint64_t bytes) argument
804 nfnl_ct_test_bytes(const struct nfnl_ct *ct, int repl) argument
810 nfnl_ct_get_bytes(const struct nfnl_ct *ct, int repl) argument
[all...]
/external/swiftshader/src/OpenGL/compiler/preprocessor/
H A DMacroExpander.cpp253 Token& repl = replacements->front(); local
258 repl.text = stream.str();
264 repl.text = stream.str();
281 Token& repl = replacements->at(i); local
286 repl.setAtStartOfLine(identifier.atStartOfLine());
287 repl.setHasLeadingSpace(identifier.hasLeadingSpace());
289 repl.location = identifier.location;
389 const Token& repl = macro.replacements[i]; local
390 if (repl.type != Token::IDENTIFIER)
392 replacements->push_back(repl);
[all...]
/external/llvm/test/MC/Mips/dsp/
H A Dinvalid.s32 repl.qb $2, -1 # CHECK: :[[@LINE]]:15: error: expected 8-bit unsigned immediate
33 repl.qb $2, 256 # CHECK: :[[@LINE]]:15: error: expected 8-bit unsigned immediate
34 repl.ph $2, -1 # CHECK: :[[@LINE]]:15: error: expected 10-bit unsigned immediate
35 repl.ph $2, 1024 # CHECK: :[[@LINE]]:15: error: expected 10-bit unsigned immediate
/external/mesa3d/src/compiler/glsl/
H A Dopt_function_inlining.cpp40 ir_dereference *repl);
331 * Replaces references to the "orig" variable with a clone of "repl."
341 ir_variable_replacement_visitor(ir_variable *orig, ir_dereference *repl) argument
344 this->repl = repl;
360 ir_dereference *repl; member in class:ir_variable_replacement_visitor
368 *deref = this->repl->clone(ralloc_parent(*deref), NULL);
426 ir_dereference *repl)
428 ir_variable_replacement_visitor v(orig, repl);
424 do_variable_replacement(exec_list *instructions, ir_variable *orig, ir_dereference *repl) argument
/external/python/cpython2/Lib/idlelib/
H A DReplaceDialog.py65 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)
/external/python/cpython2/Lib/
H A Dre.py148 def sub(pattern, repl, string, count=0, flags=0):
151 replacement repl. repl can be either a string or a callable;
155 return _compile(pattern, flags).sub(repl, string, count)
157 def subn(pattern, repl, string, count=0, flags=0):
161 string by the replacement repl. number is the number of
162 substitutions that were made. repl can be either a string or a
166 return _compile(pattern, flags).subn(repl, string, count)
269 repl, pattern = key
271 p = sre_parse.parse_template(repl, patter
[all...]
/external/iptables/libiptc/
H A Dlibiptc.c1118 static inline int iptcc_compile_rule (struct xtc_handle *h, STRUCT_REPLACE *repl, struct rule_head *r) argument
1137 memcpy((char *)repl->entries+r->offset, r->entry, r->size);
1143 static int iptcc_compile_chain(struct xtc_handle *h, STRUCT_REPLACE *repl, struct chain_head *c) argument
1153 head = (void *)repl->entries + c->head_offset;
1161 repl->hook_entry[c->hooknum-1] = c->head_offset;
1162 repl->underflow[c->hooknum-1] = c->foot_offset;
1167 ret = iptcc_compile_rule(h, repl, r);
1173 foot = (void *)repl->entries + c->foot_offset;
1249 static int iptcc_compile_table(struct xtc_handle *h, STRUCT_REPLACE *repl) argument
1256 int ret = iptcc_compile_chain(h, repl,
2480 counters_normal_map(STRUCT_COUNTERS_INFO *newcounters, STRUCT_REPLACE *repl, unsigned int idx, unsigned int mappos) argument
2495 counters_map_zeroed(STRUCT_COUNTERS_INFO *newcounters, STRUCT_REPLACE *repl, unsigned int idx, unsigned int mappos, STRUCT_COUNTERS *counters) argument
2528 STRUCT_REPLACE *repl; local
[all...]
/external/deqp/framework/qphelper/
H A DqpXmlWriter.c56 const char* repl = DE_NULL; local
60 case '<': repl = "&lt;"; break;
61 case '>': repl = "&gt;"; break;
62 case '&': repl = "&amp;"; break;
63 case '\'': repl = "&apos;"; break;
64 case '"': repl = "&quot;"; break;
67 case 1: repl = "&lt;SOH&gt;"; break;
68 case 2: repl = "&lt;STX&gt;"; break;
69 case 3: repl = "&lt;ETX&gt;"; break;
70 case 4: repl
[all...]
/external/selinux/libsemanage/src/
H A Dgenhomedircon.c519 static char *replace_all(const char *str, const replacement_pair_t * repl) argument
524 if (!str || !repl)
528 for (i = 0; retval != NULL && repl[i].search_for; i++) {
529 retval2 = semanage_str_replace(repl[i].search_for,
530 repl[i].replace_with, retval, 0);
584 const replacement_pair_t *repl)
589 line = replace_all(tpl->data, repl);
606 semanage_list_t *tpl, const replacement_pair_t *repl,
616 line = replace_all(tpl->data, repl);
690 replacement_pair_t repl[] local
582 write_replacements(genhomedircon_settings_t * s, FILE * out, const semanage_list_t * tpl, const replacement_pair_t *repl) argument
605 write_contexts(genhomedircon_settings_t *s, FILE *out, semanage_list_t *tpl, const replacement_pair_t *repl, const genhomedircon_user_entry_t *user) argument
710 replacement_pair_t repl[] = { local
722 replacement_pair_t repl[] = { local
735 replacement_pair_t repl[] = { local
[all...]
/external/antlr/antlr-3.4/runtime/Python/
H A Dez_setup.py202 repl = "".join(data)
213 src = src[:match.start(1)] + repl + src[match.end(1):]
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DEncoding.java171 String repl = REPLACEMENTS[ch];
172 if (repl != null) {
173 output.append(plainText, pos, i).append(repl);
/external/libnetfilter_conntrack/include/internal/
H A Dobject.h160 struct __nfct_tuple repl; member in struct:nf_conntrack
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
H A Datrace_agent.py354 def repl(m): function in function:fix_missing_tgids
366 trace_data = re.sub(r'^\s*(\S+)-(\d+)\s+(\(\S+\))', repl, trace_data,
/external/llvm/test/MC/Mips/micromips-dsp/
H A Dvalid.s98 repl.ph $1, 512 # CHECK: repl.ph $1, 512 # encoding: [0x02,0x00,0x08,0x3d]
99 repl.qb $1, 128 # CHECK: repl.qb $1, 128 # encoding: [0x00,0x30,0x05,0xfc]
/external/icu/icu4c/source/test/intltest/
H A Dregextst.cpp5369 UnicodeString repl; local
5372 repl = UnicodeString("<$0>");
5373 resultLength = uregex_replaceAll(re, repl.getBuffer(), repl.length(), resultBuf, UPRV_LENGTHOF(resultBuf), &status);
5378 repl = UnicodeString("<$1>");
5379 resultLength = uregex_replaceAll(re, repl.getBuffer(), repl.length(), resultBuf, UPRV_LENGTHOF(resultBuf), &status);
5384 repl = UnicodeString("<${one}>");
5385 resultLength = uregex_replaceAll(re, repl.getBuffer(), repl
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dreapits.c999 UChar repl[100]; local
1010 u_uastrncpy(repl, "some other", UPRV_LENGTHOF(repl));
1018 uregex_appendReplacement(re, repl, -1, &bufPtr, &bufCap, &status);
1027 u_uastrncpy(repl, "abc\\u0041\\U00000042 \\\\ \\$ \\abc", UPRV_LENGTHOF(repl));
1028 uregex_appendReplacement(re, repl, -1, &bufPtr, &bufCap, &status);
1038 uregex_appendReplacement(re, repl, -1, &bufPtr, NULL, &status);
1904 UChar repl[100]; local
1914 u_uastrncpy(repl, "som
[all...]

Completed in 3582 milliseconds

123