Home
last modified time | relevance | path

Searched refs:nel (Results 1 – 25 of 38) 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()
275 uint32_t nel; in avtab_write() local
293 nel = a->nel; in avtab_write()
296 nel = cpu_to_le32(a->nel); in avtab_write()
297 items = put_entry(&nel, sizeof(uint32_t), 1, fp); in avtab_write()
306 if (avtab_write_item(p, cur, fp, 1, !oldvers, &nel)) { in avtab_write()
316 nel = cpu_to_le32(nel); in avtab_write()
317 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.c1061 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel); in policydb_index_others()
1939 size_t len, nel; in common_read() local
1957 nel = le32_to_cpu(buf[3]); in common_read()
1967 for (i = 0; i < nel; i++) { in common_read()
2082 size_t len, len2, ncons, nel; in class_read() local
2101 nel = le32_to_cpu(buf[4]); in class_read()
2129 for (i = 0; i < nel; i++) { in class_read()
2356 uint32_t buf[3], nel; in role_trans_read() local
2365 nel = le32_to_cpu(buf[0]); in role_trans_read()
2367 for (i = 0; i < nel; i++) { in role_trans_read()
[all …]
Davtab.c126 h->nel++; in avtab_insert_node()
349 h->nel = 0; in avtab_init()
378 h->nel = 0; in avtab_alloc()
408 tag, h->nel, slots_used, h->nslot, max_chain_len); in avtab_hash_eval()
578 uint32_t nel; in avtab_read() local
585 nel = le32_to_cpu(buf[0]); in avtab_read()
586 if (!nel) { in avtab_read()
591 rc = avtab_alloc(a, nel); in avtab_read()
597 for (i = 0; i < nel; i++) { in avtab_read()
604 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.c348 uint32_t offset, nel, read_len; in read_helper() local
352 nel = bytes; in read_helper()
354 while (nel) { in read_helper()
355 if (nel < _read_helper_bufsize) in read_helper()
356 read_len = nel; in read_helper()
363 nel -= read_len; in read_helper()
Dgenbools.c210 int nel) argument
223 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.c238 int h, used, nel, len, longest; in matchpathcon_filespec_eval() local
245 nel = 0; in matchpathcon_filespec_eval()
255 nel += len; in matchpathcon_filespec_eval()
260 __FUNCTION__, nel, used, HASH_BUCKETS, longest); in matchpathcon_filespec_eval()
Davc_sidtab.h24 unsigned nel; member
/external/libselinux/src/
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()
Davc_sidtab.h24 unsigned nel; member
/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.h35 uint32_t nel; /* number of elements in hash table */ member
/external/eigen/Eigen/src/OrderingMethods/
DAmd.h97 ok, nel = 0, p, p1, p2, p3, p4, pj, pk, pk1, pk2, pn, q, t; in minimum_degree_ordering() local
151 nel++; in minimum_degree_ordering()
159 nel++; in minimum_degree_ordering()
171 while (nel < n) /* while (selecting pivots) do */ in minimum_degree_ordering()
179 nel += nvk; /* nv[k] nodes of A eliminated */ in minimum_degree_ordering()
318 nel += nvi; in minimum_degree_ordering()
385 d = std::min<Index> (d, n - nel - nvi); in minimum_degree_ordering()
/external/selinux/libsepol/include/sepol/
Dbooleans.h27 char **names, int *values, int nel);
/external/selinux/policycoreutils/setfiles/
Drestore.c502 int h, used, nel, len, longest; in filespec_eval() local
509 nel = 0; in filespec_eval()
519 nel += len; in filespec_eval()
525 __FUNCTION__, nel, used, HASH_BUCKETS, longest); in filespec_eval()
/external/selinux/libsepol/include/sepol/policydb/
Dsidtab.h34 unsigned int nel; /* number of elements */ member
Dhashtab.h38 uint32_t nel; /* number of elements in hash table */ member
Dservices.h166 sepol_security_id_t ** sids, uint32_t * nel);
Davtab.h100 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.c394 unsigned int nel, uret; in main() local
1048 ret = sepol_get_user_sids(ssid, ans, &sids, &nel); in main()
1051 if (!nel) in main()
1053 for (i = 0; i < nel; i++) in main()

12