Home
last modified time | relevance | path

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

12345678910>>...16

/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…
/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 …]
/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/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c45 static void *si_get_tgsi_binary(struct si_shader_selector *sel) in si_get_tgsi_binary() argument
47 unsigned tgsi_size = tgsi_num_tokens(sel->tokens) * in si_get_tgsi_binary()
49 unsigned size = 4 + tgsi_size + sizeof(sel->so); in si_get_tgsi_binary()
56 memcpy(result + 4, sel->tokens, tgsi_size); in si_get_tgsi_binary()
57 memcpy(result + 4 + tgsi_size, &sel->so, sizeof(sel->so)); in si_get_tgsi_binary()
447 static uint32_t si_vgt_gs_mode(struct si_shader_selector *sel) in si_vgt_gs_mode() argument
449 unsigned gs_max_vert_out = sel->gs_max_out_vertices; in si_vgt_gs_mode()
471 struct si_shader_selector *sel = shader->selector; in si_shader_gs() local
472 const ubyte *num_components = sel->info.num_stream_output_components; in si_shader_gs()
473 unsigned gs_num_invocations = sel->gs_num_invocations; in si_shader_gs()
[all …]
/external/icu/icu4c/source/common/
Ducnvsel.cpp229 ucnvsel_close(UConverterSelector *sel) { in ucnvsel_close() argument
230 if (!sel) { in ucnvsel_close()
233 if (sel->ownEncodingStrings) { in ucnvsel_close()
234 uprv_free(sel->encodings[0]); in ucnvsel_close()
236 uprv_free(sel->encodings); in ucnvsel_close()
237 if (sel->ownPv) { in ucnvsel_close()
238 uprv_free(sel->pv); in ucnvsel_close()
240 utrie2_close(sel->trie); in ucnvsel_close()
241 uprv_free(sel->swapped); in ucnvsel_close()
242 uprv_free(sel); in ucnvsel_close()
[all …]
/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()
205 static void print_selector(struct nl_dump_params *p, struct tc_u32_sel *sel, in print_selector() argument
211 if (sel->hmask || sel->hoff) { in print_selector()
216 nl_dump(p, " hash at %u & 0x%x", sel->hoff, sel->hmask); in print_selector()
219 if (sel->flags & (TC_U32_OFFSET | TC_U32_VAROFFSET)) { in print_selector()
220 nl_dump(p, " offset at %u", sel->off); in print_selector()
222 if (sel->flags & TC_U32_VAROFFSET) in print_selector()
224 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.ll11 %sel = select i1 %cmp, i32 %x, i32 %y
12 ret i32 %sel
17 ; CHECK: %sel = select i1 %cmp, i32 %x, i32 %y
18 ; CHECK: ret i32 %sel
28 %sel = select i1 %cmp, float %div, float 2.0
29 ret float %sel
38 ; CHECK: %sel = phi float [ %div, %select.true.sink ], [ 2.000000e+00, %entry ]
39 ; CHECK: ret float %sel
46 %sel = select i1 %cmp, float 4.0, float %div
47 ret float %sel
[all …]
/external/mesa3d/src/gallium/drivers/r600/sb/
Dsb_bc_finalize.cpp307 n->bc.dst_gpr = fdst.sel(); in finalize_alu_group()
313 update_ngpr(d->array->gpr.sel() + d->array->array_size -1); in finalize_alu_group()
368 src.sel = sc.sel(); in finalize_alu_src()
372 update_ngpr(v->array->gpr.sel() + v->array->array_size -1); in finalize_alu_src()
376 if (pn->bc.dst_gpr == src.sel) { in finalize_alu_src()
388 src.sel = gpr.sel(); in finalize_alu_src()
390 update_ngpr(src.sel); in finalize_alu_src()
393 src.sel = v->gpr.sel(); in finalize_alu_src()
395 update_ngpr(src.sel); in finalize_alu_src()
403 src.sel = ALU_SRC_0; in finalize_alu_src()
[all …]
Dsb_bc_dump.cpp139 s << chans[n.bc.sel[k]]; in dump()
207 static void print_sel(sb_ostream &s, int sel, int rel, int index_mode, in print_sel() argument
209 if (rel && index_mode >= 5 && sel < 128) in print_sel()
214 s << sel; in print_sel()
228 unsigned sel = alu.dst_gpr; in print_dst() local
230 if (sel >= 128 - 4) { // clause temporary gpr in print_dst()
231 sel -= 128 - 4; in print_dst()
237 print_sel(s, sel, alu.dst_rel, alu.index_mode, 0); in print_dst()
248 unsigned sel = src->sel, need_sel = 1, need_chan = 1, need_brackets = 0; in print_src() local
255 if (sel < 128 - 4) { in print_src()
[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_asm.c272 static int is_lds_read(int sel) in is_lds_read() argument
274 return sel == EG_V_SQ_ALU_SRC_LDS_OQ_A_POP || sel == EG_V_SQ_ALU_SRC_LDS_OQ_B_POP; in is_lds_read()
283 if (is_lds_read(alu->src[src].sel)) { in alu_uses_lds()
398 static int reserve_gpr(struct alu_bank_swizzle *bs, unsigned sel, unsigned chan, unsigned cycle) in reserve_gpr() argument
401 bs->hw_gpr[cycle][chan] = sel; in reserve_gpr()
402 else if (bs->hw_gpr[cycle][chan] != (int)sel) { in reserve_gpr()
409 static int reserve_cfile(struct r600_bytecode *bc, struct alu_bank_swizzle *bs, unsigned sel, unsig… in reserve_cfile() argument
418 bs->hw_cfile_addr[res] = sel; in reserve_cfile()
421 } else if (bs->hw_cfile_addr[res] == sel && in reserve_cfile()
429 static int is_gpr(unsigned sel) in is_gpr() argument
[all …]
Dr600_shader.c163 struct r600_pipe_shader_selector *sel = shader->selector; in r600_pipe_shader_create() local
166 tgsi_get_processor_type(sel->tokens)); in r600_pipe_shader_create()
175 tgsi_dump(sel->tokens, 0); in r600_pipe_shader_create()
177 if (sel->so.num_outputs) { in r600_pipe_shader_create()
178 r600_dump_streamout(&sel->so); in r600_pipe_shader_create()
303 unsigned sel; member
499 alu.dst.sel = ctx->shader->input[input].gpr; in evergreen_interp_alu()
505 alu.src[0].sel = gpr; in evergreen_interp_alu()
508 alu.src[1].sel = V_SQ_ALU_SRC_PARAM_BASE + ctx->shader->input[input].lds_pos; in evergreen_interp_alu()
530 alu.dst.sel = ctx->shader->input[input].gpr; in evergreen_interp_flat()
[all …]
/external/curl/lib/
Dgopher.c81 char *sel; in gopher_do() local
90 sel = (char *)""; in gopher_do()
91 len = (int)strlen(sel); in gopher_do()
108 result = Curl_urldecode(data, newp, 0, &sel, &len, FALSE); in gopher_do()
109 if(!sel) in gopher_do()
111 sel_org = 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()
126 sel += amount; in gopher_do()
/external/mesa3d/src/compiler/nir/
Dnir_opt_peephole_select.c207 nir_alu_instr *sel = nir_alu_instr_create(shader, nir_op_bcsel); in nir_opt_peephole_select_block() local
208 nir_src_copy(&sel->src[0].src, &if_stmt->condition, sel); in nir_opt_peephole_select_block()
210 memset(sel->src[0].swizzle, 0, sizeof sel->src[0].swizzle); in nir_opt_peephole_select_block()
218 nir_src_copy(&sel->src[idx].src, &src->src, sel); in nir_opt_peephole_select_block()
221 nir_ssa_dest_init(&sel->instr, &sel->dest.dest, in nir_opt_peephole_select_block()
224 sel->dest.write_mask = (1 << phi->dest.ssa.num_components) - 1; in nir_opt_peephole_select_block()
227 nir_src_for_ssa(&sel->dest.dest.ssa)); in nir_opt_peephole_select_block()
229 nir_instr_insert_before(&phi->instr, &sel->instr); in nir_opt_peephole_select_block()
/external/python/cpython2/Demo/tkinter/guido/
Dmbox.py164 sel = folderbox.curselection()
165 if len(sel) != 1:
166 if len(sel) > 1:
172 i = sel[0]
179 sel = scanbox.curselection()
180 if len(sel) != 1:
181 if len(sel) > 1:
190 i = sel[0]
207 sel = scanbox.curselection()
208 if not sel:
[all …]

12345678910>>...16