/external/iproute2/tc/ |
D | f_u32.c | 119 static int pack_key(struct tc_u32_sel *sel, __u32 key, __u32 mask, in pack_key() argument 123 int hwm = sel->nkeys; in pack_key() 128 if (sel->keys[i].off == off && sel->keys[i].offmask == offmask) { in pack_key() 129 __u32 intersect = mask & sel->keys[i].mask; in pack_key() 131 if ((key ^ sel->keys[i].val) & intersect) in pack_key() 133 sel->keys[i].val |= key; in pack_key() 134 sel->keys[i].mask |= mask; in pack_key() 143 sel->keys[hwm].val = key; in pack_key() 144 sel->keys[hwm].mask = mask; in pack_key() 145 sel->keys[hwm].off = off; in pack_key() [all …]
|
D | m_pedit.c | 62 struct m_pedit_sel *sel, in pedit_parse_nopopt() argument 124 struct tc_pedit_sel *sel = &_sel->sel; in pack_key() local 126 int hwm = sel->nkeys; in pack_key() 136 sel->keys[hwm].val = tkey->val; in pack_key() 137 sel->keys[hwm].mask = tkey->mask; in pack_key() 138 sel->keys[hwm].off = tkey->off; in pack_key() 139 sel->keys[hwm].at = tkey->at; in pack_key() 140 sel->keys[hwm].offmask = tkey->offmask; in pack_key() 141 sel->keys[hwm].shift = tkey->shift; in pack_key() 155 sel->nkeys++; in pack_key() [all …]
|
D | m_csum.c | 39 parse_csum_args(int *argc_p, char ***argv_p, struct tc_csum *sel) in parse_csum_args() argument 51 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_IPV4HDR; in parse_csum_args() 54 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_ICMP; in parse_csum_args() 57 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_IGMP; in parse_csum_args() 60 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_TCP; in parse_csum_args() 63 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_UDP; in parse_csum_args() 66 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_UDPLITE; in parse_csum_args() 69 sel->update_flags |= TCA_CSUM_UPDATE_FLAG_SCTP; in parse_csum_args() 91 struct tc_csum sel = {}; in parse_csum() local 101 if (parse_csum_args(&argc, &argv, &sel)) { in parse_csum() [all …]
|
D | m_nat.c | 44 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 97 if (parse_nat_args(&argc, &argv, &sel)) { in parse_nat() 118 parse_action_control_dflt(&argc, &argv, &sel.action, false, TC_ACT_OK); in parse_nat() 123 if (get_u32(&sel.index, *argv, 10)) { in parse_nat() 134 addattr_l(n, MAX_MSG, TCA_NAT_PARMS, &sel, sizeof(sel)); in parse_nat() [all …]
|
D | p_ip.c | 28 struct m_pedit_sel *sel, struct m_pedit_key *tkey) in parse_ip() argument 37 tkey->htype = sel->extended ? in parse_ip() 44 res = parse_cmd(&argc, &argv, 4, TIPV4, RU32, sel, tkey); in parse_ip() 50 res = parse_cmd(&argc, &argv, 4, TIPV4, RU32, sel, tkey); in parse_ip() 60 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey); in parse_ip() 66 res = parse_cmd(&argc, &argv, 1, TU32, 0x0f, sel, tkey); in parse_ip() 72 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey); in parse_ip() 78 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey); in parse_ip() 85 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey); in parse_ip() 92 res = parse_cmd(&argc, &argv, 1, TU32, 0x3F, sel, tkey); in parse_ip() [all …]
|
D | m_simple.c | 100 struct tc_defact sel = {}; in parse_simple() local 126 if (get_u32(&sel.index, *argv, 10)) { in parse_simple() 148 sel.action = TC_ACT_PIPE; in parse_simple() 152 addattr_l(n, MAX_MSG, TCA_DEF_PARMS, &sel, sizeof(sel)); in parse_simple() 164 struct tc_defact *sel; in print_simple() local 177 sel = RTA_DATA(tb[TCA_DEF_PARMS]); in print_simple() 187 fprintf(f, "\t index %u ref %d bind %d", sel->index, in print_simple() 188 sel->refcnt, sel->bindcnt); in print_simple()
|
D | p_ip6.c | 28 struct m_pedit_sel *sel, struct m_pedit_key *tkey) in parse_ip6() argument 37 if (!sel->extended) in parse_ip6() 45 res = parse_cmd(&argc, &argv, 16, TIPV6, RU32, sel, tkey); in parse_ip6() 51 res = parse_cmd(&argc, &argv, 16, TIPV6, RU32, sel, tkey); in parse_ip6() 57 res = parse_cmd(&argc, &argv, 4, TU32, 0x0007ffff, sel, tkey); in parse_ip6() 63 res = parse_cmd(&argc, &argv, 2, TU32, RU16, sel, tkey); in parse_ip6() 69 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey); in parse_ip6() 75 res = parse_cmd(&argc, &argv, 1, TU32, RU8, sel, tkey); in parse_ip6()
|
D | m_pedit.h | 61 struct tc_pedit_sel sel; member 71 struct m_pedit_sel *sel, 75 extern int pack_key(struct m_pedit_sel *sel, struct m_pedit_key *tkey); 76 extern int pack_key32(__u32 retain, struct m_pedit_sel *sel, 78 extern int pack_key16(__u32 retain, struct m_pedit_sel *sel, 80 extern int pack_key8(__u32 retain, struct m_pedit_sel *sel, 85 struct m_pedit_sel *sel, struct m_pedit_key *tkey); 87 struct m_pedit_sel *sel, struct m_pedit_key *tkey);
|
/external/llvm/test/CodeGen/NVPTX/ |
D | combine-min-max.ll | 11 %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/ |
D | unordered-fcmp-select.ll | 5 ; 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/ |
D | vselect-cost.ll | 14 ; 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/ |
D | si_state_shaders.c | 45 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/ |
D | ucnvsel.cpp | 229 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/ |
D | u32.c | 119 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/ |
D | cmov-fp.ll | 9 %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/ |
D | select.ll | 11 %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/ |
D | sb_bc_finalize.cpp | 307 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 …]
|
D | sb_bc_dump.cpp | 139 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/ |
D | ipxfrm.c | 430 void xfrm_selector_print(struct xfrm_selector *sel, __u16 family, in xfrm_selector_print() argument 435 f = sel->family; in xfrm_selector_print() 445 rt_addr_n2a(f, sizeof(sel->saddr), &sel->saddr), in xfrm_selector_print() 446 sel->prefixlen_s); in xfrm_selector_print() 449 rt_addr_n2a(f, sizeof(sel->daddr), &sel->daddr), in xfrm_selector_print() 450 sel->prefixlen_d); in xfrm_selector_print() 452 if (sel->proto) in xfrm_selector_print() 453 fprintf(fp, "proto %s ", strxf_proto(sel->proto)); in xfrm_selector_print() 454 switch (sel->proto) { in xfrm_selector_print() 460 if (sel->sport_mask) in xfrm_selector_print() [all …]
|
/external/libedit/src/ |
D | sig.c | 52 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/ |
D | r600_asm.c | 272 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 …]
|
D | r600_shader.c | 163 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/mesa3d/src/compiler/nir/ |
D | nir_opt_peephole_select.c | 207 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/ |
D | mbox.py | 164 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 …]
|
/external/curl/lib/ |
D | gopher.c | 82 char *sel = NULL; in gopher_do() local 91 sel = (char *)""; in gopher_do() 92 len = (int)strlen(sel); in gopher_do() 109 result = Curl_urldecode(data, newp, 0, &sel, &len, FALSE); in gopher_do() 112 sel_org = sel; in gopher_do() 120 result = Curl_write(conn, sockfd, sel, k, &amount); in gopher_do() 122 result = Curl_client_write(conn, CLIENTWRITE_HEADER, sel, amount); in gopher_do() 127 sel += amount; in gopher_do()
|