Home
last modified time | relevance | path

Searched refs:sel (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/external/iproute2/tc/
Df_u32.c117 static int pack_key(struct tc_u32_sel *sel, __u32 key, __u32 mask, in pack_key() argument
121 int hwm = sel->nkeys; in pack_key()
126 if (sel->keys[i].off == off && sel->keys[i].offmask == offmask) { in pack_key()
127 __u32 intersect = mask & sel->keys[i].mask; in pack_key()
129 if ((key ^ sel->keys[i].val) & intersect) in pack_key()
131 sel->keys[i].val |= key; in pack_key()
132 sel->keys[i].mask |= mask; in pack_key()
141 sel->keys[hwm].val = key; in pack_key()
142 sel->keys[hwm].mask = mask; in pack_key()
143 sel->keys[hwm].off = off; in pack_key()
[all …]
Dm_pedit.c62 pedit_parse_nopopt (int *argc_p, char ***argv_p,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey) in pedit_parse_nopopt() argument
121 pack_key(struct tc_pedit_sel *sel,struct tc_pedit_key *tkey) in pack_key() argument
123 int hwm = sel->nkeys; in pack_key()
133 sel->keys[hwm].val = tkey->val; in pack_key()
134 sel->keys[hwm].mask = tkey->mask; in pack_key()
135 sel->keys[hwm].off = tkey->off; in pack_key()
136 sel->keys[hwm].at = tkey->at; in pack_key()
137 sel->keys[hwm].offmask = tkey->offmask; in pack_key()
138 sel->keys[hwm].shift = tkey->shift; in pack_key()
139 sel->nkeys++; in pack_key()
[all …]
Dm_csum.c40 parse_csum_args(int *argc_p, char ***argv_p, struct tc_csum *sel) in parse_csum_args() argument
52 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_IPV4HDR; in parse_csum_args()
55 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_ICMP; in parse_csum_args()
58 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_IGMP; in parse_csum_args()
61 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_TCP; in parse_csum_args()
64 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_UDP; in parse_csum_args()
67 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_UDPLITE; in parse_csum_args()
89 struct tc_csum sel; in parse_csum() local
96 memset(&sel, 0, sizeof(sel)); in parse_csum()
101 if (parse_csum_args(&argc, &argv, &sel)) { in parse_csum()
[all …]
Dm_nat.c44 parse_nat_args(int *argc_p, char ***argv_p,struct tc_nat *sel) in parse_nat_args() argument
54 sel->flags |= TCA_NAT_FLAG_EGRESS; in parse_nat_args()
63 sel->old_addr = addr.data[0]; in parse_nat_args()
64 sel->mask = htonl(~0u << (32 - addr.bitlen)); in parse_nat_args()
71 sel->new_addr = addr.data[0]; in parse_nat_args()
87 struct tc_nat sel; in parse_nat() local
94 memset(&sel, 0, sizeof(sel)); in parse_nat()
99 if (parse_nat_args(&argc, &argv, &sel)) { in parse_nat()
122 sel.action = TC_ACT_RECLASSIFY; in parse_nat()
126 sel.action = TC_ACT_PIPE; in parse_nat()
[all …]
Dp_ip.c27 parse_ip(int *argc_p, char ***argv_p,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey) in parse_ip() argument
39 res = parse_cmd(&argc, &argv, 4, TIPV4,RU32,sel,tkey); in parse_ip()
45 res = parse_cmd(&argc, &argv, 4, TIPV4,RU32,sel,tkey); in parse_ip()
55 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); in parse_ip()
61 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); in parse_ip()
67 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); in parse_ip()
74 res = parse_cmd(&argc, &argv, 1, TU32,RU8,sel,tkey); in parse_ip()
81 res = parse_cmd(&argc, &argv, 1, TU32,0x3F,sel,tkey); in parse_ip()
88 res = parse_cmd(&argc, &argv, 1, TU32,0x1F,sel,tkey); in parse_ip()
94 res = parse_cmd(&argc, &argv, 1, TU32,0x80,sel,tkey); in parse_ip()
[all …]
Dm_connmark.c47 struct tc_connmark sel = {}; in parse_connmark() local
74 if (get_u16(&sel.zone, *argv, 10)) { in parse_connmark()
83 sel.action = TC_ACT_PIPE; in parse_connmark()
86 sel.action = TC_ACT_RECLASSIFY; in parse_connmark()
90 sel.action = TC_ACT_PIPE; in parse_connmark()
95 sel.action = TC_ACT_SHOT; in parse_connmark()
99 sel.action = TC_ACT_UNSPEC; in parse_connmark()
103 sel.action = TC_ACT_OK; in parse_connmark()
112 if (get_u32(&sel.index, *argv, 10)) { in parse_connmark()
123 addattr_l(n, MAX_MSG, TCA_CONNMARK_PARMS, &sel, sizeof(sel)); in parse_connmark()
Dm_simple.c99 struct tc_defact sel = {}; in parse_simple() local
131 if (get_u32(&sel.index, *argv, 10)) { in parse_simple()
146 sel.action = TC_ACT_PIPE; in parse_simple()
150 addattr_l(n, MAX_MSG, TCA_DEF_PARMS, &sel, sizeof(sel)); in parse_simple()
161 struct tc_defact *sel; in print_simple() local
174 sel = RTA_DATA(tb[TCA_DEF_PARMS]); in print_simple()
184 fprintf(f, "\t index %d ref %d bind %d", sel->index, in print_simple()
185 sel->refcnt, sel->bindcnt); in print_simple()
Dm_pedit.h46 …int (*parse_peopt)(int *argc_p, char ***argv_p,struct tc_pedit_sel *sel,struct tc_pedit_key *t…
50 …c_p, char ***argv_p, __u32 len, int type,__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key…
51 extern int pack_key(struct tc_pedit_sel *sel,struct tc_pedit_key *tkey);
52 extern int pack_key32(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey);
53 extern int pack_key16(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey);
54 extern int pack_key8(__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key *tkey);
56 …c_p, char ***argv_p, __u32 len, int type,__u32 retain,struct tc_pedit_sel *sel,struct tc_pedit_key…
57 extern int parse_offset(int *argc_p, char ***argv_p,struct tc_pedit_sel *sel,struct tc_pedit_key *t…
Dm_skbedit.c60 struct tc_skbedit sel = { 0 }; in parse_skbedit() local
102 sel.action = TC_ACT_PIPE; in parse_skbedit()
105 sel.action = TC_ACT_RECLASSIFY; in parse_skbedit()
108 sel.action = TC_ACT_PIPE; in parse_skbedit()
112 sel.action = TC_ACT_SHOT; in parse_skbedit()
115 sel.action = TC_ACT_UNSPEC; in parse_skbedit()
118 sel.action = TC_ACT_OK; in parse_skbedit()
126 if (get_u32(&sel.index, *argv, 10)) { in parse_skbedit()
144 addattr_l(n, MAX_MSG, TCA_SKBEDIT_PARMS, &sel, sizeof(sel)); in parse_skbedit()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/mturk/
Dselenium_support.py16 sel = selenium(*sel_args)
19 sel.do_command('shutdown', '')
44 sel = selenium(*sel_args)
45 sel.start()
46 sel.open("/mturk/welcome")
47 sel.click("lnkWorkerSignin")
48 sel.wait_for_page_to_load("30000")
49 sel.type("email", "boto.tester@example.com")
50 sel.type("password", "BotoTest")
51 sel.click("Continue")
[all …]
/external/llvm/test/CodeGen/NVPTX/
Dcombine-min-max.ll11 %sel = select i1 %cmp, i32 %a, i32 %b
12 ret i32 %sel
20 %sel = select i1 %cmp, i64 %b, i64 %a
21 ret i64 %sel
34 %sel = select i1 %cmp, i16 %a, i16 %b
35 ret i16 %sel
47 %sel = select i1 %cmp, i32 %a, i32 %b
48 ret i32 %sel
55 %sel = select i1 %cmp, i32 %a, i32 %b
56 ret i32 %sel
[all …]
/external/llvm/test/Transforms/InstCombine/
Dunordered-fcmp-select.ll5 ; CHECK-NEXT: %sel = select i1 %cmp.inv, float %b, float %a
6 ; CHECK-NEXT: ret float %sel
9 %sel = select i1 %cmp, float %a, float %b
10 ret float %sel
15 ; CHECK-NEXT: %sel = select i1 %cmp.inv, float %b, float %a
16 ; CHECK-NEXT: ret float %sel
19 %sel = select i1 %cmp, float %a, float %b
20 ret float %sel
25 ; CHECK-NEXT: %sel = select i1 %cmp.inv, float %a, float %b
26 ; CHECK-NEXT: ret float %sel
[all …]
Dselect-extractelement.ll11 %sel = select i1 %cmp, <4 x float> %a, <4 x float> %b
12 %extract = extractelement <4 x float> %sel, i32 2
21 %sel = select i1 %cmp, <4 x float> %a, <4 x float> %b
22 %extract1 = extractelement <4 x float> %sel, i32 1
23 %extract2 = extractelement <4 x float> %sel, i32 2
34 %sel = select i1 %cmp, <4 x float> %a, <4 x float> %b
35 %extract = extractelement <4 x float> %sel, i32 2
36 call void @v4float_user(<4 x float> %sel)
44 %sel = select <4 x i1> %cmp, <4 x float> %a, <4 x float> %b
45 %extract = extractelement <4 x float> %sel, i32 2
[all …]
/external/llvm/test/Analysis/CostModel/X86/
Dvselect-cost.ll14 ; SSE2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
15 ; SSE41: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
16 ; AVX: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
17 ; AVX2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
18 %sel = select <2 x i1> <i1 true, i1 false>, <2 x i64> %a, <2 x i64> %b
19 ret <2 x i64> %sel
24 ; SSE2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
25 ; SSE41: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
26 ; AVX: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
27 ; AVX2: Cost Model: {{.*}} 1 for instruction: %sel = select <2 x i1>
[all …]
/external/icu/icu4c/source/common/
Ducnvsel.cpp227 ucnvsel_close(UConverterSelector *sel) { in ucnvsel_close() argument
228 if (!sel) { in ucnvsel_close()
231 if (sel->ownEncodingStrings) { in ucnvsel_close()
232 uprv_free(sel->encodings[0]); in ucnvsel_close()
234 uprv_free(sel->encodings); in ucnvsel_close()
235 if (sel->ownPv) { in ucnvsel_close()
236 uprv_free(sel->pv); in ucnvsel_close()
238 utrie2_close(sel->trie); in ucnvsel_close()
239 uprv_free(sel->swapped); in ucnvsel_close()
240 uprv_free(sel); in ucnvsel_close()
[all …]
/external/opencv3/samples/python2/
Dmouse_and_match.py23 sel = (0,0,0,0) variable
26 global drag_start, sel
29 sel = 0,0,0,0
31 if sel[2] > sel[0] and sel[3] > sel[1]:
32 patch = gray[sel[1]:sel[3],sel[0]:sel[2]]
44 sel = minpos[0], minpos[1], maxpos[0], maxpos[1]
46 cv2.rectangle(img, (sel[0], sel[1]), (sel[2], sel[3]), (0,255,255), 1)
69 sel = (0,0,0,0) variable
/external/libnl/lib/route/cls/
Du32.c119 struct tc_u32_sel *sel; in u32_msg_parser() local
127 sel = u->cu_selector->d_data; in u32_msg_parser()
129 (sel->nkeys * sizeof(uint64_t)); in u32_msg_parser()
197 static void print_selector(struct nl_dump_params *p, struct tc_u32_sel *sel, in print_selector() argument
203 if (sel->hmask || sel->hoff) { in print_selector()
208 nl_dump(p, " hash at %u & 0x%x", sel->hoff, sel->hmask); in print_selector()
211 if (sel->flags & (TC_U32_OFFSET | TC_U32_VAROFFSET)) { in print_selector()
212 nl_dump(p, " offset at %u", sel->off); in print_selector()
214 if (sel->flags & TC_U32_VAROFFSET) in print_selector()
216 sel->offoff, ntohs(sel->offmask), sel->offshift); in print_selector()
[all …]
/external/llvm/test/CodeGen/X86/
Dcmov-fp.ll9 %sel = select i1 %cmp, double 99.0, double %x
10 ret double %sel
28 %sel = select i1 %cmp, double 99.0, double %x
29 ret double %sel
46 %sel = select i1 %cmp, double 99.0, double %x
47 ret double %sel
64 %sel = select i1 %cmp, double 99.0, double %x
65 ret double %sel
82 %sel = select i1 %cmp, double 99.0, double %x
83 ret double %sel
[all …]
/external/llvm/test/Transforms/CodeGenPrepare/X86/
Dselect.ll12 %sel = select i1 %cmp, i32 %x, i32 %y
13 ret i32 %sel
22 ; CHECK: %sel = phi i32 [ %x, %entry ], [ %y, %select.false ]
23 ; CHECK: ret i32 %sel
33 %sel = select i1 %cmp, float %div, float 2.0
34 ret float %sel
43 ; CHECK: %sel = phi float [ %div, %select.true.sink ], [ 2.000000e+00, %entry ]
44 ; CHECK: ret float %sel
51 %sel = select i1 %cmp, float 4.0, float %div
52 ret float %sel
[all …]
/external/iproute2/ip/
Dipxfrm.c441 void xfrm_selector_print(struct xfrm_selector *sel, __u16 family, in xfrm_selector_print() argument
447 f = sel->family; in xfrm_selector_print()
458 rt_addr_n2a(f, sizeof(sel->saddr), &sel->saddr, in xfrm_selector_print()
460 sel->prefixlen_s); in xfrm_selector_print()
464 rt_addr_n2a(f, sizeof(sel->daddr), &sel->daddr, in xfrm_selector_print()
466 sel->prefixlen_d); in xfrm_selector_print()
468 if (sel->proto) in xfrm_selector_print()
469 fprintf(fp, "proto %s ", strxf_proto(sel->proto)); in xfrm_selector_print()
470 switch (sel->proto) { in xfrm_selector_print()
476 if (sel->sport_mask) in xfrm_selector_print()
[all …]
/external/libedit/src/
Dsig.c52 private EditLine *sel = NULL; variable
78 sel->el_signal->sig_no = signo; in sig_handler()
82 tty_rawmode(sel); in sig_handler()
83 if (ed_redisplay(sel, 0) == CC_REFRESH) in sig_handler()
84 re_refresh(sel); in sig_handler()
85 terminal__flush(sel); in sig_handler()
89 el_resize(sel); in sig_handler()
93 tty_cookedmode(sel); in sig_handler()
101 (void) sigaction(signo, &sel->el_signal->sig_action[i], NULL); in sig_handler()
102 sel->el_signal->sig_action[i].sa_handler = SIG_ERR; in sig_handler()
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c112 struct r600_pipe_shader_selector *sel = shader->selector; in r600_pipe_shader_create() local
122 tgsi_dump(sel->tokens, 0); in r600_pipe_shader_create()
124 if (sel->so.num_outputs) { in r600_pipe_shader_create()
127 for (i = 0; i < sel->so.num_outputs; i++) { in r600_pipe_shader_create()
128 unsigned mask = ((1 << sel->so.output[i].num_components) - 1) << in r600_pipe_shader_create()
129 sel->so.output[i].start_component; in r600_pipe_shader_create()
131 sel->so.output[i].output_buffer, sel->so.output[i].register_index, in r600_pipe_shader_create()
168 unsigned sel; member
279 alu->src[src_idx].sel = sel0 | (sel1 << 8); in r600_src_from_byte_stream()
304 alu.dst.sel = bytes[bytes_read++]; in r600_alu_from_byte_stream()
[all …]
Dr600_asm.c681 static int reserve_gpr(struct alu_bank_swizzle *bs, unsigned sel, unsigned chan, unsigned cycle) in reserve_gpr() argument
684 bs->hw_gpr[cycle][chan] = sel; in reserve_gpr()
685 else if (bs->hw_gpr[cycle][chan] != (int)sel) { in reserve_gpr()
692 static int reserve_cfile(struct r600_bytecode *bc, struct alu_bank_swizzle *bs, unsigned sel, unsig… in reserve_cfile() argument
701 bs->hw_cfile_addr[res] = sel; in reserve_cfile()
704 } else if (bs->hw_cfile_addr[res] == sel && in reserve_cfile()
712 static int is_gpr(unsigned sel) in is_gpr() argument
714 return (sel >= 0 && sel <= 127); in is_gpr()
720 static int is_cfile(unsigned sel) in is_cfile() argument
722 return (sel > 255 && sel < 512) || in is_cfile()
[all …]
/external/curl/lib/
Dgopher.c83 char *sel; in gopher_do() local
91 sel = (char *)""; in gopher_do()
108 sel = curl_easy_unescape(data, newp, 0, &len); in gopher_do()
109 if(!sel) in gopher_do()
111 sel_org = sel; in gopher_do()
116 k = curlx_uztosz(strlen(sel)); in gopher_do()
119 result = Curl_write(conn, sockfd, sel, k, &amount); in gopher_do()
121 result = Curl_client_write(conn, CLIENTWRITE_HEADER, sel, amount); in gopher_do()
127 sel += amount; in gopher_do()
/external/llvm/test/CodeGen/ARM/
Dbfi.ll85 %sel = select i1 %cmp, i32 %or, i32 %y2
86 ret i32 %sel
97 %sel = select i1 %cmp, i32 %or, i32 %y2
98 ret i32 %sel
108 %sel = select i1 %cmp, i32 %y2, i32 %or
109 ret i32 %sel
119 %sel = select i1 %cmp, i32 %or, i32 %y2
122 %aor = or i32 %sel, 16
124 %asel = select i1 %acmp, i32 %aor, i32 %sel
136 %sel = select i1 %cmp, i32 %or, i32 %y2
[all …]

12345678910>>...13