/external/clang/test/SemaCXX/ |
cxx11-thread-local.cpp | 4 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 int z[3]; // expected-note {{previous} [all...] |
cxx11-thread-unsupported.cpp | 4 thread_local int x; // expected-error {{thread-local storage is not supported for the current target}}
|
cxx11-thread-local-print.cpp | 5 // 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/ |
thread-local.cpp | 7 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/ |
cxx11-thread-local-reference.cpp | 6 // LINUX: @r = thread_local global i32* null 7 // DARWIN: @r = internal thread_local global i32* null 8 thread_local int &r = f();
|
ms-thread_local.cpp | 9 // 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;
|
tls-init-funcs.cpp | 3 // 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;
|
cxx11-thread-local.cpp | 9 // 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 int U::m = f() [all...] |
microsoft-abi-thread-safe-statics.cpp | 9 // 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 22 static thread_local S s; 85 static thread_local S j;
|
pr18635.cpp | 4 // CHECK: [[X_GLOBAL:@[^ ]+]]{{.*}}thread_local global 20 thread_local unique_ptr<int> x;
|
/external/clang/test/CXX/class/class.friend/ |
p6.cpp | 20 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/ |
p2.cpp | 3 template<typename T> concept thread_local bool VCTL = true; // expected-error {{variable concept cannot be declared 'thread_local'}}
|
/external/clang/test/Preprocessor/ |
cxx_oper_keyword_ms_compat.cpp | 88 #define thread_local macro 173 thread_local
|
/external/autotest/frontend/ |
apache_auth.py | 7 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))
|
/bionic/tests/ |
__cxa_thread_atexit_test.cpp | 39 // b/25642296, aarch64 clang compiled "thread_local" does not link. 42 static thread_local ClassWithDtor class_with_dtor; 50 TEST(thread_local, smoke) { 57 << "thread_local does not work with aarch64 clang/llvm.\n"; 80 << "thread_local does not work with aarch64 clang/llvm.\n"; 82 static thread_local ClassWithDtorForMainThread class_with_dtor_for_main_thread; 88 TEST(thread_local, dtor_for_main_thread) {
|
/external/clang/test/Sema/ |
thread-specifier.c | 5 // 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' to allow this} [all...] |
/external/protobuf/gtest/test/ |
gtest-port_test.cc | 778 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.set("foo") 951 ThreadLocal<DestructorTracker> thread_local; local 980 ThreadLocal<DestructorTracker> thread_local; local 1006 ThreadLocal<String> thread_local; local [all...] |
/external/clang/test/Lexer/ |
cxx0x_keyword_as_cxx98.cpp | 36 int thread_local; // expected-warning {{'thread_local' is a keyword in C++11}} variable
|
keywords_test.cpp | 54 CXX11_KEYWORD(thread_local); variable
|
/external/libbrillo/brillo/message_loops/ |
message_loop.cc | 9 #include <base/threading/thread_local.h>
|
/external/libcxxabi/src/ |
cxa_exception_storage.cpp | 34 static thread_local __cxa_eh_globals eh_globals;
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/ |
cxa_exception_storage.cpp | 34 static thread_local __cxa_eh_globals eh_globals;
|
/build/kati/ |
thread_local.h | 44 #define DEFINE_THREAD_LOCAL(Type, name) thread_local Type name
|
/external/clang/test/CXX/temp/temp.arg/temp.arg.nontype/ |
p1-11.cpp | 19 thread_local int tl; // expected-note {{refers here}}
|
/external/clang/test/Parser/ |
cxx0x-decl.cpp | 57 thread_local tl;
|