Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 13 of 13) sorted by relevance

/tools/asuite/aidegen/lib/
Dproject_config_unittest.py67 self.assertEqual(config.depth, 0)
78 self.assertEqual(config_obj.depth, 0)
102 depth = '2'
103 args = aidegen_main._parse_args(['-d', depth])
105 self.assertEqual(config.depth, int(depth))
107 self.assertEqual(config_obj.depth, int(depth))
Dproject_info.py229 def get_dep_modules(self, module_names=None, depth=0): argument
274 dep[name][constant.KEY_DEPTH] = depth
280 dep.update(self.get_dep_modules(children, depth + 1))
400 depth = project_config.ProjectConfig.get_instance().depth
401 return source_locator.ModuleData(module_name, module_data, depth)
Dsource_locator.py81 def __init__(self, module_name, module_data, depth): argument
112 self._init_module_depth(depth)
232 def _init_module_depth(self, depth): argument
242 if depth else 0)
243 self.depth_by_source = depth
617 super().__init__(module_name, module_data, depth=0)
Dproject_config.py79 self.depth = args.depth
Dproject_info_unittest.py102 self.args.depth = 0
217 args.depth = 0
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt317 var depth = 0 in <lambda>() variable
323 '>' -> depth++ in <lambda>()
324 '<' -> depth-- in <lambda>()
328 depth == 0 -> when { // At the top level in <lambda>()
340 depth < 0 -> return typeName // Bail, unbalanced nesting in <lambda>()
346 if (depth > 0 || returnTypeStart < 0 || returnTypeStart <= paramTypesEnd) { in <lambda>()
/tools/test/connectivity/acts/framework/acts/
Dcontext.py37 def get_current_context(depth=None): argument
49 if depth is None:
51 return _contexts[min(depth, len(_contexts)-1)]
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt115 handleAnnotation(annotation, item, depth = 0) in <lambda>()
183 depth: Int, in <lambda>()
223 if (depth == 20) { // Temp debugging in <lambda>()
229 handleAnnotation(nested, item, depth + 1, visitedClasses) in <lambda>()
DComparisonVisitor.kt586 private fun prettyPrint(sb: StringBuilder, depth: Int) { in prettyPrint()
587 for (i in 0 until depth) { in prettyPrint()
593 child.prettyPrint(sb, depth + 1) in prettyPrint()
/tools/asuite/aidegen/
Daidegen_main_unittest.py67 depth = '2'
68 args = aidegen_main._parse_args(['-d', depth])
69 self.assertEqual(args.depth, int(depth))
DREADME.md62 | `-d` | `--depth` | The depth of module referenced by source. |
/tools/test/connectivity/acts/framework/acts/libs/logging/
Dlog_stream.py341 def __get_current_output_dir(self, depth=ContextLevel.TESTCASE): argument
351 curr_context = context.get_current_context(depth)
/tools/repohooks/tools/
Dcpplint.py2288 depth = 0
2291 depth += line.count('{') - line.count('}')
2292 if not depth: