Home
last modified time | relevance | path

Searched refs:namespaces (Results 1 – 2 of 2) sorted by relevance

/development/vndk/tools/sourcedr/blueprint/
Dvndk.py140 def _add_modules_from_parsed_pairs(self, parsed_items, namespaces): argument
149 if namespace not in namespaces:
176 def parse_root_bp(self, root_bp_path, namespaces=None): argument
179 namespaces = {''} if namespaces is None else set(namespaces)
186 self._add_modules_from_parsed_pairs(parsed_items, namespaces)
190 def create_from_root_bp(cls, root_bp_path, namespaces=None): argument
193 result.parse_root_bp(root_bp_path, namespaces)
Dblueprint.py976 namespaces = {rootdir}
979 namespaces.add(os.path.dirname(attrs['_path']))
982 namespaces = sorted(namespaces, reverse=True)
984 '|'.join('(' + re.escape(x) + '/.*)' for x in namespaces))
988 namespaces = [path[rootdir_prefix_len:] for path in namespaces]
993 attrs['_namespace'] = namespaces[match.lastindex - 1]