Lines Matching refs:nm

1914 	char		**nm, **lm;  in __s_cvt_group()  local
1973 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_group()
1974 if (nm == NULL) { in __s_cvt_group()
1979 nm[j] = strdup(lm[j]); in __s_cvt_group()
1980 if (nm[j] == NULL) { in __s_cvt_group()
1982 free(nm[k]); in __s_cvt_group()
1983 free(nm); in __s_cvt_group()
1988 rc = __s_add_attrlist(e, "memberUid", nm); in __s_cvt_group()
1990 free(nm[j]); in __s_cvt_group()
1992 free(nm); in __s_cvt_group()
1993 nm = NULL; in __s_cvt_group()
2019 char **nm, **lm; in __s_cvt_hosts() local
2063 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_hosts()
2064 if (nm == NULL) { in __s_cvt_hosts()
2068 nm[0] = ptr->h_name; in __s_cvt_hosts()
2070 nm[j+1] = ptr->h_aliases[j]; in __s_cvt_hosts()
2072 rc = __s_add_attrlist(e, "cn", nm); in __s_cvt_hosts()
2076 free(nm); in __s_cvt_hosts()
2081 nm[0] = &(lm[i][1]); in __s_cvt_hosts()
2082 nm[1] = NULL; in __s_cvt_hosts()
2083 rc = __s_add_attrlist(e, "description", nm); in __s_cvt_hosts()
2085 free(nm); in __s_cvt_hosts()
2086 nm = NULL; in __s_cvt_hosts()
2104 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_hosts()
2105 if (nm == NULL) { in __s_cvt_hosts()
2110 nm[j] = strdup(lm[j]); in __s_cvt_hosts()
2111 if (nm[j] == NULL) { in __s_cvt_hosts()
2113 free(nm[k]); in __s_cvt_hosts()
2114 free(nm); in __s_cvt_hosts()
2119 rc = __s_add_attrlist(e, "ipHostNumber", nm); in __s_cvt_hosts()
2121 free(nm[j]); in __s_cvt_hosts()
2123 free(nm); in __s_cvt_hosts()
2124 nm = NULL; in __s_cvt_hosts()
2153 char **nm; in __s_cvt_rpc() local
2187 nm = ptr->r_aliases; in __s_cvt_rpc()
2188 for (i = 0; *nm; i++, nm++) in __s_cvt_rpc()
2190 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_rpc()
2191 if (nm == NULL) { in __s_cvt_rpc()
2195 nm[0] = ptr->r_name; in __s_cvt_rpc()
2197 nm[j+1] = ptr->r_aliases[j]; in __s_cvt_rpc()
2199 rc = __s_add_attrlist(e, "cn", nm); in __s_cvt_rpc()
2200 free(nm); in __s_cvt_rpc()
2201 nm = NULL; in __s_cvt_rpc()
2244 char **nm; in __s_cvt_protocols() local
2277 nm = ptr->p_aliases; in __s_cvt_protocols()
2278 for (i = 0; *nm; i++, nm++) in __s_cvt_protocols()
2280 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_protocols()
2281 if (nm == NULL) { in __s_cvt_protocols()
2285 nm[0] = ptr->p_name; in __s_cvt_protocols()
2287 nm[j+1] = ptr->p_aliases[j]; in __s_cvt_protocols()
2289 rc = __s_add_attrlist(e, "cn", nm); in __s_cvt_protocols()
2290 free(nm); in __s_cvt_protocols()
2291 nm = NULL; in __s_cvt_protocols()
2333 char **nm; in __s_cvt_services() local
2377 nm = ptr->s_aliases; in __s_cvt_services()
2378 for (i = 0; *nm; i++, nm++) in __s_cvt_services()
2380 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_services()
2381 if (nm == NULL) { in __s_cvt_services()
2385 nm[0] = ptr->s_name; in __s_cvt_services()
2387 nm[j+1] = ptr->s_aliases[j]; in __s_cvt_services()
2389 rc = __s_add_attrlist(e, "cn", nm); in __s_cvt_services()
2390 free(nm); in __s_cvt_services()
2391 nm = NULL; in __s_cvt_services()
2436 char **nm; in __s_cvt_networks() local
2475 nm = ptr->n_aliases; in __s_cvt_networks()
2476 for (i = 0; *nm; i++, nm++) in __s_cvt_networks()
2478 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_networks()
2479 if (nm == NULL) { in __s_cvt_networks()
2483 nm[0] = ptr->n_name; in __s_cvt_networks()
2485 nm[j+1] = ptr->n_aliases[j]; in __s_cvt_networks()
2487 rc = __s_add_attrlist(e, "cn", nm); in __s_cvt_networks()
2488 free(nm); in __s_cvt_networks()
2489 nm = NULL; in __s_cvt_networks()
2590 char **nm; in __s_cvt_netgroups() local
2629 nm = ptr->triplet; in __s_cvt_netgroups()
2630 for (i = 0; *nm; i++, nm++) in __s_cvt_netgroups()
2632 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_netgroups()
2633 if (nm == NULL) { in __s_cvt_netgroups()
2638 nm[j] = ptr->triplet[j]; in __s_cvt_netgroups()
2640 rc = __s_add_attrlist(e, "nisNetgroupTriple", nm); in __s_cvt_netgroups()
2641 free(nm); in __s_cvt_netgroups()
2642 nm = NULL; in __s_cvt_netgroups()
2649 nm = ptr->netgroup; in __s_cvt_netgroups()
2650 for (i = 0; *nm; i++, nm++) in __s_cvt_netgroups()
2652 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_netgroups()
2653 if (nm == NULL) { in __s_cvt_netgroups()
2658 nm[j] = ptr->netgroup[j]; in __s_cvt_netgroups()
2660 rc = __s_add_attrlist(e, "memberNisNetgroup", nm); in __s_cvt_netgroups()
2661 free(nm); in __s_cvt_netgroups()
2662 nm = NULL; in __s_cvt_netgroups()
2686 char **nm; in __s_cvt_bootparams() local
2726 nm = ptr->param; in __s_cvt_bootparams()
2727 for (i = 0; *nm; i++, nm++) in __s_cvt_bootparams()
2729 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_bootparams()
2730 if (nm == NULL) { in __s_cvt_bootparams()
2735 nm[j] = ptr->param[j]; in __s_cvt_bootparams()
2737 rc = __s_add_attrlist(e, "bootParameter", nm); in __s_cvt_bootparams()
2738 free(nm); in __s_cvt_bootparams()
2739 nm = NULL; in __s_cvt_bootparams()
3002 char **nm; in __s_cvt_aliases() local
3041 nm = ptr->member; in __s_cvt_aliases()
3042 for (i = 0; *nm; i++, nm++) in __s_cvt_aliases()
3044 nm = (char **)calloc(i+2, sizeof (char *)); in __s_cvt_aliases()
3045 if (nm == NULL) { in __s_cvt_aliases()
3050 nm[j] = ptr->member[j]; in __s_cvt_aliases()
3052 rc = __s_add_attrlist(e, "mgrpRFC822MailMember", nm); in __s_cvt_aliases()
3053 free(nm); in __s_cvt_aliases()
3054 nm = NULL; in __s_cvt_aliases()