Searched refs:thread_local (Results 1 - 25 of 46) sorted by relevance

12

/external/clang/test/SemaCXX/
H A Dcxx11-thread-local.cpp4 static thread_local int a;
6 thread_local int c; // expected-error {{'thread_local' is only allowed on variable declarations}}
7 static thread_local int d; // expected-note {{here}}
10 thread_local int S::a;
11 thread_local int S::b; // expected-error {{thread-local declaration of 'b' follows non-thread-local declaration}}
12 thread_local int S::c; // expected-error {{non-static data member defined out-of-line}}
15 thread_local int x[3];
16 thread_local int y[3];
17 thread_local in
[all...]
H A Dcxx11-thread-unsupported.cpp4 thread_local int x; // expected-error {{thread-local storage is not supported for the current target}}
H A Dcxx11-thread-local-print.cpp5 // CHECK: thread_local int cxx11_tl;
8 thread_local int cxx11_tl;
11 // CHECK: thread_local int cxx11_tl;
14 thread_local int cxx11_tl;
/external/clang/test/PCH/
H A Dthread-local.cpp7 extern thread_local int a;
15 thread_local int b; // expected-error {{thread-local declaration of 'b' with dynamic initialization follows declaration with static initialization}}
17 thread_local int c; // expected-error {{thread-local declaration of 'c' follows non-thread-local declaration}}
/external/clang/test/CodeGenCXX/
H A Dcxx11-thread-local-reference.cpp6 // LINUX: @r = thread_local global i32* null
7 // DARWIN: @r = internal thread_local global i32* null
8 thread_local int &r = f();
H A Dms-thread_local.cpp9 // CHECK-DAG: @"\01??$a@X@@3UA@@A" = linkonce_odr thread_local global %struct.A zeroinitializer, comdat, align 1
12 thread_local A a = A();
14 // CHECK-DAG: @"\01?b@@3UA@@A" = thread_local global %struct.A zeroinitializer, align 1
16 thread_local A b;
21 thread_local A &c = b;
22 thread_local A &d = c;
H A Dtls-init-funcs.cpp3 // CHECK: @a = internal thread_local global
4 // CHECK: @_Z2vtIiE = linkonce_odr thread_local global i32 5
5 // CHECK: @_ZZ3inlvE3loc = linkonce_odr thread_local global i32 0
17 thread_local A a;
19 extern thread_local int ext;
23 thread_local int vt = 5;
28 thread_local int loc;
H A Dcxx11-thread-local.cpp9 // LINUX: @a = thread_local global i32 0
10 // DARWIN: @a = internal thread_local global i32 0
11 thread_local int a = f();
12 extern thread_local int b;
15 // CHECK: @_ZL1d = internal thread_local global i32 0
16 static thread_local int d = g();
18 struct U { static thread_local int m; };
19 // LINUX: @_ZN1U1mE = thread_local global i32 0
20 // DARWIN: @_ZN1U1mE = internal thread_local global i32 0
21 thread_local in
[all...]
H A Dmicrosoft-abi-thread-safe-statics.cpp9 // CHECK-DAG: @"\01?s@?1??f@@YAAAUS@@XZ@4U2@A" = linkonce_odr thread_local global %struct.S zeroinitializer
10 // CHECK-DAG: @"\01??__J?1??f@@YAAAUS@@XZ@51" = linkonce_odr thread_local global i32 0
13 // CHECK-DAG: @_Init_thread_epoch = external thread_local global i32, align 4
14 // CHECK-DAG: @"\01?j@?1??h@@YAAAUS@@_N@Z@4U2@A" = linkonce_odr thread_local global %struct.S zeroinitializer
15 // CHECK-DAG: @"\01??__J?1??h@@YAAAUS@@_N@Z@51" = linkonce_odr thread_local global i32 0
24 static thread_local S s;
87 static thread_local S j;
H A Dpr18635.cpp4 // CHECK: [[X_GLOBAL:@[^ ]+]]{{.*}}thread_local global
20 thread_local unique_ptr<int> x;
/external/libcxxabi/test/
H A Dthread_local_destruction_order.pass.cpp38 thread_local OrderChecker checker{ID};
46 thread_local CreatesThreadLocalInDestructor<2> creates_tl2;
47 thread_local OrderChecker fn_thread_local{1};
48 thread_local CreatesThreadLocalInDestructor<0> creates_tl0;
57 thread_local OrderChecker fn_thread_local{4};
58 thread_local CreatesThreadLocalInDestructor<3> creates_tl;
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
H A DThreadLocal.h19 #define EIGEN_THREAD_LOCAL static thread_local
/external/clang/test/CXX/class/class.friend/
H A Dp6.cpp20 friend thread_local class G; // expected-error {{'thread_local' is invalid in friend declarations}}
/external/clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/
H A Dp2.cpp3 template<typename T> concept thread_local bool VCTL = true; // expected-error {{variable concept cannot be declared 'thread_local'}}
/external/clang/test/Preprocessor/
H A Dcxx_oper_keyword_ms_compat.cpp88 #define thread_local macro
173 thread_local
/external/autotest/frontend/
H A Dapache_auth.py7 from autotest_lib.frontend import thread_local namespace
52 thread_local.set_user(). If no such header is found, looks for
67 thread_local.set_user(user)
73 system, and replaces the username in thread_local with the actual User model
80 username = thread_local.get_user()
81 thread_local.set_user(None)
85 thread_local.set_user(models.User.objects.get(login=username))
/external/clang/test/Lexer/
H A Dcxx0x_keyword_as_cxx98.cpp36 int thread_local; // expected-warning {{'thread_local' is a keyword in C++11}} variable
H A Dkeywords_test.cpp54 CXX11_KEYWORD(thread_local); variable
/external/clang/test/Sema/
H A Dthread-specifier.c5 // RUN: %clang_cc1 -triple i686-pc-linux-gnu -fsyntax-only -Wno-private-extern -verify -pedantic -x c++ %s -DCXX11 -D__thread=thread_local -std=c++11 -Wno-deprecated
24 // expected-error-re@-2 {{'{{__thread|_Thread_local|thread_local}}' is only allowed on variable declarations}}
36 // expected-error@-6 {{'thread_local' is only allowed on variable declarations}}
56 __thread register int t13a; // expected-error-re {{cannot combine with previous '{{__thread|_Thread_local|thread_local}}' declaration specifier}}
60 __thread typedef int t14; // expected-error-re {{cannot combine with previous '{{__thread|_Thread_local|thread_local}}' declaration specifier}}
67 extern thread_local int t17; // expected-note {{previous declaration is here}}
70 thread_local int t18; // expected-error {{thread-local declaration of 't18' with dynamic initialization follows declaration with static initialization}}
93 // expected-note@-6 {{use 'thread_local' to allow this}}
105 // expected-note@-4 {{use 'thread_local' to allow this}}
118 // expected-note@-4 {{use 'thread_local' t
[all...]
/external/protobuf/gtest/test/
H A Dgtest-port_test.cc778 ThreadLocal<String> thread_local; local
780 EXPECT_EQ(thread_local.pointer(), &(thread_local.get()));
783 thread_local.set("foo");
784 EXPECT_EQ(thread_local.pointer(), &(thread_local.get()));
788 ThreadLocal<String> thread_local; local
789 const ThreadLocal<String>& const_thread_local = thread_local;
791 EXPECT_EQ(thread_local.pointer(), const_thread_local.pointer());
793 thread_local
939 CallThreadLocalGet(ThreadParam thread_local) argument
951 ThreadLocal<DestructorTracker> thread_local; local
980 ThreadLocal<DestructorTracker> thread_local; local
1006 ThreadLocal<String> thread_local; local
[all...]
/external/libbrillo/brillo/message_loops/
H A Dmessage_loop.cc9 #include <base/threading/thread_local.h>
/external/libcxxabi/src/
H A Dcxa_exception_storage.cpp35 static thread_local __cxa_eh_globals eh_globals;
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/
H A Dp1-11.cpp19 thread_local int tl; // expected-note {{refers here}}
/external/llvm/lib/Fuzzer/
H A DFuzzerTracePC.cpp36 static thread_local uintptr_t Prev;
/external/clang/test/Parser/
H A Dcxx0x-decl.cpp59 thread_local tl;

Completed in 574 milliseconds

12