Home
last modified time | relevance | path

Searched refs:i32 (Results 1 – 25 of 115) sorted by relevance

12345

/frameworks/rs/driver/runtime/ll32/
Dallocation.ll1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v…
4 declare i8* @rsOffset([1 x i32] %a.coerce, i32 %sizeOf, i32 %x, i32 %y, i32 %z)
5 declare i8* @rsOffsetNs([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z)
36 define void @rsSetElementAtImpl_char([1 x i32] %a.coerce, i8 signext %val, i32 %x, i32 %y, i32 %z) …
37 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 1, i32 %x, i32 %y, i32 %z) #2
42 define signext i8 @rsGetElementAtImpl_char([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) #0 {
43 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 1, i32 %x, i32 %y, i32 %z) #2
49 define void @rsSetElementAtImpl_char2([1 x i32] %a.coerce, <2 x i8> %val, i32 %x, i32 %y, i32 %z) #…
50 %1 = tail call i8* @rsOffset([1 x i32] %a.coerce, i32 2, i32 %x, i32 %y, i32 %z) #2
56 define <2 x i8> @rsGetElementAtImpl_char2([1 x i32] %a.coerce, i32 %x, i32 %y, i32 %z) #0 {
[all …]
/frameworks/rs/driver/runtime/ll64/
Dallocation.ll6 …re i8* @rsOffset(%struct.rs_allocation* nocapture readonly %a, i32 %sizeOf, i32 %x, i32 %y, i32 %z)
7 declare i8* @rsOffsetNs(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z)
38 …pl_char(%struct.rs_allocation* nocapture readonly %a, i8 signext %val, i32 %x, i32 %y, i32 %z) #1 {
39 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2
44 …@rsGetElementAtImpl_char(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z) #0 {
45 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 1, i32 %x, i32 %y, i32 %z) #2
51 …ntAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i16 %val, i32 %x, i32 %y, i32 %z) #1 {
52 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2
59 …rsGetElementAtImpl_char2(%struct.rs_allocation* nocapture readonly %a, i32 %x, i32 %y, i32 %z) #0 {
60 %1 = tail call i8* @rsOffset(%struct.rs_allocation* %a, i32 2, i32 %x, i32 %y, i32 %z) #2
[all …]
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_cleanup.ll27 %struct.IndexedVal = type { float, i32 }
29 @.rs.reduce_fn.aiAccum = global i8* bitcast (void (i32*, i32)* @aiAccum to i8*), align 4
33 @.rs.reduce_fn.fMMAccumulator = global i8* bitcast (void (%struct.MinAndMax*, float, i32)* @fMMAccu…
35 @.rs.reduce_fn.fMMOutConverter = global i8* bitcast (void (<2 x i32>*, %struct.MinAndMax*)* @fMMOut…
36 @.rs.reduce_fn.fzInit = global i8* bitcast (void (i32*)* @fzInit to i8*), align 4
37 @.rs.reduce_fn.fzAccum = global i8* bitcast (void (i32*, i32, i32)* @fzAccum to i8*), align 4
38 @.rs.reduce_fn.fzCombine = global i8* bitcast (void (i32*, i32*)* @fzCombine to i8*), align 4
39 @.rs.reduce_fn.fz2Init = global i8* bitcast (void (<2 x i32>*)* @fz2Init to i8*), align 4
40 @.rs.reduce_fn.fz2Accum = global i8* bitcast (void (<2 x i32>*, i32, i32, i32)* @fz2Accum to i8*), …
41 @.rs.reduce_fn.fz2Combine = global i8* bitcast (void (<2 x i32>*, <2 x i32>*)* @fz2Combine to i8*),…
[all …]
Dtest_reduce_general_metadata.ll43 %struct.IndexedVal.1 = type { float, i32 }
45 ….0 { %struct.IndexedVal.1 { float 0.000000e+00, i32 -1 }, %struct.IndexedVal.1 { float -0.000000e+…
46i32>*)* @fz2Init to i8*), i8* bitcast (void ([256 x i32]*, [256 x i32]*)* @hsgCombine to i8*), i8*…
49 define internal void @aiAccum(i32* nocapture %accum, i32 %val) #0 {
50 %1 = load i32, i32* %accum, align 4, !tbaa !18
51 %2 = add nsw i32 %1, %val
52 store i32 %2, i32* %accum, align 4, !tbaa !18
57 define internal void @mpyInit(i32* nocapture %accum) #0 {
58 store i32 1, i32* %accum, align 4, !tbaa !18
63 define internal void @mpyAccum(i32* nocapture %accum, i32 %val) #0 {
[all …]
Dgetelementptr.ll24 define void @root(i32* nocapture %ain, i32* nocapture %out, i32 %x, i32 %y, i32 %z) {
26 ; CHECK: define void @root.expand(%RsExpandKernelDriverInfoPfx* %p, i32 %x1, i32 %x2, i32 %outstep)
28 …entptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx* %p, i32 0, i32 1, i32 0
29 ; CHECK: load i32, i32* %instep_addr.gep
30 …entptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx* %p, i32 0, i32 0, i32 0
32 …entptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx* %p, i32 0, i32 3, i32 0
34 …entptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx* %p, i32 0, i32 7, i32 1
35 ; CHECK: load i32, i32* %Y.gep
36 …entptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx* %p, i32 0, i32 7, i32 2
37 ; CHECK: load i32, i32* %Z.gep
[all …]
Dtbaa.ll21 …: %0 = load {{.*}}, i8** %out_buf.gep, !tbaa {{.*}} <-> store i32 %call.result, i32* {{.*}}, !…
22 …put_buf = load i8*, i8** %input_buf.gep, !tbaa {{.*}} <-> store i32 %call.result, i32* {{.*}}, !…
25 define i32 @add1(i32 %in) #0 {
26 %1 = add nsw i32 %in, 1
27 ret i32 %1
Dtbaa-through-alloca.ll21 %struct.int5.0 = type { [5 x i32] }
29 %2 = getelementptr inbounds %struct.int5.0, %struct.int5.0* %in, i64 0, i32 0, i64 %indvars.iv
31 %load_from_input = load i32, i32* %2, align 4, !tbaa !9
32 %3 = add nsw i32 %load_from_input, 1
33 store i32 %3, i32* %2, align 4, !tbaa !9
41 …tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %5, i8* %6, i64 20, i32 4, i1 false), !tbaa.struct !…
46 declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture, i8* nocapture readonly, i64, i32, i1) #0
/frameworks/rs/driver/runtime/arch/
Dneon.ll1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v…
10 declare <2 x i32> @llvm.arm.neon.vmaxs.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
11 declare <4 x i32> @llvm.arm.neon.vmaxs.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
12 declare <2 x i32> @llvm.arm.neon.vmaxu.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
13 declare <4 x i32> @llvm.arm.neon.vmaxu.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
19 declare <2 x i32> @llvm.arm.neon.vmins.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
20 declare <4 x i32> @llvm.arm.neon.vmins.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
21 declare <2 x i32> @llvm.arm.neon.vminu.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
22 declare <4 x i32> @llvm.arm.neon.vminu.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
27 declare <4 x i16> @llvm.arm.neon.vqshiftns.v4i16(<4 x i32>, <4 x i32>) nounwind readnone
[all …]
Dasimd.ll10 declare <2 x i32> @llvm.aarch64.neon.smax.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
11 declare <4 x i32> @llvm.aarch64.neon.smax.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
12 declare <2 x i32> @llvm.aarch64.neon.umax.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
13 declare <4 x i32> @llvm.aarch64.neon.umax.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
19 declare <2 x i32> @llvm.aarch64.neon.smin.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
20 declare <4 x i32> @llvm.aarch64.neon.smin.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
21 declare <2 x i32> @llvm.aarch64.neon.umin.v2i32(<2 x i32>, <2 x i32>) nounwind readnone
22 declare <4 x i32> @llvm.aarch64.neon.umin.v4i32(<4 x i32>, <4 x i32>) nounwind readnone
27 declare <4 x i16> @llvm.aarch64.neon.sqshl.v4i16(<4 x i32>, <4 x i32>) nounwind readnone
28 declare <2 x i32> @llvm.aarch64.neon.sqshl.v2i32(<2 x i64>, <2 x i64>) nounwind readnone
[all …]
Dx86_sse2.ll1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v…
24 %1 = shufflevector <3 x float> %in, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
25 %2 = shufflevector <3 x float> %low, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
26 %3 = shufflevector <3 x float> %high, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
28 %5 = shufflevector <4 x float> %4, <4 x float> undef, <3 x i32> <i32 0, i32 1, i32 2>
33 %1 = shufflevector <2 x float> %in, <2 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
34 %2 = shufflevector <2 x float> %low, <2 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
35 %3 = shufflevector <2 x float> %high, <2 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
37 %5 = shufflevector <4 x float> %4, <4 x float> undef, <2 x i32> <i32 0, i32 1>
42 %1 = insertelement <4 x float> undef, float %in, i32 0
[all …]
Dx86_sse3.ll1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v…
4 declare <2 x i64> @llvm.x86.sse2.psll.dq(<2 x i64>, i32) nounwind readnone
12 %4 = extractelement <4 x float> %3, i32 0
18 %2 = shufflevector <3 x float> %1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
20 %4 = tail call <2 x i64> @llvm.x86.sse2.psll.dq(<2 x i64> %3, i32 32)
24 %8 = extractelement <4 x float> %7, i32 0
30 %2 = shufflevector <2 x float> %1, <2 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
32 %4 = extractelement <4 x float> %3, i32 0
45 %4 = extractelement <4 x float> %3, i32 0
52 %2 = shufflevector <3 x float> %1, <3 x float> undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
[all …]
/frameworks/av/media/module/foundation/tests/
DFlagged_test.cpp208 using i32 = int32_t; in TEST_F() typedef
213 static_assert(Flagged<i32, u32, 0u, 0u, 0>::sFlagMask == 0u, ""); in TEST_F()
214 static_assert(Flagged<i32, u32, 0u, 0u, 0>::sFlagShift == 0, ""); in TEST_F()
215 static_assert(Flagged<i32, u32, 0u, 0u, 0>::sEffectiveMask == 0u, ""); in TEST_F()
217 static_assert(Flagged<i32, u32, 0u, 0u, 10>::sFlagMask == 0u, ""); in TEST_F()
218 static_assert(Flagged<i32, u32, 0u, 0u, 10>::sFlagShift == 10, ""); in TEST_F()
219 static_assert(Flagged<i32, u32, 0u, 0u, 10>::sEffectiveMask == 0u, ""); in TEST_F()
221 static_assert(Flagged<i32, u32, 0u, 0u, -1>::sFlagMask == 0u, ""); in TEST_F()
222 static_assert(Flagged<i32, u32, 0u, 0u, -1>::sFlagShift == 0, ""); in TEST_F()
223 static_assert(Flagged<i32, u32, 0u, 0u, -1>::sEffectiveMask == 0u, ""); in TEST_F()
[all …]
/frameworks/native/libs/binder/rust/src/
Derror.rs47 fn parse_status_code(code: i32) -> StatusCode { in parse_status_code()
49 e if e == StatusCode::OK as i32 => StatusCode::OK, in parse_status_code()
50 e if e == StatusCode::NO_MEMORY as i32 => StatusCode::NO_MEMORY, in parse_status_code()
51 e if e == StatusCode::INVALID_OPERATION as i32 => StatusCode::INVALID_OPERATION, in parse_status_code()
52 e if e == StatusCode::BAD_VALUE as i32 => StatusCode::BAD_VALUE, in parse_status_code()
53 e if e == StatusCode::BAD_TYPE as i32 => StatusCode::BAD_TYPE, in parse_status_code()
54 e if e == StatusCode::NAME_NOT_FOUND as i32 => StatusCode::NAME_NOT_FOUND, in parse_status_code()
55 e if e == StatusCode::PERMISSION_DENIED as i32 => StatusCode::PERMISSION_DENIED, in parse_status_code()
56 e if e == StatusCode::NO_INIT as i32 => StatusCode::NO_INIT, in parse_status_code()
57 e if e == StatusCode::ALREADY_EXISTS as i32 => StatusCode::ALREADY_EXISTS, in parse_status_code()
[all …]
Dparcel.rs216 let len: i32 = slice.len().try_into().or(Err(StatusCode::BAD_VALUE))?; in write_slice_size()
277 pub fn get_data_position(&self) -> i32 { in get_data_position() argument
284 pub fn get_data_size(&self) -> i32 { in get_data_size() argument
299 pub unsafe fn set_data_position(&self, pos: i32) -> Result<()> { in set_data_position()
312 start: i32, in append_from() argument
313 size: i32, in append_from() argument
397 pub fn get_data_position(&self) -> i32 { in get_data_position() argument
402 pub fn get_data_size(&self) -> i32 { in get_data_size() argument
415 pub unsafe fn set_data_position(&self, pos: i32) -> Result<()> { in set_data_position()
428 start: i32, in append_from() argument
[all …]
/frameworks/native/libs/input/rust/
Dlib.rs58 device_id: i32, in process_movement() argument
64 fn reset_device(verifier: &mut InputVerifier, device_id: i32); in reset_device() argument
76 device_id: i32, in notify_keyboard_changed() argument
81 fn get_keyboard_type(classifier: &mut KeyboardClassifier, device_id: i32) -> u32; in get_keyboard_type()
83 fn is_finalized(classifier: &mut KeyboardClassifier, device_id: i32) -> bool; in is_finalized()
87 device_id: i32, in process_key() argument
88 evdev_code: i32, in process_key() argument
95 pub id: i32,
119 device_id: i32, in process_movement() argument
146 fn reset_device(verifier: &mut InputVerifier, device_id: i32) { in reset_device() argument
[all …]
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/binder_rpc_test_session/
Dlib.rs23 static G_NUM: Mutex<i32> = Mutex::new(0);
36 pub fn get_instance_count() -> i32 { in get_instance_count()
70 fn getClientPort(&self) -> Result<i32, Status> { in getClientPort() argument
73 fn countBinders(&self) -> Result<Vec<i32>, Status> { in countBinders() argument
79 fn pingMe(&self, _binder: &SpIBinder) -> Result<i32, Status> { in pingMe() argument
94 count: i32, in nestMe() argument
111 fn getNumOpenSessions(&self) -> Result<i32, Status> { in getNumOpenSessions() argument
117 fn unlockInMsAsync(&self, _: i32) -> Result<(), Status> { in unlockInMsAsync()
123 fn sleepMs(&self, _: i32) -> Result<(), Status> { in sleepMs()
126 fn sleepMsAsync(&self, _: i32) -> Result<(), Status> { in sleepMsAsync()
[all …]
/frameworks/compile/slang/lit-tests/P_array_init/
Darray_init.rscript3 // CHECK: @ic = local_unnamed_addr constant i32 99, align 4
4 // CHECK: @ica = local_unnamed_addr global [2 x i32] [i32 99, i32 1000], align 4
9 // CHECK: @ia = local_unnamed_addr global [4 x i32] [i32 5, i32 8, i32 0, i32 0], align 4
/frameworks/av/services/camera/libcameraservice/device3/
DRotateAndCropMapper.cpp59 mArrayWidth = entry.data.i32[2]; in RotateAndCropMapper()
60 mArrayHeight = entry.data.i32[3]; in RotateAndCropMapper()
80 cx = entry.data.i32[0]; in updateCaptureRequest()
81 cy = entry.data.i32[1]; in updateCaptureRequest()
82 cw = entry.data.i32[2]; in updateCaptureRequest()
83 ch = entry.data.i32[3]; in updateCaptureRequest()
169 int32_t weight = entry.data.i32[i + 4]; in updateCaptureRequest()
173 transformPoints(entry.data.i32 + i, 2, transformMat, xShift, yShift, cx, cy); in updateCaptureRequest()
174 swapRectToMinFirst(entry.data.i32 + i); in updateCaptureRequest()
196 cx = entry.data.i32[0]; in updateCaptureResult()
[all …]
DZoomRatioMapper.cpp93 requestKeys.insert(requestKeys.end(), entry.data.i32, entry.data.i32 + entry.count); in overrideZoomRatioTags()
107 resultKeys.insert(resultKeys.end(), entry.data.i32, entry.data.i32 + entry.count); in overrideZoomRatioTags()
121 charKeys.insert(charKeys.end(), entry.data.i32, entry.data.i32 + entry.count); in overrideZoomRatioTags()
242 int cropWidth = cropRegionEntry.data.i32[2]; in updateCaptureRequest()
243 int cropHeight = cropRegionEntry.data.i32[3]; in updateCaptureRequest()
245 cropRegionEntry.data.i32[0] = 0; in updateCaptureRequest()
246 cropRegionEntry.data.i32[1] = 0; in updateCaptureRequest()
247 cropRegionEntry.data.i32[2] = arrayWidth; in updateCaptureRequest()
248 cropRegionEntry.data.i32[3] = arrayHeight; in updateCaptureRequest()
312 float cropRegionLeft = arrayCenterX - entry.data.i32[0] ; in deriveZoomRatio()
[all …]
/frameworks/compile/slang/lit-tests/padding/
Dsmall_struct_2.rscript5 // CHECK-LL: %struct.small_struct_2{{(\.[0-9]+)?}} = type { i64, i32, [4 x i8] }
8 // CHECK-LL: define void @.helper_checkStruct({ i64, i32, [4 x i8] }* nocapture)
9 …DR:%[0-9]+]] = getelementptr inbounds { i64, i32, [4 x i8] }, { i64, i32, [4 x i8] }* %0, i{{[0-9]…
11 …DR:%[0-9]+]] = getelementptr inbounds { i64, i32, [4 x i8] }, { i64, i32, [4 x i8] }* %0, i{{[0-9]…
12 // CHECK-LL: [[FIELD_I_VAL:%[0-9]+]] = load i32, i32* [[FIELD_I_ADDR]]
13 // CHECK-LL: call void @checkStruct(i64 [[FIELD_L_VAL]], i32 [[FIELD_I_VAL]])
Dsmall_struct.rscript5 // CHECK-LL: %struct.small_struct{{(\.[0-9]+)?}} = type { i32, [4 x i8], i64 }
8 // CHECK-LL: define void @.helper_checkStruct({ i32, [4 x i8], i64 }* nocapture)
9 …ADDR:%[0-9]+]] = getelementptr inbounds { i32, [4 x i8], i64 }, { i32, [4 x i8], i64 }* %0, i{{[0-…
10 // CHECK-LL: [[FIELD_I_VAL:%[0-9]+]] = load i32, i32* [[FIELD_I_ADDR]]
11 …ADDR:%[0-9]+]] = getelementptr inbounds { i32, [4 x i8], i64 }, { i32, [4 x i8], i64 }* %0, i{{[0-…
13 // CHECK-LL: call void @checkStruct(i32 [[FIELD_I_VAL]], i64 [[FIELD_L_VAL]])
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/service/
Dmain.rs33 static SESSION_COUNT: Mutex<i32> = Mutex::new(0);
39 port: i32,
50 fn get_instance_count() -> i32 { in get_instance_count()
78 fn getClientPort(&self) -> Result<i32, Status> { in getClientPort() argument
81 fn countBinders(&self) -> Result<Vec<i32>, Status> { in countBinders() argument
87 fn pingMe(&self, binder: &SpIBinder) -> Result<i32, Status> { in pingMe() argument
89 Ok(()) => Ok(StatusCode::OK as i32), in pingMe()
109 count: i32, in nestMe() argument
133 fn getNumOpenSessions(&self) -> Result<i32, Status> { in getNumOpenSessions() argument
140 fn unlockInMsAsync(&self, _: i32) -> Result<(), Status> { in unlockInMsAsync()
[all …]
/frameworks/av/services/camera/libcameraservice/tests/
DRotateAndCropMapperTest.cpp103 EXPECT_THAT(full_region, ElementsAreArray(e.data.i32, e.count)); in TEST()
106 EXPECT_THAT(full_crop, ElementsAreArray(e.data.i32, e.count)); in TEST()
122 EXPECT_THAT(full_region, ElementsAreArray(e.data.i32, e.count)); in TEST()
125 EXPECT_THAT(full_crop, ElementsAreArray(e.data.i32, e.count)); in TEST()
128 EXPECT_THAT(face, ElementsAreArray(e.data.i32, e.count)); in TEST()
164 EXPECT_THAT(rotated_region, ElementsAreArray(e.data.i32, e.count)) in TEST()
168 EXPECT_THAT(full_crop, ElementsAreArray(e.data.i32, e.count)) in TEST()
200 EXPECT_EQUAL_WITHIN_N(full_region, e.data.i32, 1, "Round-tripped AE region isn't right"); in TEST()
203 EXPECT_EQUAL_WITHIN_N(full_crop, e.data.i32, 1, "Round-tripped crop region isn't right"); in TEST()
210 EXPECT_EQUAL_WITHIN_N(full_face, e.data.i32, 1, "App-side face rectangle isn't right"); in TEST()
[all …]
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp302 int32_t i32; in TEST() local
303 ASSERT_TRUE(item.getInt32("value", &i32)); in TEST()
304 ASSERT_EQ(6, i32); in TEST()
306 ASSERT_TRUE(item.getInt32("bar", &i32)); in TEST()
307 ASSERT_EQ(3, i32); in TEST()
367 int32_t i32; in TEST() local
368 ASSERT_TRUE(item.getInt32(std::to_string(i).c_str(), &i32)); in TEST()
369 ASSERT_EQ((int32_t)i, i32); in TEST()
384 int32_t i32; in TEST() local
386 ASSERT_TRUE(item.getInt32(std::to_string(i).c_str(), &i32)); in TEST()
[all …]
/frameworks/av/media/ndk/tests/
DNdkMediaFormat_test.cpp46 int32_t i32; in TEST() local
50 EXPECT_TRUE(AMediaFormat_getInt32(fmt1, "five", &i32)); in TEST()
52 EXPECT_EQ(i32, 5); in TEST()
58 EXPECT_FALSE(AMediaFormat_getInt32(nullptr, "whatever", &i32)); in TEST()
59 EXPECT_FALSE(AMediaFormat_getInt32(fmt1, nullptr, &i32)); in TEST()
168 int32_t i32; in TEST() local
176 EXPECT_FALSE(AMediaFormat_getInt32(fmt1, "five", &i32)); in TEST()
188 int32_t i32; in TEST() local
206 EXPECT_FALSE(AMediaFormat_getInt32(fmt1, "vanishing", &i32)); in TEST()
207 EXPECT_TRUE(AMediaFormat_getInt32(fmt2, "vanishing", &i32)); in TEST()
[all …]

12345