Lines Matching defs:apair
334 ns_ldap_attr_t **apair;
346 apair = (ns_ldap_attr_t **)calloc(attr_cnt, sizeof (ns_ldap_attr_t *));
347 if (apair == NULL) {
351 ep->attr_pair = apair;
376 apair[i] = (ns_ldap_attr_t *)calloc(1,
378 if (apair[i] == NULL) {
383 apair[i]->attrvalue = (char **)calloc(2,
385 if (apair[i]->attrvalue == NULL) {
389 apair[i]->attrvalue[0] = strdup(val);
390 if (apair[i]->attrvalue[0] == NULL) {
394 apair[i]->attrname =
396 if (apair[i]->attrname == NULL) {
400 apair[i]->value_count = 1;