Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/importlib/
Dutil.py144 def set_package(fxn): argument
150 @functools.wraps(fxn)
154 module = fxn(*args, **kwargs)
163 def set_loader(fxn): argument
169 @functools.wraps(fxn)
173 module = fxn(self, *args, **kwargs)
180 def module_for_loader(fxn): argument
200 @functools.wraps(fxn)
214 return fxn(self, module, *args, **kwargs)
D_bootstrap.py230 def _requires_builtin(fxn): argument
236 return fxn(self, fullname)
237 _wrap(_requires_builtin_wrapper, fxn)
241 def _requires_frozen(fxn): argument
247 return fxn(self, fullname)
248 _wrap(_requires_frozen_wrapper, fxn)
/external/llvm/test/Instrumentation/AddressSanitizer/X86/
Dasm_cpuid.ll8 define void @MyCPUID(i32 %fxn, i32* %out) sanitize_address {
9 %fxn.ptr = alloca i32
14 store i32 %fxn, i32* %fxn.ptr
15 …si},~{dirflag},~{fpsr},~{flags}"(i32* %a.ptr, i32* %b.ptr, i32* %c.ptr, i32* %d.ptr, i32* %fxn.ptr)
40 ; CHECK-LABEL: define void @MyCPUID(i32 %fxn, i32* %out)
/external/swiftshader/third_party/llvm-7.0/llvm/test/Instrumentation/AddressSanitizer/X86/
Dasm_cpuid.ll8 define void @MyCPUID(i32 %fxn, i32* %out) sanitize_address {
9 %fxn.ptr = alloca i32
14 store i32 %fxn, i32* %fxn.ptr
15 …si},~{dirflag},~{fpsr},~{flags}"(i32* %a.ptr, i32* %b.ptr, i32* %c.ptr, i32* %d.ptr, i32* %fxn.ptr)
40 ; CHECK-LABEL: define void @MyCPUID(i32 %fxn, i32* %out)
/external/mesa3d/src/compiler/nir/
Dnir_serialize.c1025 read_function_impl(read_ctx *ctx, nir_function *fxn) in read_function_impl() argument
1028 fi->function = fxn; in read_function_impl()
1054 write_function(write_ctx *ctx, const nir_function *fxn) in write_function() argument
1056 blob_write_uint32(ctx->blob, !!(fxn->name)); in write_function()
1057 if (fxn->name) in write_function()
1058 blob_write_string(ctx->blob, fxn->name); in write_function()
1060 write_add_object(ctx, fxn); in write_function()
1062 blob_write_uint32(ctx->blob, fxn->num_params); in write_function()
1063 for (unsigned i = 0; i < fxn->num_params; i++) { in write_function()
1064 blob_write_uint32(ctx->blob, fxn->params[i].param_type); in write_function()
[all …]
Dnir_clone.c711 clone_function(clone_state *state, const nir_function *fxn, nir_shader *ns) in clone_function() argument
714 nir_function *nfxn = nir_function_create(ns, fxn->name); in clone_function()
717 add_remap(state, nfxn, fxn); in clone_function()
719 nfxn->num_params = fxn->num_params; in clone_function()
720 nfxn->params = ralloc_array(state->ns, nir_parameter, fxn->num_params); in clone_function()
721 memcpy(nfxn->params, fxn->params, sizeof(nir_parameter) * fxn->num_params); in clone_function()
723 nfxn->return_type = fxn->return_type; in clone_function()
751 foreach_list_typed(nir_function, fxn, node, &s->functions) in nir_shader_clone()
752 clone_function(&state, fxn, ns); in nir_shader_clone()
759 nir_foreach_function(fxn, s) { in nir_shader_clone()
[all …]
/external/python/cpython3/Lib/test/
Dtest_py_compile.py14 def without_source_date_epoch(fxn): argument
16 @functools.wraps(fxn)
20 return fxn(*args, **kwargs)
24 def with_source_date_epoch(fxn): argument
26 @functools.wraps(fxn)
30 return fxn(*args, **kwargs)
Dtest_isinstance.py254 def blowstack(fxn, arg, compare_to): argument
260 fxn(arg, tuple_arg)
/external/python/cpython3/Lib/test/test_importlib/
Dtest_util.py140 fxn = self.module_for_loader(lambda self, module: module)
141 return fxn(self, name)
146 fxn = self.module_for_loader(to_wrap)
148 fxn(self, name)
200 def fxn(self, module): pass function
201 wrapped = self.module_for_loader(fxn)
202 self.assertEqual(wrapped.__name__, fxn.__name__)
203 self.assertEqual(wrapped.__qualname__, fxn.__qualname__)
260 fxn = lambda: module function
261 wrapped = self.util.set_package(fxn)
[all …]
Dutil.py293 def writes_bytecode_files(fxn): argument
298 @functools.wraps(fxn)
303 to_return = fxn(*args, **kwargs)
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Ddisasm-a2xx.c437 void (*fxn)(instr_fetch_t *cf); member
439 #define INSTR(opc, name, fxn) [opc] = { name, fxn } argument
465 fetch_instructions[fetch->opc].fxn(fetch); in disasm_fetch()
553 void (*fxn)(instr_cf_t *cf); member
555 #define INSTR(opc, fxn) [opc] = { #opc, fxn } argument
584 cf_instructions[cf->opc].fxn(cf); in print_cf()
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_meta_path.py61 fxn = getattr(importer, self.finder_name)
65 return fxn(*args, **kwargs)
/external/python/cpython2/Tools/scripts/
Dpatchcheck.py30 def decorated_fxn(fxn): argument
34 result = fxn(*args, **kwargs)
/external/python/cpython3/Tools/scripts/
Dpatchcheck.py31 def decorated_fxn(fxn): argument
35 result = fxn(*args, **kwargs)
/external/python/cpython2/Lib/test/
Dtest_isinstance.py259 def blowstack(fxn, arg, compare_to): argument
265 fxn(arg, tuple_arg)
/external/python/cpython3/Lib/test/libregrtest/
Dsave_env.py246 def restore_warnings_showwarning(self, fxn): argument
247 warnings.showwarning = fxn
/external/python/cpython2/Doc/library/
Dwarnings.rst192 def fxn():
197 fxn()
220 def fxn():
227 fxn()
/external/python/cpython3/Doc/library/
Dwarnings.rst298 def fxn():
303 fxn()
326 def fxn():
333 fxn()
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_file_loader.py115 def fake_mtime(self, fxn): argument
117 return lambda name: fxn(name) + 1
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_compiler.c1039 void (*fxn)(const struct instr_translater *t, struct etna_compile *c, member
1748 [TGSI_OPCODE_##n] = {.fxn = (f), .tgsi_opc = TGSI_OPCODE_##n, ##__VA_ARGS__}
1855 if (t->fxn) { in etna_compile_pass_generate_code()
1856 t->fxn(t, c, inst, src); in etna_compile_pass_generate_code()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c3084 nir_function_impl *fxn = nir_shader_get_entrypoint(ctx->s); in emit_instructions() local
3096 ctx->block = get_block(ctx, nir_start_block(fxn)); in emit_instructions()
3131 nir_foreach_register(reg, &fxn->registers) { in emit_instructions()
3135 ctx->impl = fxn; in emit_instructions()
3136 emit_function(ctx, fxn); in emit_instructions()