Home
last modified time | relevance | path

Searched refs:nel (Results 1 – 25 of 65) sorted by relevance

123

/third_party/boost/tools/build/src/engine/
Dhash.cpp48 int nel; member
65 int nel; /* total ITEMs held by all lists[] */ member
70 int nel; /* total ITEMs held by this list */ member
86 #define hash_bucket(hp, keyval) ((hp)->tab.base + ((keyval) % (hp)->tab.nel))
104 hp->tab.nel = 0; in hashinit()
110 hp->items.nel = 0; in hashinit()
212 if ( !hp->items.nel ) in hash_find()
239 hp->items.more = i ? 2 * hp->items.nel : hp->inel; in hashrehash()
243 hp->items.lists[ i ].nel = hp->items.more; in hashrehash()
245 hp->items.nel += hp->items.more; in hashrehash()
[all …]
/third_party/musl/libc-test/src/functional/
Dsearch_lsearch.c10 static size_t nel; variable
13 char *r = lsearch(k, tab, &nel, W, (int(*)(const void*,const void*))strcmp); \
18 #define get(k) lfind(k, tab, &nel, W, (int(*)(const void*,const void*))strcmp)
38 n = nel; in main()
40 if (nel != n) in main()
41 t_error("lsearch g should not modify the table size (%d, was %d)\n", nel, n); in main()
42 n = nel; in main()
44 if (nel != n+1) in main()
45 t_error("lsearch j should increase the table size (%d, was %d)\n", nel, n); in main()
/third_party/e2fsprogs/lib/support/
Dsort_r.h92 static _SORT_R_INLINE void sort_r_simple(void *base, size_t nel, size_t w, in sort_r_simple() argument
98 char *b = (char *)base, *end = b + nel*w; in sort_r_simple()
103 if(nel < 10) { in sort_r_simple()
116 char *last = b+w*(nel-1), *tmp; in sort_r_simple()
124 l[1] = b+w*(nel/2); in sort_r_simple()
217 static _SORT_R_INLINE void sort_r(void *base, size_t nel, size_t width, in sort_r() argument
228 qsort(base, nel, width, nested_cmp); in sort_r()
238 extern void qsort_r(void *base, size_t nel, size_t width, void *thunk,
266 extern void qsort_r(void *base, size_t nel, size_t width,
274 static _SORT_R_INLINE void sort_r(void *base, size_t nel, size_t width, in sort_r() argument
[all …]
/third_party/ejdb/src/util/
Dsort_r.h101 void *base, size_t nel, size_t w, in sort_r_simple() argument
106 char *b = (char*) base, *end = b + nel * w; in sort_r_simple()
111 if (nel < 10) { in sort_r_simple()
123 char *last = b + w * (nel - 1), *tmp; in sort_r_simple()
131 l[1] = b + w * (nel / 2); in sort_r_simple()
238 void *base, size_t nel, size_t width, in sort_r() argument
248 qsort(base, nel, width, nested_cmp); in sort_r()
259 void *base, size_t nel, size_t width, void *thunk,
287 void *base, size_t nel, size_t width,
296 void *base, size_t nel, size_t width, in sort_r() argument
[all …]
/third_party/musl/porting/liteos_m/kernel/src/stdlib/
Dbsearch.c3 void *bsearch(const void *key, const void *base, size_t nel, size_t width, int (*cmp)(const void *,… in bsearch() argument
7 while (nel > 0) { in bsearch()
8 try = (char *)base + width*(nel/2); in bsearch()
11 nel /= 2; in bsearch()
14 nel -= nel/2+1; in bsearch()
/third_party/musl/src/stdlib/
Dbsearch.c3 void *bsearch(const void *key, const void *base, size_t nel, size_t width, int (*cmp)(const void *,… in bsearch() argument
7 while (nel > 0) { in bsearch()
8 try = (char *)base + width*(nel/2); in bsearch()
11 nel /= 2; in bsearch()
14 nel -= nel/2+1; in bsearch()
/third_party/musl/porting/uniproton/kernel/src/stdlib/
Dbsearch.c3 void *bsearch(const void *key, const void *base, size_t nel, size_t width, int (*cmp)(const void *,… in bsearch() argument
7 while (nel > 0) { in bsearch()
8 try = (char *)base + width*(nel/2); in bsearch()
11 nel /= 2; in bsearch()
14 nel -= nel/2+1; in bsearch()
/third_party/musl/porting/liteos_a/user/src/stdlib/
Dqsort.c45 void qsort(void *base, size_t nel, size_t width, cmpfun cmp) in qsort() argument
51 if (width == 0 || base == NULL || nel == 0) { in qsort()
56 end = start + (nel - 1) * width; in qsort()
58 if (nel < 7) { // insertion sort in qsort()
75 m = start + (nel >> 1) * width; in qsort()
110 nel = (end - start) / width + 1; in qsort()
118 nel = (end - start) / width + 1; in qsort()
/third_party/musl/src/search/
Dhsearch.c40 static int resize(size_t nel, struct hsearch_data *htab) in resize() argument
48 if (nel > MAXSIZE) in resize()
49 nel = MAXSIZE; in resize()
50 for (newsize = MINSIZE; newsize < nel; newsize *= 2); in resize()
72 int hcreate(size_t nel) in hcreate() argument
74 return __hcreate_r(nel, &htab); in hcreate()
103 static int __hcreate_r(size_t nel, struct hsearch_data *htab) in __hcreate_r() argument
110 r = resize(nel, htab); in __hcreate_r()
/third_party/selinux/libselinux/src/
Dcompute_user.c21 unsigned int i, nel; in security_compute_user_raw() local
52 if (sscanf(buf, "%u", &nel) != 1) { in security_compute_user_raw()
57 ary = malloc((nel + 1) * sizeof(char *)); in security_compute_user_raw()
64 for (i = 0; i < nel; i++) { in security_compute_user_raw()
73 ary[nel] = NULL; in security_compute_user_raw()
Davc_sidtab.c43 s->nel = 0; in sidtab_init()
71 s->nel++; in sidtab_insert()
127 "chain length %d\n", avc_prefix, s->nel, slots_used, in sidtab_sid_stats()
Dmatchpathcon.c272 int h, used, nel, len, longest; in matchpathcon_filespec_eval() local
279 nel = 0; in matchpathcon_filespec_eval()
289 nel += len; in matchpathcon_filespec_eval()
294 __FUNCTION__, nel, used, HASH_BUCKETS, longest); in matchpathcon_filespec_eval()
/third_party/selinux/libsepol/src/
Dwrite.c107 unsigned merge, unsigned commit, uint32_t * nel) in avtab_write_item() argument
185 if (nel) in avtab_write_item()
186 (*nel)--; /* one less node */ in avtab_write_item()
285 uint32_t nel; in avtab_write() local
303 nel = a->nel; in avtab_write()
306 nel = cpu_to_le32(a->nel); in avtab_write()
307 items = put_entry(&nel, sizeof(uint32_t), 1, fp); in avtab_write()
316 if (avtab_write_item(p, cur, fp, 1, !oldvers, &nel)) { in avtab_write()
326 nel = cpu_to_le32(nel); in avtab_write()
327 items = put_entry(&nel, sizeof(uint32_t), 1, fp); in avtab_write()
[all …]
Dsidtab.c35 s->nel = 0; in sepol_sidtab_init()
81 s->nel++; in sepol_sidtab_insert()
164 s->nel--; in sepol_sidtab_map_remove_on_error()
253 tag, h->nel, slots_used, SIDTAB_SIZE, max_chain_len); in sepol_sidtab_hash_eval()
276 s->nel = 0; in sepol_sidtab_destroy()
284 dst->nel = src->nel; in sepol_sidtab_set()
Dpolicydb.c1229 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others()
2085 size_t len, nel; in common_read() local
2106 nel = le32_to_cpu(buf[3]); in common_read()
2116 for (i = 0; i < nel; i++) { in common_read()
2231 size_t len, len2, ncons, nel; in class_read() local
2254 nel = le32_to_cpu(buf[4]); in class_read()
2282 for (i = 0; i < nel; i++) { in class_read()
2511 uint32_t buf[3], nel; in role_trans_read() local
2520 nel = le32_to_cpu(buf[0]); in role_trans_read()
2522 for (i = 0; i < nel; i++) { in role_trans_read()
[all …]
Davtab.c132 h->nel++; in avtab_insert_node()
359 h->nel = 0; in avtab_init()
388 h->nel = 0; in avtab_alloc()
418 tag, h->nel, slots_used, h->nslot, max_chain_len); in avtab_hash_eval()
591 uint32_t nel; in avtab_read() local
598 nel = le32_to_cpu(buf[0]); in avtab_read()
599 if (!nel) { in avtab_read()
604 rc = avtab_alloc(a, nel); in avtab_read()
610 for (i = 0; i < nel; i++) { in avtab_read()
617 ERR(fp->handle, "failed on entry %d of %u", i, nel); in avtab_read()
Dhashtab.c52 p->nel = 0; in hashtab_create()
71 while (new_size <= h->nel && new_size * 2 != 0) in hashtab_check_resize()
140 h->nel++; in hashtab_insert()
173 h->nel--; in hashtab_remove()
268 tag, h->nel, slots_used, h->size, max_chain_len); in hashtab_hash_eval()
Dmodule.c349 uint32_t offset, nel, read_len; in read_helper() local
353 nel = bytes; in read_helper()
355 while (nel) { in read_helper()
356 if (nel < _read_helper_bufsize) in read_helper()
357 read_len = nel; in read_helper()
364 nel -= read_len; in read_helper()
/third_party/musl/porting/uniproton/kernel/src/locale/
Diconv.c210 unsigned nel = sizeof rev_jis / sizeof *rev_jis; in uni_to_jis() local
213 i = nel/2; in uni_to_jis()
217 else if (nel == 1) return 0; in uni_to_jis()
219 nel /= 2; in uni_to_jis()
222 nel -= nel/2; in uni_to_jis()
/third_party/musl/src/locale/
Diconv.c210 unsigned nel = sizeof rev_jis / sizeof *rev_jis; in uni_to_jis() local
213 i = nel/2; in uni_to_jis()
217 else if (nel == 1) return 0; in uni_to_jis()
219 nel /= 2; in uni_to_jis()
222 nel -= nel/2; in uni_to_jis()
/third_party/musl/porting/liteos_m/kernel/src/locale/
Diconv.c210 unsigned nel = sizeof rev_jis / sizeof *rev_jis; in uni_to_jis() local
213 i = nel/2; in uni_to_jis()
217 else if (nel == 1) return 0; in uni_to_jis()
219 nel /= 2; in uni_to_jis()
222 nel -= nel/2; in uni_to_jis()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-algs.hh985 static inline void sort_r_simple(void *base, size_t nel, size_t w, in sort_r_simple() argument
991 char *b = (char *)base, *end = b + nel*w; in sort_r_simple()
996 if(nel < 10) { in sort_r_simple()
1009 char *last = b+w*(nel-1), *tmp; in sort_r_simple()
1017 l[1] = b+w*(nel/2); in sort_r_simple()
1105 hb_qsort (void *base, size_t nel, size_t width, in hb_qsort() argument
1109 qsort (base, nel, width, compar); in hb_qsort()
1111 sort_r_simple (base, nel, width, compar); in hb_qsort()
1116 hb_qsort (void *base, size_t nel, size_t width, in hb_qsort() argument
1121 qsort_r (base, nel, width, compar, arg); in hb_qsort()
[all …]
/third_party/harfbuzz/src/
Dhb-algs.hh964 static inline void sort_r_simple(void *base, size_t nel, size_t w, in sort_r_simple() argument
970 char *b = (char *)base, *end = b + nel*w; in sort_r_simple()
975 if(nel < 10) { in sort_r_simple()
988 char *last = b+w*(nel-1), *tmp; in sort_r_simple()
996 l[1] = b+w*(nel/2); in sort_r_simple()
1084 hb_qsort (void *base, size_t nel, size_t width, in hb_qsort() argument
1088 qsort (base, nel, width, compar); in hb_qsort()
1090 sort_r_simple (base, nel, width, compar); in hb_qsort()
1095 hb_qsort (void *base, size_t nel, size_t width, in hb_qsort() argument
1100 qsort_r (base, nel, width, compar, arg); in hb_qsort()
[all …]
/third_party/gstreamer/gstplugins_base/po/
Dit.po73 msgstr "Errore nel registrare dal dispositivo audio: è stato scollegato."
80 msgstr "Impossibile effettuare il posizionamento nel CD."
451 msgstr "Velocità di scatto usata nel catturare un'immagine, in secondi"
457 msgstr "Rapporto focale (numero f) usata nel catturare un'immagine"
478 msgstr "Rapporto ingrandimento digitale usato nel catturare un'immagine"
484 msgstr "La velocità ISO usata nel catturare un'immagine"
490 msgstr "Il programma di esposizione usato nel catturare un'immagine"
496 msgstr "La modalità di esposizione usata nel catturare un'immagine"
502 msgstr "La compensazione dell'esposizione usata nel catturare un'immagine"
508 msgstr "Il tipo di scena usato nel catturare un'immagine"
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-algs.hh672 static inline void sort_r_simple(void *base, size_t nel, size_t w, in sort_r_simple() argument
677 char *b = (char *)base, *end = b + nel*w; in sort_r_simple()
678 if(nel < 7) { in sort_r_simple()
692 char *last = b+w*(nel-1), *tmp; in sort_r_simple()
695 l[1] = b+w*(nel/2); in sort_r_simple()
735 hb_sort_r (void *base, size_t nel, size_t width, in hb_sort_r() argument
739 sort_r_simple(base, nel, width, compar, arg); in hb_sort_r()

123