Lines Matching refs:kv1
92 kva_t *kv1 = _str2kva(attr1, KV_ASSIGN, KV_DELIMITER);
106 if (kv1 == NULL || kv2 == NULL) {
107 _kva_free(kv1);
113 * Two steps: move the attributes not found in kv1 from kv2;
118 len = kv1->length + kv2->length;
119 newkv = realloc(kv1->data, len * sizeof (kv_t));
122 _kva_free(kv1);
127 kv1->data = newkv;
130 if (kva_match(kv1, kv2->data[i].key) == NULL) {
131 kv1->data[kv1->length++] = kv2->data[i];
144 char *val1 = kva_match(kv1, key);
159 (void) _insert2kva(kv1, key, nbuf);
165 res = _kva2str(kv1, buf, sizeof (buf), KV_ASSIGN, KV_DELIMITER);
166 _kva_free(kv1);