Lines Matching refs:attr
83 #define DTD_ELEM_ATTR (const xmlChar *) "attr"
1767 match_prop(xmlNodePtr cur, const xmlChar *attr, char *user_prop)
1772 gotten_prop = xmlGetProp(cur, attr);
3328 zonecfg_get_attr_boolean(const struct zone_attrtab *attr, boolean_t *value)
3330 if (attr == NULL)
3333 if (strcmp(attr->zone_attr_type, DTD_ENTITY_BOOLEAN) != 0)
3336 if (strcmp(attr->zone_attr_value, DTD_ENTITY_TRUE) == 0) {
3340 if (strcmp(attr->zone_attr_value, DTD_ENTITY_FALSE) == 0) {
3348 zonecfg_get_attr_int(const struct zone_attrtab *attr, int64_t *value)
3353 if (attr == NULL)
3356 if (strcmp(attr->zone_attr_type, DTD_ENTITY_INT) != 0)
3360 result = strtoll(attr->zone_attr_value, &endptr, 10);
3368 zonecfg_get_attr_string(const struct zone_attrtab *attr, char *value,
3371 if (attr == NULL)
3374 if (strcmp(attr->zone_attr_type, DTD_ENTITY_STRING) != 0)
3377 if (strlcpy(value, attr->zone_attr_value, val_sz) >= val_sz)
3383 zonecfg_get_attr_uint(const struct zone_attrtab *attr, uint64_t *value)
3389 if (attr == NULL)
3392 if (strcmp(attr->zone_attr_type, DTD_ENTITY_UINT) != 0)
3396 result = strtoull(attr->zone_attr_value, &endptr, 10);
3400 neg_result = strtoll(attr->zone_attr_value, &endptr, 10);
4001 if (strcmp(nm, "attr") == 0)
7874 authlist = kva_match(ua_ptr->attr, USERATTR_AUTHS_KW);
8043 type = kva_match(u->attr, USERATTR_TYPE_KW);
8049 current_auths = kva_match(u->attr, USERATTR_AUTHS_KW);
8096 current_profs = kva_match(u->attr, USERATTR_PROFILES_KW);