| /external/python/cpython3/Lib/test/test_inspect/ |
| D | test_inspect.py | 9 import inspect 108 predicates = set([inspect.isbuiltin, inspect.isclass, inspect.iscode, 109 inspect.isframe, inspect.isfunction, inspect.ismethod, 110 inspect.ismodule, inspect.istraceback, 111 inspect.isgenerator, inspect.isgeneratorfunction, 112 inspect.iscoroutine, inspect.iscoroutinefunction, 113 inspect.isasyncgen, inspect.isasyncgenfunction, 114 inspect.ismethodwrapper]) 121 if (predicate == inspect.isgeneratorfunction or \ 122 predicate == inspect.isasyncgenfunction or \ [all …]
|
| /external/executorch/backends/apple/mps/test/ |
| D | test_mps.py | 6 import inspect 81 inspect.stack()[0].function[5:], 88 inspect.stack()[0].function[5:], 95 inspect.stack()[0].function[5:], 102 inspect.stack()[0].function[5:], 109 inspect.stack()[0].function[5:], 118 inspect.stack()[0].function[5:], 125 inspect.stack()[0].function[5:], 132 inspect.stack()[0].function[5:], 139 inspect.stack()[0].function[5:], [all …]
|
| D | test_mps_binary_ops.py | 6 import inspect 47 self.Add(), inputs, func_name=inspect.stack()[0].function[5:] 53 self.Add(), inputs, func_name=inspect.stack()[0].function[5:] 61 func_name=inspect.stack()[0].function[5:], 77 add_module, model_inputs, func_name=inspect.stack()[0].function[5:] 93 add_module, model_inputs, func_name=inspect.stack()[0].function[5:] 110 add_scalar_module, model_inputs, func_name=inspect.stack()[0].function[5:] 126 add_module, model_inputs, func_name=inspect.stack()[0].function[5:] 143 add_scalar_module, model_inputs, func_name=inspect.stack()[0].function[5:] 161 const_module, model_inputs, func_name=inspect.stack()[0].function[5:] [all …]
|
| D | test_mps_indexing_ops.py | 6 import inspect 25 module, model_inputs, func_name=inspect.stack()[0].function[5:] 40 module, model_inputs, func_name=inspect.stack()[0].function[5:] 55 module, model_inputs, func_name=inspect.stack()[0].function[5:] 72 module, model_inputs, func_name=inspect.stack()[0].function[5:] 87 module, model_inputs, func_name=inspect.stack()[0].function[5:] 102 module, model_inputs, func_name=inspect.stack()[0].function[5:] 117 module, model_inputs, func_name=inspect.stack()[0].function[5:] 132 module, model_inputs, func_name=inspect.stack()[0].function[5:] 154 module, model_inputs, func_name=inspect.stack()[0].function[5:] [all …]
|
| /external/tensorflow/tensorflow/python/util/ |
| D | tf_inspect.py | 15 """TFDecorator-aware replacements for the inspect module.""" 18 import inspect as _inspect 25 # inspect.signature() is preferred over inspect.getfullargspec() in PY3. 30 """TFDecorator-aware replacement for inspect.signature.""" 75 target: the target object to inspect. 95 target: the target object to inspect. 104 """TFDecorator-aware replacement for inspect.currentframe.""" 109 """TFDecorator-aware replacement for `inspect.getargspec`. 166 An `inspect.ArgSpec` 248 """TFDecorator-aware replacement for `inspect.getfullargspec`. [all …]
|
| /external/tensorflow/tensorflow/python/keras/utils/ |
| D | tf_inspect.py | 15 """TFDecorator-aware replacements for the inspect module.""" 19 import inspect as _inspect 60 target: the target object to inspect. 80 target: the target object to inspect. 89 """TFDecorator-aware replacement for inspect.currentframe.""" 94 """TFDecorator-aware replacement for `inspect.getargspec`. 151 An `inspect.ArgSpec` 234 """TFDecorator-aware replacement for `inspect.getfullargspec`. 236 This wrapper emulates `inspect.getfullargspec` in[^)]* Python2. 244 callable is not decorated, `inspect.getfullargspec()` will be called [all …]
|
| /external/pigweed/pw_bluetooth_sapphire/host/testing/ |
| D | inspect_util_test.cc | 27 inspect::Inspector inspector_; in TEST() 28 inspect::Node child = inspector_.GetRoot().CreateChild("child"); in TEST() 29 inspect::IntProperty prop = child.CreateInt("property", 42); in TEST() 30 EXPECT_THAT(GetInspectValue<inspect::IntPropertyValue>(inspector_, in TEST() 36 inspect::Inspector inspector_; in TEST() 37 inspect::Node child = inspector_.GetRoot().CreateChild("child"); in TEST() 38 EXPECT_FALSE(GetInspectValue<inspect::StringPropertyValue>( in TEST() 43 inspect::Inspector inspector_; in TEST() 44 EXPECT_FALSE(GetInspectValue<inspect::IntPropertyValue>(inspector_, {})); in TEST() 48 inspect::Inspector inspector_; in TEST() [all …]
|
| /external/armnn/python/pyarmnn/test/ |
| D | test_generated.py | 3 import inspect 27 inspect.getmembers(generated_armnn, inspect.isclass) + 28 inspect.getmembers(generated_deserializer, inspect.isclass) + 29 inspect.getmembers(generated_tflite, inspect.isclass) + 30 inspect.getmembers(generated_onnx, inspect.isclass)))
|
| /external/rust/android-crates-io/crates/rayon/src/iter/ |
| D | inspect.rs | 7 /// `Inspect` is an iterator that calls a function with a reference to each 10 /// This struct is created by the [`inspect()`] method on [`ParallelIterator`] 12 /// [`inspect()`]: trait.ParallelIterator.html#method.inspect 16 pub struct Inspect<I: ParallelIterator, F> { struct 21 impl<I: ParallelIterator + Debug, F> Debug for Inspect<I, F> { argument 23 f.debug_struct("Inspect").field("base", &self.base).finish() in fmt() 27 impl<I, F> Inspect<I, F> impl 31 /// Creates a new `Inspect` iterator. 33 Inspect { base, inspect_op } in new() 37 impl<I, F> ParallelIterator for Inspect<I, F> implementation [all …]
|
| /external/pytorch/torch/fx/ |
| D | operator_schemas.py | 3 import inspect 28 _manual_overrides : Dict[Callable, List[inspect.Signature]] = {} 35 signatures.append(inspect.signature(nonzero)) 39 signatures.append(inspect.signature(nonzero)) 68 def _torchscript_schema_to_signature_impl(ts_schema : torch._C.FunctionSchema) -> inspect.Signature: 69 from inspect import Parameter 100 return inspect.Signature(parameters, return_annotation=return_type) 102 _SCHEMA_TO_SIGNATURE_CACHE : Dict[Tuple[str, str], inspect.Signature] = {} 104 def _torchscript_schema_to_signature(ts_schema : torch._C.FunctionSchema) -> inspect.Signature: 153 Given an operator on the `torch` namespace, return a list of `inspect.Signature` [all …]
|
| /external/deqp/external/openglcts/modules/gl/ |
| D | gl4cMultiBindTests.hpp | 161 * - inspect if bindings were modified; 165 * - inspect if bindings were modified; 168 * - inspect if bindings were modified; 173 * - inspect if all bindings but first were modified; 178 * - inspect if bindings were modified; 205 * - inspect if bindings were modified; 209 * - inspect if bindings were modified; 212 * - inspect if bindings were modified; 217 * - inspect if all bindings but first were modified; 222 * - inspect if bindings were modified; [all …]
|
| /external/deqp/external/openglcts/modules/common/ |
| D | glcKHRDebugTests.hpp | 239 * - inspect message log to check if the message is reported; 240 * - inspect message log again, there should be no messages; 244 * - inspect message log again, there should be no messages; 253 * - inspect message log to check there are no messages; 258 * - inspect message log to check there are no messages; 270 * - inspect message log to check there are no messages; 281 * - inspect message log to check there are no messages; 292 * - inspect first half of the message log by specifying proper <count>; Verify 297 * - inspect rest of the message log with <bufSize> too small to held last 342 * - inspect message log to check if the message is reported; [all …]
|
| /external/pigweed/pw_bluetooth_sapphire/host/common/public/pw_bluetooth_sapphire/internal/host/common/ |
| D | windowed_inspect_numeric_property.h | 21 #include "pw_bluetooth_sapphire/internal/host/common/inspect.h" 26 // This class is a utility for wrapping a numeric Inspect property, such as 32 // |NumericPropertyT| is an inspect property like inspect::IntProperty, and 77 // Set the underlying inspect property, and reset the expiry timer. This is 86 // Create an inspect property named "name" as a child of "node". 89 virtual void AttachInspect(::inspect::Node& /*node*/, std::string /*name*/) { in AttachInspect() 142 : public WindowedInspectNumericProperty<::inspect::property_t##Property, \ 146 ::inspect::property_t##Property, \ 148 void AttachInspect(::inspect::Node& node, std::string name) override { \
|
| D | metrics.h | 16 #include "pw_bluetooth_sapphire/internal/host/common/inspect.h" 28 // Attach peer inspect node as a child node of |parent|. 29 virtual void AttachInspect(inspect::Node& parent, const std::string& name); 41 // Update underlying inspect attributes. 47 using IntMetricCounter = MetricCounter<inspect::IntProperty>; 48 using UintMetricCounter = MetricCounter<inspect::UintProperty>;
|
| D | inspectable.h | 23 #include "pw_bluetooth_sapphire/internal/host/common/inspect.h" 29 // It will update the corresponding Inspect property when it is destroyed. 58 // their corresponding Inspect property. 60 // PropertyT must be an Inspect property type such that 63 // inspect::StringProperty). 66 // inspect::Inspector inspector; 137 virtual void AttachInspect(inspect::Node& /*node*/, std::string /*name*/) { in AttachInspect() 170 : public Inspectable<ValueT, inspect::property_t##Property, inner_t> { \ 172 using Inspectable<ValueT, inspect::property_t##Property, inner_t>:: \ 174 void AttachInspect(inspect::Node& node, std::string name) override { \ [all …]
|
| /external/python/watchdog/src/watchdog/utils/ |
| D | echo.py | 38 import inspect 54 return inspect.ismethod(instancemethod) and instancemethod.__self__ is klass 140 for _, method in inspect.getmembers(klass, inspect.ismethod): 143 for _, fn in inspect.getmembers(klass, inspect.isfunction): 153 for fname, fn in inspect.getmembers(mod, inspect.isfunction): 155 for _, klass in inspect.getmembers(mod, inspect.isclass):
|
| /external/tensorflow/tensorflow/python/ops/numpy_ops/ |
| D | np_utils.py | 18 import inspect 54 return hasattr(inspect, 'signature') 110 """An enhanced inspect.signature that can handle numpy.ufunc.""" 111 # TODO(wangpeng): consider migrating away from inspect.signature. 112 # inspect.signature is supported in Python 3.3. 113 if not hasattr(inspect, 'signature'): 119 return inspect.signature(f) 138 inspect.Parameter(name, inspect.Parameter.POSITIONAL_ONLY) 143 inspect.Parameter( 144 name, inspect.Parameter.POSITIONAL_ONLY, default=None) [all …]
|
| /external/pigweed/pw_bluetooth_sapphire/host/gap/public/pw_bluetooth_sapphire/internal/host/gap/ |
| D | bredr_discovery_manager.h | 21 #include "pw_bluetooth_sapphire/internal/host/common/inspect.h" 87 // Attach discovery manager inspect node as a child node of |parent|. 88 void AttachInspect(inspect::Node& parent, std::string name); 150 // Updates the Inspect properties 157 inspect::Node node; 159 inspect::UintProperty discoverable_sessions; 160 inspect::UintProperty pending_discoverable_sessions; 161 inspect::UintProperty discoverable_sessions_count; 162 inspect::UintProperty last_discoverable_length_sec; 164 inspect::UintProperty discovery_sessions; [all …]
|
| D | peer_metrics.h | 16 #include "pw_bluetooth_sapphire/internal/host/common/inspect.h" 28 // Attach metrics node to |parent| peer cache inspect node. 29 void AttachInspect(inspect::Node& parent); 56 inspect::Node metrics_node_; 57 inspect::Node metrics_le_node_; 58 inspect::Node metrics_bredr_node_;
|
| /external/python/mako/mako/ |
| D | compat.py | 10 import inspect 24 if inspect.ismethod(func): 26 if not inspect.isfunction(func): 30 if not inspect.iscode(co): 40 if co.co_flags & inspect.CO_VARARGS: 44 if co.co_flags & inspect.CO_VARKEYWORDS:
|
| /external/pigweed/pw_bluetooth_sapphire/host/testing/public/pw_bluetooth_sapphire/internal/host/testing/ |
| D | inspect_util.h | 16 #include "pw_bluetooth_sapphire/internal/host/testing/inspect.h" 23 inspect::Hierarchy ReadInspect(const inspect::Inspector& inspector); 28 // EXPECT_THAT(GetInspectValue<inspect::IntPropertyValue>(inspector, {"node", 33 const inspect::Inspector& inspector, std::vector<std::string> path) { in GetInspectValue() 42 inspect::Hierarchy hierarchy = ReadInspect(inspector); in GetInspectValue()
|
| /external/openthread/tests/scripts/thread-cert/ |
| D | README.md | 5 Inspect nodes status by the following modification: 7 1. Insert the inspector to where you want to inspect. 11 debug.Inspector(self).inspect() 20 3. Inspect 39 This is selection mode. You may select the node to inspect here.
|
| /external/antlr/runtime/Ruby/test/functional/ast-output/ |
| D | tree-rewrite.rb | 844 # self.buf += $s.start.inspect 1014 stree = result.tree.nil? ? '' : result.tree.inspect 1028 stree = result.tree.nil? ? '' : result.tree.inspect 1042 result.inspect.should == '(34 abc)' 1052 result.inspect.should == '34' 1065 stree = result.tree.nil? ? '' : result.tree.inspect 1079 stree = result.tree.nil? ? '' : result.tree.inspect 1093 stree = result.tree.nil? ? '' : result.tree.inspect 1107 stree = result.tree.nil? ? '' : result.tree.inspect 1121 stree = result.tree.nil? ? '' : result.tree.inspect [all …]
|
| /external/pytorch/torch/onnx/_internal/diagnostics/infra/ |
| D | utils.py | 4 import inspect 46 Essentially, inspect.getsourcelines() and inspect.getsourcefile() combined. 49 source_lines, lineno = inspect.getsourcelines(fn) 50 return source_lines, lineno, inspect.getsourcefile(fn) 68 bind = inspect.signature(fn).bind(*args, **kwargs)
|
| /external/pigweed/pw_bluetooth_sapphire/host/common/ |
| D | metrics_test.cc | 17 #include "pw_bluetooth_sapphire/internal/host/testing/inspect.h" 25 using namespace inspect::testing; 28 inspect::Inspector inspector; in TEST() 37 auto hierarchy = inspect::ReadFromVmo(inspector.DuplicateVmo()).take_value(); in TEST() 47 hierarchy = inspect::ReadFromVmo(inspector.DuplicateVmo()).take_value(); in TEST() 57 hierarchy = inspect::ReadFromVmo(inspector.DuplicateVmo()).take_value(); in TEST()
|