/third_party/python/Lib/test/test_importlib/import_/ |
H A D | test_fromlist.py | 20 with util.mock_spec('pkg.__init__', 'pkg.module') as importer: 21 with util.import_state(meta_path=[importer]): 27 with util.mock_spec('pkg.__init__', 'pkg.module')as importer: 28 with util.import_state(meta_path=[importer]): 55 with util.mock_spec('module') as importer: 56 with util.import_state(meta_path=[importer]): 62 with util.mock_spec('module') as importer: 63 with util.import_state(meta_path=[importer]): 70 with util.mock_spec('pkg.__init__', 'pkg.module') as importer: 71 with util.import_state(meta_path=[importer]) [all...] |
H A D | test_meta_path.py | 12 specified in the sequence, starting with the first importer 60 def log_finder(self, importer): 61 fxn = getattr(importer, self.finder_name) 72 with self.mock_modules(mod_name) as importer: 73 log, wrapped_call = self.log_finder(importer) 74 setattr(importer, self.finder_name, MethodType(wrapped_call, importer)) 75 with util.import_state(meta_path=[importer]): 89 with self.mock_modules(pkg_name+'.__init__', mod_name) as importer: 90 importer [all...] |
H A D | test_path.py | 33 importer = util.mock_spec(module) 34 with util.import_state(path_importer_cache={path: importer}, 37 self.check_found(found, importer) 44 importer = util.mock_spec(module) 45 with util.import_state(path_importer_cache={path: importer}): 47 self.check_found(found, importer) 53 importer = util.mock_spec(module) 54 with util.import_state(path_importer_cache={path: importer}, 63 importer = util.mock_spec(module) 64 hook = util.mock_path_hook(path, importer [all...] |
H A D | test_caching.py | 79 with self.create_mock('pkg.__init__', 'pkg.module') as importer: 80 with util.import_state(meta_path=[importer]): 91 with self.create_mock('pkg.__init__', 'pkg.module') as importer: 92 with util.import_state(meta_path=[importer]):
|
H A D | test___package__.py | 38 with self.mock_modules('pkg.__init__', 'pkg.fake') as importer: 39 with util.import_state(meta_path=[importer]):
|
H A D | test_relative_imports.py | 67 with util.mock_spec(*create) as importer: 68 with util.import_state(meta_path=[importer]):
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
H A D | csharp_bootstrap_unittest.cc | 43 #include <google/protobuf/compiler/importer.h> 141 Importer importer(&source_tree, &error_collector); in TEST() 146 generate_test.Run(importer.Import("google/protobuf/descriptor.proto"), in TEST() 149 generate_test.Run(importer.Import("google/protobuf/any.proto"), in TEST() 152 generate_test.Run(importer.Import("google/protobuf/api.proto"), in TEST() 155 generate_test.Run(importer.Import("google/protobuf/duration.proto"), in TEST() 158 generate_test.Run(importer.Import("google/protobuf/empty.proto"), in TEST() 161 generate_test.Run(importer.Import("google/protobuf/field_mask.proto"), in TEST() 164 generate_test.Run(importer.Import("google/protobuf/source_context.proto"), in TEST() 167 generate_test.Run(importer in TEST() [all...] |
/third_party/python/Lib/test/test_importlib/ |
H A D | test_lazy.py | 80 importer = TestingImporter() 81 assert importer.loaded is None 82 with test_util.uncache(importer.module_name): 83 with test_util.import_state(meta_path=[importer]): 84 module = importlib.import_module(importer.module_name) 85 self.assertIsNone(importer.loaded) 87 self.assertEqual(module.__loader__, importer) 88 self.assertIsNotNone(importer.loaded) 89 self.assertEqual(module, importer.loaded)
|
/third_party/python/Lib/ |
H A D | pkgutil.py | 137 def iter_importer_modules(importer, prefix=''): 138 if not hasattr(importer, 'iter_modules'): 140 return importer.iter_modules(prefix) 144 def _iter_file_finder_modules(importer, prefix=''): 145 if importer.path is None or not os.path.isdir(importer.path): 151 filenames = os.listdir(importer.path) 162 path = os.path.join(importer.path, fn) 373 def iter_zipimport_modules(importer, prefix=''): 374 dirlist = sorted(zipimport._zip_directory_cache[importer [all...] |
H A D | runpy.py | 281 importer = get_importer(path_name) 284 if type(importer).__module__ == 'imp': 285 if type(importer).__name__ == 'NullImporter': 287 if isinstance(importer, type(None)) or is_NullImporter:
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
H A D | wicdec.c | 274 const WICFormatImporter* importer = NULL; in ReadPictureWithWIC() local 337 for (importer = has_alpha ? kAlphaFormatImporters : kNonAlphaFormatImporters; in ReadPictureWithWIC() 338 hr == S_OK && importer->import != NULL; ++importer) { in ReadPictureWithWIC() 343 MAKE_REFGUID(*importer->pixel_format), in ReadPictureWithWIC() 347 if (importer->import == NULL) hr = E_FAIL; in ReadPictureWithWIC() 350 importer->pixel_format, in ReadPictureWithWIC() 356 stride = (int64_t)importer->bytes_per_pixel * width * sizeof(*rgb); in ReadPictureWithWIC() 376 ok = importer->import(pic, rgb, (int)stride); in ReadPictureWithWIC()
|
/third_party/python/Lib/test/test_importlib/extension/ |
H A D | test_finder.py | 22 importer = self.machinery.FileFinder(util.EXTENSIONS.path, 26 return importer.find_spec(fullname)
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_bootstrap_unittest.cc | 51 #include <google/protobuf/compiler/importer.h> 156 Importer importer(&source_tree, &error_collector); in TEST() 158 importer.Import(file_parameter[0] + std::string(".proto")); in TEST()
|
/third_party/python/Modules/ |
H A D | main.c | 128 PyObject *sys_path0 = NULL, *importer; in pymain_get_importer() local 135 importer = PyImport_GetImporter(sys_path0); in pymain_get_importer() 136 if (importer == NULL) { in pymain_get_importer() 140 if (importer == Py_None) { in pymain_get_importer() 142 Py_DECREF(importer); in pymain_get_importer() 146 Py_DECREF(importer); in pymain_get_importer()
|
/third_party/python/Lib/test/ |
H A D | test_fork1.py | 28 def importer(): function 35 t = threading.Thread(target=importer)
|
H A D | test_doctest.py | 2746 self.importer = TestImporter() 2747 sys.meta_path.append(self.importer)
|
/third_party/icu/icu4c/source/i18n/ |
H A D | collationruleparser.h | 125 importer = importerAlias; in setImporter() 189 Importer *importer; member in CollationRuleParser
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationruleparser.h | 125 importer = importerAlias; in setImporter() 189 Importer *importer; member in CollationRuleParser
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | collationruleparser.h | 125 importer = importerAlias; in setImporter() 189 Importer *importer; member in CollationRuleParser
|
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 774 OSSL_FUNC_keymgmt_import_fn *importer, in rsa_int_export_to() 820 rv = importer(to_keydata, selection, params); in rsa_int_export_to() 901 OSSL_FUNC_keymgmt_import_fn *importer, in rsa_pkey_export_to() 905 importer, libctx, propq); in rsa_pkey_export_to() 909 OSSL_FUNC_keymgmt_import_fn *importer, in rsa_pss_pkey_export_to() 913 importer, libctx, propq); in rsa_pss_pkey_export_to() 772 rsa_int_export_to(const EVP_PKEY *from, int rsa_type, void *to_keydata, OSSL_FUNC_keymgmt_import_fn *importer, OSSL_LIB_CTX *libctx, const char *propq) rsa_int_export_to() argument 900 rsa_pkey_export_to(const EVP_PKEY *from, void *to_keydata, OSSL_FUNC_keymgmt_import_fn *importer, OSSL_LIB_CTX *libctx, const char *propq) rsa_pkey_export_to() argument 908 rsa_pss_pkey_export_to(const EVP_PKEY *from, void *to_keydata, OSSL_FUNC_keymgmt_import_fn *importer, OSSL_LIB_CTX *libctx, const char *propq) rsa_pss_pkey_export_to() argument
|
/third_party/openssl/crypto/rsa/ |
H A D | rsa_ameth.c | 739 OSSL_FUNC_keymgmt_import_fn *importer, in rsa_int_export_to() 785 rv = importer(to_keydata, selection, params); in rsa_int_export_to() 866 OSSL_FUNC_keymgmt_import_fn *importer, in rsa_pkey_export_to() 870 importer, libctx, propq); in rsa_pkey_export_to() 874 OSSL_FUNC_keymgmt_import_fn *importer, in rsa_pss_pkey_export_to() 878 importer, libctx, propq); in rsa_pss_pkey_export_to() 737 rsa_int_export_to(const EVP_PKEY *from, int rsa_type, void *to_keydata, OSSL_FUNC_keymgmt_import_fn *importer, OSSL_LIB_CTX *libctx, const char *propq) rsa_int_export_to() argument 865 rsa_pkey_export_to(const EVP_PKEY *from, void *to_keydata, OSSL_FUNC_keymgmt_import_fn *importer, OSSL_LIB_CTX *libctx, const char *propq) rsa_pkey_export_to() argument 873 rsa_pss_pkey_export_to(const EVP_PKEY *from, void *to_keydata, OSSL_FUNC_keymgmt_import_fn *importer, OSSL_LIB_CTX *libctx, const char *propq) rsa_pss_pkey_export_to() argument
|
/third_party/python/Python/ |
H A D | import.c | 905 PyObject *importer; in get_path_importer() local 916 importer = PyDict_GetItemWithError(path_importer_cache, p); in get_path_importer() 917 if (importer != NULL || _PyErr_Occurred(tstate)) { in get_path_importer() 918 Py_XINCREF(importer); in get_path_importer() 919 return importer; in get_path_importer() 930 importer = PyObject_CallOneArg(hook, p); in get_path_importer() 931 if (importer != NULL) in get_path_importer() 939 if (importer == NULL) { in get_path_importer() 942 if (PyDict_SetItem(path_importer_cache, p, importer) < 0) { in get_path_importer() 943 Py_DECREF(importer); in get_path_importer() [all...] |
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationRuleParser.java | 107 importer = importerAlias; in setImporter() 652 if(importer == null) { in parseSetting() 658 importer.getRules(baseID, in parseSetting() 913 private Importer importer; field in CollationRuleParser
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationRuleParser.java | 111 importer = importerAlias; in setImporter() 656 if(importer == null) { in parseSetting() 662 importer.getRules(baseID, in parseSetting() 917 private Importer importer; field in CollationRuleParser
|
/third_party/node/deps/openssl/openssl/include/crypto/ |
H A D | asn1.h | 80 OSSL_FUNC_keymgmt_import_fn *importer,
|