Lines Matching defs:map2
58 struct dp_option *map2)
66 /* Check whether we've gone past the end of map2 */
67 if (map2[i].opt_name == NULL) return ERANGE;
70 if(strcmp(map1[i].opt_name, map2[i].opt_name) != 0) {
72 map1[i].opt_name, map2[i].opt_name);
77 /* Leftover options in map2 */
78 if (map2[i].opt_name != NULL) return ERANGE;
88 struct sdap_attr_map *map2)
96 /* Check whether we've gone past the end of map2 */
97 if (map2[i].opt_name == NULL) return ERANGE;
100 if(strcmp(map1[i].opt_name, map2[i].opt_name) != 0) {
102 map1[i].opt_name, map2[i].opt_name);
107 /* Leftover options in map2 */
108 if (map2[i].opt_name != NULL) return ERANGE;