Searched refs:nb (Results 1 - 25 of 127) sorted by relevance

123456

/external/ltp/lib/
H A Dpattern.c42 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/
H A Dinput01.c35 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) argument
[all...]
H A Dinput03.c95 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;
H A Dinput02.c90 int nb; local
95 for (nb = 0; nb < NB_TEST; ++nb) {
H A Dinput04.c89 int nb; local
91 for (nb = 0; nb < NB_TEST; ++nb) {
H A Dinput05.c96 int nb; local
98 for (nb = 0; nb < NB_TEST; ++nb) {
H A Dinput06.c130 int nb; local
134 nb = 0;
152 nb++;
161 return (nb > 0 && check_bound(i, rd)
/external/libopus/silk/
H A DLP_variable_cutoff.c48 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_N
[all...]
/external/clang/test/SemaCXX/
H A Dcopy-assignment.cpp54 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/
H A Dshorts.c4 typedef struct { short ot; short ob; short nt; short nb; } Stuff; member in struct:__anon23796
11 short newbot = w->nb;
33 st.nb = 31;
/external/iproute2/tc/
H A Dem_nbyte.c47 struct tcf_em_nbyte nb; local
49 memset(&nb, 0, sizeof(nb));
95 nb.len = needle->len;
96 nb.layer = (__u8) layer;
97 nb.off = (__u16) offset;
100 addraw_l(n, MAX_MSG, &nb, sizeof(nb));
111 struct tcf_em_nbyte *nb = data; local
114 if (data_len < sizeof(*nb)) {
[all...]
/external/libcxx/src/support/solaris/
H A 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;
[all...]
H A 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...]
/external/libjpeg-turbo/
H A 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) \
215 nb = s >> HUFF_LOOKAHEAD; \
216 /* Pre-execute the common case of nb <= HUFF_LOOKAHEAD */ \
217 DROP_BITS(nb); \
219 if (nb > HUFF_LOOKAHEA
[all...]
/external/ltp/testcases/kernel/syscalls/getrandom/
H A Dgetrandom02.c44 static int check_content(int nb);
79 static int check_content(int nb) argument
86 max = nb * 0.10;
88 for (i = 0; i < nb; i++) {
93 for (i = 0; i < nb; i++) {
/external/pdfium/third_party/agg23/
H A Dagg_path_storage.cpp52 void path_storage::allocate_block(unsigned nb) argument
54 if(nb >= m_max_blocks) {
72 m_coord_blocks[nb] =
76 m_cmd_blocks[nb] =
77 (unsigned char*)(m_coord_blocks[nb] + block_size * 2);
H A Dagg_path_storage.h95 unsigned nb = idx >> block_shift; local
96 const FX_FLOAT* pv = m_coord_blocks[nb] + ((idx & block_mask) << 1);
99 return m_cmd_blocks[nb][idx & block_mask];
114 void allocate_block(unsigned nb);
147 unsigned nb = m_total_vertices >> block_shift; local
148 if(nb >= m_total_blocks) {
149 allocate_block(nb);
151 *xy_ptr = m_coord_blocks[nb] + ((m_total_vertices & block_mask) << 1);
152 return m_cmd_blocks[nb] + (m_total_vertices & block_mask);
/external/drm_gralloc/
H A Dgralloc_drm_nouveau.c178 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
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/boringssl/src/crypto/bn/asm/
H A 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
[all...]
/external/pdfium/third_party/libjpeg/
H A Djdhuff.h177 { register int nb, look; \
182 nb = 1; goto slowlabel; \
186 if ((nb = htbl->look_nbits[look]) != 0) { \
187 DROP_BITS(nb); \
190 nb = HUFF_LOOKAHEAD+1; \
192 if ((result=jpeg_huff_decode(&state,get_buffer,bits_left,htbl,nb)) < 0) \
/external/speex/libspeex/
H A Dlsp.h56 int lpc_to_lsp (spx_coef_t *a, int lpcrdr, spx_lsp_t *freq, int nb, spx_word16_t delta, char *stack);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/
H A D2-3.c54 for (_nch = 0; _nch < children.nb; _nch++) \
62 for (_nch = 0; _nch < children.nb; _nch++) \
163 int nb; member in struct:__anon13881
437 for (children.nb = 0; children.nb < NCHILDREN; children.nb++) {
441 (children.ch[children.nb].t),
447 children.ch[children.nb].p = fork();
448 if (children.ch[children.nb].p == 0) {
452 if (children.ch[children.nb]
[all...]
/external/parameter-framework/upstream/test/functional-tests-legacy/Util/
H A DPfwUnitTestLib.py108 def createInclusiveCriterion(self, name, nb):
109 self.sendCmd("createInclusiveSelectionCriterion", name, nb)
111 def createExclusiveCriterion(self, name, nb):
112 self.sendCmd("createExclusiveSelectionCriterion", name, nb)
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
H A Dg722_encode.c360 wd = (s->band[0].nb*127) >> 7;
361 s->band[0].nb = wd + wl[il4];
362 if (s->band[0].nb < 0)
363 s->band[0].nb = 0;
364 else if (s->band[0].nb > 18432)
365 s->band[0].nb = 18432;
368 wd1 = (s->band[0].nb >> 6) & 31;
369 wd2 = 8 - (s->band[0].nb >> 11);
397 wd = (s->band[1].nb*127) >> 7;
398 s->band[1].nb
[all...]
/external/xmlrpcpp/test/
H A DFileClient.cpp36 long nb = infile.tellg(); local
39 char* b = new char[nb+1];
40 infile.read(b, nb);
41 b[nb] = 0;

Completed in 826 milliseconds

123456