Lines Matching refs:v2

898 explodeValues(__nis_value_t *v1, __nis_value_t *v2) {  in explodeValues()  argument
905 return (cloneValue(v2, 1)); in explodeValues()
906 if (v2 == 0 || v2->numVals <= 0) in explodeValues()
919 if (!v1->repeat && !v2->repeat) in explodeValues()
920 nv = v1->numVals * v2->numVals; in explodeValues()
921 else if (v1->repeat && !v2->repeat) in explodeValues()
922 nv = v2->numVals; in explodeValues()
923 else if (!v1->repeat && v2->repeat) in explodeValues()
937 if (!v1->repeat && !v2->repeat) { in explodeValues()
939 for (i2 = 0; i2 < v2->numVals; i2++) { in explodeValues()
948 if (v2->type == vt_string) in explodeValues()
949 sbc2buf(myself, v2->val[i2].value, in explodeValues()
950 v2->val[i2].length, in explodeValues()
953 bc2buf(myself, v2->val[i2].value, in explodeValues()
954 v2->val[i2].length, in explodeValues()
963 } else if (v1->repeat && !v2->repeat) { in explodeValues()
964 for (i2 = 0; i2 < v2->numVals; i2++) { in explodeValues()
974 if (v2->type == vt_string) in explodeValues()
975 sbc2buf(myself, v2->val[i2].value, in explodeValues()
976 v2->val[i2].length, in explodeValues()
979 bc2buf(myself, v2->val[i2].value, in explodeValues()
980 v2->val[i2].length, in explodeValues()
989 } else if (!v1->repeat && v2->repeat) { in explodeValues()
991 for (i2 = 0; i2 < v2->numVals; i2++) { in explodeValues()
1000 if (v2->type == vt_string) in explodeValues()
1001 sbc2buf(myself, v2->val[i2].value, in explodeValues()
1002 v2->val[i2].length, in explodeValues()
1005 bc2buf(myself, v2->val[i2].value, in explodeValues()
1006 v2->val[i2].length, in explodeValues()
1017 for (i2 = 0; i2 < v2->numVals; i2++) { in explodeValues()
1026 if (v2->type == vt_string) in explodeValues()
1027 sbc2buf(myself, v2->val[i2].value, in explodeValues()
1028 v2->val[i2].length, in explodeValues()
1031 bc2buf(myself, v2->val[i2].value, in explodeValues()
1032 v2->val[i2].length, in explodeValues()
1050 ((v2->type == vt_string) ? in explodeValues()
1602 concatenateValues(__nis_value_t *v1, __nis_value_t *v2) { in concatenateValues() argument
1608 return (cloneValue(v2, 1)); in concatenateValues()
1609 if (v2 == 0 || v2->numVals <= 0) in concatenateValues()
1612 if (v1->type != v2->type) in concatenateValues()
1615 n = v1->numVals + v2->numVals; in concatenateValues()
1628 __nis_single_value_t *val = (a == 0) ? v1->val : v2->val; in concatenateValues()
1630 v2->numVals; in concatenateValues()