/external/python/cpython3/Lib/importlib/ |
H A D | util.py | 132 def set_package(fxn): 138 @functools.wraps(fxn) 142 module = fxn(*args, **kwargs) 151 def set_loader(fxn): 157 @functools.wraps(fxn) 161 module = fxn(self, *args, **kwargs) 168 def module_for_loader(fxn): 188 @functools.wraps(fxn) 202 return fxn(self, module, *args, **kwargs)
|
H A D | _bootstrap.py | 216 def _requires_builtin(fxn): 222 return fxn(self, fullname) 223 _wrap(_requires_builtin_wrapper, fxn) 227 def _requires_frozen(fxn): 233 return fxn(self, fullname) 234 _wrap(_requires_frozen_wrapper, fxn)
|
/external/python/cpython3/Lib/test/test_importlib/ |
H A D | test_util.py | 139 fxn = self.module_for_loader(lambda self, module: module) 140 return fxn(self, name) 145 fxn = self.module_for_loader(to_wrap) 147 fxn(self, name) 199 def fxn(self, module): pass function in function:ModuleForLoaderTests.test_decorator_attrs 200 wrapped = self.module_for_loader(fxn) 201 self.assertEqual(wrapped.__name__, fxn.__name__) 202 self.assertEqual(wrapped.__qualname__, fxn.__qualname__) 259 fxn = lambda: module 260 wrapped = self.util.set_package(fxn) 302 def fxn(module): pass function in function:SetPackageTests.test_decorator_attrs [all...] |
H A D | util.py | 286 def writes_bytecode_files(fxn): 291 @functools.wraps(fxn) 296 to_return = fxn(*args, **kwargs)
|
/external/mesa3d/src/compiler/nir/ |
H A D | nir_clone.c | 711 clone_function(clone_state *state, const nir_function *fxn, nir_shader *ns) argument 714 nir_function *nfxn = nir_function_create(ns, fxn->name); 717 add_remap(state, nfxn, fxn); 719 nfxn->num_params = fxn->num_params; 720 nfxn->params = ralloc_array(state->ns, nir_parameter, fxn->num_params); 721 memcpy(nfxn->params, fxn->params, sizeof(nir_parameter) * fxn->num_params); 723 nfxn->return_type = fxn->return_type; 751 foreach_list_typed(nir_function, fxn, node, &s->functions) 752 clone_function(&state, fxn, n [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | disasm-a2xx.c | 437 void (*fxn)(instr_fetch_t *cf); member in struct:__anon16135 439 #define INSTR(opc, name, fxn) [opc] = { name, fxn } 465 fetch_instructions[fetch->opc].fxn(fetch); 553 void (*fxn)(instr_cf_t *cf); member in struct:__anon16136 555 #define INSTR(opc, fxn) [opc] = { #opc, fxn } 584 cf_instructions[cf->opc].fxn(cf);
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
H A D | test_meta_path.py | 61 fxn = getattr(importer, self.finder_name) 65 return fxn(*args, **kwargs)
|
/external/python/cpython2/Tools/scripts/ |
H A D | patchcheck.py | 23 def decorated_fxn(fxn): 27 result = fxn(*args, **kwargs)
|
/external/python/cpython3/Tools/scripts/ |
H A D | patchcheck.py | 23 def decorated_fxn(fxn): 27 result = fxn(*args, **kwargs)
|
/external/python/cpython2/Lib/test/ |
H A D | test_isinstance.py | 263 def blowstack(fxn, arg, compare_to): 269 fxn(arg, tuple_arg)
|
/external/python/cpython3/Lib/test/libregrtest/ |
H A D | save_env.py | 253 def restore_warnings_showwarning(self, fxn): 254 warnings.showwarning = fxn
|
/external/python/cpython3/Lib/test/ |
H A D | test_isinstance.py | 274 def blowstack(fxn, arg, compare_to): 280 fxn(arg, tuple_arg)
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
H A D | test_file_loader.py | 112 def fake_mtime(self, fxn): 114 return lambda name: fxn(name) + 1
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
H A D | ir3_compiler_nir.c | 2197 nir_function_impl *fxn = nir_shader_get_entrypoint(ctx->s); local 2211 ctx->block = get_block(ctx, nir_start_block(fxn)); 2248 /* NOTE: need to do something more clever when we support >1 fxn */ 2249 nir_foreach_variable(var, &fxn->locals) { 2254 ctx->impl = fxn; 2255 emit_function(ctx, fxn);
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_compiler.c | 1033 void (*fxn)(const struct instr_translater *t, struct etna_compile *c, member in struct:instr_translater 1738 [TGSI_OPCODE_##n] = {.fxn = (f), .tgsi_opc = TGSI_OPCODE_##n, ##__VA_ARGS__} 1846 if (t->fxn) { 1847 t->fxn(t, c, inst, src);
|