Lines Matching refs:new_key
246 LDAPsortkey *new_key = NULL;
320 new_key = (LDAPsortkey*)NSLDAPI_MALLOC(sizeof(LDAPsortkey));
321 if (0 == new_key) {
326 new_key->sk_attrtype = (char *)NSLDAPI_MALLOC(attrdesc_size + 1);
328 new_key->sk_matchruleoid = (char *)NSLDAPI_MALLOC(
331 new_key->sk_matchruleoid = NULL;
334 memcpy(new_key->sk_attrtype,attrdesc_source,attrdesc_size);
335 *(new_key->sk_attrtype + attrdesc_size) = '\0';
337 memcpy(new_key->sk_matchruleoid,matchrule_source,matchrule_size);
338 *(new_key->sk_matchruleoid + matchrule_size) = '\0';
341 new_key->sk_reverseorder = reverse;
344 *key = new_key;