Home
last modified time | relevance | path

Searched refs:fxn (Results 1 – 23 of 23) sorted by relevance

/third_party/python/Lib/importlib/
Dutil.py144 def set_package(fxn): argument
150 @functools.wraps(fxn)
155 module = fxn(*args, **kwargs)
164 def set_loader(fxn): argument
170 @functools.wraps(fxn)
175 module = fxn(self, *args, **kwargs)
182 def module_for_loader(fxn): argument
203 @functools.wraps(fxn)
217 return fxn(self, module, *args, **kwargs)
D_bootstrap.py252 def _requires_builtin(fxn): argument
258 return fxn(self, fullname)
259 _wrap(_requires_builtin_wrapper, fxn)
263 def _requires_frozen(fxn): argument
269 return fxn(self, fullname)
270 _wrap(_requires_frozen_wrapper, fxn)
/third_party/mesa3d/src/compiler/nir/
Dnir_clone.c706 clone_function(clone_state *state, const nir_function *fxn, nir_shader *ns) in clone_function() argument
709 nir_function *nfxn = nir_function_create(ns, fxn->name); in clone_function()
712 add_remap(state, nfxn, fxn); in clone_function()
714 nfxn->num_params = fxn->num_params; in clone_function()
715 if (fxn->num_params) { in clone_function()
716 nfxn->params = ralloc_array(state->ns, nir_parameter, fxn->num_params); in clone_function()
717 memcpy(nfxn->params, fxn->params, sizeof(nir_parameter) * fxn->num_params); in clone_function()
719 nfxn->is_entrypoint = fxn->is_entrypoint; in clone_function()
742 foreach_list_typed(nir_function, fxn, node, &s->functions) in nir_shader_clone()
743 clone_function(&state, fxn, ns); in nir_shader_clone()
[all …]
Dnir_serialize.c1922 read_function_impl(read_ctx *ctx, nir_function *fxn) in read_function_impl() argument
1925 fi->function = fxn; in read_function_impl()
1942 write_function(write_ctx *ctx, const nir_function *fxn) in write_function() argument
1944 uint32_t flags = fxn->is_entrypoint; in write_function()
1945 if (fxn->name) in write_function()
1947 if (fxn->impl) in write_function()
1950 if (fxn->name) in write_function()
1951 blob_write_string(ctx->blob, fxn->name); in write_function()
1953 write_add_object(ctx, fxn); in write_function()
1955 blob_write_uint32(ctx->blob, fxn->num_params); in write_function()
[all …]
/third_party/python/Lib/test/test_importlib/
Dtest_util.py141 fxn = self.module_for_loader(lambda self, module: module)
142 return fxn(self, name)
147 fxn = self.module_for_loader(to_wrap)
149 fxn(self, name)
201 def fxn(self, module): pass function
202 wrapped = self.module_for_loader(fxn)
203 self.assertEqual(wrapped.__name__, fxn.__name__)
204 self.assertEqual(wrapped.__qualname__, fxn.__qualname__)
261 fxn = lambda: module function
262 wrapped = self.util.set_package(fxn)
[all …]
Dutil.py306 def writes_bytecode_files(fxn): argument
311 @functools.wraps(fxn)
316 to_return = fxn(*args, **kwargs)
/third_party/mesa3d/src/freedreno/ir2/
Ddisasm-a2xx.c458 void (*fxn)(instr_fetch_t *cf); member
460 #define INSTR(opc, name, fxn) [opc] = {name, fxn} argument
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} argument
609 cf_instructions[cf->opc].fxn(cf); in print_cf()
/third_party/python/Lib/test/
Dtest_py_compile.py16 def without_source_date_epoch(fxn): argument
18 @functools.wraps(fxn)
22 return fxn(*args, **kwargs)
26 def with_source_date_epoch(fxn): argument
28 @functools.wraps(fxn)
32 return fxn(*args, **kwargs)
Dtest_isinstance.py352 def blowstack(fxn, arg, compare_to): argument
358 fxn(arg, tuple_arg)
/third_party/python/Lib/test/test_importlib/import_/
Dtest_meta_path.py61 fxn = getattr(importer, self.finder_name)
65 return fxn(*args, **kwargs)
/third_party/boost/boost/phoenix/function/
Dlazy_list.hpp884 mutable fun0_odd_list_T fxn; member in boost::phoenix::impl::Cache
935 val = fxn()(); in cache()
936 fxn = blackhole(); in cache()
948 Cache( CacheEmpty ) : refC(0), fxn(blackhole()), val() {} in Cache()
949 Cache( const odd_list<T>& x ) : refC(0), fxn(blackhole()), val(x) {} in Cache()
950 Cache( const T& x, const list<T>& l ) : refC(0),fxn(blackhole()),val(x,l) in Cache()
954 : refC(0), fxn(f), val( OddListDummyY() ) {} in Cache()
959 : refC(0), fxn(make_fun0_odd_list<T>()(f)), val( OddListDummyY() ) {} in Cache()
965 : refC(0), fxn(make_fun0_odd_list<T>()(cvt<T,F>(f))), val( OddListDummyY() ) {} in Cache()
/third_party/mesa3d/src/freedreno/decode/
Dcffdec.c540 #define REG(x, fxn) { #x, fxn } argument
541 #define REG64(x, fxn) { #x, .fxn64 = fxn, .is_reg64 = true } argument
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__ } argument
2644 void (*fxn)(uint32_t *dwords, uint32_t sizedwords, int level); member
2709 .fxn = noop_fxn, in get_type3_op()
2804 op->fxn(dwords + 1, count - 1, level + 1); in dump_commands()
2829 op->fxn(dwords + 1, count - 1, level + 1); in dump_commands()
/third_party/python/Tools/scripts/
Dpatchcheck.py31 def decorated_fxn(fxn): argument
35 result = fxn(*args, **kwargs)
/third_party/python/Lib/test/libregrtest/
Dsave_env.py287 def restore_warnings_showwarning(self, fxn): argument
289 warnings.showwarning = fxn
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2_nir.c1164 nir_function_impl *fxn = nir_shader_get_entrypoint(ctx->nir); in ir2_nir_compile() local
1166 nir_foreach_register (reg, &fxn->registers) { in ir2_nir_compile()
1171 nir_metadata_require(fxn, nir_metadata_block_index); in ir2_nir_compile()
1172 emit_cf_list(ctx, &fxn->body); in ir2_nir_compile()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.c138 nir_function_impl *fxn = nir_shader_get_entrypoint(ctx->s); in ir3_context_init() local
141 nir_foreach_block (block, fxn) { in ir3_context_init()
Dir3_compiler_nir.c3671 nir_function_impl *fxn = nir_shader_get_entrypoint(ctx->s); in emit_instructions() local
3719 ctx->block = get_block(ctx, nir_start_block(fxn)); in emit_instructions()
3806 nir_foreach_register (reg, &fxn->registers) { in emit_instructions()
3819 ctx->impl = fxn; in emit_instructions()
3820 emit_function(ctx, fxn); in emit_instructions()
/third_party/python/Doc/library/
Dwarnings.rst298 def fxn():
303 fxn()
326 def fxn():
333 fxn()
/third_party/python/Lib/test/test_importlib/source/
Dtest_file_loader.py115 def fake_mtime(self, fxn): argument
117 return lambda name: fxn(name) + 1
/third_party/mesa3d/docs/relnotes/
D10.3.3.rst172 - freedreno/ir3: comment + better fxn name
D21.0.0.rst2872 - freedreno: Remove unused fxn
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler_tgsi.c1080 void (*fxn)(const struct instr_translater *t, struct etna_compile *c, member
1789 [TGSI_OPCODE_##n] = {.fxn = (f), .tgsi_opc = TGSI_OPCODE_##n, ##__VA_ARGS__}
1911 if (t->fxn) { in etna_compile_pass_generate_code()
1912 t->fxn(t, c, inst, src); in etna_compile_pass_generate_code()
/third_party/mesa3d/src/freedreno/afuc/
DREADME.rst147 levels of fxn call, see in PFP: CP_CONTEXT_SWITCH_YIELD -> f13 ->