Home
last modified time | relevance | path

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

/external/openssl/crypto/x509v3/
Dv3_ncons.c115 NAME_CONSTRAINTS *ncons = NULL; variable
117 ncons = NAME_CONSTRAINTS_new();
118 if (!ncons)
125 ptree = &ncons->permittedSubtrees;
130 ptree = &ncons->excludedSubtrees;
149 return ncons;
154 if (ncons)
155 NAME_CONSTRAINTS_free(ncons);
168 NAME_CONSTRAINTS *ncons = a; in i2r_NAME_CONSTRAINTS() local
169 do_i2r_name_constraints(method, ncons->permittedSubtrees, in i2r_NAME_CONSTRAINTS()
[all …]
/external/libsepol/src/
Dwrite.c914 uint32_t buf[32], ncons; in class_write() local
928 ncons = 0; in class_write()
930 ncons++; in class_write()
942 buf[items++] = cpu_to_le32(ncons); in class_write()
967 ncons = 0; in class_write()
969 ncons++; in class_write()
971 buf[0] = cpu_to_le32(ncons); in class_write()
Dpolicydb.c1904 unsigned int ncons, in read_cons_helper() argument
1915 for (i = 0; i < ncons; i++) { in read_cons_helper()
1999 size_t len, len2, ncons, nel; in class_read() local
2020 ncons = le32_to_cpu(buf[5]); in class_read()
2051 if (read_cons_helper(p, &cladatum->constraints, ncons, 0, fp)) in class_read()
2062 ncons = le32_to_cpu(buf[0]); in class_read()
2063 if (read_cons_helper(p, &cladatum->validatetrans, ncons, 1, fp)) in class_read()