Lines Matching defs:min
82 const char * const min_attr = "min";
1839 * The cardinality is specified by two attributes max and min at cursor.
1850 uint64_t min;
1854 SCF_PROPERTY_TM_CARDINALITY_MIN, &min, &min_prop);
1864 if (max < min) {
1865 semerr(gettext("Cardinality max is less than min for "
2225 * Verify that the strings at min and max are valid numeric strings. Also
2226 * verify that max is numerically >= min.
2231 verify_range(entity_t *service, xmlNodePtr range, char *min, char *max)
2242 strings[RC_MIN] = min;
2273 /* Make sure that min is <= max */
2293 * should have two attributes -- min and max. The property value then
2306 char *min;
2311 /* Get max and min from the XML description. */
2318 min = (char *)xmlGetProp(range, (xmlChar *)min_attr);
2319 if ((min == NULL) || (*min == 0)) {
2324 if (verify_range(service, range, min, max) != 0) {
2325 xmlFree(min);
2330 /* Property value is concatenation of min and max. */
2332 if (snprintf(prop_value, max_scf_value_len + 1, "%s,%s", min, max) >=
2334 uu_die(gettext("min and max are too long for the %s element "
2337 xmlFree(min);