Home
last modified time | relevance | path

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

12345678910>>...270

/external/arm-optimized-routines/pl/math/test/
Dulp_wrappers.h63 #define VF1_WRAP(func) static float v_##func##f(float x) { return __v_##func##f(argf(x))[0]; } in DECL_POW_INT_REF() argument
64 #define VF2_WRAP(func) static float v_##func##f(float x, float y) { return __v_##func##f(argf(x), a… argument
65 #define VD1_WRAP(func) static double v_##func(double x) { return __v_##func(argd(x))[0]; } argument
66 #define VD2_WRAP(func) static double v_##func(double x, double y) { return __v_##func(argd(x), argd… argument
68 #define VNF1_WRAP(func) static float vn_##func##f(float x) { return __vn_##func##f(argf(x))[0]; } argument
69 #define VNF2_WRAP(func) static float vn_##func##f(float x, float y) { return __vn_##func##f(argf(x)… argument
70 #define VND1_WRAP(func) static double vn_##func(double x) { return __vn_##func(argd(x))[0]; } argument
71 #define VND2_WRAP(func) static double vn_##func(double x, double y) { return __vn_##func(argd(x), a… argument
73 #define ZVF1_WRAP(func) static float Z_##func##f(float x) { return _ZGVnN4v_##func##f(argf(x))[0]; } argument
74 #define ZVF2_WRAP(func) static float Z_##func##f(float x, float y) { return _ZGVnN4vv_##func##f(arg… argument
[all …]
/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/compiler/mlir/lite/utils/
Dtftext_utils.cc63 inline TensorType GetInputType(func::FuncOp func, int idx) { in GetInputType() argument
64 return func.getFunctionType().getInput(idx).dyn_cast_or_null<TensorType>(); in GetInputType()
67 inline TensorType GetResultType(func::FuncOp func, int idx) { in GetResultType() argument
68 return func.getFunctionType().getResult(idx).dyn_cast_or_null<TensorType>(); in GetResultType()
75 LogicalResult VerifyWhitespaceTokenizer(func::FuncOp func) { in VerifyWhitespaceTokenizer() argument
90 auto input_type = GetInputType(func, 0); in VerifyWhitespaceTokenizer()
93 return func.emitError() << "Input should be a string tensor"; in VerifyWhitespaceTokenizer()
98 return func.emitError() in VerifyWhitespaceTokenizer()
101 if (func.getNumResults() != kValidNumOfOutput[input_type.getRank()]) { in VerifyWhitespaceTokenizer()
102 return func.emitError() in VerifyWhitespaceTokenizer()
[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 …]
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/tests/Dialect/lhlo/
Dops.mlir5 func.func @invalid_allreduce(%input0: memref<2xf32>, %input1: memref<3xf32>) {
15 func.return
20 func.func @invalid_allreduce(%input0: memref<2xf32>, %input1: memref<3xf16>) {
30 func.return
35 // CHECK-LABEL: func @reduce_scatter
36 func.func @reduce_scatter(%data: memref<4x16xf32>, %result:memref<4x4xf32>) {
44 func.return
48 // CHECK-LABEL: func @mixed_types_allgather
49 func.func @mixed_types_allgather(%a0: memref<1x1xf32>, %a1:memref<1x1xi32>) {
53 func.return
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dfunctional-control-flow-to-regions.mlir4 // CHECK: func private @testIf1Then{{.+}}
5 // CHECK: func private @testIf1Else{{.+}}
6 func.func private @testIf1Then(tensor<*xf32>) -> tensor<*xf32>
7 func.func private @testIf1Else(tensor<*xf32>) -> tensor<*xf32>
9 // CHECK-LABEL: func @testIf1Result(%arg0: tensor<i1>, %arg1: tensor<*xf32>)
10 func.func @testIf1Result(%arg0: tensor<i1>, %arg1: tensor<*xf32>) -> tensor<*xf32> {
17 // CHECK: [[Result0:%.*]] = func.call @testIf1Then
19 // CHECK: [[Result1:%.*]] = func.call @testIf1Else
30 func.return %0 : tensor<*xf32>
37 // CHECK: func private @testIf1Then{{.+}}
[all …]
Dguarantee-all-funcs-one-use.mlir5 // CHECK-LABEL: func @f
6 func.func @f() {
9 func.call @g() : () -> ()
10 func.call @g() : () -> ()
11 func.return
14 // CHECK: func @g()
15 // CHECK: func private @[[NEWG]]()
16 func.func @g() {
17 func.return
22 // CHECK-LABEL: func @f
[all …]
Dfunc-attr-invalid.mlir3 // Tests invalid #tf_type.func attributes.
6 func.func @main() attributes {tf._implements = #tf_type.func} {
7 func.return
13 // expected-error@+1 {{expected symbol while parsing tf.func attribute}}
14 func.func @main() attributes {tf._implements = #tf_type.func<>} {
15 func.return
21 func.func @main() attributes {tf._implements = #tf_type.func<@symbol>} {
22 func.return
27 // expected-error@+1 {{expected symbol while parsing tf.func attribute}}
28 func.func @main() attributes {tf._implements = #tf_type.func<{}>} {
[all …]
Dtpu_sharding_identification.mlir3 // Tests empty cluster func. Empty input/output sharding configuration
5 // CHECK-LABEL: func @check_sharding_attrs_exists_for_empty_cluster_func
6 func.func @check_sharding_attrs_exists_for_empty_cluster_func() {
7 "tf_device.cluster_func"() {func = @empty_func, step_marker_location = ""} : () -> ()
10 func.return
13 // CHECK-LABEL: func @empty_func() {
14 func.func @empty_func() {
15 func.return
22 // CHECK-LABEL: func @check_default_sharding_for_block_arg_inputs_outputs
23 func.func @check_default_sharding_for_block_arg_inputs_outputs(%arg0: tensor<*xi32>) {
[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/cronet/third_party/icu/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/arm-optimized-routines/pl/math/test/testcases/directed/
Dlog1pf.tst6 func=log1pf op1=7fc00001 result=7fc00001 errno=0
7 func=log1pf op1=ffc00001 result=7fc00001 errno=0
8 func=log1pf op1=7f800001 result=7fc00001 errno=0 status=i
9 func=log1pf op1=ff800001 result=7fc00001 errno=0 status=i
10 func=log1pf op1=ff810000 result=7fc00001 errno=0 status=i
11 func=log1pf op1=7f800000 result=7f800000 errno=0
16 func=log1pf op1=00000000 result=00000000 errno=0
17 func=log1pf op1=80000000 result=80000000 errno=0
22 func=log1pf op1=00000001 result=00000001 errno=0 maybestatus=ux
23 func=log1pf op1=80000001 result=80000001 errno=0 maybestatus=ux
[all …]
Datan2f.tst6 func=atan2f op1=7f800001 op2=7f800001 result=7fc00001 errno=0 status=i
7 func=atan2f op1=7f800001 op2=ff800001 result=7fc00001 errno=0 status=i
8 func=atan2f op1=7f800001 op2=7fc00001 result=7fc00001 errno=0 status=i
9 func=atan2f op1=7f800001 op2=ffc00001 result=7fc00001 errno=0 status=i
10 func=atan2f op1=7f800001 op2=7f800000 result=7fc00001 errno=0 status=i
11 func=atan2f op1=7f800001 op2=ff800000 result=7fc00001 errno=0 status=i
12 func=atan2f op1=7f800001 op2=00000000 result=7fc00001 errno=0 status=i
13 func=atan2f op1=7f800001 op2=80000000 result=7fc00001 errno=0 status=i
14 func=atan2f op1=7f800001 op2=3f800000 result=7fc00001 errno=0 status=i
15 func=atan2f op1=7f800001 op2=bf800000 result=7fc00001 errno=0 status=i
[all …]
Dlog10f.tst6 func=log10f op1=7fc00001 result=7fc00001 errno=0
7 func=log10f op1=ffc00001 result=7fc00001 errno=0
8 func=log10f op1=7f800001 result=7fc00001 errno=0 status=i
9 func=log10f op1=ff800001 result=7fc00001 errno=0 status=i
10 func=log10f op1=ff810000 result=7fc00001 errno=0 status=i
11 func=log10f op1=7f800000 result=7f800000 errno=0
12 func=log10f op1=3f800000 result=00000000 errno=0
13 func=log10f op1=ff800000 result=7fc00001 errno=EDOM status=i
14 func=log10f op1=00000000 result=ff800000 errno=ERANGE status=z
15 func=log10f op1=80000000 result=ff800000 errno=ERANGE status=z
[all …]
/external/tensorflow/tensorflow/compiler/xla/mlir_hlo/tests/Dialect/mhlo/canonicalize/
Dfolder_limit.mlir1 // RUN: mlir-hlo-opt %s -pass-pipeline='func.func(canonicalize)' | FileCheck %s
3 // CHECK-LABEL: func @add_lhs_zero
4 func.func @add_lhs_zero(%lhs: tensor<65537xi8>) -> tensor<65537xi8> {
8 func.return %1 : tensor<65537xi8>
11 // CHECK-LABEL: func @add_zero_rhs
12 func.func @add_zero_rhs(%rhs: tensor<65537xi8>) -> tensor<65537xi8> {
16 func.return %1 : tensor<65537xi8>
19 // CHECK-LABEL: func @add_constant_zero
20 func.func @add_constant_zero() -> tensor<65537xi8> {
25 func.return %1 : tensor<65537xi8>
[all …]
Dconvert.mlir1 // RUN: mlir-hlo-opt %s -split-input-file -pass-pipeline='func.func(canonicalize)' | FileCheck %s
5 // CHECK-LABEL: func @same_type
7 func.func @same_type(%arg: tensor<f32>) -> tensor<f32> {
10 func.return %0 : tensor<f32>
15 // CHECK-LABEL: func @non_const_chained_convert_unused_parent
17 func.func @non_const_chained_convert_unused_parent(%arg: tensor<f16>) -> tensor<f64> {
22 func.return %1 : tensor<f64>
27 // CHECK-LABEL: func @non_const_chained_convert_unused_parent_integer
29 func.func @non_const_chained_convert_unused_parent_integer(%arg: tensor<ui16>) -> tensor<i64> {
34 func.return %1 : tensor<i64>
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/tests/
Dops.mlir7 // CHECK-LABEL: func @alloc
8 func.func @alloc(%ctx: !tf_framework.op_kernel_context,
12 func.return
15 // CHECK-LABEL: func @forwarding_alloc
16 func.func @forwarding_alloc(%ctx: !tf_framework.op_kernel_context,
22 func.return
25 // CHECK-LABEL: func @dealloc
26 func.func @dealloc(%ctx: !tf_framework.op_kernel_context,
29 func.return
32 // CHECK-LABEL: func @assert
[all …]
/external/ComputeLibrary/src/core/CL/
DOpenCL.cpp216 auto func = arm_compute::CLSymbols::get().clEnqueueMarker_ptr; in clEnqueueMarker() local
217 if(func != nullptr) in clEnqueueMarker()
219 return func(command_queue, event); in clEnqueueMarker()
231 auto func = arm_compute::CLSymbols::get().clWaitForEvents_ptr; in clWaitForEvents() local
232 if(func != nullptr) in clWaitForEvents()
234 return func(num_events, event_list); in clWaitForEvents()
246 auto func = arm_compute::CLSymbols::get().clEnqueueSVMMap_ptr; in clEnqueueSVMMap() local
247 if(func != nullptr) in clEnqueueSVMMap()
249 …return func(command_queue, blocking_map, flags, svm_ptr, size, num_events_in_wait_list, event_wait… in clEnqueueSVMMap()
261 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 …]
/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 …]

12345678910>>...270