Lines Matching refs:val
303 const char *val)
343 lret = ldb_msg_add_string(msg, attribute, val);
427 long val;
450 val = strtol(values[0], NULL, 0);
456 if (val < INT_MIN || val > INT_MAX) {
462 val = defval;
467 *result = (int)val;
483 long val;
506 val = strtol(values[0], NULL, 0);
513 val = defval;
518 *result = val;
534 bool val;
557 val = false;
560 val = true;
570 val = defval;
575 *result = val;
826 int ret, val;
956 val = ldb_msg_find_attr_as_int(res->msgs[0], CONFDB_DOMAIN_ENUMERATE, 0);
957 if (val > 0) { /* ok there was a number in here */
1203 val = ldb_msg_find_attr_as_int(res->msgs[0],
1206 if (val == -1) {
1209 -1, &val);
1213 val = -1;
1217 DEBUG(SSSDBG_TRACE_LIBS, "pwd_expiration_warning is %d\n", val);
1218 if (val >= 0) {
1220 "Setting domain password expiration warning to %d days\n", val);
1222 domain->pwd_expiration_warning = val * 24 * 3600;
1584 const struct ldb_val *val;
1594 val = ldb_dn_get_component_val(res->msgs[i]->dn, j);
1597 (const char *)val->data, val->length);
1600 (int)val->length,
1601 (const char *)val->data);