Home
last modified time | relevance | path

Searched refs:ptr2 (Results 1 – 25 of 500) sorted by relevance

12345678910>>...20

/external/pdfium/core/fxcrt/
Dunowned_ptr_unittest.cpp22 Clink* ptr2 = new Clink(); in DeleteDangling() local
23 ptr2->next_ = ptr1; in DeleteDangling()
25 delete ptr2; in DeleteDangling()
30 Clink* ptr2 = new Clink(); in AssignDangling() local
31 ptr2->next_ = ptr1; in AssignDangling()
33 ptr2->next_ = nullptr; in AssignDangling()
34 delete ptr2; in AssignDangling()
39 Clink* ptr2 = new Clink(); in ReleaseDangling() local
40 ptr2->next_ = ptr1; in ReleaseDangling()
42 ptr2->next_.Release(); in ReleaseDangling()
[all …]
Dweak_ptr_unittest.cpp42 WeakTestPtr ptr2; in TEST() local
43 EXPECT_TRUE(ptr1 == ptr2); in TEST()
44 EXPECT_FALSE(ptr1 != ptr2); in TEST()
64 WeakTestPtr ptr2; in TEST() local
65 EXPECT_FALSE(ptr1 == ptr2); in TEST()
66 EXPECT_TRUE(ptr1 != ptr2); in TEST()
89 WeakTestPtr ptr2 = ptr1; in TEST() local
93 EXPECT_TRUE(ptr2); in TEST()
94 EXPECT_EQ(&thing, ptr2.Get()); in TEST()
95 EXPECT_FALSE(ptr1 == ptr2); in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dfp-conv-17.mir4 define void @f0(double* %ptr1, float* %ptr2) {
5 %val0 = load volatile float, float* %ptr2
6 %val1 = load volatile float, float* %ptr2
7 %val2 = load volatile float, float* %ptr2
8 %val3 = load volatile float, float* %ptr2
9 %val4 = load volatile float, float* %ptr2
10 %val5 = load volatile float, float* %ptr2
11 %val6 = load volatile float, float* %ptr2
12 %val7 = load volatile float, float* %ptr2
13 %val8 = load volatile float, float* %ptr2
[all …]
Dand-08.ll15 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
17 %old = load i8, i8 *%ptr2
19 store i8 %and, i8 *%ptr2
28 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
30 %old = load i8, i8 *%ptr2
32 store i8 %and, i8 *%ptr2
42 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
45 %old = load i8, i8 *%ptr2
49 store i8 %trunc, i8 *%ptr2
58 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
[all …]
Dfp-conv-04.ll84 %ptr2 = getelementptr double, double *%ptr1, i64 100
85 %val = load double, double *%ptr2
93 define void @f7(fp128 *%ptr1, double *%ptr2) {
97 %val0 = load volatile double, double *%ptr2
98 %val1 = load volatile double, double *%ptr2
99 %val2 = load volatile double, double *%ptr2
100 %val3 = load volatile double, double *%ptr2
101 %val4 = load volatile double, double *%ptr2
102 %val5 = load volatile double, double *%ptr2
103 %val6 = load volatile double, double *%ptr2
[all …]
Dfp-conv-03.ll84 %ptr2 = getelementptr float, float *%ptr1, i64 100
85 %val = load float, float *%ptr2
93 define void @f7(fp128 *%ptr1, float *%ptr2) {
97 %val0 = load volatile float, float *%ptr2
98 %val1 = load volatile float, float *%ptr2
99 %val2 = load volatile float, float *%ptr2
100 %val3 = load volatile float, float *%ptr2
101 %val4 = load volatile float, float *%ptr2
102 %val5 = load volatile float, float *%ptr2
103 %val6 = load volatile float, float *%ptr2
[all …]
Dmemcpy-02.ll19 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
21 store i8 %val, i8 *%ptr2
30 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
34 store i8 %trunc, i8 *%ptr2
43 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
47 store i8 %trunc, i8 *%ptr2
56 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
60 store i8 %trunc, i8 *%ptr2
69 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
73 store i8 %trunc, i8 *%ptr2
[all …]
Dor-08.ll10 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
12 %old = load i8, i8 *%ptr2
14 store i8 %or, i8 *%ptr2
23 %ptr2 = getelementptr i16, i16 *%ptr1, i64 1
25 %old = load i16, i16 *%ptr2
27 store i16 %or, i16 *%ptr2
36 %ptr2 = getelementptr i32, i32 *%ptr1, i64 1
38 %old = load i32, i32 *%ptr2
40 store i32 %or, i32 *%ptr2
49 %ptr2 = getelementptr i64, i64 *%ptr1, i64 1
[all …]
Dxor-08.ll10 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
12 %old = load i8, i8 *%ptr2
14 store i8 %xor, i8 *%ptr2
23 %ptr2 = getelementptr i16, i16 *%ptr1, i64 1
25 %old = load i16, i16 *%ptr2
27 store i16 %xor, i16 *%ptr2
36 %ptr2 = getelementptr i32, i32 *%ptr1, i64 1
38 %old = load i32, i32 *%ptr2
40 store i32 %xor, i32 *%ptr2
49 %ptr2 = getelementptr i64, i64 *%ptr1, i64 1
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dand-08.ll15 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
17 %old = load i8 , i8 *%ptr2
19 store i8 %and, i8 *%ptr2
28 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
30 %old = load i8 , i8 *%ptr2
32 store i8 %and, i8 *%ptr2
42 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
45 %old = load i8 , i8 *%ptr2
49 store i8 %trunc, i8 *%ptr2
58 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
[all …]
Dfp-conv-02.ll69 %ptr2 = getelementptr float, float *%ptr1, i64 100
70 %val = load float , float *%ptr2
77 define void @f7(double *%ptr1, float *%ptr2) {
81 %val0 = load volatile float , float *%ptr2
82 %val1 = load volatile float , float *%ptr2
83 %val2 = load volatile float , float *%ptr2
84 %val3 = load volatile float , float *%ptr2
85 %val4 = load volatile float , float *%ptr2
86 %val5 = load volatile float , float *%ptr2
87 %val6 = load volatile float , float *%ptr2
[all …]
Dfp-conv-03.ll84 %ptr2 = getelementptr float, float *%ptr1, i64 100
85 %val = load float , float *%ptr2
93 define void @f7(fp128 *%ptr1, float *%ptr2) {
97 %val0 = load volatile float , float *%ptr2
98 %val1 = load volatile float , float *%ptr2
99 %val2 = load volatile float , float *%ptr2
100 %val3 = load volatile float , float *%ptr2
101 %val4 = load volatile float , float *%ptr2
102 %val5 = load volatile float , float *%ptr2
103 %val6 = load volatile float , float *%ptr2
[all …]
Dfp-conv-04.ll84 %ptr2 = getelementptr double, double *%ptr1, i64 100
85 %val = load double , double *%ptr2
93 define void @f7(fp128 *%ptr1, double *%ptr2) {
97 %val0 = load volatile double , double *%ptr2
98 %val1 = load volatile double , double *%ptr2
99 %val2 = load volatile double , double *%ptr2
100 %val3 = load volatile double , double *%ptr2
101 %val4 = load volatile double , double *%ptr2
102 %val5 = load volatile double , double *%ptr2
103 %val6 = load volatile double , double *%ptr2
[all …]
Dmemcpy-02.ll19 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
21 store i8 %val, i8 *%ptr2
30 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
34 store i8 %trunc, i8 *%ptr2
43 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
47 store i8 %trunc, i8 *%ptr2
56 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
60 store i8 %trunc, i8 *%ptr2
69 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
73 store i8 %trunc, i8 *%ptr2
[all …]
Dxor-08.ll10 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
12 %old = load i8 , i8 *%ptr2
14 store i8 %xor, i8 *%ptr2
23 %ptr2 = getelementptr i16, i16 *%ptr1, i64 1
25 %old = load i16 , i16 *%ptr2
27 store i16 %xor, i16 *%ptr2
36 %ptr2 = getelementptr i32, i32 *%ptr1, i64 1
38 %old = load i32 , i32 *%ptr2
40 store i32 %xor, i32 *%ptr2
49 %ptr2 = getelementptr i64, i64 *%ptr1, i64 1
[all …]
Dor-08.ll10 %ptr2 = getelementptr i8, i8 *%ptr1, i64 1
12 %old = load i8 , i8 *%ptr2
14 store i8 %or, i8 *%ptr2
23 %ptr2 = getelementptr i16, i16 *%ptr1, i64 1
25 %old = load i16 , i16 *%ptr2
27 store i16 %or, i16 *%ptr2
36 %ptr2 = getelementptr i32, i32 *%ptr1, i64 1
38 %old = load i32 , i32 *%ptr2
40 store i32 %or, i32 *%ptr2
49 %ptr2 = getelementptr i64, i64 *%ptr1, i64 1
[all …]
/external/selinux/libselinux/src/
Dmatchmediacon.c18 char *ptr, *ptr2 = NULL; in matchmediacon() local
38 ptr2 = ptr; in matchmediacon()
39 while (*ptr2 && !isspace(*ptr2)) in matchmediacon()
40 ptr2++; in matchmediacon()
41 if (!(*ptr2)) in matchmediacon()
44 *ptr2++ = 0; in matchmediacon()
55 while (*ptr2 && isspace(*ptr2)) in matchmediacon()
56 ptr2++; in matchmediacon()
57 if (!(*ptr2)) { in matchmediacon()
61 if (selinux_raw_to_trans_context(ptr2, con)) { in matchmediacon()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/
Dswap.pass.cpp34 A* ptr2 = new A; in main() local
37 std::shared_ptr<A> p2(ptr2); in main()
40 assert(p1.get() == ptr2); in main()
46 assert(p1.get() == ptr2); in main()
52 A* ptr2 = 0; in main() local
58 assert(p1.get() == ptr2); in main()
64 assert(p1.get() == ptr2); in main()
70 A* ptr2 = new A; in main() local
73 std::shared_ptr<A> p2(ptr2); in main()
76 assert(p1.get() == ptr2); in main()
[all …]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/
Dswap.pass.cpp34 A* ptr2 = new A; in main() local
37 std::shared_ptr<A> p2(ptr2); in main()
40 assert(p1.get() == ptr2); in main()
46 assert(p1.get() == ptr2); in main()
52 A* ptr2 = 0; in main() local
58 assert(p1.get() == ptr2); in main()
64 assert(p1.get() == ptr2); in main()
70 A* ptr2 = new A; in main() local
73 std::shared_ptr<A> p2(ptr2); in main()
76 assert(p1.get() == ptr2); in main()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dlattice_neon.c30 int32_t* ptr2) // Sample buffer in WebRtcIsacfix_FilterMaLoopNeon() argument
51 ptr2va = vld1q_s32(ptr2); in WebRtcIsacfix_FilterMaLoopNeon()
52 ptr2vb = vld1q_s32(ptr2 + 4); in WebRtcIsacfix_FilterMaLoopNeon()
85 vst1q_s32(ptr2, ptr2va); in WebRtcIsacfix_FilterMaLoopNeon()
86 vst1q_s32(ptr2 + 4, ptr2vb); in WebRtcIsacfix_FilterMaLoopNeon()
87 ptr2 += 8; in WebRtcIsacfix_FilterMaLoopNeon()
105 ptr2va = vld1q_s32(ptr2); in WebRtcIsacfix_FilterMaLoopNeon()
128 vst1q_s32(ptr2, ptr2va); in WebRtcIsacfix_FilterMaLoopNeon()
129 ptr2 += 4; in WebRtcIsacfix_FilterMaLoopNeon()
147 ptr2v_tail = vld1_s32(ptr2); in WebRtcIsacfix_FilterMaLoopNeon()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/DeadStoreElimination/
Dlaunder.invariant.group.ll7 ; CHECK: %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr)
8 %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr)
10 store i8 43, i8* %ptr2
18 ; CHECK: %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr)
19 %ptr2 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr)
21 store i8 43, i8* %ptr2
22 %ptr3 = call i8* @llvm.launder.invariant.group.p0i8(i8* %ptr2)
34 ; CHECK: %ptr2 = call i8* @llvm.strip.invariant.group.p0i8(i8* %ptr)
35 %ptr2 = call i8* @llvm.strip.invariant.group.p0i8(i8* %ptr)
37 store i8 43, i8* %ptr2
[all …]
/external/libopus/silk/fixed/
DcorrMatrix_FIX.c50 const opus_int16 *ptr1, *ptr2; in silk_corrVector_FIX() local
54 ptr2 = t; in silk_corrVector_FIX()
61 … inner_prod = silk_ADD_RSHIFT32( inner_prod, silk_SMULBB( ptr1[ i ], ptr2[i] ), rshifts ); in silk_corrVector_FIX()
69 Xt[ lag ] = silk_inner_prod_aligned( ptr1, ptr2, L, arch ); /* X[:,lag]'*t */ in silk_corrVector_FIX()
88 const opus_int16 *ptr1, *ptr2; in silk_corrMatrix_FIX() local
112 ptr2 = &x[ order - 2 ]; /* First sample of column 1 of X */ in silk_corrMatrix_FIX()
120 energy += silk_RSHIFT32( silk_SMULBB( ptr1[ i ], ptr2[i] ), *rshifts ); in silk_corrMatrix_FIX()
126 …energy = silk_SUB32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ L - j ], ptr2[ L - j ] ), *rshifts … in silk_corrMatrix_FIX()
127 … energy = silk_ADD32( energy, silk_RSHIFT32( silk_SMULBB( ptr1[ -j ], ptr2[ -j ] ), *rshifts ) ); in silk_corrMatrix_FIX()
131 ptr2--; /* Update pointer to first sample of next column (lag) in X */ in silk_corrMatrix_FIX()
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/SystemZ/
D05-MemRegLoads.ll16 %add.ptr2 = getelementptr i64* %a, i64 %add.ptr.sum ; <i64*> [#uses=1]
17 %tmp3 = load i64* %add.ptr2 ; <i64> [#uses=1]
24 %add.ptr2 = getelementptr i32* %a, i64 %add.ptr.sum ; <i32*> [#uses=1]
25 %tmp3 = load i32* %add.ptr2 ; <i32> [#uses=1]
32 %add.ptr2 = getelementptr i16* %a, i64 %add.ptr.sum ; <i16*> [#uses=1]
33 %tmp3 = load i16* %add.ptr2 ; <i16> [#uses=1]
40 %add.ptr2 = getelementptr i8* %a, i64 %add.ptr.sum ; <i8*> [#uses=1]
41 %tmp3 = load i8* %add.ptr2 ; <i8> [#uses=1]
48 %add.ptr2 = getelementptr i64* %a, i64 %add.ptr.sum ; <i64*> [#uses=1]
49 %tmp3 = load i64* %add.ptr2 ; <i64> [#uses=1]
[all …]
D05-MemRegStores.ll13 %add.ptr2 = getelementptr i64* %a, i64 %add.ptr.sum ; <i64*> [#uses=1]
14 store i64 %val, i64* %add.ptr2
23 %add.ptr2 = getelementptr i32* %a, i64 %add.ptr.sum ; <i32*> [#uses=1]
24 store i32 %val, i32* %add.ptr2
33 %add.ptr2 = getelementptr i16* %a, i64 %add.ptr.sum ; <i16*> [#uses=1]
34 store i16 %val, i16* %add.ptr2
43 %add.ptr2 = getelementptr i8* %a, i64 %add.ptr.sum ; <i8*> [#uses=1]
44 store i8 %val, i8* %add.ptr2
53 %add.ptr2 = getelementptr i8* %a, i64 %add.ptr.sum ; <i8*> [#uses=1]
55 store i8 %conv, i8* %add.ptr2
[all …]
/external/clang/test/CodeGen/
Datomic-ops.c159 _Bool fi4d(_Atomic(int) *i, int _AS1 *ptr2) { in fi4d() argument
163 …return __c11_atomic_compare_exchange_strong(i, ptr2, 1, memory_order_acquire, memory_order_acquire… in fi4d()
450 void failureOrder(_Atomic(int) *ptr, int *ptr2) { in failureOrder() argument
451 __c11_atomic_compare_exchange_strong(ptr, ptr2, 43, memory_order_acquire, memory_order_relaxed); in failureOrder()
454 __c11_atomic_compare_exchange_weak(ptr, ptr2, 43, memory_order_seq_cst, memory_order_acquire); in failureOrder()
458 __atomic_compare_exchange(ptr2, ptr2, ptr2, 0, memory_order_acq_rel, *ptr2); in failureOrder()
463 __atomic_compare_exchange_n(ptr2, ptr2, 43, 1, memory_order_seq_cst, 42); in failureOrder()
468 void generalFailureOrder(_Atomic(int) *ptr, int *ptr2, int success, int fail) { in generalFailureOrder() argument
469 __c11_atomic_compare_exchange_strong(ptr, ptr2, 42, success, fail); in generalFailureOrder()
537 void generalWeakness(int *ptr, int *ptr2, _Bool weak) { in generalWeakness() argument
[all …]

12345678910>>...20