HomeSort by relevance Sort by last modified time
    Searched refs:thread_local (Results 1 - 25 of 72) sorted by null

1 2 3

  /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
24 static thread_local S s;
87 static thread_local S j;
pr18635.cpp 4 // CHECK: [[X_GLOBAL:@[^ ]+]]{{.*}}thread_local global
20 thread_local unique_ptr<int> x;
  /external/libcxxabi/test/
thread_local_destruction_order.pass.cpp 38 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/
ThreadLocal.h 19 #define EIGEN_THREAD_LOCAL static thread_local
  /frameworks/av/services/audioflinger/
TypedLogger.cpp 26 thread_local NBLog::Writer *tlNBLogWriter;
  /bionic/tests/libs/
thread_local_dtor.cpp 44 thread_local TestClass test(flag);
thread_local_dtor2.cpp 44 thread_local TestClass test(flag);
  /device/google/cuttlefish_common/common/vsoc/lib/
compat.cpp 26 thread_local uint32_t tid = syscall(SYS_gettid);
  /external/tensorflow/tensorflow/core/profiler/lib/
traceme.cc 26 const thread_local static uint32 thread_id = thread_counter.fetch_add(1);
27 thread_local static uint32 per_thread_activity_id = 0;
  /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
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 38 static thread_local ClassWithDtor class_with_dtor;
45 TEST(thread_local, smoke) {
67 static thread_local ClassWithDtorForMainThread class_with_dtor_for_main_thread;
72 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/grpc-grpc/src/core/lib/gprpp/
thd_windows.cc 35 #define thread_local __declspec(thread) macro
38 #define thread_local __thread macro
53 thread_local struct thd_info* g_thd_info;
  /external/clang/test/Lexer/
cxx0x_keyword_as_cxx98.cpp 36 int thread_local; // expected-warning {{'thread_local' is a keyword in C++11}} variable

Completed in 783 milliseconds

1 2 3