/frameworks/compile/slang/lit-tests/padding/ |
D | more_structs.rscript | 3 // RUN: %rs-filecheck-wrapper %s --check-prefix=CHECK-LL 7 // CHECK-LL: %struct.char_struct{{(\.[0-9]+)?}} = type { i16, [6 x i8], i64 } 8 // CHECK-LL: %struct.five_struct{{(\.[0-9]+)?}} = type { i8, [7 x i8], i64, i16, [6 x i8], i64, hal… 13 // CHECK-LL: define void @.helper_check_char_struct({ i16, [6 x i8], i64 }* nocapture) 14 // CHECK-LL: [[C_F1_ADDR:%[0-9]+]] = getelementptr inbounds { i16, [6 x i8], i64 }, { i16, [6 x i8]… 15 // CHECK-LL: [[C_F1_VAL:%[0-9]+]] = load i16, i16* [[C_F1_ADDR]] 16 // CHECK-LL: [[C_F2_ADDR:%[0-9]+]] = getelementptr inbounds { i16, [6 x i8], i64 }, { i16, [6 x i8]… 17 // CHECK-LL: [[C_F2_VAL:%[0-9]+]] = load i64, i64* [[C_F2_ADDR]] 18 // CHECK-LL: tail call void @check_char_struct(i16 [[C_F1_VAL]], i64 [[C_F2_VAL]]) 20 // CHECK-LL: define void @.helper_check_five_struct({ i8, [7 x i8], i64, i16, [6 x i8], i64, half, … [all …]
|
D | small_struct.rscript | 3 // RUN: %rs-filecheck-wrapper %s --check-prefix=CHECK-LL 5 // 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 // CHECK-LL: [[FIELD_I_ADDR:%[0-9]+]] = getelementptr inbounds { i32, [4 x i8], i64 }, { i32, [4 x … 10 // CHECK-LL: [[FIELD_I_VAL:%[0-9]+]] = load i32, i32* [[FIELD_I_ADDR]] 11 // CHECK-LL: [[FIELD_L_ADDR:%[0-9]+]] = getelementptr inbounds { i32, [4 x i8], i64 }, { i32, [4 x … 12 // CHECK-LL: [[FIELD_L_VAL:%[0-9]+]] = load i64, i64* [[FIELD_L_ADDR]] 13 // CHECK-LL: call void @checkStruct(i32 [[FIELD_I_VAL]], i64 [[FIELD_L_VAL]]) 15 // RUN: %scriptc-filecheck-wrapper --lang=Java --type=small_struct --check-prefix=CHECK-JAVA-STRUCT… 16 // CHECK-JAVA-STRUCT: public static Element createElement(RenderScript rs) { [all …]
|
D | small_struct_2.rscript | 3 // RUN: %rs-filecheck-wrapper %s --check-prefix=CHECK-LL 5 // 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 // CHECK-LL: [[FIELD_L_ADDR:%[0-9]+]] = getelementptr inbounds { i64, i32, [4 x i8] }, { i64, i32, … 10 // CHECK-LL: [[FIELD_L_VAL:%[0-9]+]] = load i64, i64* [[FIELD_L_ADDR]] 11 // CHECK-LL: [[FIELD_I_ADDR:%[0-9]+]] = getelementptr inbounds { i64, i32, [4 x i8] }, { i64, i32, … 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]]) 15 // RUN: %scriptc-filecheck-wrapper --lang=Java --type=small_struct_2 --check-prefix=CHECK-JAVA-STRU… 16 // CHECK-JAVA-STRUCT: public static Element createElement(RenderScript rs) { [all …]
|
D | bitfield.rscript | 3 // RUN: %rs-filecheck-wrapper %s --check-prefix=CHECK-LL 5 // CHECK-LL: %struct.NoBitfield{{(\.[0-9]+)?}} = type { i32, [4 x i8], i64, float, [4 x i8] } 6 // CHECK-LL: %struct.Bitfield{{(\.[0-9]+)?}} = type { i32, [4 x i8], i64, i8 } 8 // CHECK-LL: !\23rs_export_type = !{![[NODE:[0-9]+]]} 9 // CHECK-LL: ![[NODE]] = !{!"NoBitfield"} 11 // RUN: %scriptc-filecheck-wrapper --lang=Java --type=NoBitfield --check-prefix=CHECK-JAVA-STRUCT %s 12 // CHECK-JAVA-STRUCT: public static Element createElement(RenderScript rs) { 13 // CHECK-JAVA-STRUCT-NEXT: Element.Builder eb = new Element.Builder(rs); 14 // CHECK-JAVA-STRUCT-NEXT: eb.add(Element.I32(rs), "I"); 15 // CHECK-JAVA-STRUCT-NEXT: eb.add(Element.U32(rs), "#rs_padding_1"); [all …]
|
/frameworks/compile/slang/lit-tests/P_ref_count/ |
D | func_params.rscript | 3 // RUN: %rs-filecheck-wrapper %s --check-prefix=CHECK-SET 6 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}}) 7 // CHECK-SET: call void @_Z11rsSetObjectP10rs_elementS_(%struct.rs_element{{.*}}* nonnull %.rs.… 8 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}}) 10 // CHECK-SET: %[[F1:[A-Za-z][A-Za-z0-9]*]] = getelementptr inbounds %struct.Wrapper{{.*}}, %stru… 11 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}}) 12 // CHECK-SET: call void @_Z11rsSetObjectP13rs_allocationS_(%struct.rs_allocation{{.*}}* %[[F1]]… 13 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}}) 14 // CHECK-SET: %[[F2:[A-Za-z][A-Za-z0-9]*]] = getelementptr inbounds %struct.Wrapper{{.*}}, %stru… 15 // CHECK-SET-NOT: call void @_Z11rsSetObject{{.*}}({{.*}} %.rs.param.a{{[02]}}, {{.*}}) [all …]
|
D | ref_count.rscript | 13 // CHECK: call void @_Z13rsClearObjectP10rs_element(%struct.rs_element{{.*}}* nonnull %.rs.tmp{{[0-… 14 // CHECK: call void @_Z11rsSetObjectP10rs_elementS_(%struct.rs_element{{.*}}* nonnull %.rs.retval{{… 21 // CHECK: call void @_Z11rsSetObjectP10rs_elementS_(%struct.rs_element{{.*}}* %{{.*}}, {{.*}}) 22 // CHECK: call void @_Z11rsSetObjectP7rs_typeS_(%struct.rs_type{{.*}}* %{{.*}}, {{.*}}) 23 // CHECK: call void @_Z13rsClearObjectP10rs_element(%struct.rs_element{{.*}}* {{.*}}) 24 // CHECK: call void @_Z13rsClearObjectP7rs_type(%struct.rs_type{{.*}}* {{.*}})
|
/frameworks/compile/libbcc/tests/libbcc/ |
D | getelementptr.ll | 26 ; CHECK: define void @root.expand(%RsExpandKernelDriverInfoPfx* %p, i32 %x1, i32 %x2, i32 %outstep) 27 ; CHECK: Begin: 28 ; CHECK: %instep_addr.gep = getelementptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDri… 29 ; CHECK: load i32, i32* %instep_addr.gep 30 ; CHECK: %input_buf.gep = getelementptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDrive… 31 ; CHECK: load i8*, i8** %input_buf.gep 32 ; CHECK: %out_buf.gep = getelementptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverI… 33 ; CHECK: load i8*, i8** %out_buf.gep 34 ; CHECK: %Y.gep = getelementptr inbounds %RsExpandKernelDriverInfoPfx, %RsExpandKernelDriverInfoPfx… 35 ; CHECK: load i32, i32* %Y.gep [all …]
|
D | debug_info_static_const_fp.ll | 29 ; CHECK: DW_TAG_variable 30 ; CHECK-NOT: {{DW_TAG|NULL}} 31 ; CHECK: DW_AT_name {{.*}} "hVal" 32 ; CHECK-NOT: {{DW_TAG|NULL}} 33 ; CHECK: DW_AT_const_value {{.*}} (16502) 35 ; CHECK: DW_TAG_variable 36 ; CHECK-NOT: {{DW_TAG|NULL}} 37 ; CHECK: DW_AT_name {{.*}} "fVal" 38 ; CHECK-NOT: {{DW_TAG|NULL}} 39 ; CHECK: DW_AT_const_value {{.*}} (3238681178) [all …]
|
D | test_reduce_general_metadata.ll | 6 ; CHECK: exportReduceCount: 8 7 ; CHECK: exportReduceList[0]: addint - 0x00000001 - 1 - 4 8 ; CHECK: accumulator(aiAccum) 9 ; CHECK: exportReduceList[1]: mpyint - 0x00000001 - 1 - 4 10 ; CHECK: initializer(mpyInit) 11 ; CHECK: accumulator(mpyAccum) 12 ; CHECK: exportReduceList[2]: dp - 0x00000001 - 2 - 4 13 ; CHECK: accumulator(dpAccum) 14 ; CHECK: combiner(dpSum) 15 ; CHECK: exportReduceList[3]: findMinAndMax - 0x00000009 - 1 - 16 [all …]
|
/frameworks/compile/slang/lit-tests/P_array_init/ |
D | array_init.rscript | 3 // 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 5 // CHECK: @fa = local_unnamed_addr global [4 x float] [float 1.000000e+00, float 0x4023FFF2E0000000… 6 // CHECK: @da = local_unnamed_addr global [2 x double] [double 7.000000e+00, double 8.888880e+00], … 7 // CHECK: @ca = local_unnamed_addr global [4 x i8] c"a\07bc", align 1 8 // CHECK: @sa = local_unnamed_addr global [4 x i16] [i16 1, i16 1, i16 2, i16 3], align 2 9 // CHECK: @ia = local_unnamed_addr global [4 x i32] [i32 5, i32 8, i32 0, i32 0], align 4 10 // CHECK: @la = local_unnamed_addr global [2 x i64] [i64 13, i64 21], align 8 11 // CHECK: @lla = local_unnamed_addr global [4 x i64] [i64 34, i64 0, i64 0, i64 0], align 8 12 // CHECK: @ba = local_unnamed_addr global [3 x i8] c"\01\00\00", align 1
|
/frameworks/base/media/jni/ |
D | android_media_Streams.cpp | 155 CHECK(clazz.get() != NULL); in makeIntegerObject() 159 CHECK(integerConstructID != NULL); in makeIntegerObject() 166 CHECK(clazz.get() != NULL); in makeLongObject() 169 CHECK(longConstructID != NULL); in makeLongObject() 176 CHECK(clazz.get() != NULL); in makeFloatObject() 180 CHECK(floatConstructID != NULL); in makeFloatObject() 191 CHECK(clazz.get() != NULL); in makeByteBufferObject() 196 CHECK(byteBufWrapID != NULL); in makeByteBufferObject() 261 CHECK(msg->findInt32(key, &val)); in ConvertMessageToMap() 270 CHECK(msg->findInt64(key, &val)); in ConvertMessageToMap() [all …]
|
D | android_media_AudioPresentation.h | 53 CHECK(lclazz != NULL); in init() 55 CHECK(clazz != NULL); in init() 58 CHECK(constructID != NULL); in init() 62 CHECK(llistClazz != NULL); in init() 64 CHECK(listClazz != NULL); in init() 66 CHECK(listConstructId != NULL); in init() 68 CHECK(listAddId != NULL); in init() 72 CHECK(lhashMapClazz != NULL); in init() 74 CHECK(hashMapClazz != NULL); in init() 76 CHECK(hashMapConstructID != NULL); in init() [all …]
|
D | android_media_MediaCodec.cpp | 233 CHECK(clazz != NULL); in JMediaCodec() 255 CHECK((mCodec != NULL) != (mInitStatus != OK)); in JMediaCodec() 369 CHECK(format->findString("mime", &mime)); in configure() 735 CHECK(rectClazz.get() != NULL); in getImage() 746 CHECK(imageClazz.get() != NULL); in getImage() 1023 CHECK(codecInfoClazz.get() != NULL); in getCodecInfo() 1136 CHECK(clazz.get() != NULL); in createCodecException() 1139 CHECK(ctor != NULL); in createCodecException() 1184 CHECK(msg->findInt32("mode", (int*)&mode)); in AMessageToCryptoInfo() 1185 CHECK(msg->findSize("numSubSamples", &numSubSamples)); in AMessageToCryptoInfo() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 212 CHECK(mediaClock != NULL); in NuPlayer() 353 CHECK(response->findInt32("err", &err)); in getBufferingSettings() 367 CHECK(response->findInt32("err", &err)); in setBufferingSettings() 427 CHECK(response->findInt32("err", &err)); in setPlaybackSettings() 437 CHECK(response->findInt32("err", &err)); in getPlaybackSettings() 451 CHECK(response->findInt32("err", &err)); in setSyncSettings() 462 CHECK(response->findInt32("err", &err)); in getSyncSettings() 551 CHECK(format->findInt32("auto", &isAuto)); in writeTrackInfo() 552 CHECK(format->findInt32("default", &isDefault)); in writeTrackInfo() 553 CHECK(format->findInt32("forced", &isForced)); in writeTrackInfo() [all …]
|
D | RTSPSource.cpp | 114 CHECK(mHandler == NULL); in prepareAsync() 115 CHECK(mSDPLoader == NULL); in prepareAsync() 313 CHECK(response->findInt32("err", &err)); in seekTo() 457 CHECK(msg->findInt32("generation", &generation)); in onSignalEOS() 487 CHECK(msg->senderAwaitsResponse(&replyID)); in onMessageReceived() 494 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived() 495 CHECK(msg->senderAwaitsResponse(&mSeekReplyID)); in onMessageReceived() 505 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived() 506 CHECK(msg->findInt32("mode", &mode)); in onMessageReceived() 522 CHECK(msg->findInt32("what", &what)); in onMessageReceived() [all …]
|
D | NuPlayerRenderer.cpp | 163 CHECK(mediaClock != NULL); in Renderer() 216 CHECK(response->findInt32("err", &err)); in setPlaybackSettings() 254 CHECK(response->findInt32("err", &err)); in getPlaybackSettings() 288 CHECK(response->findInt32("err", &err)); in setSyncSettings() 306 CHECK(response->findInt32("err", &err)); in getSyncSettings() 474 CHECK(response->findInt32("offload", &offload)); in openAudioSink() 530 CHECK(msg->findMessage("format", &format)); in onMessageReceived() 533 CHECK(msg->findInt32("offload-only", &offloadOnly)); in onMessageReceived() 536 CHECK(msg->findInt32("has-video", &hasVideo)); in onMessageReceived() 539 CHECK(msg->findInt32("flags", (int32_t *)&flags)); in onMessageReceived() [all …]
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ecm_generator.cpp | 48 CHECK(pptr); in LoadNext32() 49 CHECK(*pptr); in LoadNext32() 59 CHECK(asset); in DecodeECM() 60 CHECK(content_key); in DecodeECM() 61 CHECK(default_fields); in DecodeECM() 77 CHECK(asset); in DecodeECMClearFields() 78 CHECK(default_fields); in DecodeECMClearFields()
|
/frameworks/libs/binary_translation/tiny_loader/ |
D | tiny_symbol_table.cc | 104 CHECK(index < strtab_size_); in GetString() 114 CHECK(is_gnu_hash_); in FindGnuSymbol() 115 CHECK(gnu_bloom_filter_ != nullptr); in FindGnuSymbol() 116 CHECK(gnu_bucket_ != nullptr); in FindGnuSymbol() 117 CHECK(gnu_chain_ != nullptr); in FindGnuSymbol() 151 CHECK(!is_gnu_hash_); in FindSysvSymbol() 152 CHECK(sysv_bucket_ != nullptr); in FindSysvSymbol() 153 CHECK(sysv_chain_ != nullptr); in FindSysvSymbol() 168 CHECK(is_gnu_hash_); in ForEachGnuSymbol() 169 CHECK(gnu_bucket_ != nullptr); in ForEachGnuSymbol() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | nativewindow.cpp | 31 #define CHECK assert macro 32 #define CHECK_EQ(a,b) CHECK((a)==(b)) 60 CHECK(control != NULL); in getNativeWindow_() 61 CHECK(control->isValid()); in getNativeWindow_() 69 CHECK(surface != NULL); in getNativeWindow_()
|
/frameworks/av/media/mtp/ |
D | PosixAsyncIO.cpp | 47 CHECK(aiocbp->queued); in work_func() 69 CHECK(!aiocbp->queued); in aio_add() 87 CHECK(gWorkQueue.size() == 0); in aiocb() 88 CHECK(gSuspended); in aiocb() 97 CHECK(!this->queued); in ~aiocb() 100 CHECK(!gSuspended); in ~aiocb() 102 CHECK(gWorkQueue.size() == 0); in ~aiocb()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecSource.cpp | 116 CHECK(meta->findCString(kKeyMIMEType, &mime)); in Puller() 235 CHECK(msg->findObject("meta", &obj)); in onMessageReceived() 252 CHECK(msg->senderAwaitsResponse(&replyID)); in onMessageReceived() 260 CHECK(msg->senderAwaitsResponse(&replyID)); in onMessageReceived() 262 CHECK(msg->findInt64("stop-time-us", &stopTimeUs)); in onMessageReceived() 279 CHECK(msg->senderAwaitsResponse(&replyID)); in onMessageReceived() 404 CHECK(mFlags & FLAG_USE_SURFACE_INPUT); in getGraphicBufferProducer() 476 CHECK(mLooper != NULL); in MediaCodecSource() 514 CHECK(mOutputFormat->findString("mime", &outputMIME)); in initEncoder() 574 CHECK(mIsVideo); in initEncoder() [all …]
|
D | MPEG2TSWriter.cpp | 104 CHECK(meta->findCString(kKeyMIMEType, &mime)); in SourceInfo() 151 CHECK(meta->findCString(kKeyMIMEType, &mime)); in extractCodecSpecificData() 203 CHECK(size >= 2); in extractCodecSpecificData() 209 CHECK(size >= length); in extractCodecSpecificData() 220 CHECK(size >= 1); in extractCodecSpecificData() 226 CHECK(size >= 2); in extractCodecSpecificData() 232 CHECK(size >= length); in extractCodecSpecificData() 267 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); in appendAVCFrame() 291 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); in appendAACFrames() 352 CHECK(msg->findObject("meta", &obj)); in onMessageReceived() [all …]
|
/frameworks/av/media/libstagefright/http/ |
D | HTTPHelper.cpp | 43 CHECK(clazz.get() != NULL); in CreateHTTPServiceInCurrentJavaContext() 46 CHECK(constructID != NULL); in CreateHTTPServiceInCurrentJavaContext() 55 CHECK(asBinderID != NULL); in CreateHTTPServiceInCurrentJavaContext() 59 CHECK(httpServiceBinderObj.get() != NULL); in CreateHTTPServiceInCurrentJavaContext()
|
/frameworks/compile/slang/lit-tests/opt/ |
D | locals_opt_0.rscript | 3 // CHECK: define internal i32 @main( 4 // CHECK: %f = alloca float, 5 // CHECK: %pf = alloca float*, 6 // CHECK: %ppn = alloca i32**,
|
D | locals_opt_3.rscript | 3 // CHECK-NOT: define internal i32 @main( 4 // CHECK-NOT: %f = alloca float, 5 // CHECK-NOT: %pf = alloca float*, 6 // CHECK-NOT: %ppn = alloca i32**,
|