Home
last modified time | relevance | path

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

12

/external/selinux/libsepol/src/
Dwrite.c101 unsigned merge, unsigned commit, uint32_t * nel) in avtab_write_item() argument
179 if (nel) in avtab_write_item()
180 (*nel)--; /* one less node */ in avtab_write_item()
279 uint32_t nel; in avtab_write() local
297 nel = a->nel; in avtab_write()
300 nel = cpu_to_le32(a->nel); in avtab_write()
301 items = put_entry(&nel, sizeof(uint32_t), 1, fp); in avtab_write()
310 if (avtab_write_item(p, cur, fp, 1, !oldvers, &nel)) { in avtab_write()
320 nel = cpu_to_le32(nel); in avtab_write()
321 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()
114 s->nel--; in sepol_sidtab_remove()
195 s->nel--; in sepol_sidtab_map_remove_on_error()
284 tag, h->nel, slots_used, SIDTAB_SIZE, max_chain_len); in sepol_sidtab_hash_eval()
307 s->nel = 0; in sepol_sidtab_destroy()
315 dst->nel = src->nel; in sepol_sidtab_set()
Dpolicydb.c1165 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others()
2038 size_t len, nel; in common_read() local
2059 nel = le32_to_cpu(buf[3]); in common_read()
2069 for (i = 0; i < nel; i++) { in common_read()
2184 size_t len, len2, ncons, nel; in class_read() local
2207 nel = le32_to_cpu(buf[4]); in class_read()
2235 for (i = 0; i < nel; i++) { in class_read()
2464 uint32_t buf[3], nel; in role_trans_read() local
2473 nel = le32_to_cpu(buf[0]); in role_trans_read()
2475 for (i = 0; i < nel; i++) { in role_trans_read()
[all …]
Davtab.c131 h->nel++; in avtab_insert_node()
358 h->nel = 0; in avtab_init()
387 h->nel = 0; in avtab_alloc()
417 tag, h->nel, slots_used, h->nslot, max_chain_len); in avtab_hash_eval()
590 uint32_t nel; in avtab_read() local
597 nel = le32_to_cpu(buf[0]); in avtab_read()
598 if (!nel) { in avtab_read()
603 rc = avtab_alloc(a, nel); in avtab_read()
609 for (i = 0; i < nel; i++) { in avtab_read()
616 ERR(fp->handle, "failed on entry %d of %u", i, nel); in avtab_read()
Dhashtab.c52 p->nel = 0; in hashtab_create()
99 h->nel++; in hashtab_insert()
132 h->nel--; in hashtab_remove()
276 h->nel--; in hashtab_map_remove_on_error()
312 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()
Dgenbools.c221 int nel) argument
234 for (i = 0; i < nel; i++) {
/external/selinux/libselinux/src/
Dcompute_user.c20 unsigned int i, nel; in security_compute_user_raw() local
49 if (sscanf(buf, "%u", &nel) != 1) { in security_compute_user_raw()
54 ary = malloc((nel + 1) * sizeof(char *)); in security_compute_user_raw()
61 for (i = 0; i < nel; i++) { in security_compute_user_raw()
70 ary[nel] = NULL; in security_compute_user_raw()
Davc_sidtab.c44 s->nel = 0; in sidtab_init()
72 s->nel++; in sidtab_insert()
128 "chain length %d\n", avc_prefix, h->nel, slots_used, in sidtab_sid_stats()
Dmatchpathcon.c266 int h, used, nel, len, longest; in matchpathcon_filespec_eval() local
273 nel = 0; in matchpathcon_filespec_eval()
283 nel += len; in matchpathcon_filespec_eval()
288 __FUNCTION__, nel, used, HASH_BUCKETS, longest); in matchpathcon_filespec_eval()
Davc_sidtab.h24 unsigned nel; member
Dselinux_restorecon.c488 int h, used, nel, len, longest; in filespec_eval() local
495 nel = 0; in filespec_eval()
504 nel += len; in filespec_eval()
509 nel, used, HASH_BUCKETS, longest); in filespec_eval()
/external/selinux/policycoreutils/newrole/
Dhashtab.c31 p->nel = 0; in hashtab_create()
78 h->nel++; in hashtab_insert()
111 h->nel--; in hashtab_remove()
255 h->nel--; in hashtab_map_remove_on_error()
291 tag, h->nel, slots_used, h->size, max_chain_len); in hashtab_hash_eval()
Dhashtab.h36 uint32_t nel; /* number of elements in hash table */ member
/external/libusb/libusb/os/
Dwindows_nt_common.c151 static bool htab_create(struct libusb_context *ctx, unsigned long nel) in htab_create() argument
162 nel |= 1; in htab_create()
163 while (!isprime(nel)) in htab_create()
164 nel += 2; in htab_create()
166 htab_size = nel; in htab_create()
167 usbi_dbg("using %lu entries hash table", nel); in htab_create()
/external/eigen/Eigen/src/OrderingMethods/
DAmd.h100 ok, nel = 0, p, p1, p2, p3, p4, pj, pk, pk1, pk2, pn, q, t, h; in minimum_degree_ordering() local
159 nel++; in minimum_degree_ordering()
167 nel++; in minimum_degree_ordering()
183 while (nel < n) /* while (selecting pivots) do */ in minimum_degree_ordering()
191 nel += nvk; /* nv[k] nodes of A eliminated */ in minimum_degree_ordering()
330 nel += nvi; in minimum_degree_ordering()
397 d = std::min<StorageIndex> (d, n - nel - nvi); in minimum_degree_ordering()
/external/autotest/client/profilers/powertop/src/po/
Dit.po150 msgstr "(che è CONFIG_DEBUG_KERNEL=y nel file .config)\n"
296 "Suggerimento: Disabilitare CONFIG_IRQBALANCE nel kernel\n"
351 "Suggerimento: abilitare CONFIG_NO_HZ nel kernel\n"
362 "Suggerimento: Abilitare CONFIG_CPU_FREQ_GOV_ONDEMAND nel kernel\n"
373 "Suggerimento: abilitare CONFIG_NO_HZ nel kernel\n"
383 "Suggerimento: Abilitare CONFIG_HPET_TIMER nel kernel.\n"
394 "Suggerimento: abilitare CONFIG_NO_HZ nel kernel\n"
403 "Suggerimento: abilitare CONFIG_NO_HZ nel kernel\n"
414 "Suggerimento: abilitare CONFIG_SND_AC97_POWER_SAVE nel kernel\n"
424 "Suggerimento: Abilitare CONFIG_USB_SUSPEND nel kernel.\n"
/external/selinux/libsepol/include/sepol/
Dbooleans.h28 char **names, int *values, int nel);
/external/selinux/libsepol/include/sepol/policydb/
Dsidtab.h35 unsigned int nel; /* number of elements */ member
Dhashtab.h40 uint32_t nel; /* number of elements in hash table */ member
Dservices.h168 sepol_security_id_t ** sids, uint32_t * nel);
Davtab.h102 uint32_t nel; /* number of elements */ member
/external/google-breakpad/src/client/mac/sender/it.lproj/
DLocalizable.strings9 "emailMsg" = "Fornendo il tuo indirizzo e-mail, potremo contattarti nel caso che abbiamo bisogno di…
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg638 <alts:{a | <altSwitchCase(i, a)>}; separator="\nel">
650 <alts:{a | <altSwitchCase(i, a)>}; separator="\nel">
688 <alts:{a | <altSwitchCase(i, a)>}; separator="\nel">
720 <alts:{a | <altSwitchCase(i, a)>}; separator="\nel">
979 <edges; separator="\nel">
998 <edges; separator="\nel">
1009 <edges; separator="\nel"><\n>
1046 <edges; separator="\nel">
1061 <edges; separator="\nel">
1066 <edges; separator="\nel">
[all …]
/external/selinux/checkpolicy/
Dcheckpolicy.c396 unsigned int nel, uret; in main() local
1070 ret = sepol_get_user_sids(ssid, ans, &sids, &nel); in main()
1073 if (!nel) in main()
1075 for (i = 0; i < nel; i++) in main()

12