Home
last modified time | relevance | path

Searched refs:num_attrs (Results 1 – 5 of 5) sorted by relevance

/external/libcups/cups/
Dppd-attr.c44 if (!ppd || !name || ppd->num_attrs == 0) in ppdFindAttr()
97 if (!ppd || !name || ppd->num_attrs == 0) in ppdFindNextAttr()
Dppd.c220 if (ppd->num_attrs > 0) in ppdClose()
222 for (i = ppd->num_attrs, attr = ppd->attrs; i > 0; i --, attr ++) in ppdClose()
817 for (j = 0; j < ppd->num_attrs; j ++) in _ppdOpen()
1378 for (j = 0; j < ppd->num_attrs; j ++) in _ppdOpen()
1497 for (j = 0; j < ppd->num_attrs; j ++) in _ppdOpen()
2320 if (ppd->num_attrs == 0) in ppd_add_attr()
2323 ptr = realloc(ppd->attrs, (size_t)(ppd->num_attrs + 1) * sizeof(ppd_attr_t *)); in ppd_add_attr()
2329 ptr += ppd->num_attrs; in ppd_add_attr()
2336 ppd->num_attrs ++; in ppd_add_attr()
Dppd.h340 int num_attrs; /* Number of attributes @since CUPS 1.1.19/macOS 10.3@ @private@ */ member
/external/boringssl/src/crypto/x509/
Dt_req.c160 const int num_attrs = X509_ATTRIBUTE_count(a); in X509_REQ_print_ex() local
171 for (j = 0; j < num_attrs; j++) { in X509_REQ_print_ex()
/external/selinux/libsepol/src/
Dmodule_to_cil.c734 static unsigned int num_attrs = 0; in get_new_attr_name() local
739 num_attrs++; in get_new_attr_name()
747 len = strlen(pdb->name) + strlen(infix) + num_digits(num_attrs) + 1; in get_new_attr_name()
754 rlen = snprintf(attr_name, len, "%s%s%i", pdb->name, infix, num_attrs); in get_new_attr_name()