Home
last modified time | relevance | path

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

12345678910>>...17

/frameworks/compile/mclinker/include/mcld/LD/
DELFFileFormat.h211 assert(f_pNULLSection != NULL); in getNULLSection()
216 assert(f_pNULLSection != NULL); in getNULLSection()
221 assert(f_pGOT != NULL); in getGOT()
226 assert(f_pGOT != NULL); in getGOT()
231 assert(f_pPLT != NULL); in getPLT()
236 assert(f_pPLT != NULL); in getPLT()
241 assert(f_pRelDyn != NULL); in getRelDyn()
246 assert(f_pRelDyn != NULL); in getRelDyn()
251 assert(f_pRelPlt != NULL); in getRelPlt()
256 assert(f_pRelPlt != NULL); in getRelPlt()
[all …]
DLDSymbol.h59 assert(m_pResolveInfo != NULL); in name()
64 assert(m_pResolveInfo != NULL); in nameSize()
69 assert(m_pResolveInfo != NULL); in str()
74 assert(m_pResolveInfo != NULL); in isDyn()
79 assert(m_pResolveInfo != NULL); in type()
83 assert(m_pResolveInfo != NULL); in desc()
87 assert(m_pResolveInfo != NULL); in binding()
92 assert(m_pResolveInfo != NULL); in other()
97 assert(m_pResolveInfo != NULL); in visibility()
115 assert(m_pResolveInfo != NULL); in setSize()
DLDFileFormat.h63 assert(f_pTextSection != NULL); in getText()
68 assert(f_pTextSection != NULL); in getText()
73 assert(f_pDataSection != NULL); in getData()
78 assert(f_pDataSection != NULL); in getData()
83 assert(f_pBSSSection != NULL); in getBSS()
88 assert(f_pBSSSection != NULL); in getBSS()
93 assert(f_pReadOnlySection != NULL); in getReadOnly()
98 assert(f_pReadOnlySection != NULL); in getReadOnly()
DDiagnostic.h33 assert(pIdx < getNumArgs() && "Argument index is out of range!"); in getArgKind()
38 assert(getArgKind(pIdx) == DiagnosticEngine::ak_std_string && in getArgStdStr()
44 assert(getArgKind(pIdx) == DiagnosticEngine::ak_c_string && in getArgCStr()
50 assert(getArgKind(pIdx) == DiagnosticEngine::ak_sint && in getArgSInt()
56 assert(getArgKind(pIdx) == DiagnosticEngine::ak_uint && in getArgUInt()
62 assert(getArgKind(pIdx) == DiagnosticEngine::ak_ulonglong && in getArgULongLong()
68 assert(getArgKind(pIdx) == DiagnosticEngine::ak_bool && in getArgBool()
74 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 …]
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 …]
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 …]
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.c79 assert(NULL == pContext); in streamEventChangeCallback()
95 assert(pContext == NULL); in prefetchStatusCallback()
99 assert(XA_RESULT_SUCCESS == result); in prefetchStatusCallback()
102 assert(XA_RESULT_SUCCESS == result); in prefetchStatusCallback()
121 assert(ok == 0); in prefetchStatusCallback()
124 assert(ok == 0); in prefetchStatusCallback()
126 assert(ok == 0); in prefetchStatusCallback()
133 assert(NULL == pContext); in playEventCallback()
138 assert(XA_RESULT_SUCCESS == result); in playEventCallback()
206 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 …]
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 …]
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 …]
/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.cpp26 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.cpp93 assert(0 == ok); in object_lock_exclusive_()
114 assert(false); in object_lock_exclusive_()
127 assert(0 == ok); in object_lock_exclusive()
137 assert(pthread_equal(pthread_self(), thiz->mOwner)); in object_unlock_exclusive_()
138 assert(NULL != thiz->mFile); in object_unlock_exclusive_()
139 assert(0 != thiz->mLine); in object_unlock_exclusive_()
145 assert(0 == ok); in object_unlock_exclusive_()
152 assert(0 == ok); in object_unlock_exclusive()
170 assert(pthread_equal(pthread_self(), thiz->mOwner)); in object_unlock_exclusive_attributes_()
171 assert(NULL != thiz->mFile); in object_unlock_exclusive_attributes_()
[all …]
/frameworks/wilhelm/src/itf/
DIObject.cpp30 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.cpp30 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/ml/nn/common/operations/internal/
Dcompatibility.h27 #define DCHECK(condition) (condition) ? (void)0 : assert(false)
31 #define DCHECK_EQ(x, y) ((x) == (y)) ? (void)0 : assert(false)
35 #define DCHECK_GE(x, y) ((x) >= (y)) ? (void)0 : assert(false)
39 #define DCHECK_GT(x, y) ((x) > (y)) ? (void)0 : assert(false)
43 #define DCHECK_LE(x, y) ((x) <= (y)) ? (void)0 : assert(false)
47 #define DCHECK_LT(x, y) ((x) < (y)) ? (void)0 : assert(false)
51 #define CHECK_EQ(x, y) ((x) == (y)) ? (void)0 : assert(false)
/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()
126 assert(0); in eval()
134 assert(0); in eval()
142 assert(0); in eval()
150 assert(0); in eval()
158 assert(0); in eval()
[all …]
/frameworks/base/libs/androidfw/
DAsset.cpp376 assert(false); in handleSeek()
426 assert(mFp == NULL); // no reopen in openChunk()
427 assert(mMap == NULL); in openChunk()
428 assert(fd >= 0); in openChunk()
429 assert(offset >= 0); in openChunk()
455 assert(mOffset == 0); in openChunk()
459 assert(false); in openChunk()
472 assert(mFp == NULL); // no reopen in openChunk()
473 assert(mMap == NULL); in openChunk()
474 assert(dataMap != NULL); in openChunk()
[all …]
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64LDBackend.cpp151 assert(m_pRelocator != NULL); in getRelocator()
156 assert(m_pRelocator != NULL); in getRelocator()
217 assert( in doPreLayout()
226 assert( in doPreLayout()
240 assert(m_pPLT != NULL); in doPostLayout()
248 assert(m_pGOTPLT != NULL); in doPostLayout()
259 assert(m_pDynamic != NULL); in dynamic()
264 assert(m_pDynamic != NULL); in dynamic()
270 assert(pRegion.size() && "Size of MemoryRegion is zero!"); in emitSectionData()
333 assert(stub->symInfo() != NULL && stub->symInfo()->isLocal()); in scanErrata()
[all …]
/frameworks/wilhelm/tests/examples/
DslesTestFeedback.cpp34 (unsigned) (x), (unsigned) (y)); assert((x) == (y)); } } while (0)
83 assert(rxFront <= rxBufCount); in recorderCallback()
84 assert(rxRear <= rxBufCount); in recorderCallback()
85 assert(rxFront != rxRear); in recorderCallback()
118 assert(rxRearNext != rxFront); in recorderCallback()
128 assert(txFront <= txBufCount); in recorderCallback()
129 assert(txRear <= txBufCount); in recorderCallback()
134 assert(txRearNext != txFront); in recorderCallback()
141 assert(SL_RESULT_BUFFER_INSUFFICIENT == result); in recorderCallback()
154 assert(rxRearNext != rxFront); in recorderCallback()
[all …]

12345678910>>...17