Lines Matching defs:val
73 if (peer->val) {
76 free_AlgorithmIdentifier(&peer->val[i]);
77 free(peer->val);
78 peer->val = NULL;
129 * @param val an AlgorithmsIdentier to add
139 const AlgorithmIdentifier *val)
144 ptr = realloc(peer->val, sizeof(peer->val[0]) * (peer->len + 1));
149 peer->val = ptr;
150 ret = copy_AlgorithmIdentifier(val, &peer->val[peer->len]);
163 * @param val array of supported AlgorithmsIdentiers
164 * @param len length of array val.
174 const AlgorithmIdentifier *val,
181 peer->val = calloc(len, sizeof(*peer->val));
182 if (peer->val == NULL) {
190 ret = copy_AlgorithmIdentifier(&val[i], &peer->val[i]);