/external/mesa3d/src/compiler/spirv/ |
D | vtn_glsl450.c | 100 case 2: return build_mat2_det(&b->nb, cols); in build_mat_det() 101 case 3: return build_mat3_det(&b->nb, cols); in build_mat_det() 102 case 4: return build_mat4_det(&b->nb, cols); in build_mat_det() 152 elem[r] = build_mat_subdet(&b->nb, src, size, c, r); in matrix_inverse() 155 elem[r] = nir_fneg(&b->nb, elem[r]); in matrix_inverse() 158 adj_col[c] = nir_vec(&b->nb, elem, size); in matrix_inverse() 161 nir_ssa_def *det_inv = nir_frcp(&b->nb, build_mat_det(b, src)); in matrix_inverse() 165 val->elems[i]->def = nir_fmul(&b->nb, adj_col[i], det_inv); in matrix_inverse() 477 struct nir_builder *nb = &b->nb; in handle_glsl450_alu() local 497 val->ssa->def = nir_fmul(nb, src[0], nir_imm_float(nb, 0.01745329251)); in handle_glsl450_alu() [all …]
|
D | vtn_alu.c | 105 vec_src[j] = nir_fdot(&b->nb, src0_transpose->elems[j]->def, in matrix_multiply() 108 dest->elems[i]->def = nir_vec(&b->nb, vec_src, src0_rows); in matrix_multiply() 119 nir_fmul(&b->nb, src0->elems[0]->def, in matrix_multiply() 120 nir_channel(&b->nb, src1->elems[i]->def, 0)); in matrix_multiply() 123 nir_fadd(&b->nb, dest->elems[i]->def, in matrix_multiply() 124 nir_fmul(&b->nb, src0->elems[j]->def, in matrix_multiply() 125 nir_channel(&b->nb, src1->elems[i]->def, j))); in matrix_multiply() 146 dest->elems[i]->def = nir_fmul(&b->nb, mat->elems[i]->def, scalar); in mat_times_scalar() 148 dest->elems[i]->def = nir_imul(&b->nb, mat->elems[i]->def, scalar); in mat_times_scalar() 164 dest->ssa->elems[i]->def = nir_fneg(&b->nb, src0->elems[i]->def); in vtn_handle_matrix_alu() [all …]
|
D | vtn_cfg.c | 98 b->nb.cursor = nir_before_cf_list(&b->func->impl->body); in vtn_cfg_handle_prepass_instruction() 629 nir_local_variable_create(b->nb.impl, type->type, "phi"); in vtn_handle_phis_first_pass() 653 b->nb.cursor = nir_after_instr(&pred->end_nop->instr); in vtn_handle_phi_second_pass() 669 nir_store_var(&b->nb, switch_fall_var, nir_imm_int(&b->nb, NIR_FALSE), 1); in vtn_emit_branch() 675 nir_jump(&b->nb, nir_jump_break); in vtn_emit_branch() 678 nir_jump(&b->nb, nir_jump_continue); in vtn_emit_branch() 681 nir_jump(&b->nb, nir_jump_return); in vtn_emit_branch() 685 nir_intrinsic_instr_create(b->nb.shader, nir_intrinsic_discard); in vtn_emit_branch() 686 nir_builder_instr_insert(&b->nb, &discard->instr); in vtn_emit_branch() 713 block->end_nop = nir_intrinsic_instr_create(b->nb.shader, in vtn_emit_cf_list() [all …]
|
/external/ltp/testcases/kernel/fs/doio/ |
D | pattern.c | 42 int nb, ncmp, nleft; in pattern_check() local 58 nb = patlen - patshift; in pattern_check() 59 if (nleft < nb) { in pattern_check() 62 if (memcmp(cp, pat + patshift, nb)) in pattern_check() 65 nleft -= nb; in pattern_check() 66 cp += nb; in pattern_check() 70 nb = patshift; in pattern_check() 71 if (nleft < nb) { in pattern_check() 74 if (memcmp(cp, pat, nb)) in pattern_check() 77 nleft -= nb; in pattern_check() [all …]
|
/external/ltp/testcases/kernel/input/ |
D | input01.c | 35 static int verify_data(struct input_event *iev, int nb); 90 int nb; in send_events() local 92 for (nb = 0; nb < NB_TEST; ++nb) { in send_events() 100 int nb, rd; in check_events() local 104 nb = 0; in check_events() 106 while (nb < NB_TEST * 3) { in check_events() 118 if (verify_data(&iev[i], nb++)) in check_events() 126 static int verify_data(struct input_event *iev, int nb) in verify_data() argument 128 if (nb % 3 == 0) { in verify_data() 132 nb, iev->type, EV_REL); in verify_data() [all …]
|
D | input03.c | 95 int nb; in send_events() local 97 for (nb = 0; nb < NB_TEST; ++nb) { in send_events() 109 int nb, rd, i, pressed = 0; in check_events() local 112 nb = 0; in check_events() 114 while (nb < NB_TEST) { in check_events() 131 nb++; in check_events() 136 return nb != NB_TEST; in check_events()
|
/external/tensorflow/tensorflow/core/graph/ |
D | mkl_layout_pass.cc | 646 std::function<void(const Node*, NodeBuilder* nb, bool)>)> 648 std::function<void(const Node*, NodeBuilder* nb, bool)> copy_attrs; 1082 std::function<void(const Node*, NodeBuilder* nb, bool)> copy_attrs, 1416 NodeBuilder* nb, Node* old_node, 1430 NodeBuilder* nb, Node* orig_node); 1438 NodeBuilder* nb, 1475 static void CopyAttrsAddN(const Node* orig_node, NodeBuilder* nb, 1477 static void CopyAttrsBiasAddGrad(const Node* orig_node, NodeBuilder* nb, 1479 static void CopyAttrsConcat(const Node* orig_node, NodeBuilder* nb, 1481 static void CopyAttrsConcatV2(const Node* orig_node, NodeBuilder* nb, [all …]
|
/external/libopus/silk/ |
D | LP_variable_cutoff.c | 48 opus_int nb, na; in silk_LP_interpolate_filter_taps() local 54 for( nb = 0; nb < TRANSITION_NB; nb++ ) { in silk_LP_interpolate_filter_taps() 55 B_Q28[ nb ] = silk_SMLAWB( in silk_LP_interpolate_filter_taps() 56 silk_Transition_LP_B_Q28[ ind ][ nb ], in silk_LP_interpolate_filter_taps() 57 silk_Transition_LP_B_Q28[ ind + 1 ][ nb ] - in silk_LP_interpolate_filter_taps() 58 silk_Transition_LP_B_Q28[ ind ][ nb ], in silk_LP_interpolate_filter_taps() 71 for( nb = 0; nb < TRANSITION_NB; nb++ ) { in silk_LP_interpolate_filter_taps() 72 B_Q28[ nb ] = silk_SMLAWB( in silk_LP_interpolate_filter_taps() 73 silk_Transition_LP_B_Q28[ ind + 1 ][ nb ], in silk_LP_interpolate_filter_taps() 74 silk_Transition_LP_B_Q28[ ind + 1 ][ nb ] - in silk_LP_interpolate_filter_taps() [all …]
|
/external/iproute2/tc/ |
D | em_nbyte.c | 47 struct tcf_em_nbyte nb = {}; in nbyte_parse_eopt() local 93 nb.len = needle->len; in nbyte_parse_eopt() 94 nb.layer = (__u8) layer; in nbyte_parse_eopt() 95 nb.off = (__u16) offset; in nbyte_parse_eopt() 98 addraw_l(n, MAX_MSG, &nb, sizeof(nb)); in nbyte_parse_eopt() 109 struct tcf_em_nbyte *nb = data; in nbyte_print_eopt() local 112 if (data_len < sizeof(*nb)) { in nbyte_print_eopt() 117 if (data_len < sizeof(*nb) + nb->len) { in nbyte_print_eopt() 122 needle = data + sizeof(*nb); in nbyte_print_eopt() 124 for (i = 0; i < nb->len; i++) in nbyte_print_eopt() [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/Thumb2/ |
D | thumb2-cmn.ll | 7 %nb = sub i32 0, %b 8 %tmp = icmp ne i32 %a, %nb 15 %nb = sub i32 0, %b 16 %tmp = icmp ne i32 %nb, %a 23 %nb = sub i32 0, %b 24 %tmp = icmp eq i32 %a, %nb 31 %nb = sub i32 0, %b 32 %tmp = icmp eq i32 %nb, %a 40 %nb = sub i32 0, %tmp 41 %tmp1 = icmp eq i32 %nb, %a [all …]
|
/external/llvm/test/CodeGen/Thumb2/ |
D | thumb2-cmn.ll | 7 %nb = sub i32 0, %b 8 %tmp = icmp ne i32 %a, %nb 15 %nb = sub i32 0, %b 16 %tmp = icmp ne i32 %nb, %a 23 %nb = sub i32 0, %b 24 %tmp = icmp eq i32 %a, %nb 31 %nb = sub i32 0, %b 32 %tmp = icmp eq i32 %nb, %a 40 %nb = sub i32 0, %tmp 41 %tmp1 = icmp eq i32 %nb, %a [all …]
|
/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
D | test_widgets.py | 911 self.nb = self.create(padding=0) 914 self.nb.add(self.child1, text='a') 915 self.nb.add(self.child2, text='b') 921 self.nb.forget(0) 922 self.nb.hide(self.child2) 923 self.assertRaises(tkinter.TclError, self.nb.tab, self.child1) 924 self.assertEqual(self.nb.index('end'), 1) 925 self.nb.add(self.child2) 926 self.assertEqual(self.nb.index('end'), 1) 927 self.nb.select(self.child2) [all …]
|
/external/python/setuptools/ |
D | launcher.c | 50 int i, ln = strlen(data), nb; in quoted() local 58 for (nb=0, i=0; i < ln; i++) in quoted() 61 nb += 1; in quoted() 64 for (; nb > 0; nb--) in quoted() 69 nb = 0; in quoted() 73 for (; nb > 0; nb--) /* Deal w trailing slashes */ in quoted() 139 int nb = 0; in parse_argv() local 149 while (nb) {*output++ = '\\'; nb--; } in parse_argv() 158 ++nb; /* count \'s */ in parse_argv() 161 if (!(nb & 1)) { iq = !iq; c = 0; } /* skip " unless odd # of \ */ in parse_argv() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Thumb2/ |
D | thumb2-cmn.ll | 7 %nb = sub i32 0, %b 8 %tmp = icmp ne i32 %a, %nb 16 %nb = sub i32 0, %b 17 %tmp = icmp ne i32 %nb, %a 25 %nb = sub i32 0, %b 26 %tmp = icmp eq i32 %a, %nb 34 %nb = sub i32 0, %b 35 %tmp = icmp eq i32 %nb, %a 44 %nb = sub i32 0, %tmp 45 %tmp1 = icmp eq i32 %nb, %a [all …]
|
/external/libjpeg-turbo/ |
D | jdhuff.h | 192 register int nb, look; \ 198 nb = 1; goto slowlabel; \ 202 if ((nb = (htbl->lookup[look] >> HUFF_LOOKAHEAD)) <= HUFF_LOOKAHEAD) { \ 203 DROP_BITS(nb); \ 208 jpeg_huff_decode(&state, get_buffer, bits_left, htbl, nb)) < 0) \ 214 #define HUFF_DECODE_FAST(s, nb, htbl) \ argument 218 nb = s >> HUFF_LOOKAHEAD; \ 220 DROP_BITS(nb); \ 222 if (nb > HUFF_LOOKAHEAD) { \ 225 s = (get_buffer >> bits_left) & ((1 << (nb)) - 1); \ [all …]
|
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
D | test_widgets.py | 915 self.nb = self.create(padding=0) 918 self.nb.add(self.child1, text='a') 919 self.nb.add(self.child2, text='b') 925 self.nb.forget(0) 926 self.nb.hide(self.child2) 927 self.assertRaises(tkinter.TclError, self.nb.tab, self.child1) 928 self.assertEqual(self.nb.index('end'), 1) 929 self.nb.add(self.child2) 930 self.assertEqual(self.nb.index('end'), 1) 931 self.nb.select(self.child2) [all …]
|
/external/u-boot/common/ |
D | dlmalloc.c | 647 #define is_small_request(nb) (nb < MAX_SMALLBIN_SIZE - SMALLBIN_WIDTH) argument 1063 static void malloc_extend_top(INTERNAL_SIZE_T nb) in malloc_extend_top() argument 1065 static void malloc_extend_top(nb) INTERNAL_SIZE_T nb; in malloc_extend_top() 1080 INTERNAL_SIZE_T sbrk_size = nb + top_pad + MINSIZE; 1255 INTERNAL_SIZE_T nb; local 1270 nb = request2size(bytes); /* padded request size; */ 1274 if (is_small_request(nb)) /* Faster version for small requests */ 1276 idx = smallbin_index(nb); 1294 check_malloced_chunk(victim, nb); 1303 idx = bin_index(nb); [all …]
|
/external/boringssl/src/crypto/fipsmodule/bn/asm/ |
D | co-586.pl | 29 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 46 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b 47 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b 57 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 76 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb); 86 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_; 112 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb); 170 $nb=($bi+1); 175 $nb=$bs+($i >= ($num-1)); 178 &mul_add_c($a,$ai,$b,$bi,$c0,$c1,$c2,$v,$i,$na,$nb); [all …]
|
/external/python/cpython2/Demo/tkinter/ttk/ |
D | notebook_closebtn.py | 68 nb = ttk.Notebook(width=200, height=200, style="ButtonNotebook") variable 69 nb.pressed_index = None 70 f1 = Tkinter.Frame(nb, background="red") 71 f2 = Tkinter.Frame(nb, background="green") 72 f3 = Tkinter.Frame(nb, background="blue") 73 nb.add(f1, text='Red', padding=3) 74 nb.add(f2, text='Green', padding=3) 75 nb.add(f3, text='Blue', padding=3) 76 nb.pack(expand=1, fill='both')
|
/external/libcxx/src/support/solaris/ |
D | wcsnrtombs.inc | 36 size_t nb; 43 if ((nb = wcrtomb_l(buf, *s, ps, loc)) == (size_t)-1) 47 return (nbytes + nb - 1); 49 nbytes += nb; 57 if ((nb = wcrtomb_l(dst, *s, ps, loc)) == (size_t)-1) { 70 if ((nb = wcrtomb_l(buf, *s, ps, loc)) == (size_t)-1) { 74 if (nb > (int)len) { 79 memcpy(dst, buf, nb); 83 return (nbytes + nb - 1); 86 dst += nb; [all …]
|
D | mbsnrtowcs.inc | 38 size_t nb; 46 if ((nb = mbrtowc_l(&wc, s, nms, ps, loc)) == (size_t)-1) 49 else if (nb == 0 || nb == (size_t)-2) 51 s += nb; 52 nms -= nb; 59 if ((nb = mbrtowc_l(dst, s, nms, ps, loc)) == (size_t)-1) { 62 } else if (nb == (size_t)-2) { 65 } else if (nb == 0) { 69 s += nb; 70 nms -= nb;
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
D | 2-3.c | 48 for (_nch = 0; _nch < children.nb; _nch++) \ 56 for (_nch = 0; _nch < children.nb; _nch++) \ 157 int nb; member 431 for (children.nb = 0; children.nb < NCHILDREN; children.nb++) { in main() 435 (children.ch[children.nb].t), in main() 441 children.ch[children.nb].p = fork(); in main() 442 if (children.ch[children.nb].p == 0) { in main() 446 if (children.ch[children.nb].p == -1) { in main() 447 children.nb--; in main() 503 for (--children.nb; children.nb >= 0; children.nb--) { in main() [all …]
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
D | dlmalloc.c | 3220 static void* mmap_alloc(mstate m, size_t nb) { in mmap_alloc() argument 3221 size_t mmsize = granularity_align(nb + SIX_SIZE_T_SIZES + CHUNK_ALIGN_MASK); in mmap_alloc() 3222 if (mmsize > nb) { /* Check for wrap around 0 */ in mmap_alloc() 3247 static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb) { in mmap_resize() argument 3249 if (is_small(nb)) /* Can't shrink mmap regions below small size */ in mmap_resize() 3252 if (oldsize >= nb + SIZE_T_SIZE && in mmap_resize() 3253 (oldsize - nb) <= (mparams.granularity << 1)) in mmap_resize() 3258 size_t newmmsize = granularity_align(nb + SIX_SIZE_T_SIZES + in mmap_resize() 3329 size_t nb) { in prepend_alloc() argument 3333 mchunkptr q = chunk_plus_offset(p, nb); in prepend_alloc() [all …]
|
/external/libffi/src/ |
D | dlmalloc.c | 3215 static void* mmap_alloc(mstate m, size_t nb) { in mmap_alloc() argument 3216 size_t mmsize = granularity_align(nb + SIX_SIZE_T_SIZES + CHUNK_ALIGN_MASK); in mmap_alloc() 3217 if (mmsize > nb) { /* Check for wrap around 0 */ in mmap_alloc() 3242 static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb) { in mmap_resize() argument 3244 if (is_small(nb)) /* Can't shrink mmap regions below small size */ in mmap_resize() 3247 if (oldsize >= nb + SIZE_T_SIZE && in mmap_resize() 3248 (oldsize - nb) <= (mparams.granularity << 1)) in mmap_resize() 3253 size_t newmmsize = granularity_align(nb + SIX_SIZE_T_SIZES + in mmap_resize() 3324 size_t nb) { in prepend_alloc() argument 3328 mchunkptr q = chunk_plus_offset(p, nb); in prepend_alloc() [all …]
|
/external/clang/test/SemaCXX/ |
D | copy-assignment.cpp | 54 B b, nb; in test() local 75 nb = b; in test() 76 nb = constB; // expected-error{{no viable overloaded '='}} in test() 77 nb = convertibleToB; // expected-error{{no viable overloaded '='}} in test() 78 nb = convertibleToBref; in test() 79 nb = convertibleToConstB; // expected-error{{no viable overloaded '='}} in test() 80 nb = convertibleToConstBref; // expected-error{{no viable overloaded '='}} in test()
|