Lines Matching refs:val
60 sfree(rv[n].colVal[i].val[j].value);
63 sfree(rv[n].colVal[i].val);
78 sfree(rv[n].attrVal[i].val[j].value);
81 sfree(rv[n].attrVal[i].val);
180 s->colVal[i].val[j].value,
181 s->colVal[i].val[j].length,
191 s->attrVal[i].val[j].value,
192 s->attrVal[i].val[j].length,
292 sfree(inVal[i].val[j].value);
294 sfree(inVal[i].val);
295 inVal[i].val = 0;
302 if (copyLen == inVal[i].val[j].length &&
303 memcmp(value, inVal[i].val[j].value,
312 v = realloc(inVal[i].val,
314 sizeof (inVal[i].val[0]));
317 inVal[i].val = v;
374 inVal[num].val = v;
377 inVal[num].val = 0;
481 __nis_value_t *val, *r;
514 val = 0;
516 r = concatenateValues(val, tmp[n]);
517 freeValue(val, 1);
519 val = r;
520 if (val == 0) {
529 if (repeat && val != 0)
530 val->repeat = repeat;
531 *rval = val;
577 __nis_value_t *val, *vold = 0, *vnew;
586 val = am(myself, sizeof (*val));
587 if (val != 0) {
588 val->type = vt_string;
589 val->numVals = -1;
591 return (val);
597 val = concatenateValues(vold, vnew);
600 vold = val;
602 return (val);
665 if (rval->numVals == 1 && rval->val[0].value == 0) {
708 iname = tmpval->val[0].value;
742 lval->val[i].value, 0, 0, rv);
753 if (strcasecmp("dn", lval->val[i].value) == 0 &&
754 lastChar(&rval->val[j]) == ',' &&
761 t->objectDN->write.base, &rval->val[j],
764 sfree(rval->val[j].value);
765 rval->val[j].value = nval;
766 rval->val[j].length = nlen;
770 lval->val[i].value, rval->val[j].value,
771 rval->val[j].length, rv);
807 sfree(rv->attrVal[i].val[j].value);
809 sfree(rv->attrVal[i].val);
842 sfree(rv->colVal[i].val[j].value);
844 sfree(rv->colVal[i].val);
935 valString(__nis_value_t *val) {
938 if (val == 0 || val->type != vt_string)
941 for (i = 0; i < val->numVals; i++) {
943 if (val->val[i].value != 0 && val->val[i].length > 0) {
944 char *v = val->val[i].value;
955 if (v[val->val[i].length-1] == '\0' ||
956 v[val->val[i].length] == '\0')