/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | resources.py | 26 return pkg_resources.resource_string(__name__, 31 return pkg_resources.resource_string(__name__, _PRIVATE_KEY_RESOURCE_PATH) 35 return pkg_resources.resource_string(__name__, 41 __name__, 'credentials/certificate_hierarchy_1/certs/ca.cert.pem') 46 __name__, 53 __name__, 60 __name__, 67 __name__, 74 __name__, 81 __name__, 'credentials/certificate_hierarchy_2/certs/ca.cert.pem') [all …]
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | signature_constants.py | 35 ).export_constant(__name__, "DEFAULT_SERVING_SIGNATURE_DEF_KEY") 47 ]).export_constant(__name__, "CLASSIFY_INPUTS") 56 ]).export_constant(__name__, "CLASSIFY_METHOD_NAME") 65 ]).export_constant(__name__, "CLASSIFY_OUTPUT_CLASSES") 74 ]).export_constant(__name__, "CLASSIFY_OUTPUT_SCORES") 86 ]).export_constant(__name__, "PREDICT_INPUTS") 95 ]).export_constant(__name__, "PREDICT_METHOD_NAME") 104 ]).export_constant(__name__, "PREDICT_OUTPUTS") 116 ]).export_constant(__name__, "REGRESS_INPUTS") 125 ]).export_constant(__name__, "REGRESS_METHOD_NAME") [all …]
|
D | constants.py | 30 ]).export_constant(__name__, "ASSETS_DIRECTORY") 41 __name__, "ASSETS_KEY") 49 ]).export_constant(__name__, "LEGACY_INIT_OP_KEY") 56 __name__, "MAIN_OP_KEY") 69 ]).export_constant(__name__, "SAVED_MODEL_SCHEMA_VERSION") 78 ]).export_constant(__name__, "SAVED_MODEL_FILENAME_PB") 87 ]).export_constant(__name__, "SAVED_MODEL_FILENAME_PBTXT") 100 ]).export_constant(__name__, "VARIABLES_DIRECTORY") 109 ]).export_constant(__name__, "VARIABLES_FILENAME")
|
/external/python/mock/mock/tests/ |
D | testwith.py | 21 with patch('%s.something' % __name__, sentinel.Something2): 28 with patch('%s.something' % __name__, sentinel.Something2): 39 with patch('%s.something' % __name__) as mock_something: 57 with patch('%s.something' % __name__) as mock_something: 58 with patch('%s.something_else' % __name__) as mock_something_else: 68 with patch('%s.something' % __name__, sentinel.Patched) as mock_something: 97 with patch('%s.something' % __name__, sentinel.Patched) as mock_something: 100 with patch('%s.something' % __name__) as mock_again: 110 with patch('%s.something' % __name__) as mock_something: 113 with patch('%s.something_else' % __name__) as mock_something_else: [all …]
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testwith.py | 17 with patch('%s.something' % __name__, sentinel.Something2): 24 with patch('%s.something' % __name__, sentinel.Something2): 35 with patch('%s.something' % __name__) as mock_something: 53 …with patch('%s.something' % __name__) as mock_something, patch('%s.something_else' % __name__) as … 63 with patch('%s.something' % __name__, sentinel.Patched) as mock_something: 92 with patch('%s.something' % __name__, sentinel.Patched) as mock_something: 95 with patch('%s.something' % __name__) as mock_again: 105 with patch('%s.something' % __name__) as mock_something: 108 with patch('%s.something_else' % __name__) as mock_something_else: 149 with patch('%s.open' % __name__, mock, create=True) as patched: [all …]
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_fromlist.py | 23 self.assertEqual(module.__name__, 'pkg') 30 self.assertEqual(module.__name__, 'pkg.module') 58 self.assertEqual(module.__name__, 'module') 65 self.assertEqual(module.__name__, 'module') 73 self.assertEqual(module.__name__, 'pkg') 75 self.assertEqual(module.module.__name__, 'pkg.module') 81 self.assertEqual(module.__name__, 'pkg') 101 self.assertEqual(module.__name__, 'pkg.mod') 109 self.assertEqual(module.__name__, 'pkg') 111 self.assertEqual(module.module.__name__, 'pkg.module') [all …]
|
D | test_relative_imports.py | 83 self.assertEqual(module.__name__, 'pkg') 96 self.assertEqual(module.__name__, 'pkg.mod2') 109 self.assertEqual(module.__name__, 'pkg') 121 self.assertEqual(module.__name__, 'pkg') 133 self.assertEqual(module.__name__, 'pkg') 149 self.assertEqual(module.__name__, 'pkg') 195 self.assertEqual(module.__name__, '__runpy_pkg__.uncle.cousin') 205 self.assertEqual(mod.__name__, 'crash.mod') 231 if __name__ == '__main__':
|
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/ |
D | tuple_losses_impl.py | 134 arg, loss_fn.__name__)) 141 'for %s: %s' % (loss_fn.__name__, ambiguous_args)) 160 new_docstring = """The gan_model version of %s.""" % loss_fn.__name__ 162 new_loss_fn.__name__ = loss_fn.__name__ 303 new_docstring = """The stargan_model version of %s.""" % loss_fn.__name__ 305 new_loss_fn.__name__ = loss_fn.__name__ 329 new_docstring = """The stargan_model version of %s.""" % loss_fn.__name__ 331 new_loss_fn.__name__ = loss_fn.__name__ 361 new_docstring = """The stargan_model version of %s.""" % loss_fn.__name__ 363 new_loss_fn.__name__ = loss_fn.__name__
|
/external/tensorflow/tensorflow/python/framework/ |
D | versions.py | 36 __name__, "VERSION") 42 "__git_version__"]).export_constant(__name__, "GIT_VERSION") 48 "__compiler_version__"]).export_constant(__name__, "COMPILER_VERSION") 55 "__cxx11_abi_flag__"]).export_constant(__name__, "CXX11_ABI_FLAG") 62 ]).export_constant(__name__, "MONOLITHIC_BUILD") 68 __name__, "GRAPH_DEF_VERSION") 76 ]).export_constant(__name__, "GRAPH_DEF_VERSION_MIN_CONSUMER") 84 ]).export_constant(__name__, "GRAPH_DEF_VERSION_MIN_PRODUCER")
|
D | errors_impl.py | 163 tf_export("errors.OK").export_constant(__name__, "OK") 165 tf_export("errors.CANCELLED").export_constant(__name__, "CANCELLED") 167 tf_export("errors.UNKNOWN").export_constant(__name__, "UNKNOWN") 169 tf_export("errors.INVALID_ARGUMENT").export_constant(__name__, 172 tf_export("errors.DEADLINE_EXCEEDED").export_constant(__name__, 175 tf_export("errors.NOT_FOUND").export_constant(__name__, "NOT_FOUND") 177 tf_export("errors.ALREADY_EXISTS").export_constant(__name__, "ALREADY_EXISTS") 179 tf_export("errors.PERMISSION_DENIED").export_constant(__name__, 182 tf_export("errors.UNAUTHENTICATED").export_constant(__name__, "UNAUTHENTICATED") 184 tf_export("errors.RESOURCE_EXHAUSTED").export_constant(__name__, [all …]
|
D | dtypes.py | 323 tf_export("dtypes.resource", "resource").export_constant(__name__, "resource") 325 tf_export("dtypes.variant", "variant").export_constant(__name__, "variant") 327 tf_export("dtypes.float16", "float16").export_constant(__name__, "float16") 329 tf_export("dtypes.half", "half").export_constant(__name__, "half") 331 tf_export("dtypes.float32", "float32").export_constant(__name__, "float32") 333 tf_export("dtypes.float64", "float64").export_constant(__name__, "float64") 335 tf_export("dtypes.double", "double").export_constant(__name__, "double") 337 tf_export("dtypes.int32", "int32").export_constant(__name__, "int32") 339 tf_export("dtypes.uint8", "uint8").export_constant(__name__, "uint8") 341 tf_export("dtypes.uint16", "uint16").export_constant(__name__, "uint16") [all …]
|
/external/tensorflow/tensorflow/lite/python/ |
D | lite_constants.py | 36 _tf_export(v1=["lite.constants.FLOAT"]).export_constant(__name__, "FLOAT") 37 _tf_export(v1=["lite.constants.INT32"]).export_constant(__name__, "INT32") 38 _tf_export(v1=["lite.constants.INT64"]).export_constant(__name__, "INT64") 39 _tf_export(v1=["lite.constants.STRING"]).export_constant(__name__, "STRING") 41 __name__, "QUANTIZED_UINT8") 42 _tf_export("lite.constants.TFLITE").export_constant(__name__, "TFLITE") 44 __name__, "GRAPHVIZ_DOT") 65 remove_undocumented(__name__, _allowed_symbols)
|
/external/fonttools/Lib/fontTools/misc/ |
D | dictTools.py | 34 return "{0}({1})".format(self.__class__.__name__, 42 .format(self.__class__.__name__)) 45 .format(self.__class__.__name__)) 48 .format(self.__class__.__name__)) 51 .format(self.__class__.__name__)) 54 .format(self.__class__.__name__)) 57 .format(self.__class__.__name__)) 60 .format(self.__class__.__name__))
|
/external/python/cpython2/Lib/test/ |
D | test_pkg.py | 107 self.assertEqual(t2.__name__, "t2") 108 self.assertEqual(t2.sub.__name__, "t2.sub") 109 self.assertEqual(t2.sub.subsub.__name__, "t2.sub.subsub") 123 self.assertEqual(sub.__name__, "t2.sub") 124 self.assertEqual(subsub.__name__, "t2.sub.subsub") 125 self.assertEqual(sub.subsub.__name__, "t2.sub.subsub") 131 self.assertEqual(t2.__name__, "t2") 132 self.assertEqual(t2.sub.__name__, "t2.sub") 133 self.assertEqual(t2.sub.subsub.__name__, "t2.sub.subsub") 153 self.assertEqual(t3.__name__, "t3") [all …]
|
D | test_module.py | 16 s = foo.__name__ 25 self.assertEqual(foo.__name__, "foo") 32 self.assertEqual(foo.__name__, "foo") 40 self.assertEqual(foo.__name__, "foo") 51 self.assertEqual(foo.__name__, "foo") 84 if __name__ == '__main__':
|
/external/python/cpython3/Lib/test/ |
D | test_pkg.py | 112 self.assertEqual(t2.__name__, "t2") 113 self.assertEqual(t2.sub.__name__, "t2.sub") 114 self.assertEqual(t2.sub.subsub.__name__, "t2.sub.subsub") 128 self.assertEqual(sub.__name__, "t2.sub") 129 self.assertEqual(subsub.__name__, "t2.sub.subsub") 130 self.assertEqual(sub.subsub.__name__, "t2.sub.subsub") 136 self.assertEqual(t2.__name__, "t2") 137 self.assertEqual(t2.sub.__name__, "t2.sub") 138 self.assertEqual(t2.sub.subsub.__name__, "t2.sub.subsub") 158 self.assertEqual(t3.__name__, "t3") [all …]
|
D | test_baseexception.py | 19 (ins.__class__.__name__, attr)) 27 exc_set.add(object_.__name__) 68 "%s is not a subclass of %s" % (exc.__name__, 69 superclasses[-1][1].__name__)) 95 [repr(exc), '%s(%r)' % (exc.__class__.__name__, arg)]) 105 [repr(exc), exc.__class__.__name__ + repr(exc.args)]) 113 [repr(exc), exc.__class__.__name__ + '()']) 182 if __name__ == '__main__':
|
D | test_module.py | 13 return "<module '{}' (crafted)>".format(m.__name__) 27 s = foo.__name__ 52 self.assertEqual(foo.__name__, "foo") 64 self.assertEqual(foo.__name__, "foo") 74 self.assertEqual(foo.__name__, "foo") 87 self.assertEqual(foo.__name__, "foo") 182 del m.__name__ 196 del m.__name__ 207 del m.__name__ 219 del m.__name__ [all …]
|
/external/autotest/server/site_tests/firmware_Cr50PinWeaverServer/ |
D | firmware_Cr50PinWeaverServer.py | 48 self.__class__.__name__) 71 self.__class__.__name__) 86 self.__class__.__name__) 90 self.__class__.__name__) 103 self.__class__.__name__) 106 self.__class__.__name__) 114 self.__class__.__name__) 125 self.__class__.__name__) 133 self.__class__.__name__)
|
/external/autotest/client/cros/cellular/pseudomodem/ |
D | utils.py | 47 func.__name__, 52 func.__name__, 62 func.__name__, 67 func.__name__, 77 return_logger('Response[%s] OK: |%s|' % (func.__name__, 80 raise_logger('Response[%s] ERROR: |%s|' % (func.__name__, 94 'of %s', return_cb_arg, func.__name__) 100 'of %s', raise_cb_arg, func.__name__)
|
/external/tensorflow/tensorflow/python/util/ |
D | serialization.py | 43 return {'class_name': obj.__class__.__name__, 'config': obj.get_config()} 46 if type(obj).__module__ == np.__name__: 54 return obj.__name__ 57 if type(obj).__name__ == type.__name__: 58 return obj.__name__
|
/external/scapy/scapy/contrib/ |
D | lldp.py | 150 type(self).__name__ != LLDPDUEndOfLLDPDU.__name__: 154 format(type(self).__name__)) 190 standard_frame_structure = [LLDPDUChassisID.__name__, 191 LLDPDUPortID.__name__, 192 LLDPDUTimeToLive.__name__, 194 LLDPDUEndOfLLDPDU.__name__] 227 LLDPDUEndOfLLDPDU.__name__: 1, 228 LLDPDUChassisID.__name__: 1, 229 LLDPDUPortID.__name__: 1, 230 LLDPDUTimeToLive.__name__: 1, [all …]
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | distribution.py | 106 name=fn.__name__, argdefs=fn.__defaults__, 180 "Distribution, but saw '%s'" % (classname, base.__name__)) 191 % (base.__name__, attr)) 205 % (base.__name__, attr)) 267 __name__, "FULLY_REPARAMETERIZED") 275 __name__, "NOT_REPARAMETERIZED") 468 non_unique_name = name or type(self).__name__ 635 "batch_shape_tensor is not implemented: {}".format(type(self).__name__)) 675 "event_shape_tensor is not implemented: {}".format(type(self).__name__)) 737 type(self).__name__)) [all …]
|
/external/autotest/contrib/ |
D | modelviz.py | 119 'name': '"%s"' % app.__name__, 126 'name': appmodel.__name__, 135 'type': type(field).__name__, 149 'target': field.rel.to.__name__, 150 'type': type(field).__name__, 200 if __name__ == "__main__":
|
/external/python/cpython2/Demo/metaclasses/ |
D | Trace.py | 23 self.__name__ = name 76 fullname = self.__class.__name__ + "." + name 84 self.__name__ = name 94 self.__name__, self.inst, args, kw) 101 self.__name__, t, v) 106 self.__name__, rv) 143 if __name__ == '__main__':
|