Home
last modified time | relevance | path

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

/third_party/openssl/crypto/x509v3/
Dv3_ncons.c127 NAME_CONSTRAINTS *ncons = NULL; in v2i_NAME_CONSTRAINTS() local
130 ncons = NAME_CONSTRAINTS_new(); in v2i_NAME_CONSTRAINTS()
131 if (ncons == NULL) in v2i_NAME_CONSTRAINTS()
136 ptree = &ncons->permittedSubtrees; in v2i_NAME_CONSTRAINTS()
139 ptree = &ncons->excludedSubtrees; in v2i_NAME_CONSTRAINTS()
158 return ncons; in v2i_NAME_CONSTRAINTS()
163 NAME_CONSTRAINTS_free(ncons); in v2i_NAME_CONSTRAINTS()
172 NAME_CONSTRAINTS *ncons = a; in i2r_NAME_CONSTRAINTS() local
173 do_i2r_name_constraints(method, ncons->permittedSubtrees, in i2r_NAME_CONSTRAINTS()
175 do_i2r_name_constraints(method, ncons->excludedSubtrees, in i2r_NAME_CONSTRAINTS()
/third_party/selinux/libsepol/src/
Dwrite.c1031 uint32_t buf[32], ncons; in class_write() local
1045 ncons = 0; in class_write()
1047 ncons++; in class_write()
1059 buf[items++] = cpu_to_le32(ncons); in class_write()
1084 ncons = 0; in class_write()
1086 ncons++; in class_write()
1088 buf[0] = cpu_to_le32(ncons); in class_write()
Dpolicydb.c2132 unsigned int ncons, in read_cons_helper() argument
2143 for (i = 0; i < ncons; i++) { in read_cons_helper()
2231 size_t len, len2, ncons, nel; in class_read() local
2256 ncons = le32_to_cpu(buf[5]); in class_read()
2287 if (read_cons_helper(p, &cladatum->constraints, ncons, 0, fp)) in class_read()
2298 ncons = le32_to_cpu(buf[0]); in class_read()
2299 if (read_cons_helper(p, &cladatum->validatetrans, ncons, 1, fp)) in class_read()