Home
last modified time | relevance | path

Searched refs:assert (Results 1 – 25 of 268) sorted by relevance

1234567891011

/frameworks/compile/mclinker/include/mcld/LD/
DELFFileFormat.h186 assert(NULL != f_pNULLSection); in getNULLSection()
191 assert(NULL != f_pNULLSection); in getNULLSection()
196 assert(NULL != f_pGOT); in getGOT()
201 assert(NULL != f_pGOT); in getGOT()
206 assert(NULL != f_pPLT); in getPLT()
211 assert(NULL != f_pPLT); in getPLT()
216 assert(NULL != f_pRelDyn); in getRelDyn()
221 assert(NULL != f_pRelDyn); in getRelDyn()
226 assert(NULL != f_pRelPlt); in getRelPlt()
231 assert(NULL != f_pRelPlt); in getRelPlt()
[all …]
DLDSymbol.h60 assert(NULL != m_pResolveInfo); in name()
65 assert(NULL != m_pResolveInfo); in nameSize()
70 assert(NULL != m_pResolveInfo); in str()
75 assert(NULL != m_pResolveInfo); in isDyn()
80 assert(NULL != m_pResolveInfo); in type()
84 assert(NULL != m_pResolveInfo); in desc()
88 assert(NULL != m_pResolveInfo); in binding()
93 assert(NULL != m_pResolveInfo); in other()
98 assert(NULL != m_pResolveInfo); in visibility()
124 assert(NULL != m_pResolveInfo); in setSize()
DLDFileFormat.h63 assert(NULL != f_pTextSection); in getText()
68 assert(NULL != f_pTextSection); in getText()
73 assert(NULL != f_pDataSection); in getData()
78 assert(NULL != f_pDataSection); in getData()
83 assert(NULL != f_pBSSSection); in getBSS()
88 assert(NULL != f_pBSSSection); in getBSS()
93 assert(NULL != f_pReadOnlySection); in getReadOnly()
98 assert(NULL != f_pReadOnlySection); in getReadOnly()
DDiagnostic.h35 assert(pIdx < getNumArgs() && "Argument index is out of range!"); in getArgKind()
40 assert(getArgKind(pIdx) == DiagnosticEngine::ak_std_string && in getArgStdStr()
46 assert(getArgKind(pIdx) == DiagnosticEngine::ak_c_string && in getArgCStr()
52 assert(getArgKind(pIdx) == DiagnosticEngine::ak_sint && in getArgSInt()
58 assert(getArgKind(pIdx) == DiagnosticEngine::ak_uint && in getArgUInt()
64 assert(getArgKind(pIdx) == DiagnosticEngine::ak_ulonglong && in getArgULongLong()
70 assert(getArgKind(pIdx) == DiagnosticEngine::ak_bool && in getArgBool()
76 assert(getArgKind(pIdx) != DiagnosticEngine::ak_std_string && in getRawVals()
/frameworks/wilhelm/tests/sandbox/
Dobject.c32 assert(SL_RESULT_SUCCESS == result); in main()
34 assert(SL_RESULT_SUCCESS == result); in main()
37 assert(SL_RESULT_SUCCESS == result); in main()
54 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
63 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
64 assert(NULL == interfaceID); in main()
67 assert(SL_RESULT_SUCCESS == result); in main()
71 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
75 assert(SL_RESULT_SUCCESS == result); in main()
79 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
[all …]
Ddim.c41 assert(SL_RESULT_SUCCESS == result); in main()
44 assert(SL_RESULT_SUCCESS == result); in main()
46 assert(SL_RESULT_SUCCESS == result); in main()
51 assert(SL_RESULT_SUCCESS == result); in main()
57 assert(SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
58 assert(NULL == outputMixDIM); in main()
62 assert(SL_RESULT_SUCCESS == result); in main()
67 assert(SL_RESULT_SUCCESS == result); in main()
68 assert(NULL != outputMixDIM); in main()
72 assert(SL_RESULT_SUCCESS == result); in main()
[all …]
Doutputmix.c32 assert(SL_RESULT_SUCCESS == result); in main()
36 assert(SL_RESULT_SUCCESS == result); in main()
40 assert(SL_RESULT_SUCCESS == result); in main()
45 assert(SL_RESULT_SUCCESS == result); in main()
52 assert(SL_RESULT_SUCCESS == result); in main()
58 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
62 assert(SL_RESULT_SUCCESS == result); in main()
67 assert(SL_RESULT_SUCCESS == result); in main()
68 assert(outputMixObject2 == outputMixObject); in main()
73 assert(SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
[all …]
Dsrcsink.c31 assert(SL_RESULT_SUCCESS == result); in main()
34 assert(SL_RESULT_SUCCESS == result); in main()
36 assert(SL_RESULT_SUCCESS == result); in main()
68 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
69 assert(NULL == playerObject); in main()
75 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
76 assert(NULL == playerObject); in main()
81 assert(SL_RESULT_SUCCESS == result); in main()
87 assert(SL_RESULT_PRECONDITIONS_VIOLATED == result); in main()
88 assert(NULL == playerObject); in main()
[all …]
Dengine.c30 assert(SL_RESULT_SUCCESS == result); in main()
32 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
36 assert(engine_ids != NULL); in main()
38 assert(engine_req != NULL); in main()
47 assert(SL_RESULT_SUCCESS == result); in main()
53 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
56 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
64 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
65 assert(NULL == engineObject); in main()
67 assert(SL_RESULT_PARAMETER_INVALID == result); in main()
[all …]
Dxaplay.c78 assert(NULL == pContext); in streamEventChangeCallback()
94 assert(pContext == NULL); in prefetchStatusCallback()
98 assert(XA_RESULT_SUCCESS == result); in prefetchStatusCallback()
101 assert(XA_RESULT_SUCCESS == result); in prefetchStatusCallback()
120 assert(ok == 0); in prefetchStatusCallback()
123 assert(ok == 0); in prefetchStatusCallback()
125 assert(ok == 0); in prefetchStatusCallback()
132 assert(NULL == pContext); in playEventCallback()
137 assert(XA_RESULT_SUCCESS == result); in playEventCallback()
205 assert(packetsThisBuffer > 0 || itemSize > 0); in bufferQueueCallback()
[all …]
Durimime.c42 assert(SL_RESULT_SUCCESS == result); in main()
45 assert(SL_RESULT_SUCCESS == result); in main()
47 assert(SL_RESULT_SUCCESS == result); in main()
52 assert(SL_RESULT_SUCCESS == result); in main()
54 assert(SL_RESULT_SUCCESS == result); in main()
85 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
86 assert(NULL == playerObject); in main()
91 assert(SL_RESULT_FEATURE_UNSUPPORTED == result); in main()
92 assert(NULL == playerObject); in main()
98 assert(SL_RESULT_SUCCESS == result); in main()
[all …]
Dreverb.c193 assert(context == NULL); in prefetch_callback()
196 assert(SL_RESULT_SUCCESS == result); in prefetch_callback()
199 assert(SL_RESULT_SUCCESS == result); in prefetch_callback()
212 assert(ok == 0); in prefetch_callback()
215 assert(ok == 0); in prefetch_callback()
217 assert(ok == 0); in prefetch_callback()
312 assert(SL_RESULT_SUCCESS == result); in main()
314 assert(SL_RESULT_SUCCESS == result); in main()
317 assert(SL_RESULT_SUCCESS == result); in main()
333 assert(SL_RESULT_SUCCESS == result); in main()
[all …]
Dmonkey.c56 assert(NULL != p->mPlay); in actionPause()
58 assert(SL_RESULT_SUCCESS == result); in actionPause()
64 assert(NULL != p->mPlay); in actionPlay()
66 assert(SL_RESULT_SUCCESS == result); in actionPlay()
72 assert(NULL != p->mPlay); in actionStop()
74 assert(SL_RESULT_SUCCESS == result); in actionStop()
80 assert(NULL != p->mSeek); in actionRewind()
82 assert(SL_RESULT_SUCCESS == result); in actionRewind()
88 assert(NULL != p->mObject); in actionDestroy()
128 assert(NULL != p->mObject); in actionRealize()
[all …]
Dconfigbq.c80 assert(SL_RESULT_SUCCESS == result); in main()
83 assert(SL_RESULT_SUCCESS == result); in main()
85 assert(SL_RESULT_SUCCESS == result); in main()
90 assert(SL_RESULT_SUCCESS == result); in main()
92 assert(SL_RESULT_SUCCESS == result); in main()
143 assert(SL_RESULT_SUCCESS == result); in main()
159 assert(16 == format->bitsPerSample); in main()
166 assert(1 == format->numChannels); in main()
172 assert(16 == format->bitsPerSample); in main()
185 assert(SL_RESULT_SUCCESS == result); in main()
[all …]
Dmultithread.c58 assert(SL_RESULT_SUCCESS == result); in thread_start()
60 assert(SL_RESULT_SUCCESS == result); in thread_start()
75 assert(SL_RESULT_SUCCESS == result); in thread_start()
77 assert(SL_RESULT_SUCCESS == result); in thread_start()
80 assert(SL_RESULT_SUCCESS == result); in thread_start()
82 assert(SL_RESULT_SUCCESS == result); in thread_start()
114 assert(SL_RESULT_SUCCESS == result); in main()
116 assert(SL_RESULT_SUCCESS == result); in main()
119 assert(SL_RESULT_SUCCESS == result); in main()
124 assert(SL_RESULT_SUCCESS == result); in main()
[all …]
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c106 assert(NULL == pCallbackContext); in AndroidBufferQueueCallback()
110 assert(0 == ok); in AndroidBufferQueueCallback()
118 assert(XA_RESULT_SUCCESS == res); in AndroidBufferQueueCallback()
127 assert(0 == ok); in AndroidBufferQueueCallback()
136 assert(0 == dataSize); in AndroidBufferQueueCallback()
142 assert(BUFFER_SIZE == dataSize); in AndroidBufferQueueCallback()
143 assert(dataCache <= (char *) pBufferData && (char *) pBufferData < in AndroidBufferQueueCallback()
145 assert(0 == (((char *) pBufferData - dataCache) % BUFFER_SIZE)); in AndroidBufferQueueCallback()
195 assert(1 == nbRead); in AndroidBufferQueueCallback()
201 assert(XA_RESULT_SUCCESS == res); in AndroidBufferQueueCallback()
[all …]
/frameworks/wilhelm/src/
DThreadPool.c26 assert(NULL != tp); in ThreadPool_start()
45 assert(NULL != handler_ppi); in ThreadPool_start()
52 assert(NULL != handler_ppii); in ThreadPool_start()
60 assert(NULL != handler_piipp); in ThreadPool_start()
68 assert(false); in ThreadPool_start()
89 assert(NULL != tp); in ThreadPool_init()
171 assert(NULL != tp); in ThreadPool_deinit_internal()
174 assert(INITIALIZED_ALL == initialized); in ThreadPool_deinit_internal()
176 assert(0 == ok); in ThreadPool_deinit_internal()
179 assert(0 == ok); in ThreadPool_deinit_internal()
[all …]
Dlocks.c94 assert(0 == ok); in object_lock_exclusive_()
115 assert(false); in object_lock_exclusive_()
128 assert(0 == ok); in object_lock_exclusive()
138 assert(pthread_equal(pthread_self(), thiz->mOwner)); in object_unlock_exclusive_()
139 assert(NULL != thiz->mFile); in object_unlock_exclusive_()
140 assert(0 != thiz->mLine); in object_unlock_exclusive_()
146 assert(0 == ok); in object_unlock_exclusive_()
153 assert(0 == ok); in object_unlock_exclusive()
171 assert(pthread_equal(pthread_self(), thiz->mOwner)); in object_unlock_exclusive_attributes_()
172 assert(NULL != thiz->mFile); in object_unlock_exclusive_attributes_()
[all …]
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64LDBackend.cpp157 assert(NULL != m_pRelocator); in getRelocator()
163 assert(NULL != m_pRelocator); in getRelocator()
230 assert(!config().isCodeStatic() && in doPreLayout()
238 assert(!config().isCodeStatic() && in doPreLayout()
252 assert(NULL != m_pPLT); in doPostLayout()
260 assert(NULL != m_pGOTPLT); in doPostLayout()
272 assert(NULL != m_pDynamic); in dynamic()
278 assert(NULL != m_pDynamic); in dynamic()
285 assert(pRegion.size() && "Size of MemoryRegion is zero!"); in emitSectionData()
369 assert(NULL != m_pGOT && "GOT section not exist"); in getGOT()
[all …]
/frameworks/wilhelm/tests/examples/
DslesTestFeedback.cpp34 (unsigned) (x), (unsigned) (y)); assert((x) == (y)); } } while (0)
75 assert(rxFront <= rxBufCount); in recorderCallback()
76 assert(rxRear <= rxBufCount); in recorderCallback()
77 assert(rxFront != rxRear); in recorderCallback()
100 assert(rxRearNext != rxFront); in recorderCallback()
110 assert(txFront <= txBufCount); in recorderCallback()
111 assert(txRear <= txBufCount); in recorderCallback()
116 assert(txRearNext != txFront); in recorderCallback()
123 assert(SL_RESULT_BUFFER_INSUFFICIENT == result); in recorderCallback()
136 assert(rxRearNext != rxFront); in recorderCallback()
[all …]
/frameworks/wilhelm/src/itf/
DIObject.c30 assert(NULL != thiz); in HandleRealize()
32 assert(NULL != clazz); in HandleRealize()
48 assert(SL_OBJECT_STATE_REALIZING_2 == thiz->mState); in HandleRealize()
63 assert(SL_BOOLEAN_FALSE); in HandleRealize()
97 assert(0 == ok); in IObject_Realize()
100 assert(0 == ok); in IObject_Realize()
124 assert(async); in IObject_Realize()
139 assert(SL_OBJECT_STATE_REALIZING_2 == thiz->mState); in IObject_Realize()
156 assert(SL_BOOLEAN_FALSE); in IObject_Realize()
173 assert(NULL != thiz); in HandleResume()
[all …]
DIDynamicInterfaceManagement.c30 assert(NULL != thiz); in HandleAdd()
32 assert(NULL != thisObject); in HandleAdd()
33 assert(0 <= MPH && MPH < MPH_MAX); in HandleAdd()
35 assert(NULL != clazz); in HandleAdd()
37 assert(0 <= index && index < (int) clazz->mInterfaceCount); in HandleAdd()
66 assert(INTERFACE_ADDING_2 == *interfaceStateP); in HandleAdd()
82 assert(SL_BOOLEAN_FALSE); in HandleAdd()
124 assert(index < (int) clazz->mInterfaceCount); in IDynamicInterfaceManagement_AddInterface()
174 assert(INTERFACE_ADDING_2 == *interfaceStateP); in IDynamicInterfaceManagement_AddInterface()
252 assert(INTERFACE_REMOVING == *interfaceStateP); in IDynamicInterfaceManagement_RemoveInterface()
[all …]
/frameworks/base/libs/androidfw/
DAsset.cpp332 assert(false); in handleSeek()
375 assert(mFp == NULL); // no reopen in openChunk()
376 assert(mMap == NULL); in openChunk()
377 assert(fd >= 0); in openChunk()
378 assert(offset >= 0); in openChunk()
404 assert(mOffset == 0); in openChunk()
408 assert(false); in openChunk()
421 assert(mFp == NULL); // no reopen in openChunk()
422 assert(mMap == NULL); in openChunk()
423 assert(dataMap != NULL); in openChunk()
[all …]
/frameworks/compile/mclinker/lib/Script/
DUnaryOp.cpp65 assert(0); in eval()
83 assert(0); in eval()
86 assert(sect != NULL); in eval()
105 assert(0); in eval()
108 assert(sect != NULL); in eval()
128 assert(0); in eval()
137 assert(0); in eval()
146 assert(0); in eval()
155 assert(0); in eval()
164 assert(0); in eval()
[all …]
/frameworks/compile/mclinker/lib/Target/X86/
DX86LDBackend.cpp49 assert (arch == llvm::Triple::x86 || arch == llvm::Triple::x86_64); in X86GNULDBackend()
77 assert(NULL != m_pRelocator); in getRelocator()
83 assert(NULL != m_pRelocator); in getRelocator()
104 assert(!config().isCodeStatic() && in doPreLayout()
110 assert(!config().isCodeStatic() && in doPreLayout()
129 assert(NULL != m_pDynamic); in dynamic()
137 assert(NULL != m_pDynamic); in dynamic()
171 assert(pRegion.size() && "Size of MemoryRegion is zero!"); in emitSectionData()
174 assert(FileFormat && in emitSectionData()
219 assert(NULL != m_pPLT && "PLT section not exist"); in getPLT()
[all …]

1234567891011