Lines Matching refs:v2

897 explodeValues(__nis_value_t *v1, __nis_value_t *v2) {  in explodeValues()  argument
904 return (cloneValue(v2, 1)); in explodeValues()
905 if (v2 == 0 || v2->numVals <= 0) in explodeValues()
918 if (!v1->repeat && !v2->repeat) in explodeValues()
919 nv = v1->numVals * v2->numVals; in explodeValues()
920 else if (v1->repeat && !v2->repeat) in explodeValues()
921 nv = v2->numVals; in explodeValues()
922 else if (!v1->repeat && v2->repeat) in explodeValues()
936 if (!v1->repeat && !v2->repeat) { in explodeValues()
938 for (i2 = 0; i2 < v2->numVals; i2++) { in explodeValues()
947 if (v2->type == vt_string) in explodeValues()
948 sbc2buf(myself, v2->val[i2].value, in explodeValues()
949 v2->val[i2].length, in explodeValues()
952 bc2buf(myself, v2->val[i2].value, in explodeValues()
953 v2->val[i2].length, in explodeValues()
962 } else if (v1->repeat && !v2->repeat) { in explodeValues()
963 for (i2 = 0; i2 < v2->numVals; i2++) { in explodeValues()
973 if (v2->type == vt_string) in explodeValues()
974 sbc2buf(myself, v2->val[i2].value, in explodeValues()
975 v2->val[i2].length, in explodeValues()
978 bc2buf(myself, v2->val[i2].value, in explodeValues()
979 v2->val[i2].length, in explodeValues()
988 } else if (!v1->repeat && v2->repeat) { in explodeValues()
990 for (i2 = 0; i2 < v2->numVals; i2++) { in explodeValues()
999 if (v2->type == vt_string) in explodeValues()
1000 sbc2buf(myself, v2->val[i2].value, in explodeValues()
1001 v2->val[i2].length, in explodeValues()
1004 bc2buf(myself, v2->val[i2].value, in explodeValues()
1005 v2->val[i2].length, in explodeValues()
1016 for (i2 = 0; i2 < v2->numVals; i2++) { in explodeValues()
1025 if (v2->type == vt_string) in explodeValues()
1026 sbc2buf(myself, v2->val[i2].value, in explodeValues()
1027 v2->val[i2].length, in explodeValues()
1030 bc2buf(myself, v2->val[i2].value, in explodeValues()
1031 v2->val[i2].length, in explodeValues()
1049 ((v2->type == vt_string) ? in explodeValues()
1601 concatenateValues(__nis_value_t *v1, __nis_value_t *v2) { in concatenateValues() argument
1607 return (cloneValue(v2, 1)); in concatenateValues()
1608 if (v2 == 0 || v2->numVals <= 0) in concatenateValues()
1611 if (v1->type != v2->type) in concatenateValues()
1614 n = v1->numVals + v2->numVals; in concatenateValues()
1627 __nis_single_value_t *val = (a == 0) ? v1->val : v2->val; in concatenateValues()
1629 v2->numVals; in concatenateValues()