/third_party/python/Lib/importlib/ |
H A D | util.py | 144 def set_package(fxn): 150 @functools.wraps(fxn) 155 module = fxn(*args, **kwargs) 164 def set_loader(fxn): 170 @functools.wraps(fxn) 175 module = fxn(self, *args, **kwargs) 182 def module_for_loader(fxn): 203 @functools.wraps(fxn) 217 return fxn(self, module, *args, **kwargs)
|
H A D | _bootstrap.py | 252 def _requires_builtin(fxn): 258 return fxn(self, fullname) 259 _wrap(_requires_builtin_wrapper, fxn) 263 def _requires_frozen(fxn): 269 return fxn(self, fullname) 270 _wrap(_requires_frozen_wrapper, fxn)
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_clone.c | 723 clone_function(clone_state *state, const nir_function *fxn, nir_shader *ns) in clone_function() argument 726 nir_function *nfxn = nir_function_create(ns, fxn->name); in clone_function() 729 add_remap(state, nfxn, fxn); in clone_function() 731 nfxn->num_params = fxn->num_params; in clone_function() 732 if (fxn->num_params) { in clone_function() 733 nfxn->params = ralloc_array(state->ns, nir_parameter, fxn->num_params); in clone_function() 734 memcpy(nfxn->params, fxn->params, sizeof(nir_parameter) * fxn->num_params); in clone_function() 736 nfxn->is_entrypoint = fxn->is_entrypoint; in clone_function() 737 nfxn->is_preamble = fxn in clone_function() [all...] |
H A D | nir_serialize.c | 1985 read_function_impl(read_ctx *ctx, nir_function *fxn) in read_function_impl() argument 1988 fi->function = fxn; in read_function_impl() 2009 write_function(write_ctx *ctx, const nir_function *fxn) in write_function() argument 2012 if (fxn->is_entrypoint) in write_function() 2014 if (fxn->is_preamble) in write_function() 2016 if (fxn->name) in write_function() 2018 if (fxn->impl) in write_function() 2021 if (fxn->name) in write_function() 2022 blob_write_string(ctx->blob, fxn->name); in write_function() 2024 write_add_object(ctx, fxn); in write_function() 2048 nir_function *fxn = nir_function_create(ctx->nir, name); read_function() local [all...] |
/third_party/mesa3d/src/freedreno/ir2/ |
H A D | disasm-a2xx.c | 458 void (*fxn)(instr_fetch_t *cf); member 460 #define INSTR(opc, name, fxn) [opc] = {name, fxn} 487 fetch_instructions[fetch->opc].fxn(fetch); in disasm_fetch() 577 void (*fxn)(instr_cf_t *cf); member 579 #define INSTR(opc, fxn) [opc] = {#opc, fxn} 609 cf_instructions[cf->opc].fxn(cf); in print_cf()
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_util.py | 142 fxn = self.module_for_loader(lambda self, module: module) 143 return fxn(self, name) 148 fxn = self.module_for_loader(to_wrap) 150 fxn(self, name) 202 def fxn(self, module): pass function 203 wrapped = self.module_for_loader(fxn) 204 self.assertEqual(wrapped.__name__, fxn.__name__) 205 self.assertEqual(wrapped.__qualname__, fxn.__qualname__) 262 fxn = lambda: module 263 wrapped = self.util.set_package(fxn) 305 def fxn(module): pass global() function [all...] |
H A D | util.py | 297 def writes_bytecode_files(fxn): 301 return unittest.skip("relies on writing bytecode")(fxn) 302 @functools.wraps(fxn) 307 to_return = fxn(*args, **kwargs)
|
/third_party/python/Lib/test/ |
H A D | test_py_compile.py | 16 def without_source_date_epoch(fxn): 18 @functools.wraps(fxn) 22 return fxn(*args, **kwargs) 26 def with_source_date_epoch(fxn): 28 @functools.wraps(fxn) 32 return fxn(*args, **kwargs)
|
H A D | test_isinstance.py | 356 def blowstack(fxn, arg, compare_to): 362 fxn(arg, tuple_arg)
|
/third_party/python/Lib/test/test_importlib/import_/ |
H A D | test_meta_path.py | 61 fxn = getattr(importer, self.finder_name) 65 return fxn(*args, **kwargs)
|
/third_party/mesa3d/src/freedreno/decode/ |
H A D | cffdec.c | 540 #define REG(x, fxn) { #x, fxn } 541 #define REG64(x, fxn) { #x, .fxn64 = fxn, .is_reg64 = true } 544 void (*fxn)(const char *name, uint32_t dword, int level); member 881 type0_reg[idx].fxn(type0_reg[idx].regname, dword, level); in dump_register() 2641 #define CP(x, fxn, ...) { "CP_" #x, fxn, ##__VA_ARGS__ } 2644 void (*fxn)(uint32_t *dwords, uint32_t sizedwords, int level); member 2709 .fxn in get_type3_op() [all...] |
/third_party/python/Tools/scripts/ |
H A D | patchcheck.py | 31 def decorated_fxn(fxn): 35 result = fxn(*args, **kwargs)
|
/third_party/python/Lib/test/libregrtest/ |
H A D | save_env.py | 287 def restore_warnings_showwarning(self, fxn): 289 warnings.showwarning = fxn
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
H A D | ir2_nir.c | 1167 nir_function_impl *fxn = nir_shader_get_entrypoint(ctx->nir); in ir2_nir_compile() local 1169 nir_foreach_register (reg, &fxn->registers) { in ir2_nir_compile() 1174 nir_metadata_require(fxn, nir_metadata_block_index); in ir2_nir_compile() 1175 emit_cf_list(ctx, &fxn->body); in ir2_nir_compile() 1176 /* TODO emit_block(ctx, fxn->end_block); */ in ir2_nir_compile()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_context.c | 141 nir_function_impl *fxn = nir_shader_get_entrypoint(ctx->s); in ir3_context_init() local 144 nir_foreach_block (block, fxn) { in ir3_context_init()
|
H A D | ir3_compiler_nir.c | 4262 nir_function_impl *fxn = nir_shader_get_entrypoint(ctx->s); in emit_instructions() local 4310 ctx->block = get_block(ctx, nir_start_block(fxn)); in emit_instructions() 4400 /* NOTE: need to do something more clever when we support >1 fxn */ in emit_instructions() 4401 nir_foreach_register (reg, &fxn->registers) { in emit_instructions() 4415 ctx->impl = fxn; in emit_instructions() 4416 emit_function(ctx, fxn); in emit_instructions()
|
/third_party/python/Lib/test/test_importlib/source/ |
H A D | test_file_loader.py | 114 def fake_mtime(self, fxn): 116 return lambda name: fxn(name) + 1
|