Searched refs:nel (Results 1 - 25 of 26) sorted by relevance

12

/external/selinux/libselinux/src/
H A Dcompute_user.c20 unsigned int i, nel; local
49 if (sscanf(buf, "%u", &nel) != 1) {
54 ary = malloc((nel + 1) * sizeof(char *));
61 for (i = 0; i < nel; i++) {
70 ary[nel] = NULL;
H A Davc_sidtab.h24 unsigned nel; member in struct:sidtab
H A Davc_sidtab.c44 s->nel = 0;
72 s->nel++;
128 "chain length %d\n", avc_prefix, h->nel, slots_used,
H A Dmatchpathcon.c238 int h, used, nel, len, longest; local
245 nel = 0;
255 nel += len;
260 __FUNCTION__, nel, used, HASH_BUCKETS, longest);
H A Dload_policy.c73 int (*genbools_array)(void *data, size_t len, char **names, int *values, int nel) = NULL;
/external/libselinux/src/
H A Davc_sidtab.h24 unsigned nel; member in struct:sidtab
H A Davc_sidtab.c44 s->nel = 0;
72 s->nel++;
128 "chain length %d\n", avc_prefix, h->nel, slots_used,
/external/selinux/libsepol/include/sepol/
H A Dbooleans.h23 with 'nel' elements, rewrite the binary policy for the boolean settings.
27 char **names, int *values, int nel);
/external/selinux/libsepol/src/
H A Dsidtab.c35 s->nel = 0;
81 s->nel++;
114 s->nel--;
195 s->nel--;
284 tag, h->nel, slots_used, SIDTAB_SIZE, max_chain_len);
307 s->nel = 0;
315 dst->nel = src->nel;
H A Dwrite.c101 unsigned merge, unsigned commit, uint32_t * nel)
179 if (nel)
180 (*nel)--; /* one less node */
275 uint32_t nel; local
284 and compute the final nel. */
293 nel = a->nel;
295 /* New avtab format. nel is good to go. */
296 nel = cpu_to_le32(a->nel);
99 avtab_write_item(policydb_t * p, avtab_ptr_t cur, struct policy_file *fp, unsigned merge, unsigned commit, uint32_t * nel) argument
499 size_t nel, items; local
543 size_t nel, items; local
566 size_t nel, items, len; local
1243 size_t nel, items, len; local
1342 size_t nel, items, len; local
1449 size_t nel = 0, items, len; local
1496 size_t nel, items; local
1636 int nel = 0; local
1677 int nel = 0; local
1699 int nel = 0; local
1741 int nel = 0; local
[all...]
H A Davtab.c126 h->nel++;
349 h->nel = 0;
378 h->nel = 0;
408 tag, h->nel, slots_used, h->nslot, max_chain_len);
578 uint32_t nel; local
585 nel = le32_to_cpu(buf[0]);
586 if (!nel) {
591 rc = avtab_alloc(a, nel);
597 for (i = 0; i < nel; i++) {
604 ERR(fp->handle, "failed on entry %d of %u", i, nel);
[all...]
H A Dhashtab.c52 p->nel = 0;
99 h->nel++;
132 h->nel--;
276 h->nel--;
312 tag, h->nel, slots_used, h->size, max_chain_len);
H A Dpolicydb.c1061 p->p_classes.nprim, p->te_avtab.nel, p->te_cond_avtab.nel);
1939 size_t len, nel; local
1957 nel = le32_to_cpu(buf[3]);
1967 for (i = 0; i < nel; i++) {
2082 size_t len, len2, ncons, nel; local
2101 nel = le32_to_cpu(buf[4]);
2129 for (i = 0; i < nel; i++) {
2356 uint32_t buf[3], nel; local
2365 nel
2398 uint32_t buf[2], nel; local
2430 uint32_t buf[4], nel, len; local
2481 size_t nel, len; local
2587 size_t nel, len; local
2724 size_t nel, nel2, len, len2; local
3103 uint32_t buf[2], nel; local
3231 uint32_t buf[1], nel; local
3281 uint32_t buf[1], nel; local
3316 uint32_t buf[2], nel; local
3373 uint32_t buf[1], nel; local
3448 uint32_t buf[2], nprim, nel; local
3499 uint32_t buf[1], num_blocks, nel; local
3643 size_t len, nprim, nel; local
[all...]
H A Dgenbools.c210 int nel)
223 for (i = 0; i < nel; i++) {
209 sepol_genbools_array(void *data, size_t len, char **names, int *values, int nel) argument
H A Dmodule.c348 uint32_t offset, nel, read_len; local
352 nel = bytes;
354 while (nel) {
355 if (nel < _read_helper_bufsize)
356 read_len = nel;
363 nel -= read_len;
H A Dservices.c1983 * array containing the set of SIDs. Set `*nel' to the
1990 sepol_security_id_t ** sids, uint32_t * nel)
2076 *nel = mynel;
1988 sepol_get_user_sids(sepol_security_id_t fromsid, char *username, sepol_security_id_t ** sids, uint32_t * nel) argument
/external/selinux/libsepol/include/sepol/policydb/
H A Dsidtab.h34 unsigned int nel; /* number of elements */ member in struct:__anon13620
H A Dhashtab.h38 uint32_t nel; /* number of elements in hash table */ member in struct:hashtab_val
H A Davtab.h100 uint32_t nel; /* number of elements */ member in struct:avtab
H A Dservices.h161 * array containing the set of SIDs. Set `*nel' to the
166 sepol_security_id_t ** sids, uint32_t * nel);
/external/selinux/policycoreutils/newrole/
H A Dhashtab.c31 p->nel = 0;
78 h->nel++;
111 h->nel--;
255 h->nel--;
291 tag, h->nel, slots_used, h->size, max_chain_len);
H A Dhashtab.h35 uint32_t nel; /* number of elements in hash table */ member in struct:hashtab_val
/external/eigen/Eigen/src/OrderingMethods/
H A DAmd.h97 ok, nel = 0, p, p1, p2, p3, p4, pj, pk, pk1, pk2, pn, q, t; local
151 nel++;
159 nel++;
171 while (nel < n) /* while (selecting pivots) do */
179 nel += nvk; /* nv[k] nodes of A eliminated */
318 nel += nvi;
385 d = std::min<Index> (d, n - nel - nvi);
/external/selinux/policycoreutils/setfiles/
H A Drestore.c502 int h, used, nel, len, longest; local
509 nel = 0;
519 nel += len;
525 __FUNCTION__, nel, used, HASH_BUCKETS, longest);
/external/selinux/checkpolicy/
H A Dcheckpolicy.c394 unsigned int nel, uret; local
1048 ret = sepol_get_user_sids(ssid, ans, &sids, &nel);
1051 if (!nel)
1053 for (i = 0; i < nel; i++)

Completed in 7570 milliseconds

12