Lines Matching refs:new_key
235 LDAPsortkey *new_key = NULL;
324 new_key = (LDAPsortkey*)malloc(sizeof (LDAPsortkey));
325 if (0 == new_key) {
330 new_key->sk_attrtype = (char *)malloc(attrdesc_size + 1);
332 new_key->sk_matchruleoid = (char *)malloc(matchrule_size + 1);
334 new_key->sk_matchruleoid = NULL;
337 memcpy(new_key->sk_attrtype, attrdesc_source, attrdesc_size);
338 *(new_key->sk_attrtype + attrdesc_size) = '\0';
340 memcpy(new_key->sk_matchruleoid, matchrule_source,
342 *(new_key->sk_matchruleoid + matchrule_size) = '\0';
345 new_key->sk_reverseorder = reverse;
348 *key = new_key;