Lines Matching refs:mapp
101 ns_free_map(ns_mapping_t *mapp) in ns_free_map() argument
105 if (mapp == NULL) in ns_free_map()
107 if (mapp->service) { in ns_free_map()
108 free(mapp->service); in ns_free_map()
109 mapp->service = NULL; in ns_free_map()
111 if (mapp->orig) { in ns_free_map()
112 free(mapp->orig); in ns_free_map()
113 mapp->orig = NULL; in ns_free_map()
115 if (mapp->map) { in ns_free_map()
116 for (ptr = mapp->map; *ptr; ptr++) in ns_free_map()
118 free(mapp->map); in ns_free_map()
119 mapp->map = NULL; in ns_free_map()
121 free(mapp); in ns_free_map()
222 char *sptr, *dptr, **mapp; in __s_api_parse_map() local
272 mapp = *mapA; in __s_api_parse_map()
281 *mapp = (char *)malloc(i); in __s_api_parse_map()
282 if (*mapp == NULL) { in __s_api_parse_map()
291 (void) strlcpy(*mapp, sptr, i); in __s_api_parse_map()
292 mapp++; in __s_api_parse_map()