Home
last modified time | relevance | path

Searched refs:thread_local (Results 1 – 25 of 204) sorted by relevance

123456789

/external/clang/test/CodeGenCXX/
Dcxx11-thread-local.cpp11 thread_local int a = f();
12 extern thread_local int b;
16 static thread_local int d = g();
18 struct U { static thread_local int m; };
21 thread_local int U::m = f();
31 static thread_local U u;
35 template<typename T> struct V { static thread_local int m; };
36 template<typename T> thread_local int V<T>::m = g();
87 static thread_local int n = g(); in f()
140 static thread_local S s; in tls_dtor()
[all …]
Dtls-init-funcs.cpp17 thread_local A a;
19 extern thread_local int ext;
23 thread_local int vt = 5;
28 thread_local int loc; in inl()
Dms-thread_local.cpp12 thread_local A a = A();
16 thread_local A b;
21 thread_local A &c = b;
22 thread_local A &d = c;
/external/clang/test/SemaCXX/
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…
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}}
20 thread_local int x; in f()
[all …]
/external/llvm/test/Assembler/
Dtls-models.ll4 ; CHECK: @a = thread_local global i32 0
5 ; CHECK: @b = thread_local(localdynamic) global i32 0
6 ; CHECK: @c = thread_local(initialexec) global i32 0
7 ; CHECK: @d = thread_local(localexec) global i32 0
9 @a = thread_local global i32 0
10 @b = thread_local(localdynamic) global i32 0
11 @c = thread_local(initialexec) global i32 0
12 @d = thread_local(localexec) global i32 0
/external/protobuf/gtest/test/
Dgtest-port_test.cc778 ThreadLocal<String> thread_local; in TEST()
780 EXPECT_EQ(thread_local.pointer(), &(thread_local.get())); in TEST()
783 thread_local.set("foo"); in TEST()
784 EXPECT_EQ(thread_local.pointer(), &(thread_local.get())); in TEST()
788 ThreadLocal<String> thread_local; in TEST()
789 const ThreadLocal<String>& const_thread_local = thread_local; in TEST()
791 EXPECT_EQ(thread_local.pointer(), const_thread_local.pointer()); in TEST()
793 thread_local.set("foo"); in TEST()
794 EXPECT_EQ(thread_local.pointer(), const_thread_local.pointer()); in TEST()
903 ThreadLocal<String> thread_local("foo"); in TEST()
[all …]
/external/libcxxabi/test/
Dthread_local_destruction_order.pass.cpp38 thread_local OrderChecker checker{ID}; in ~CreatesThreadLocalInDestructor()
46 thread_local CreatesThreadLocalInDestructor<2> creates_tl2; in thread_fn()
47 thread_local OrderChecker fn_thread_local{1}; in thread_fn()
48 thread_local CreatesThreadLocalInDestructor<0> creates_tl0; in thread_fn()
57 thread_local OrderChecker fn_thread_local{4}; in main()
58 thread_local CreatesThreadLocalInDestructor<3> creates_tl; in main()
/external/llvm/test/CodeGen/Mips/
Dtls-models.ll4 @external_gd = external thread_local global i32
5 @internal_gd = internal thread_local global i32 42
7 @external_ld = external thread_local(localdynamic) global i32
8 @internal_ld = internal thread_local(localdynamic) global i32 42
10 @external_ie = external thread_local(initialexec) global i32
11 @internal_ie = internal thread_local(initialexec) global i32 42
13 @external_le = external thread_local(localexec) global i32
14 @internal_le = internal thread_local(localexec) global i32 42
/external/llvm/test/Bitcode/
Dglobal-variables.3.2.ll32 @initialexec.var = thread_local(initialexec) global i32 0, align 4
33 ; CHECK: @initialexec.var = thread_local(initialexec) global i32 0, align 4
35 @localdynamic.var = thread_local(localdynamic) constant i32 0, align 4
36 ; CHECK: @localdynamic.var = thread_local(localdynamic) constant i32 0, align 4
38 @localexec.var = thread_local(localexec) constant i32 0, align 4
39 ; CHECK: @localexec.var = thread_local(localexec) constant i32 0, align 4
/external/autotest/frontend/
Dapache_auth.py7 from autotest_lib.frontend import thread_local
67 thread_local.set_user(user)
80 username = thread_local.get_user()
81 thread_local.set_user(None)
85 thread_local.set_user(models.User.objects.get(login=username))
/external/llvm/test/CodeGen/ARM/
Dtls-models.ll11 @external_gd = external thread_local global i32
12 @internal_gd = internal thread_local global i32 42
14 @external_ld = external thread_local(localdynamic) global i32
15 @internal_ld = internal thread_local(localdynamic) global i32 42
17 @external_ie = external thread_local(initialexec) global i32
18 @internal_ie = internal thread_local(initialexec) global i32 42
20 @external_le = external thread_local(localexec) global i32
21 @internal_le = internal thread_local(localexec) global i32 42
Demutls.ll25 @i1 = thread_local global i32 15
26 @i2 = external thread_local global i32
27 @i3 = internal thread_local global i32 15
28 @i4 = hidden thread_local global i32 15
29 @i5 = external hidden thread_local global i32
30 @s1 = thread_local global i16 15
31 @b1 = thread_local global i8 0
/external/llvm/test/CodeGen/X86/
Dtls-models.ll9 @external_gd = external thread_local global i32
10 @internal_gd = internal thread_local global i32 42
12 @external_ld = external thread_local(localdynamic) global i32
13 @internal_ld = internal thread_local(localdynamic) global i32 42
15 @external_ie = external thread_local(initialexec) global i32
16 @internal_ie = internal thread_local(initialexec) global i32 42
18 @external_le = external thread_local(localexec) global i32
19 @internal_le = internal thread_local(localexec) global i32 42
Dtlv-2.ll3 @b = thread_local global i32 5, align 4
4 @a = thread_local global i32 0, align 4
5 @c = internal thread_local global i32 0, align 4
6 @d = internal thread_local global i32 5, align 4
Dtls-android-negative.ll6 @external_x = external thread_local global i32
7 @external_y = thread_local global i32 7
8 @internal_y = internal thread_local global i32 9
9 @internal_y0 = internal thread_local global i32 0
Dtls-pic.ll4 @i = thread_local global i32 15
5 @j = internal thread_local global i32 42
6 @k = internal thread_local global i32 42
23 @i2 = external thread_local global i32
Dtlv-1.ll5 @c = external thread_local global %struct.A, align 4
36 @a = thread_local global i32 0 ; <i32*> [#uses=0]
37 @b = thread_local global i32 0 ; <i32*> [#uses=0]
/external/llvm/test/CodeGen/Hexagon/
Dtls_static.ll3 @dst_le = thread_local global i32 0, align 4
4 @src_le = thread_local global i32 0, align 4
16 @dst_ie = external thread_local global i32
17 @src_ie = external thread_local global i32
Dtls_pic.ll3 @dst_ie = thread_local(initialexec) global i32 0, align 4
4 @src_ie = thread_local(initialexec) global i32 0, align 4
18 @dst_gd = external thread_local global i32
19 @src_gd = external thread_local global i32
/external/llvm/test/CodeGen/AArch64/
Demutls.ll25 @i1 = thread_local global i32 15
26 @i2 = external thread_local global i32
27 @i3 = internal thread_local global i32 15
28 @i4 = hidden thread_local global i32 15
29 @i5 = external hidden thread_local global i32
30 @s1 = thread_local global i16 15
31 @b1 = thread_local global i8 0
88 @_ZN1AIiE1xE = linkonce_odr thread_local global i32 0, comdat, align 4
89 @_ZN1AIfE1xE = linkonce_odr thread_local global float 0.000000e+00, comdat, align 4
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Dtlv-2.ll3 @b = thread_local global i32 5, align 4
4 @a = thread_local global i32 0, align 4
5 @c = internal thread_local global i32 0, align 4
6 @d = internal thread_local global i32 5, align 4
Dtlv-1.ll5 @c = external thread_local global %struct.A, align 4
36 @a = thread_local global i32 0 ; <i32*> [#uses=0]
37 @b = thread_local global i32 0 ; <i32*> [#uses=0]
/external/llvm/test/CodeGen/ARM/Windows/
Dtls.ll3 @i = thread_local global i32 0
4 @j = external thread_local global i32
5 @k = internal thread_local global i32 0
6 @l = hidden thread_local global i32 0
7 @m = external hidden thread_local global i32
8 @n = thread_local global i16 0
9 @o = thread_local global i8 0
/external/clang/test/PCH/
Dthread-local.cpp7 extern thread_local int a;
15 thread_local int b; // expected-error {{thread-local declaration of 'b' with dynamic initialization…
17 thread_local int c; // expected-error {{thread-local declaration of 'c' follows non-thread-local de…
/external/llvm/test/CodeGen/PowerPC/
Demutls_generic.ll8 @external_x = external thread_local global i32, align 8
9 @external_y = thread_local global i8 7, align 2
10 @internal_y = internal thread_local global i64 9, align 16

123456789