Lines Matching defs:namelen
360 scf_simple_pg *thispg, scf_property_t *prop, size_t namelen,
369 if (scf_property_get_name(prop, propname, namelen) < 0) {
1118 ssize_t namelen;
1124 namelen = scf_limit(SCF_LIMIT_MAX_NAME_LENGTH) + 1;
1125 assert(namelen > 0);
1127 if ((pg_name = malloc(namelen)) == NULL) {
1134 if (scf_pg_get_name(simple_h->running_pg, pg_name, namelen) < 0) {
1797 ssize_t namelen;
1812 if ((namelen = scf_myname(h, NULL, 0)) == -1) {
1817 if ((sys_fmri = malloc(namelen + 1)) == NULL) {
1823 if (scf_myname(h, sys_fmri, namelen + 1) == -1) {
1838 namelen = scf_limit(SCF_LIMIT_MAX_NAME_LENGTH) + 1;
1839 assert(namelen > 0);
1861 (propname = malloc(namelen)) == NULL ||
1862 (pgname = malloc(namelen)) == NULL) {
1899 if ((nextpg->pg_name = malloc(namelen)) == NULL) {
1904 if (scf_pg_get_name(pg, nextpg->pg_name, namelen) < 0) {
1922 if (scf_property_get_name(prop, propname, namelen) <
1988 if (scf_pg_get_name(pg, pgname, namelen) < 0) {
2020 thispg, prop, namelen, h) == -1)
2054 namelen) < 0) {