/external/libcxx/src/support/solaris/ |
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...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/src/support/solaris/ |
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...] |
/external/ltp/testcases/kernel/fs/doio/ |
pattern.c | 42 int nb, ncmp, nleft; local 58 nb = patlen - patshift; 59 if (nleft < nb) { 62 if (memcmp(cp, pat + patshift, nb)) 65 nleft -= nb; 66 cp += nb; 70 nb = patshift; 71 if (nleft < nb) { 74 if (memcmp(cp, pat, nb)) 77 nleft -= nb; [all...] |
/external/ltp/testcases/kernel/input/ |
input01.c | 35 static int verify_data(struct input_event *iev, int nb); 90 int nb; local 92 for (nb = 0; nb < NB_TEST; ++nb) { 100 int nb, rd; local 104 nb = 0; 106 while (nb < NB_TEST * 3) { 118 if (verify_data(&iev[i], nb++)) 126 static int verify_data(struct input_event *iev, int nb) [all...] |
input03.c | 95 int nb; local 97 for (nb = 0; nb < NB_TEST; ++nb) { 109 int nb, rd, i, pressed = 0; local 112 nb = 0; 114 while (nb < NB_TEST) { 131 nb++; 136 return nb != NB_TEST;
|
input02.c | 90 int nb; local 95 for (nb = 0; nb < NB_TEST; ++nb) {
|
input04.c | 89 int nb; local 91 for (nb = 0; nb < NB_TEST; ++nb) {
|
/external/mesa3d/src/compiler/spirv/ |
vtn_glsl450.c | 100 case 2: return build_mat2_det(&b->nb, cols); 101 case 3: return build_mat3_det(&b->nb, cols); 102 case 4: return build_mat4_det(&b->nb, cols); 152 elem[r] = build_mat_subdet(&b->nb, src, size, c, r); 155 elem[r] = nir_fneg(&b->nb, elem[r]); 158 adj_col[c] = nir_vec(&b->nb, elem, size); 161 nir_ssa_def *det_inv = nir_frcp(&b->nb, build_mat_det(b, src)); 165 val->elems[i]->def = nir_fmul(&b->nb, adj_col[i], det_inv); 419 struct nir_builder *nb = &b->nb; local [all...] |
vtn_alu.c | 105 vec_src[j] = nir_fdot(&b->nb, src0_transpose->elems[j]->def, 108 dest->elems[i]->def = nir_vec(&b->nb, vec_src, src0_rows); 119 nir_fmul(&b->nb, src0->elems[0]->def, 120 nir_channel(&b->nb, src1->elems[i]->def, 0)); 123 nir_fadd(&b->nb, dest->elems[i]->def, 124 nir_fmul(&b->nb, src0->elems[j]->def, 125 nir_channel(&b->nb, src1->elems[i]->def, j))); 146 dest->elems[i]->def = nir_fmul(&b->nb, mat->elems[i]->def, scalar); 148 dest->elems[i]->def = nir_imul(&b->nb, mat->elems[i]->def, scalar); 164 dest->ssa->elems[i]->def = nir_fneg(&b->nb, src0->elems[i]->def) [all...] |
/external/iproute2/tc/ |
em_nbyte.c | 47 struct tcf_em_nbyte nb = {}; local 93 nb.len = needle->len; 94 nb.layer = (__u8) layer; 95 nb.off = (__u16) offset; 98 addraw_l(n, MAX_MSG, &nb, sizeof(nb)); 109 struct tcf_em_nbyte *nb = data; local 112 if (data_len < sizeof(*nb)) { 117 if (data_len < sizeof(*nb) + nb->len) [all...] |
/external/libopus/silk/ |
LP_variable_cutoff.c | 48 opus_int nb, na; local 54 for( nb = 0; nb < TRANSITION_NB; nb++ ) { 55 B_Q28[ nb ] = silk_SMLAWB( 56 silk_Transition_LP_B_Q28[ ind ][ nb ], 57 silk_Transition_LP_B_Q28[ ind + 1 ][ nb ] - 58 silk_Transition_LP_B_Q28[ ind ][ nb ], 71 for( nb = 0; nb < TRANSITION_NB; nb++ ) [all...] |
/external/clang/test/SemaCXX/ |
copy-assignment.cpp | 54 B b, nb; local 75 nb = b; 76 nb = constB; // expected-error{{no viable overloaded '='}} 77 nb = convertibleToB; // expected-error{{no viable overloaded '='}} 78 nb = convertibleToBref; 79 nb = convertibleToConstB; // expected-error{{no viable overloaded '='}} 80 nb = convertibleToConstBref; // expected-error{{no viable overloaded '='}}
|
/external/valgrind/none/tests/ |
shorts.c | 4 typedef struct { short ot; short ob; short nt; short nb; } Stuff; member in struct:__anon43146 11 short newbot = w->nb; 33 st.nb = 31;
|
/external/ltp/testcases/kernel/syscalls/getrandom/ |
getrandom02.c | 37 static int check_content(unsigned char *buf, int nb) 44 max = 6 + nb * 0.2; 46 for (i = 0; i < nb; i++) { 51 for (i = 0; i < nb; i++) {
|
/hardware/invensense/6515/libsensors_iio/ |
sensors_mpl.cpp | 223 int nb, polltime = -1; local 251 nb = poll(mPollFds, numSensorDrivers, polltime); 252 LOGI_IF(0, "poll nb=%d, count=%d, pt=%d ts=%lld", nb, count, polltime, getTimestamp()); 253 if (nb == 0 && count > 0) { 256 nb = ((MPLSensor*) mSensor)->readDmpPedometerEvents( 259 "nb=%d, count=%d, nbEvents=%d, data->timestamp=%lld, ", 260 nb, count, nbEvents, data->timestamp); 261 if (nb > 0) { 262 count -= nb; [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
sensors_mpl.cpp | 209 int nb, polltime = -1; 214 nb = poll(mPollFds, numSensorDrivers, polltime); 215 LOGI_IF(0, "poll nb=%d, count=%d, pt=%d", nb, count, polltime); 216 if (nb > 0) { 219 nb = 0; 227 nb = ((MPLSensor*)mSensor)-> 230 if (isDmpScreenAutoRotationEnabled() && nb > 0) { 231 count -= nb; 232 nbEvents += nb; [all...] |
/external/libjpeg-turbo/ |
jdhuff.h | 191 { 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) \ 215 nb = s >> HUFF_LOOKAHEAD; \ 216 /* Pre-execute the common case of nb <= HUFF_LOOKAHEAD */ \ 217 DROP_BITS(nb); \ 219 if (nb > HUFF_LOOKAHEAD) { [all...] |
/external/python/cpython2/Demo/tkinter/ttk/ |
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')
|
/libcore/ojluni/src/main/java/java/nio/ |
Buffer.java | 519 final int nextGetIndex(int nb) { // package-private 520 if (limit - position < nb) 523 position += nb; 540 final int nextPutIndex(int nb) { // package-private 541 if (limit - position < nb) 544 position += nb; 561 final int checkIndex(int i, int nb) { // package-private 562 if ((i < 0) || (nb > limit - i)) 565 "index=" + i + " out of bounds (limit=" + limit + ", nb=" + nb + ")") [all...] |
/external/pdfium/third_party/agg23/ |
agg_path_storage.cpp | 53 void path_storage::allocate_block(unsigned nb) 55 if(nb >= m_max_blocks) { 69 m_coord_blocks[nb] = 73 m_cmd_blocks[nb] = 74 (unsigned char*)(m_coord_blocks[nb] + block_size * 2);
|
/external/drm_gralloc/ |
gralloc_drm_nouveau.c | 178 struct nouveau_buffer *nb; local 187 nb = calloc(1, sizeof(*nb)); 188 if (!nb) 192 if (nouveau_bo_handle_ref(info->dev, handle->name, &nb->bo)) { 195 free(nb); 206 nb->bo = alloc_bo(info, width, height, 208 if (!nb->bo) { 211 free(nb); 215 if (nouveau_bo_handle_get(nb->bo 237 struct nouveau_buffer *nb = (struct nouveau_buffer *) bo; local 246 struct nouveau_buffer *nb = (struct nouveau_buffer *) bo; local 265 struct nouveau_buffer *nb = (struct nouveau_buffer *) bo; local [all...] |
/external/scapy/scapy/ |
error.py | 33 tm,nb = self.warning_table.get(caller, (0,0)) 37 nb = 0 42 if nb < 2: 43 nb += 1 44 if nb == 2: 48 self.warning_table[caller] = (tm,nb)
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
CSite.h | 59 inline void setNeighbor(SEdgeVector *nb) { neighbor = nb; }
|
/external/python/cpython2/Lib/lib-tk/test/test_ttk/ |
test_widgets.py | 514 self.combo['values'] = ['a b', 'a\tb', 'a\nb'] 516 ('a b', 'a\tb', 'a\nb') if self.wantobjects else 517 '{a b} {a\tb} {a\nb}') 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 [all...] |
/external/python/cpython3/Lib/tkinter/test/test_ttk/ |
test_widgets.py | 513 self.combo['values'] = ['a b', 'a\tb', 'a\nb'] 515 ('a b', 'a\tb', 'a\nb') if self.wantobjects else 516 '{a b} {a\tb} {a\nb}') 910 self.nb = self.create(padding=0) 913 self.nb.add(self.child1, text='a') 914 self.nb.add(self.child2, text='b') 920 self.nb.forget(0) 921 self.nb.hide(self.child2) 922 self.assertRaises(tkinter.TclError, self.nb.tab, self.child1) 923 self.assertEqual(self.nb.index('end'), 1 [all...] |