Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/external/mesa3d/src/compiler/spirv/
Dvtn_glsl450.c100 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()
419 struct nir_builder *nb = &b->nb; in handle_glsl450_alu() local
434 val->ssa->def = nir_fmul(nb, src[0], nir_imm_float(nb, 0.01745329251)); in handle_glsl450_alu()
[all …]
Dvtn_alu.c105 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 …]
Dvtn_cfg.c510 nir_local_variable_create(b->nb.impl, type->type, "phi"); in vtn_handle_phis_first_pass()
533 b->nb.cursor = nir_after_instr(&pred->end_nop->instr); in vtn_handle_phi_second_pass()
549 nir_store_var(&b->nb, switch_fall_var, nir_imm_int(&b->nb, NIR_FALSE), 1); in vtn_emit_branch()
555 nir_jump(&b->nb, nir_jump_break); in vtn_emit_branch()
558 nir_jump(&b->nb, nir_jump_continue); in vtn_emit_branch()
561 nir_jump(&b->nb, nir_jump_return); in vtn_emit_branch()
565 nir_intrinsic_instr_create(b->nb.shader, nir_intrinsic_discard); in vtn_emit_branch()
566 nir_builder_instr_insert(&b->nb, &discard->instr); in vtn_emit_branch()
593 block->end_nop = nir_intrinsic_instr_create(b->nb.shader, in vtn_emit_cf_list()
595 nir_builder_instr_insert(&b->nb, &block->end_nop->instr); in vtn_emit_cf_list()
[all …]
/external/ltp/testcases/kernel/fs/doio/
Dpattern.c42 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/
Dinput01.c35 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 …]
Dinput03.c95 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/iproute2/tc/
Dem_nbyte.c47 struct tcf_em_nbyte nb; in nbyte_parse_eopt() local
49 memset(&nb, 0, sizeof(nb)); in nbyte_parse_eopt()
95 nb.len = needle->len; in nbyte_parse_eopt()
96 nb.layer = (__u8) layer; in nbyte_parse_eopt()
97 nb.off = (__u16) offset; in nbyte_parse_eopt()
100 addraw_l(n, MAX_MSG, &nb, sizeof(nb)); in nbyte_parse_eopt()
111 struct tcf_em_nbyte *nb = data; in nbyte_print_eopt() local
114 if (data_len < sizeof(*nb)) { in nbyte_print_eopt()
119 if (data_len < sizeof(*nb) + nb->len) { in nbyte_print_eopt()
124 needle = data + sizeof(*nb); in nbyte_print_eopt()
[all …]
/external/libopus/silk/
DLP_variable_cutoff.c48 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/swiftshader/third_party/LLVM/test/CodeGen/Thumb2/
Dthumb2-cmn.ll7 %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/
Dthumb2-cmn.ll7 %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/libjpeg-turbo/
Djdhuff.h191 { register int nb, look; \
196 nb = 1; goto slowlabel; \
200 if ((nb = (htbl->lookup[look] >> HUFF_LOOKAHEAD)) <= HUFF_LOOKAHEAD) { \
201 DROP_BITS(nb); \
205 if ((result=jpeg_huff_decode(&state,get_buffer,bits_left,htbl,nb)) < 0) \
211 #define HUFF_DECODE_FAST(s,nb,htbl) \ argument
215 nb = s >> HUFF_LOOKAHEAD; \
217 DROP_BITS(nb); \
219 if (nb > HUFF_LOOKAHEAD) { \
222 s = (get_buffer >> bits_left) & ((1 << (nb)) - 1); \
[all …]
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_widgets.py911 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/cpython2/Demo/tkinter/ttk/
Dnotebook_closebtn.py68 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/boringssl/src/crypto/fipsmodule/bn/asm/
Dco-586.pl23 local($a,$ai,$b,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
40 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 0; # laod next b
41 &mov("edx",&DWP(($nb)*4,$b,"",0)) if $pos == 1; # laod next b
51 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
70 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos == 1) && ($na != $nb);
80 local($r,$a,$ai,$bi,$c0,$c1,$c2,$pos,$i,$na,$nb)=@_;
106 &mov("edx",&DWP(($nb)*4,$a,"",0)) if ($pos <= 1) && ($na != $nb);
164 $nb=($bi+1);
169 $nb=$bs+($i >= ($num-1));
172 &mul_add_c($a,$ai,$b,$bi,$c0,$c1,$c2,$v,$i,$na,$nb);
[all …]
/external/libcxx/src/support/solaris/
Dwcsnrtombs.inc36 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 …]
Dmbsnrtowcs.inc38 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/
D2-3.c54 for (_nch = 0; _nch < children.nb; _nch++) \
62 for (_nch = 0; _nch < children.nb; _nch++) \
163 int nb; member
437 for (children.nb = 0; children.nb < NCHILDREN; children.nb++) { in main()
441 (children.ch[children.nb].t), in main()
447 children.ch[children.nb].p = fork(); in main()
448 if (children.ch[children.nb].p == 0) { in main()
452 if (children.ch[children.nb].p == -1) { in main()
453 children.nb--; in main()
509 for (--children.nb; children.nb >= 0; children.nb--) { in main()
[all …]
/external/clang/test/SemaCXX/
Dcopy-assignment.cpp54 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()
/external/syslinux/core/lwip/src/netif/ppp/
Dppp.c691 nPut(PPPControl *pc, struct pbuf *nb) in nPut() argument
696 for(b = nb; b != NULL; b = b->next) { in nPut()
703 pbuf_free(nb); in nPut()
708 snmp_add_ifoutoctets(&pc->netif, nb->tot_len); in nPut()
710 pbuf_free(nb); in nPut()
721 pppAppend(u_char c, struct pbuf *nb, ext_accm *outACCM) in pppAppend() argument
723 struct pbuf *tb = nb; in pppAppend()
729 if (nb && (PBUF_POOL_BUFSIZE - nb->len) < 2) { in pppAppend()
732 nb->next = tb; in pppAppend()
736 nb = tb; in pppAppend()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/
Ddlmalloc.c3220 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/icu/icu4c/source/data/locales/
Daz.txt427 "çərşənbə axşamı",
428 "çərşənbə",
431 "şənbə",
465 "çərşənbə axşamı",
466 "çərşənbə",
469 "şənbə",
1213 "-1"{"keçən şənbə"}
1214 "0"{"bu şənbə"}
1215 "1"{"gələn şənbə"}
1219 one{"{0} şənbə ərzində"}
[all …]
/external/dlmalloc/
Dmalloc.c3842 static void* mmap_alloc(mstate m, size_t nb) { in mmap_alloc() argument
3843 size_t mmsize = mmap_align(nb + SIX_SIZE_T_SIZES + CHUNK_ALIGN_MASK); in mmap_alloc()
3849 if (mmsize > nb) { /* Check for wrap around 0 */ in mmap_alloc()
3874 static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb, int flags) { in mmap_resize() argument
3877 if (is_small(nb)) /* Can't shrink mmap regions below small size */ in mmap_resize()
3880 if (oldsize >= nb + SIZE_T_SIZE && in mmap_resize()
3881 (oldsize - nb) <= (mparams.granularity << 1)) in mmap_resize()
3886 size_t newmmsize = mmap_align(nb + SIX_SIZE_T_SIZES + CHUNK_ALIGN_MASK); in mmap_resize()
3957 size_t nb) { in prepend_alloc() argument
3961 mchunkptr q = chunk_plus_offset(p, nb); in prepend_alloc()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Dg722_encode.c360 wd = (s->band[0].nb*127) >> 7; in WebRtc_g722_encode()
361 s->band[0].nb = wd + wl[il4]; in WebRtc_g722_encode()
362 if (s->band[0].nb < 0) in WebRtc_g722_encode()
363 s->band[0].nb = 0; in WebRtc_g722_encode()
364 else if (s->band[0].nb > 18432) in WebRtc_g722_encode()
365 s->band[0].nb = 18432; in WebRtc_g722_encode()
368 wd1 = (s->band[0].nb >> 6) & 31; in WebRtc_g722_encode()
369 wd2 = 8 - (s->band[0].nb >> 11); in WebRtc_g722_encode()
397 wd = (s->band[1].nb*127) >> 7; in WebRtc_g722_encode()
398 s->band[1].nb = wd + wh[ih2]; in WebRtc_g722_encode()
[all …]
/external/pdfium/third_party/agg23/
Dagg_path_storage.h95 unsigned nb = idx >> block_shift; in vertex() local
96 const FX_FLOAT* pv = m_coord_blocks[nb] + ((idx & block_mask) << 1); in vertex()
99 return m_cmd_blocks[nb][idx & block_mask]; in vertex()
114 void allocate_block(unsigned nb);
147 unsigned nb = m_total_vertices >> block_shift; in storage_ptrs() local
148 if(nb >= m_total_blocks) { in storage_ptrs()
149 allocate_block(nb); in storage_ptrs()
151 *xy_ptr = m_coord_blocks[nb] + ((m_total_vertices & block_mask) << 1); in storage_ptrs()
152 return m_cmd_blocks[nb] + (m_total_vertices & block_mask); in storage_ptrs()
/external/ltp/testcases/kernel/ipc/pipeio/
Dpipeio.c506 int nb, j; in do_child() local
557 nb = lio_write_buffer(write_fd, iotype, writebuf, size, in do_child()
559 if (nb < 0) { in do_child()
566 j, cp, nb, strerror(-nb)); in do_child()
568 } else if (nb != size) { in do_child()
571 j, cp, nb, size); in do_child()
576 j, self_pid, nb, size); in do_child()
620 int i, nb; in do_parent() local
668 nb = lio_read_buffer(read_fd, iotype, readbuf, size, in do_parent()
670 if (nb < 0) { in do_parent()
[all …]

12345678910>>...15