Home
last modified time | relevance | path

Searched refs:func (Results 1 – 25 of 4761) sorted by relevance

12345678910>>...191

/external/python/cpython2/Lib/ctypes/test/
Dtest_prototypes.py48 func = testdll._testfunc_p_p
49 func.restype = c_long
50 func.argtypes = None
56 func = prototype(("_testfunc_p_p", testdll),
60 func()
66 self.assertEqual(func(None), None)
67 self.assertEqual(func(input=None), None)
71 func = testdll._testfunc_p_p
72 func.restype = c_long
73 self.assertEqual(0, func(0))
[all …]
/external/python/cpython3/Lib/ctypes/test/
Dtest_prototypes.py48 func = testdll._testfunc_p_p
49 func.restype = c_long
50 func.argtypes = None
56 func = prototype(("_testfunc_p_p", testdll),
60 func()
66 self.assertEqual(func(None), None)
67 self.assertEqual(func(input=None), None)
71 func = testdll._testfunc_p_p
73 func.restype = c_longlong
75 func.restype = c_long
[all …]
/external/tensorflow/tensorflow/core/ir/tests/
Dtypes.mlir3 // CHECK: func private @qint8() -> !tf_type.qint8
4 func private @qint8() -> !tf_type.qint8
5 // CHECK: func private @qint16() -> !tf_type.qint16
6 func private @qint16() -> !tf_type.qint16
7 // CHECK: func private @qint32() -> !tf_type.qint32
8 func private @qint32() -> !tf_type.qint32
9 // CHECK: func private @quint8() -> !tf_type.quint8
10 func private @quint8() -> !tf_type.quint8
11 // CHECK: func private @quint16() -> !tf_type.quint16
12 func private @quint16() -> !tf_type.quint16
[all …]
/external/arm-optimized-routines/math/test/testcases/directed/
Dpow.tst6 func=pow op1=00000000.00000000 op2=00000000.00000000 result=3ff00000.00000000 errno=0
7 func=pow op1=00000000.00000000 op2=00000000.00000001 result=00000000.00000000 errno=0
8 func=pow op1=00000000.00000000 op2=00100000.00000000 result=00000000.00000000 errno=0
9 func=pow op1=00000000.00000000 op2=1fffffff.ffffffff result=00000000.00000000 errno=0
10 func=pow op1=00000000.00000000 op2=3bdfffff.ffffffff result=00000000.00000000 errno=0
11 func=pow op1=00000000.00000000 op2=3be00000.00000000 result=00000000.00000000 errno=0
12 func=pow op1=00000000.00000000 op2=3fe00000.00000000 result=00000000.00000000 errno=0
13 func=pow op1=00000000.00000000 op2=3ff00000.00000000 result=00000000.00000000 errno=0
14 func=pow op1=00000000.00000000 op2=40000000.00000000 result=00000000.00000000 errno=0
15 func=pow op1=00000000.00000000 op2=40080000.00000000 result=00000000.00000000 errno=0
[all …]
Dpowf.tst6 func=powf op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i
7 func=powf op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i
8 func=powf op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i
9 func=powf op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i
10 func=powf op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i
11 func=powf op1=7f800001 op2=40800000 result=7fc00001 errno=0 status=i
12 func=powf op1=7f800001 op2=40400000 result=7fc00001 errno=0 status=i
13 func=powf op1=7f800001 op2=3f000000 result=7fc00001 errno=0 status=i
14 func=powf op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i
15 func=powf op1=7f800001 op2=80000000 result=7fc00001 errno=0 status=i
[all …]
Dlogf.tst6 func=logf op1=7fc00001 result=7fc00001 errno=0
7 func=logf op1=ffc00001 result=7fc00001 errno=0
8 func=logf op1=7f800001 result=7fc00001 errno=0 status=i
9 func=logf op1=ff800001 result=7fc00001 errno=0 status=i
10 func=logf op1=ff810000 result=7fc00001 errno=0 status=i
11 func=logf op1=7f800000 result=7f800000 errno=0
12 func=logf op1=ff800000 result=7fc00001 errno=EDOM status=i
13 func=logf op1=3f800000 result=00000000 errno=0
14 func=logf op1=00000000 result=ff800000 errno=ERANGE status=z
15 func=logf op1=80000000 result=ff800000 errno=ERANGE status=z
[all …]
Dsincosf.tst7 func=sincosf_sinf op1=7fc00001 result=7fc00001 errno=0
8 func=sincosf_sinf op1=ffc00001 result=7fc00001 errno=0
9 func=sincosf_sinf op1=7f800001 result=7fc00001 errno=0 status=i
10 func=sincosf_sinf op1=ff800001 result=7fc00001 errno=0 status=i
11 func=sincosf_sinf op1=7f800000 result=7fc00001 errno=EDOM status=i
12 func=sincosf_sinf op1=ff800000 result=7fc00001 errno=EDOM status=i
13 func=sincosf_sinf op1=00000000 result=00000000 errno=0
14 func=sincosf_sinf op1=80000000 result=80000000 errno=0
15 func=sincosf_sinf op1=c70d39a1 result=be37fad5.7ed errno=0
16 func=sincosf_sinf op1=46427f1b result=3f352d80.f9b error=0
[all …]
Dexp.tst6 func=exp op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
7 func=exp op1=fff80000.00000001 result=7ff80000.00000001 errno=0
8 func=exp op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
9 func=exp op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
10 func=exp op1=7ff00000.00000000 result=7ff00000.00000000 errno=0
11 func=exp op1=fff00000.00000000 result=00000000.00000000 errno=0
12 func=exp op1=7fefffff.ffffffff result=7ff00000.00000000 errno=ERANGE status=ox
13 func=exp op1=ffefffff.ffffffff result=00000000.00000000 errno=ERANGE status=ux
14 func=exp op1=00000000.00000000 result=3ff00000.00000000 errno=0
15 func=exp op1=80000000.00000000 result=3ff00000.00000000 errno=0
[all …]
/external/compiler-rt/lib/interception/
Dinterception.h122 # define DECLARE_WRAPPER(ret_type, func, ...) argument
128 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
129 extern "C" ret_type func(__VA_ARGS__);
130 # define DECLARE_WRAPPER_WINAPI(ret_type, func, ...) \ argument
131 extern "C" __declspec(dllimport) ret_type __stdcall func(__VA_ARGS__);
139 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
140 extern "C" ret_type func(__VA_ARGS__) \
141 __attribute__((alias("__interceptor_" #func), visibility("default")));
146 # define DECLARE_WRAPPER(ret_type, func, ...) \ argument
147 extern "C" ret_type func(__VA_ARGS__) \
[all …]
/external/icu/icu4c/source/test/perf/normperf/
Dnormperf.cpp184 … NormPerfFunction* func= new NormPerfFunction(ICUNormNFC, options,NFDFileLines,numLines, uselen); in TestICU_NFC_NFD_Text() local
185 return func; in TestICU_NFC_NFD_Text()
187 … NormPerfFunction* func= new NormPerfFunction(ICUNormNFC, options,NFDBuffer, NFDBufferLen, uselen); in TestICU_NFC_NFD_Text() local
188 return func; in TestICU_NFC_NFD_Text()
193 … NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,NFCFileLines,numLines, uselen); in TestICU_NFC_NFC_Text() local
194 return func; in TestICU_NFC_NFC_Text()
196 … NormPerfFunction* func= new NormPerfFunction(ICUNormNFC, options,NFCBuffer, NFCBufferLen, uselen); in TestICU_NFC_NFC_Text() local
197 return func; in TestICU_NFC_NFC_Text()
202 NormPerfFunction* func = new NormPerfFunction(ICUNormNFC, options,lines,numLines, uselen); in TestICU_NFC_Orig_Text() local
203 return func; in TestICU_NFC_Orig_Text()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dtftext_utils.cc65 inline TensorType GetInputType(FuncOp func, int idx) { in GetInputType() argument
66 return func.getType().getInput(idx).dyn_cast_or_null<TensorType>(); in GetInputType()
69 inline TensorType GetResultType(FuncOp func, int idx) { in GetResultType() argument
70 return func.getType().getResult(idx).dyn_cast_or_null<TensorType>(); in GetResultType()
77 LogicalResult VerifyWhitespaceTokenizer(FuncOp func) { in VerifyWhitespaceTokenizer() argument
92 auto input_type = GetInputType(func, 0); in VerifyWhitespaceTokenizer()
95 return func.emitError() << "Input should be a string tensor"; in VerifyWhitespaceTokenizer()
100 return func.emitError() in VerifyWhitespaceTokenizer()
103 if (func.getNumResults() != kValidNumOfOutput[input_type.getRank()]) { in VerifyWhitespaceTokenizer()
104 return func.emitError() in VerifyWhitespaceTokenizer()
[all …]
/external/ComputeLibrary/src/core/GLES_COMPUTE/
DOpenGLES.cpp167 auto func = GLESSymbols::get().eglGetProcAddress; in eglGetProcAddress() local
168 if(func != nullptr) in eglGetProcAddress()
170 return func(procname); in eglGetProcAddress()
180 auto func = GLESSymbols::get().eglBindAPI; in eglBindAPI() local
181 if(func != nullptr) in eglBindAPI()
183 return func(api); in eglBindAPI()
193 auto func = GLESSymbols::get().eglChooseConfig; in eglChooseConfig() local
194 if(func != nullptr) in eglChooseConfig()
196 return func(dpy, attrib_list, configs, config_size, num_config); in eglChooseConfig()
206 auto func = GLESSymbols::get().eglCreateContext; in eglCreateContext() local
[all …]
/external/ComputeLibrary/src/core/CL/
DOpenCL.cpp162 auto func = arm_compute::CLSymbols::get().clEnqueueMarker_ptr; in clEnqueueMarker() local
163 if(func != nullptr) in clEnqueueMarker()
165 return func(command_queue, event); in clEnqueueMarker()
177 auto func = arm_compute::CLSymbols::get().clWaitForEvents_ptr; in clWaitForEvents() local
178 if(func != nullptr) in clWaitForEvents()
180 return func(num_events, event_list); in clWaitForEvents()
192 auto func = arm_compute::CLSymbols::get().clEnqueueSVMMap_ptr; in clEnqueueSVMMap() local
193 if(func != nullptr) in clEnqueueSVMMap()
195 …return func(command_queue, blocking_map, flags, svm_ptr, size, num_events_in_wait_list, event_wait… in clEnqueueSVMMap()
207 auto func = arm_compute::CLSymbols::get().clEnqueueSVMUnmap_ptr; in clEnqueueSVMUnmap() local
[all …]
/external/mesa3d/src/mapi/glapi/gen/
Dgl_marshal.py84 def print_sync_call(self, func, unmarshal = 0): argument
86 func.name, func.get_called_parameter_string())
87 if func.return_type == 'void':
89 if func.marshal_call_after and not unmarshal:
90 out(func.marshal_call_after);
93 assert not func.marshal_call_after
95 def print_sync_body(self, func): argument
96 out('/* {0}: marshalled synchronously */'.format(func.name))
97 out('{0} GLAPIENTRY'.format(func.return_type))
98 out('_mesa_marshal_{0}({1})'.format(func.name, func.get_parameter_string()))
[all …]
Dgl_procs.py87 for func in api.functionIterateByOffset():
88 name = func.dispatch_name()
89 self.printFunctionString(func.name)
90 table.append((base_offset, "gl" + name, "gl" + name, "NULL", func.offset))
95 base_offset += len(func.name) + 3
98 for func in api.functionIterateByOffset():
99 for n in func.entry_points:
100 if n != func.name:
101 name = func.dispatch_name()
104 if func.has_different_protocol(n):
[all …]
/external/bpftool/src/
Dcfg.c48 #define func_prev(func) list_prev_entry(func, l) argument
49 #define func_next(func) list_next_entry(func, l) argument
52 #define entry_bb(func) func_first_bb(func) argument
53 #define exit_bb(func) func_last_bb(func) argument
58 #define func_first_bb(func) \ argument
59 list_first_entry(&func->bbs, struct bb_node, l)
60 #define func_last_bb(func) \ argument
61 list_last_entry(&func->bbs, struct bb_node, l)
65 struct func_node *new_func, *func; in cfg_append_func() local
67 list_for_each_entry(func, &cfg->funcs, l) { in cfg_append_func()
[all …]
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_sse.c101 struct x86_function *func; member
168 sse_movaps(p->func, reg, in get_const()
185 x86_movzx8(p->func, tmp, src); in emit_load_sse2()
186 sse2_movd(p->func, data, tmp); in emit_load_sse2()
189 x86_movzx16(p->func, tmp, src); in emit_load_sse2()
190 sse2_movd(p->func, data, tmp); in emit_load_sse2()
193 x86_movzx8(p->func, tmp, x86_make_disp(src, 2)); in emit_load_sse2()
194 x86_shl_imm(p->func, tmp, 16); in emit_load_sse2()
195 x86_mov16(p->func, tmp, src); in emit_load_sse2()
196 sse2_movd(p->func, data, tmp); in emit_load_sse2()
[all …]
/external/mesa3d/src/egl/generate/
Dgen_egl_dispatch.py58 func = xmlByName[name]
59 eglFunc = fixupEglFunc(func, eglFunc)
60 functions.append((func, eglFunc))
71 def fixupEglFunc(func, eglFunc): argument
84 … raise ValueError("Invalid dispatch method %r for function %r" % (result["method"], func.name))
86 if func.hasReturn():
88 result["retval"] = getDefaultReturnValue(func.rt)
110 for (func, eglFunc) in functions:
111 text += generateGuardBegin(func, eglFunc)
112 text += " __EGL_DISPATCH_" + func.name + ",\n"
[all …]
/external/mdnsresponder/mDNSWindows/DLLStub/
DDLLStub.cpp61 DLLStub::GetProcAddress( FARPROC * func, LPCSTR lpProcName ) in GetProcAddress() argument
69 if ( *func == NULL ) in GetProcAddress()
71 *func = ::GetProcAddress( m_instance->m_library, lpProcName ); in GetProcAddress()
76 *func = NULL; in GetProcAddress()
79 return ( *func != NULL ); in GetProcAddress()
87 static Func func = NULL; in DNSServiceRefSockFD() local
90 if ( DLLStub::GetProcAddress( ( FARPROC* ) &func, __FUNCTION__ ) ) in DNSServiceRefSockFD()
92 ret = func( sdRef ); in DNSServiceRefSockFD()
103 static Func func = NULL; in DNSServiceProcessResult() local
106 if ( DLLStub::GetProcAddress( ( FARPROC* ) &func, __FUNCTION__ ) ) in DNSServiceProcessResult()
[all …]
/external/python/cpython3/Lib/asyncio/
Dformat_helpers.py10 def _get_function_source(func): argument
11 func = inspect.unwrap(func)
12 if inspect.isfunction(func):
13 code = func.__code__
15 if isinstance(func, functools.partial):
16 return _get_function_source(func.func)
17 if isinstance(func, functools.partialmethod):
18 return _get_function_source(func.func)
22 def _format_callback_source(func, args): argument
23 func_repr = _format_callback(func, args, None)
[all …]
/external/libxml2/python/
Dgenerator.py715 func = name[l:]
716 func = func[0:1].lower() + func[1:]
718 func = name[12:]
719 func = func[0:1].lower() + func[1:]
721 func = name[12:]
722 func = func[0:1].lower() + func[1:]
724 func = name[10:]
725 func = func[0:1].lower() + func[1:]
727 func = name[9:]
728 func = func[0:1].lower() + func[1:]
[all …]
/external/python/setuptools/pkg_resources/_vendor/jaraco/
Dfunctools.py52 func = getattr(target, method_name)
53 return func(*args, **kwargs)
58 def once(func): argument
90 @functools.wraps(func)
93 wrapper.saved_result = func(*args, **kwargs)
235 def wrap(func): argument
236 return functools.wraps(func)(compose(transform, func))
257 def wrap(func): argument
258 @functools.wraps(func)
260 result = func(*args, **kwargs)
[all …]
/external/python/setuptools/setuptools/_vendor/jaraco/
Dfunctools.py52 func = getattr(target, method_name)
53 return func(*args, **kwargs)
58 def once(func): argument
90 @functools.wraps(func)
93 wrapper.saved_result = func(*args, **kwargs)
235 def wrap(func): argument
236 return functools.wraps(func)(compose(transform, func))
257 def wrap(func): argument
258 @functools.wraps(func)
260 result = func(*args, **kwargs)
[all …]
/external/mesa3d/src/mesa/tnl/
Dt_vertex_sse.c56 struct x86_function func; member
77 sse_movups(&p->func, dest, arg0); in emit_load4f_4()
91 sse_movss(&p->func, dest, x86_make_disp(arg0, 8)); in emit_load4f_3()
92 sse_shufps(&p->func, dest, get_identity(p), SHUF(X,Y,Z,W) ); in emit_load4f_3()
93 sse_shufps(&p->func, dest, dest, SHUF(Y,Z,X,W) ); in emit_load4f_3()
94 sse_movlps(&p->func, dest, arg0); in emit_load4f_3()
103 sse_movups(&p->func, dest, get_identity(p)); in emit_load4f_2()
104 sse_movlps(&p->func, dest, arg0); in emit_load4f_2()
112 sse_movss(&p->func, dest, arg0); in emit_load4f_1()
113 sse_shufps(&p->func, dest, get_identity(p), SHUF(X,Y,Z,W) ); in emit_load4f_1()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_composite_functions_tf.cc73 explicit ConvertEmbeddedLookupFunc(FuncOp func) : func_(func) {} in ConvertEmbeddedLookupFunc() argument
134 void ConvertTFImplements(FuncOp func, StringAttr attr);
135 void ConvertTFImplementsWithAttributes(FuncOp func, FuncAttr attr);
136 void ConvertTFAPIImplements(FuncOp func, StringAttr attr, ModuleOp module);
187 for (auto func : module.getOps<FuncOp>()) { in CheckFusableKerasLstm() local
188 if (func == lstm_func) continue; in CheckFusableKerasLstm()
189 auto result = func.walk([&](CallOpInterface op) { in CheckFusableKerasLstm()
253 void PrepareCompositeFunctionsPass::ConvertTFImplements(FuncOp func, in ConvertTFImplements() argument
258 ConvertEmbeddedLookupFunc convert_embedded_lookup(func); in ConvertTFImplements()
260 func.eraseBody(); in ConvertTFImplements()
[all …]

12345678910>>...191