Home
last modified time | relevance | path

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

12345678910>>...15

/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 …]
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 …]
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 …]
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_()
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/base/tests/SurfaceViewBufferTests/cpp/
DSurfaceProxy.cpp40 assert(sAnw); in Java_com_android_test_SurfaceProxy_setSurface()
52 assert(sAnw); in Java_com_android_test_SurfaceProxy_waitUntilBufferDisplayed()
80 assert(sAnw); in Java_com_android_test_SurfaceProxy_draw()
87 assert(sAnw); in Java_com_android_test_SurfaceProxy_ANativeWindowLock()
95 assert(sAnw); in Java_com_android_test_SurfaceProxy_ANativeWindowUnlockAndPost()
103 assert(sAnw); in Java_com_android_test_SurfaceProxy_ANativeWindowSetBuffersGeometry()
109 assert(sAnw); in Java_com_android_test_SurfaceProxy_ANativeWindowSetBuffersTransform()
116 assert(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceSetScalingMode()
125 assert(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceDequeueBuffer()
149 assert(sAnw); in Java_com_android_test_SurfaceProxy_SurfaceCancelBuffer()
[all …]
/frameworks/native/libs/binder/trusty/rust/binder_rpc_test/
Dmain.rs51 assert!(count.is_ok()); in expect_sessions()
90assert!(binder == Err(Status::from(StatusCode::UNEXPECTED_NULL)) || binder == Err(Status::from(Sta…
111 assert!(session.is_ok());
124 assert!(srv.holdBinder(Some(&binder)).is_ok());
127 assert!(held.is_ok());
129 assert!(held.is_some());
134 assert!(session.is_ok());
137 assert!(session_name.is_ok());
141 assert!(srv.holdBinder(None).is_ok());
147 assert!(srv.nestMe(&binder, 10).is_ok());
[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/native/libs/input/rust/
Dinput_verifier.rs305 assert!(verifier in bad_down_event()
320 assert!(verifier in single_pointer_stream()
329 assert!(verifier in single_pointer_stream()
338 assert!(verifier in single_pointer_stream()
353 assert!(verifier in two_pointer_stream()
365 assert!(verifier in two_pointer_stream()
376 assert!(verifier in two_pointer_stream()
388 assert!(verifier in two_pointer_stream()
403 assert!(verifier in multi_device_stream()
412 assert!(verifier in multi_device_stream()
[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()
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.cpp360 assert(false); in handleSeek()
410 assert(mFp == NULL); // no reopen in openChunk()
411 assert(!mMap.has_value()); in openChunk()
412 assert(fd >= 0); in openChunk()
413 assert(offset >= 0); in openChunk()
439 assert(mOffset == 0); in openChunk()
443 assert(false); in openChunk()
456 assert(mFp == NULL); // no reopen in openChunk()
457 assert(!mMap.has_value()); in openChunk()
458 assert(dataMap != NULL); in openChunk()
[all …]

12345678910>>...15