Home
last modified time | relevance | path

Searched refs:ncons (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/x509v3/
Dv3_ncons.c118 NAME_CONSTRAINTS *ncons = NULL; variable
120 ncons = NAME_CONSTRAINTS_new();
121 if (!ncons)
128 ptree = &ncons->permittedSubtrees;
133 ptree = &ncons->excludedSubtrees;
152 return ncons;
157 if (ncons)
158 NAME_CONSTRAINTS_free(ncons);
171 NAME_CONSTRAINTS *ncons = a; in i2r_NAME_CONSTRAINTS() local
172 do_i2r_name_constraints(method, ncons->permittedSubtrees, in i2r_NAME_CONSTRAINTS()
[all …]
/external/selinux/libsepol/src/
Dwrite.c950 uint32_t buf[32], ncons; in class_write() local
964 ncons = 0; in class_write()
966 ncons++; in class_write()
978 buf[items++] = cpu_to_le32(ncons); in class_write()
1003 ncons = 0; in class_write()
1005 ncons++; in class_write()
1007 buf[0] = cpu_to_le32(ncons); in class_write()
Dpolicydb.c1983 unsigned int ncons, in read_cons_helper() argument
1994 for (i = 0; i < ncons; i++) { in read_cons_helper()
2082 size_t len, len2, ncons, nel; in class_read() local
2103 ncons = le32_to_cpu(buf[5]); in class_read()
2134 if (read_cons_helper(p, &cladatum->constraints, ncons, 0, fp)) in class_read()
2145 ncons = le32_to_cpu(buf[0]); in class_read()
2146 if (read_cons_helper(p, &cladatum->validatetrans, ncons, 1, fp)) in class_read()