Home
last modified time | relevance | path

Searched refs:fn2 (Results 1 – 25 of 174) sorted by relevance

1234567

/external/ltp/testcases/kernel/containers/libclone/
Dlibclone.c21 int (*fn2) (void *arg), void *arg2) in do_clone_tests()
30 if (fn2) in do_clone_tests()
31 ret = fn2(arg2); in do_clone_tests()
40 int (*fn2) (void *arg), void *arg2) in do_unshare_tests()
82 if (fn2) in do_unshare_tests()
83 ret = fn2(arg2); in do_unshare_tests()
90 int (*fn2) (void *arg), void *arg2) in do_plain_tests()
101 if (fn2) in do_plain_tests()
102 ret = fn2(arg2); in do_plain_tests()
128 int (*fn2) (void *arg), void *arg2) in do_clone_unshare_tests()
[all …]
Dlibclone.h66 int(*fn2)(void *arg), void *arg2);
70 int (*fn2)(void *arg), void *arg2);
73 int (*fn2)(void *arg), void *arg2);
80 int (*fn2)(void *arg), void *arg2);
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dutils_test.py71 fn2 = lambda: 'fn2' function
74 o = utils.static_cond(v, fn1, fn2)
79 fn2 = lambda: constant_op.constant('fn2') function
82 o = utils.static_cond(v, fn1, fn2)
88 fn2 = lambda: variables.Variable('fn2') function
91 o = utils.static_cond(v, fn1, fn2)
98 fn2 = lambda: constant_op.constant(0) - constant_op.constant(2) function
101 o = utils.static_cond(v, fn1, fn2)
110 fn2 = lambda: 'fn2' function
113 o = utils.smart_cond(constant_op.constant(v), fn1, fn2)
[all …]
Dutils.py171 def static_cond(pred, fn1, fn2): argument
189 if not callable(fn2):
194 return fn2()
197 def smart_cond(pred, fn1, fn2, name=None): argument
214 return static_cond(pred_value, fn1, fn2)
217 return control_flow_ops.cond(pred, fn1, fn2, name)
/external/Reactive-Extensions/RxCpp/Ix/CPP/src/cpplinq/
Dlinq_selectmany.hpp78 Fn2 fn2; member in cpplinq::linq_select_many
106 Fn2 fn2; member in cpplinq::linq_select_many::cursor
110 cursor(Cur1 cur1, const Fn& fn, const Fn2& fn2) in cursor() argument
111 : cur1(std::move(cur1)), fn(fn), fn2(fn2) in cursor()
133 return fn2(cur1.get(), cur2.get()); in get()
151 linq_select_many(Container1 c1, Fn fn, Fn2 fn2) in linq_select_many() argument
152 : c1(std::move(c1)), fn(std::move(fn)), fn2(std::move(fn2)) in linq_select_many()
158 return cursor(c1.get_cursor(), fn, fn2); in get_cursor()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dipra.ll2 ; allocation is correct for a test case where the called function (@fn2)
3 ; itself has a call (to @fn1). @fn1 defines %r0l, while @fn2 defines
4 ; %r0d. The RegUsageInfo for @fn2 must include %r0h.
9 ; CHECK: fn2 Clobbered Registers: {{.*}} $r0h
25 define void @fn2() {
43 call void @fn2()
/external/icu/icu4c/source/common/
Dunorm.cpp61 FilteredNormalizer2 fn2(*n2, *uniset_getUnicode32Instance(*pErrorCode)); in unorm_quickCheckWithOptions() local
63 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_quickCheckWithOptions()
84 FilteredNormalizer2 fn2(*n2, *uniset_getUnicode32Instance(*pErrorCode)); in unorm_isNormalizedWithOptions() local
86 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_isNormalizedWithOptions()
103 FilteredNormalizer2 fn2(*n2, *uniset_getUnicode32Instance(*pErrorCode)); in unorm_normalize() local
105 reinterpret_cast<const UNormalizer2 *>(static_cast<Normalizer2 *>(&fn2)), in unorm_normalize()
188 FilteredNormalizer2 fn2(*n2, *uni32); in unorm_iterate() local
190 &fn2, doNormalize, pNeededToNormalize, pErrorCode); in unorm_iterate()
272 FilteredNormalizer2 fn2(*n2, *uni32); in unorm_concatenate() local
274 dest, destCapacity, &fn2, pErrorCode); in unorm_concatenate()
/external/clang/test/Sema/
Dunused-expr.c84 int fn2() __attribute__ ((pure));
88 if (fn1() < 0 || fn2(2,1) < 0 || fn3(2) < 0) // no warnings in t6()
92fn2(92, 21); // expected-warning {{ignoring return value of function declared with pure attribute… in t6()
132 #define M3(a) (t3(a), fn2())
136 #define M7() fn2()
143 NOP((t3(i), fn2())); // expected-warning {{ignoring return value}} in t11()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/
D2008-09-02-NoInline.ll4 define i32 @fn2() noinline {
5 ; CHECK-LABEL: define i32 @fn2()
13 %r = call i32 @fn2()
14 ; CHECK: call i32 @fn2()
/external/deqp-deps/glslang/Test/
Dhlsl.params.default.negative.frag22 int4 fn2(int4 p0, int x = 3)
27 int4 fn2(int4 p0, float x = ufvar) // ERROR: non-const expression
47 fn2(112) + // ERROR: ambiguous
48 fn2(110, 11.11) + // calls int4, float form
49 fn2(111, 12); // calls int4, int form
Dhlsl.params.default.frag22 int4 fn2(int4 p0, int x = 3)
27 int4 fn2(int4 p0, float x = sin(3.3)) // OK to have a const expression as a default value
49 fn2(110, 11.11) + // calls int4, float form
50 fn2(111, 12); // calls int4, int form
/external/clang/test/SemaCXX/
Dms-interface.cpp15 void fn2() {
32 void fn2();
47 void fn2() final;
/external/llvm/test/Transforms/JumpThreading/
Dpr26096.ll13 call void @fn2(i1 %B)
17 call void @fn2(i1 %B)
21 define internal void @fn2(i1 %B) unnamed_addr {
34 ; CHECK-LABEL: define internal void @fn2(
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/JumpThreading/
Dpr26096.ll13 call void @fn2(i1 %B)
17 call void @fn2(i1 %B)
21 define internal void @fn2(i1 %B) unnamed_addr {
34 ; CHECK-LABEL: define internal void @fn2(
/external/llvm/test/CodeGen/X86/
Dx86-plt-relative-reloc.ll5 …i32 sub (i32 ptrtoint (void ()* @fn2 to i32), i32 ptrtoint (i32* getelementptr ([4 x i32], [4 x i3…
10 declare void @fn2() unnamed_addr
15 ; CHECK-NEXT: .long (fn2@PLT-vtable)-4
Dx86-64-plt-relative-reloc.ll5 …i32 trunc (i64 sub (i64 ptrtoint (void ()* @fn2 to i64), i64 ptrtoint (i32* getelementptr ([5 x i3…
11 declare void @fn2() unnamed_addr
17 ; CHECK-NEXT: .long (fn2@PLT-vtable)-4
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dx86-plt-relative-reloc.ll5 …i32 sub (i32 ptrtoint (void ()* @fn2 to i32), i32 ptrtoint (i32* getelementptr ([4 x i32], [4 x i3…
10 declare void @fn2() unnamed_addr
15 ; CHECK-NEXT: .long (fn2@PLT-vtable)-4
Dx86-64-plt-relative-reloc.ll5 …i32 trunc (i64 sub (i64 ptrtoint (void ()* @fn2 to i64), i64 ptrtoint (i32* getelementptr ([5 x i3…
11 declare void @fn2() unnamed_addr
17 ; CHECK-NEXT: .long (fn2@PLT-vtable)-4
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Dplt-relative-reloc.ll5 …i32 sub (i32 ptrtoint (void ()* @fn2 to i32), i32 ptrtoint (i32* getelementptr ([4 x i32], [4 x i3…
10 declare void @fn2() unnamed_addr
15 ; CHECK-NEXT: .long (fn2(prel31)-vtable)-4
/external/llvm/test/CodeGen/ARM/
Dplt-relative-reloc.ll5 …i32 sub (i32 ptrtoint (void ()* @fn2 to i32), i32 ptrtoint (i32* getelementptr ([4 x i32], [4 x i3…
10 declare void @fn2() unnamed_addr
15 ; CHECK-NEXT: .long (fn2(prel31)-vtable)-4
/external/python/oauth2client/tests/
Dtest_util.py29 def fn2(required_kw): function
32 self.assertTrue(fn2(required_kw=1))
34 fn2(1)
/external/swiftshader/third_party/LLVM/test/Transforms/Inline/
D2008-09-02-NoInline.ll3 define i32 @fn2() noinline {
8 %r = call i32 @fn2()
D2008-09-02-AlwaysInline.ll3 define i32 @fn2() alwaysinline {
8 %r = call i32 @fn2()
/external/llvm/test/Transforms/Inline/
D2008-09-02-NoInline.ll3 define i32 @fn2() noinline {
8 %r = call i32 @fn2()
/external/clang/test/CoverageMapping/
Dtrymacro.cpp10 void fn2() try RETURN_BLOCK // CHECK: [[@LINE]]:12 -> [[@LINE+1]]:14 = #1
39 fn2();

1234567