Searched refs:new_map (Results 1 – 2 of 2) sorted by relevance
714 rule_map *new_map = NULL; in rule_map_new() local722 new_map = calloc(1, (num_of_keys * sizeof(key_map)) + sizeof(rule_map)); in rule_map_new()723 if (!new_map) in rule_map_new()726 new_map->is_never_allow = is_never_allow; in rule_map_new()727 new_map->length = num_of_keys; in rule_map_new()728 new_map->lineno = lineno; in rule_map_new()729 new_map->filename = strdup(filename); in rule_map_new()730 if (!new_map->filename) { in rule_map_new()737 r = &(new_map->m[i]); in rule_map_new()766 if (!key_map_validate(r, filename, lineno, new_map->is_never_allow)) { in rule_map_new()[all …]
330 map<string, AidlDefinedType*> new_map; in check_api() local332 new_map.emplace(t->GetCanonicalName(), t); in check_api()337 const auto found = new_map.find(old_type->GetCanonicalName()); in check_api()338 if (found == new_map.end()) { in check_api()