Searched refs:fn1 (Results 1 - 25 of 54) sorted by relevance

123

/external/clang/test/CodeGen/
H A Ddebug-info-257-args.c7 void fn1(int, int, int, int, int, int, int, int, int, int, int, int, int, int, function
H A Dnamed_reg_global.c42 // CHECK: define {{.*}}@fn1
43 int fn1() { function
/external/clang/test/Modules/Inputs/PR27754/
H A DTMetaUtils.h2 void fn1() { true_type(); } function
/external/clang/test/SemaCXX/
H A DPR23334.cpp5 void fn1() { function
H A Dvartemplate-lambda.cpp7 template<typename T> auto fn1 = [](auto a) { return a + T(1); }; variable
12 fn1<char>(a);
H A Dms-interface.cpp8 virtual void fn1() const;
28 // expected-error@+1 {{static member function 'fn1' is not permitted within an interface type}}
29 static int fn1();
45 void fn1() const override;
/external/clang/test/Frontend/
H A Dplugin-annotate-functions.c16 // PRAGMA: @llvm.global.annotations = {{.*}}@fn1{{.*}}[[STR_VAR]]{{.*}}@fn2{{.*}}[[STR_VAR]]
18 // NOPRAGMA-NOT: @llvm.global.annotations = {{.*}}@fn1{{.*}}[[STR_VAR]]{{.*}}@fn2{{.*}}[[STR_VAR]]
19 void fn1() { } function
/external/clang/test/PCH/
H A Dpr27445.cpp5 void fn1(A &) {} function
H A Dmake-integer-seq.cpp12 void fn1() { function
H A Dtype_pack_element.cpp12 void fn1() { function
H A Dimplicitly-deleted.cpp15 void fn1() { function
/external/clang/test/CoverageMapping/
H A Dtrymacro.cpp4 void fn1() try { return; } // CHECK: [[@LINE]]:12 -> [[@LINE+1]]:14 = #1 function
38 fn1();
/external/ltp/testcases/kernel/containers/libclone/
H A Dlibclone.c20 int (*fn1) (void *arg), void *arg1,
25 ret = ltp_clone_quick(clone_flags | SIGCHLD, fn1, arg1);
39 int (*fn1) (void *arg), void *arg1,
72 ret = fn1(arg1);
89 int do_plain_tests(int (*fn1) (void *arg), void *arg1,
100 exit(fn1(arg1));
107 int (*fn1) (void *arg), void *arg1)
111 return do_plain_tests(fn1, arg1, NULL, NULL);
113 return do_clone_tests(clone_flags, fn1, arg1, NULL, NULL);
115 return do_unshare_tests(clone_flags, fn1, arg
[all...]
H A Dlibclone.h60 * Run fn1 in a unshared environmnent, and fn2 in the original context
65 int(*fn1)(void *arg), void *arg1,
69 int (*fn1)(void *arg), void *arg1,
72 int do_fork_tests(int (*fn1)(void *arg), void *arg1,
76 int (*fn1)(void *arg), void *arg1);
79 int (*fn1)(void *arg), void *arg1,
/external/clang/test/CodeGenCXX/
H A Dpr18962.cpp4 // append has to have the same prototype as fn1 to tickle the bug.
20 void fn1(A *p1) { function
H A Dcxx11-initializer-aggregate.cpp6 int fn1(int x) { function
H A Dcxx0x-initializer-constructors.cpp8 void fn1() { function
/external/clang/test/Modules/
H A Dpr27401.cpp36 CommentOptions fn1() { return fn1(); } function
/external/clang/test/OpenMP/
H A Dparallel_if_codegen.cpp8 void fn1();
43 fn1();
113 // CHECK: call {{.*}}void @{{.+}}fn1
H A Dtask_if_codegen.cpp9 void fn1();
49 fn1();
194 // CHECK: call void @{{.+}}fn1
/external/tensorflow/tensorflow/contrib/layers/python/layers/
H A Dutils_test.py70 fn1 = lambda: 'fn1'
72 expected = lambda v: 'fn1' if v else 'fn2'
74 o = utils.static_cond(v, fn1, fn2)
78 fn1 = lambda: constant_op.constant('fn1')
80 expected = lambda v: b'fn1' if v else b'fn2'
82 o = utils.static_cond(v, fn1, fn2)
87 fn1 = lambda: variables.Variable('fn1')
[all...]
H A Dutils.py171 def static_cond(pred, fn1, fn2):
172 """Return either fn1() or fn2() based on the boolean value of `pred`.
177 pred: A value determining whether to return the result of `fn1` or `fn2`.
178 fn1: The callable to be performed if pred is true.
182 Tensors returned by the call to either `fn1` or `fn2`.
185 TypeError: if `fn1` or `fn2` is not callable.
187 if not callable(fn1):
188 raise TypeError('fn1 must be callable.')
192 return fn1()
197 def smart_cond(pred, fn1, fn
[all...]
/external/llvm/test/Object/
H A Darchive-long-index.test9 CHECKIDX: fn1 in 2.o
11 CHECKIDX: fn1 in 3.o
24 CHECKIDX: 0000000000000000 T fn1
26 CHECKIDX: 000000000000000b T fn1
H A Dsimple-archive.test11 CHECKIDX: U fn1
/external/clang/test/Sema/
H A Dunused-expr.c83 int fn1() __attribute__ ((warn_unused_result));
88 if (fn1() < 0 || fn2(2,1) < 0 || fn3(2) < 0) // no warnings
91 fn1(); // expected-warning {{ignoring return value of function declared with 'warn_unused_result' attribute}}
95 (void)0, fn1(); // expected-warning {{ignoring return value of function declared with 'warn_unused_result' attribute}}
135 #define M6() fn1()

Completed in 572 milliseconds

123