Lines Matching refs:end_ptr
407 char *end_ptr; in get_passwd_list() local
448 end_ptr = it->name + strlen(it->name) - in get_passwd_list()
450 if (',' != *(end_ptr - 1)) in get_passwd_list()
452 if (0 != strncmp(end_ptr, domain, strlen(domain))) in get_passwd_list()
469 res[res_count] = am(myself, end_ptr - it->name + 1); in get_passwd_list()
477 end_ptr-it->name - 1); in get_passwd_list()
975 char *end_ptr; in get_mapping_map_list() local
1004 end_ptr = it->name + strlen(it->name) - in get_mapping_map_list()
1006 if (',' != *(end_ptr - 1)) in get_mapping_map_list()
1008 if (0 != strncmp(end_ptr, domain, strlen(domain))) in get_mapping_map_list()
1042 end_ptr = res[j]; in get_mapping_map_list()
1044 res[j + 1] = end_ptr; in get_mapping_map_list()
1055 end_ptr = it->name + strlen(it->name) - strlen(domain) - 1; in get_mapping_map_list()
1058 res[i] = am(myself, end_ptr - it->name + 1); in get_mapping_map_list()
1065 (void) memcpy(res[i], it->name, end_ptr-it->name - 1); in get_mapping_map_list()