Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 8 of 8) sorted by relevance

/misc/config_tools/board_inspector/acpiparser/aml/
A Dcontext.py127 def realpath(scope, name): argument
134 scope = scope[:-parent_count]
137 if scope:
144 if scope == "\\":
157 def parent(scope): argument
158 if scope == "\\":
161 parent = scope[:-4]
282 if scope:
283 self.change_scope(scope)
295 if scope:
[all …]
A Dvisitors.py48 scope = tree.scope
50 realpath = self.context.realpath(scope, name)
57 self.context.change_scope(tree.scope)
A Dinterpreter.py91 name_string.scope = self.context.parent(name)
193 self.context.change_scope(tree.children[0].scope)
202 realpath = self.context.realpath(value.tree.scope, value.name)
234 self.context.change_scope(tree.children[0].scope)
246 sym = self.context.lookup_symbol(self.context.realpath(tree.scope, name))
300 fullpath = self.context.realpath(tree.scope, name)
317 sym = self.context.lookup_symbol(self.context.realpath(tree.scope, name))
329 self.context.change_scope(tree.scope)
A Dtree.py15 self.scope = None
A Dparser.py42 tree.scope = context.get_scope()
/misc/debug_tools/acrn_trace/
A Dsbuf.c21 uint32_t span, uint32_t scope) in sbuf_next_ptr() argument
24 pos = (pos >= scope) ? (pos - scope) : pos; in sbuf_next_ptr()
/misc/config_tools/acpi_gen/
A Dasl_gen.py608 scope = Context.parent(device_path)
611 self.__objects[scope].append(self.__discard_external_objects(device_object))
613 def add_object(self, scope, obj): argument
614 self.__objects[scope].append(obj)
619 for scope in scopes:
621 if term.label in ["DefScope", "DefDevice"] and term.NameString.value == scope:
625 tree = builder.DefScope(builder.PkgLength(), scope, builder.TermList())
633 for scope, objects in sorted(self.__objects.items(), key=lambda p:p[0]):
634 if scope.startswith("\\"):
635 self.__get_scope_contents(acc, scope).extend(objects)
/misc/config_tools/board_inspector/extractors/
A D50-acpi-namespace.py205 self.interpreter.context.change_scope(op_region_decl.tree.scope)
239 def analyze(self, scope, obj_name): argument
242 self.tree_under_analysis = self.context.lookup_symbol(obj_name, scope).tree
282 self.context.change_scope(tree.scope)

Completed in 23 milliseconds