Home
last modified time | relevance | path

Searched refs:CHECK (Results 1 – 25 of 197) sorted by relevance

12345678

/frameworks/compile/libbcc/tests/libbcc/
Dgetelementptr.ll26 ; 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 …]
Dtest_reduce_general_metadata.ll6 ; 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/av/cmds/stagefright/
Dsf2.cpp71 CHECK(!mDecodeAudio || mSurface == NULL); in Controller()
128 CHECK(meta->findCString(kKeyMIMEType, &mime)); in onMessageReceived()
179 CHECK(mSeekState == SEEK_NONE in onMessageReceived()
211 CHECK(msg->findInt32("what", &what)); in onMessageReceived()
289 CHECK(mCSD.isEmpty()); in makeFormat()
292 CHECK(meta->findCString(kKeyMIMEType, &mime)); in makeFormat()
299 CHECK(meta->findInt32(kKeyWidth, &width)); in makeFormat()
300 CHECK(meta->findInt32(kKeyHeight, &height)); in makeFormat()
305 CHECK(!strncasecmp("audio/", mime, 6)); in makeFormat()
308 CHECK(meta->findInt32(kKeyChannelCount, &numChannels)); in makeFormat()
[all …]
Dmediafilter.cpp198 CHECK(srcFormat->findInt32("stride", &srcStride) in tryCopyDecodedBuffer()
203 CHECK(destFormat->findInt32("stride", &destStride) in tryCopyDecodedBuffer()
209 CHECK(srcWidth <= destStride && srcHeight <= destSliceHeight); in tryCopyDecodedBuffer()
220 CHECK(srcBuffer->meta()->findInt64("timeUs", &timeUs)); in tryCopyDecodedBuffer()
244 CHECK(err == OK); in tryCopyDecodedBuffer()
247 CHECK(err == OK); in tryCopyDecodedBuffer()
303 CHECK(err == OK); in tryDrainOutputBuffer()
334 CHECK(err == OK); in decode()
337 CHECK(format->findString("mime", &mime)); in decode()
346 CHECK(err == OK); in decode()
[all …]
Dstagefright.cpp133 CHECK(size >= 7); in displayAVCProfileLevelIfPossible()
134 CHECK(ptr[0] == 1); // configurationVersion == 1 in displayAVCProfileLevelIfPossible()
178 CHECK(meta->findCString(kKeyMIMEType, &mime)); in playSource()
189 CHECK(!gPreferSoftwareCodec); in playSource()
226 CHECK(meta->findInt64(kKeyDuration, &durationUs)); in playSource()
238 CHECK(buffer == NULL); in playSource()
248 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timestampUs)); in playSource()
326 CHECK(buffer == NULL); in playSource()
433 CHECK(mSource->getFormat()->findCString(kKeyMIMEType, &mime)); in DetectSyncSource()
439 CHECK(!"sync frame detection not implemented yet for MPEG4"); in DetectSyncSource()
[all …]
/frameworks/av/media/libstagefright/
DMediaCodec.cpp535 CHECK(found); in createInputSurface()
757 CHECK(response->findSize("index", index)); in dequeueInputBuffer()
778 CHECK(response->findSize("index", index)); in dequeueOutputBuffer()
779 CHECK(response->findSize("offset", offset)); in dequeueOutputBuffer()
780 CHECK(response->findSize("size", size)); in dequeueOutputBuffer()
781 CHECK(response->findInt64("timeUs", presentationTimeUs)); in dequeueOutputBuffer()
782 CHECK(response->findInt32("flags", (int32_t *)flags)); in dequeueOutputBuffer()
830 CHECK(response->findMessage("format", format)); in getOutputFormat()
844 CHECK(response->findMessage("format", format)); in getInputFormat()
858 CHECK(response->findString("name", name)); in getName()
[all …]
DMediaCodecSource.cpp110 CHECK(meta->findCString(kKeyMIMEType, &mime)); in Puller()
232 CHECK(msg->findObject("meta", &obj)); in onMessageReceived()
249 CHECK(msg->senderAwaitsResponse(&replyID)); in onMessageReceived()
262 CHECK(msg->senderAwaitsResponse(&replyID)); in onMessageReceived()
367 CHECK(mFlags & FLAG_USE_SURFACE_INPUT); in getGraphicBufferProducer()
413 CHECK(mLooper != NULL); in MediaCodecSource()
416 CHECK(mOutputFormat->findString("mime", &mime)); in MediaCodecSource()
457 CHECK(mOutputFormat->findString("mime", &outputMIME)); in initEncoder()
502 CHECK(mIsVideo); in initEncoder()
617 CHECK(mFlags & FLAG_USE_SURFACE_INPUT); in suspend()
[all …]
DMPEG2TSWriter.cpp106 CHECK(meta->findCString(kKeyMIMEType, &mime)); in SourceInfo()
152 CHECK(meta->findCString(kKeyMIMEType, &mime)); in extractCodecSpecificData()
204 CHECK(size >= 2); in extractCodecSpecificData()
210 CHECK(size >= length); in extractCodecSpecificData()
221 CHECK(size >= 1); in extractCodecSpecificData()
227 CHECK(size >= 2); in extractCodecSpecificData()
233 CHECK(size >= length); in extractCodecSpecificData()
265 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in postAVCFrame()
296 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); in appendAACFrames()
454 CHECK(mLastAccessUnit->meta()->findInt64("timeUs", &timeUs)); in lastAccessUnitTimeUs()
[all …]
DDRMExtractor.cpp77 CHECK(mDrmManagerClient); in DRMSource()
83 CHECK(success); in DRMSource()
89 CHECK(getFormat()->findData(kKeyAVCC, &type, &data, &size)); in DRMSource()
93 CHECK(size >= 7); in DRMSource()
153 CHECK(pDecryptedDrmBuffer == &decryptedDrmBuffer); in read()
156 CHECK(getFormat()->findCString(kKeyMIMEType, &mime)); in read()
165 CHECK(srcOffset + mNALLengthSize <= len); in read()
183 CHECK(!"Should not be here."); in read()
265 CHECK(getTrackMetaData(index, 0)->findInt32(kKeyTrackID, &trackID)); in getTrack()
269 CHECK(ipmpBox.length > 0); in getTrack()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayer.cpp355 CHECK(response->findInt32("err", &err)); in setPlaybackSettings()
365 CHECK(response->findInt32("err", &err)); in getPlaybackSettings()
379 CHECK(response->findInt32("err", &err)); in setSyncSettings()
390 CHECK(response->findInt32("err", &err)); in getSyncSettings()
471 CHECK(format->findInt32("auto", &isAuto)); in writeTrackInfo()
472 CHECK(format->findInt32("default", &isDefault)); in writeTrackInfo()
473 CHECK(format->findInt32("forced", &isForced)); in writeTrackInfo()
487 CHECK(mSource == NULL); in onMessageReceived()
491 CHECK(msg->findObject("source", &obj)); in onMessageReceived()
499 CHECK(mDriver != NULL); in onMessageReceived()
[all …]
DRTSPSource.cpp99 CHECK(mHandler == NULL); in prepareAsync()
100 CHECK(mSDPLoader == NULL); in prepareAsync()
295 CHECK(response->findInt32("err", &err)); in seekTo()
381 CHECK(msg->senderAwaitsResponse(&replyID)); in onMessageReceived()
388 CHECK(msg->findInt32("generation", &generation)); in onMessageReceived()
389 CHECK(msg->senderAwaitsResponse(&mSeekReplyID)); in onMessageReceived()
398 CHECK(msg->findInt64("timeUs", &seekTimeUs)); in onMessageReceived()
410 CHECK(msg->findInt32("what", &what)); in onMessageReceived()
467 CHECK(msg->findInt64("time", &timeUs)); in onMessageReceived()
478 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived()
[all …]
DNuPlayerRenderer.cpp174 CHECK(response->findInt32("err", &err)); in setPlaybackSettings()
208 CHECK(response->findInt32("err", &err)); in getPlaybackSettings()
242 CHECK(response->findInt32("err", &err)); in setSyncSettings()
260 CHECK(response->findInt32("err", &err)); in getSyncSettings()
402 CHECK(response->findInt32("offload", &offload)); in openAudioSink()
420 CHECK(msg->findMessage("format", &format)); in onMessageReceived()
423 CHECK(msg->findInt32("offload-only", &offloadOnly)); in onMessageReceived()
426 CHECK(msg->findInt32("has-video", &hasVideo)); in onMessageReceived()
429 CHECK(msg->findInt32("flags", (int32_t *)&flags)); in onMessageReceived()
438 CHECK(msg->senderAwaitsResponse(&replyID)); in onMessageReceived()
[all …]
DNuPlayerDecoder.cpp102 CHECK(response->findInt32("err", &err)); in setVideoSurface()
114 CHECK(msg->findInt32("callbackID", &cbID)); in onMessageReceived()
127 CHECK(msg->findInt32("index", &index)); in onMessageReceived()
141 CHECK(msg->findInt32("index", &index)); in onMessageReceived()
142 CHECK(msg->findSize("offset", &offset)); in onMessageReceived()
143 CHECK(msg->findSize("size", &size)); in onMessageReceived()
144 CHECK(msg->findInt64("timeUs", &timeUs)); in onMessageReceived()
145 CHECK(msg->findInt32("flags", &flags)); in onMessageReceived()
154 CHECK(msg->findMessage("format", &format)); in onMessageReceived()
163 CHECK(msg->findInt32("err", &err)); in onMessageReceived()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp121 CHECK(clazz != NULL); in JMediaCodec()
141 CHECK((mCodec != NULL) != (mInitStatus != OK)); in JMediaCodec()
147 CHECK(mByteBufferClass != NULL); in cacheJavaObjects()
151 CHECK(byteOrderClass.get() != NULL); in cacheJavaObjects()
155 CHECK(nativeOrderID != NULL); in cacheJavaObjects()
160 CHECK(mNativeByteOrderObj != NULL); in cacheJavaObjects()
168 CHECK(mByteBufferOrderMethodID != NULL); in cacheJavaObjects()
172 CHECK(mByteBufferAsReadOnlyBufferMethodID != NULL); in cacheJavaObjects()
176 CHECK(mByteBufferPositionMethodID != NULL); in cacheJavaObjects()
180 CHECK(mByteBufferLimitMethodID != NULL); in cacheJavaObjects()
[all …]
/frameworks/wilhelm/tests/sandbox/
Dnativewindow.cpp31 #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/libstagefright/foundation/
DMediaBuffer.cpp119 CHECK(prevCount > 0); in release()
123 CHECK(mObserver != NULL); in claim()
134 CHECK(mGraphicBuffer == NULL); in data()
139 CHECK(mGraphicBuffer == NULL); in size()
155 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize)); in set_range()
175 CHECK(mObserver == NULL); in ~MediaBuffer()
189 CHECK(observer == NULL || mObserver == NULL); in setObserver()
206 CHECK(mGraphicBuffer == NULL); in clone()
DAString.cpp108 CHECK(&from != this); in setTo()
183 CHECK(mData != NULL); in append()
202 CHECK((result > 0) && ((size_t) result) < sizeof(s)); in append()
209 CHECK((result > 0) && ((size_t) result) < sizeof(s)); in append()
216 CHECK((result > 0) && ((size_t) result) < sizeof(s)); in append()
223 CHECK((result > 0) && ((size_t) result) < sizeof(s)); in append()
230 CHECK((result > 0) && ((size_t) result) < sizeof(s)); in append()
237 CHECK((result > 0) && ((size_t) result) < sizeof(s)); in append()
244 CHECK((result > 0) && ((size_t) result) < sizeof(s)); in append()
251 CHECK((result > 0) && ((size_t) result) < sizeof(s)); in append()
[all …]
/frameworks/av/media/libstagefright/wifi-display/source/
DConverter.cpp66 CHECK(mOutputFormat->findString("mime", &mime)); in Converter()
91 CHECK(mEncoder == NULL); in ~Converter()
110 CHECK(mFlags & FLAG_USE_SURFACE_INPUT); in getGraphicBufferProducer()
144 CHECK(mOutputFormat->findString("mime", &outputMIME)); in initEncoder()
237 CHECK(mIsVideo); in initEncoder()
297 CHECK(msg->findInt32("what", &what)); in onMessageReceived()
305 CHECK(msg->findBuffer("accessUnit", &accessUnit)); in onMessageReceived()
322 CHECK(msg->findBuffer("accessUnit", &accessUnit)); in onMessageReceived()
425 CHECK(mOutputFormat->findString("mime", &mime)); in onMessageReceived()
444 CHECK(msg->findInt32("bufferIndex", (int32_t*)&bufferIndex)); in onMessageReceived()
[all …]
DPlaybackSession.cpp153 CHECK(!mStarted); in ~Track()
160 CHECK(format->findString("mime", &mime)); in IsAudioFormat()
195 CHECK(!mStarted); in start()
273 CHECK(accessUnit != NULL); in dequeueAccessUnit()
307 CHECK(outputBuffer->meta()->findInt64("timeUs", timeUs)); in hasOutputBuffer()
319 CHECK(!mQueuedOutputBuffers.empty()); in dequeueOutputBuffer()
491 CHECK(msg->findInt32("what", &what)); in onMessageReceived()
494 CHECK(msg->findSize("trackIndex", &trackIndex)); in onMessageReceived()
498 CHECK(msg->findBuffer("accessUnit", &accessUnit)); in onMessageReceived()
531 CHECK(msg->findInt32("err", &err)); in onMessageReceived()
[all …]
/frameworks/av/media/libstagefright/codecs/avc/enc/
DSoftAVCEncoder.cpp136 CHECK(encoder != NULL); in DpbAllocWrapper()
143 CHECK(encoder != NULL); in BindFrameWrapper()
149 CHECK(encoder != NULL); in UnbindFrameWrapper()
191 CHECK(outQueue.empty()); in ~SoftAVCEncoder()
192 CHECK(inQueue.empty()); in ~SoftAVCEncoder()
196 CHECK(mHandle != NULL); in initEncParams()
206 CHECK(mEncParams != NULL); in initEncParams()
253 CHECK(mInputFrameData != NULL); in initEncParams()
270 CHECK(mSliceGroup == NULL); in initEncParams()
276 CHECK(mSliceGroup != NULL); in initEncParams()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DMyTransmitter.h131 CHECK(buffer != NULL); in MyTransmitter()
184 CHECK(meta->findInt32(kKeyWidth, &width)); in issueAnnounce()
185 CHECK(meta->findInt32(kKeyHeight, &height)); in issueAnnounce()
277 CHECK(!strncmp(value.c_str(), "Digest", 6)); in authenticate()
350 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
362 CHECK(msg->findInt32("server-ip", (int32_t *)&mServerIP)); in onMessageReceived()
371 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
377 CHECK(msg->findObject("response", &obj)); in onMessageReceived()
382 CHECK(response != NULL); in onMessageReceived()
459 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
[all …]
DMyHandler.h156 CHECK(ARTSPConnection::ParseURL( in mNotify()
206 CHECK(MakeURL( in getControlURL()
455 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
493 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
500 CHECK(msg->findObject("response", &obj)); in onMessageReceived()
574 CHECK(MakeURL( in onMessageReceived()
609 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
616 CHECK(msg->findObject("description", &obj)); in onMessageReceived()
654 CHECK(msg->findSize("index", &index)); in onMessageReceived()
663 CHECK(msg->findInt32("result", &result)); in onMessageReceived()
[all …]
/frameworks/av/media/libmedia/
DMediaProfiles.cpp173 CHECK(!strcmp("codec", atts[0]) && in createVideoCodec()
181 CHECK(codec != -1); in createVideoCodec()
189 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createVideoCodec()
197 CHECK(!strcmp("codec", atts[0]) && in createAudioCodec()
203 CHECK(codec != -1); in createAudioCodec()
211 CHECK((nCamcorderProfiles = profiles->mCamcorderProfiles.size()) >= 1); in createAudioCodec()
218 CHECK(!strcmp("name", atts[0]) && in createAudioDecoderCap()
223 CHECK(codec != -1); in createAudioDecoderCap()
234 CHECK(!strcmp("name", atts[0]) && in createVideoDecoderCap()
239 CHECK(codec != -1); in createVideoDecoderCap()
[all …]
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp59 CHECK(data == NULL); in sendCommand()
100 CHECK(portIndex < mPorts.size()); in isSetParameterAllowed()
115 CHECK(isSetParameterAllowed(index, params)); in setParameter()
226 CHECK(mState == OMX_StateLoaded || port->mDef.bEnabled == OMX_FALSE); in useBuffer()
263 CHECK((*header)->pPlatformPrivate == NULL); in allocateBuffer()
279 CHECK((mState == OMX_StateIdle && mTargetState == OMX_StateLoaded) in freeBuffer()
288 CHECK(!buffer->mOwnedByUs); in freeBuffer()
292 CHECK(header->pPlatformPrivate == header->pBuffer); in freeBuffer()
311 CHECK(found); in freeBuffer()
350 CHECK(msg->findInt32("cmd", &cmd)); in onMessageReceived()
[all …]
/frameworks/av/media/libstagefright/httplive/
DPlaylistFetcher.cpp185 CHECK(mPlaylist != NULL); in getSegmentStartTimeUs()
198 CHECK(mPlaylist->itemAt( in getSegmentStartTimeUs()
202 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs)); in getSegmentStartTimeUs()
211 CHECK(mPlaylist != NULL); in getSegmentDurationUs()
222 CHECK(mPlaylist->itemAt( in getSegmentDurationUs()
226 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs)); in getSegmentDurationUs()
253 CHECK(mPlaylist->itemAt(n - 1, NULL /* uri */, &itemMeta)); in delayUsToRefreshPlaylist()
256 CHECK(itemMeta->findInt64("durationUs", &itemDurationUs)); in delayUsToRefreshPlaylist()
301 CHECK(mPlaylist->itemAt(i, &uri, &itemMeta)); in decryptBuffer()
411 CHECK(buffer->meta()->findString("cipher-method", &method)); in checkDecryptPadding()
[all …]

12345678