Searched refs:NULL (Results 126 - 150 of 1541) sorted by relevance

1234567891011>>

/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp55 if (ap == NULL) return 0;
64 if (ap == NULL) return JNI_FALSE;
75 if (ap == NULL) return 0;
84 if (ap == NULL) return;
93 if (ap == NULL) return;
102 if (ap == NULL) return;
111 if (ap == NULL) return;
120 if (ap == NULL) return;
130 if (ap == NULL) return;
140 if (ap == NULL) retur
[all...]
/frameworks/base/core/jni/
H A Dandroid_app_backup_FullBackup.cpp87 const char* packagenamechars = (packageNameObj) ? env->GetStringUTFChars(packageNameObj, NULL) : NULL;
88 const char* rootchars = (rootpathObj) ? env->GetStringUTFChars(rootpathObj, NULL) : NULL;
89 const char* pathchars = (pathObj) ? env->GetStringUTFChars(pathObj, NULL) : NULL;
90 const char* domainchars = (domainObj) ? env->GetStringUTFChars(domainObj, NULL) : NULL;
102 // Extract the data output fd. 'writer' ends up NULL in the measure-only case.
104 BackupDataWriter* writer = (bdo != NULL)
[all...]
H A Dandroid_os_SystemProperties.cpp36 jstring rvJ = NULL;
38 if (keyJ == NULL) {
43 key = env->GetStringUTFChars(keyJ, NULL);
46 if ((len <= 0) && (defJ != NULL)) {
63 return SystemProperties_getSS(env, clazz, keyJ, NULL);
75 if (keyJ == NULL) {
80 key = env->GetStringUTFChars(keyJ, NULL);
105 if (keyJ == NULL) {
110 key = env->GetStringUTFChars(keyJ, NULL);
134 if (keyJ == NULL) {
[all...]
H A Dandroid_util_Process.cpp66 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
87 jniThrowException(env, "java/lang/IllegalArgumentException", NULL);
106 if (name == NULL) {
107 jniThrowNullPointerException(env, NULL);
125 if (pwd == NULL) {
138 if (name == NULL) {
139 jniThrowNullPointerException(env, NULL);
157 if (grp == NULL) {
300 while (cpu_range != NULL) {
303 cpu_range = strtok(NULL, ",");
[all...]
H A Dandroid_app_NativeActivity.cpp122 nativeWindow = NULL;
127 if (callbacks.onDestroy != NULL) {
130 if (env != NULL && clazz != NULL) {
133 if (messageQueue != NULL && mainWorkRead >= 0) {
136 setSurface(NULL);
139 if (dlhandle != NULL) {
148 if (_surface != NULL) {
151 nativeWindow = NULL;
267 const char* pathStr = env->GetStringUTFChars(path, NULL);
[all...]
H A Dandroid_util_jar_StrictJarFile.cpp44 NULL, // comment
50 NULL, // byte[] extra
56 if (fileChars.c_str() == NULL) {
74 cookie_(NULL) {
93 if (prefixChars.c_str() == NULL) {
101 handle->CookieAddress(), NULL, NULL);
105 handle->CookieAddress(), &entry_name, NULL);
124 return NULL;
138 if (entryNameChars.c_str() == NULL) {
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DLDContext.cpp30 return NULL;
36 return NULL;
43 if (*sect_iter != NULL && (*sect_iter)->name() == pName)
46 return NULL;
52 if (*sect_iter != NULL && (*sect_iter)->name() == pName)
55 return NULL;
69 return NULL;
75 return NULL;
85 return NULL;
94 return NULL;
[all...]
/frameworks/wilhelm/src/objects/
H A DCEngine.c24 CEngine *theOneTrueEngine = NULL;
43 if ((NULL != theOneTrueEngine) || (0 < theOneTrueRefCount)) {
58 int err = pthread_create(&thiz->mSyncThread, (const pthread_attr_t *) NULL, sync_start, thiz);
67 (void) pthread_join(thiz->mSyncThread, (void **) NULL);
118 (void) pthread_join(thiz->mSyncThread, (void **) NULL);
127 if (NULL != thiz->mEqPresetNames) {
129 if (NULL != thiz->mEqPresetNames[i]) {
131 thiz->mEqPresetNames[i] = NULL;
135 thiz->mEqPresetNames = NULL;
182 theOneTrueEngine = NULL;
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaRecorderClient.cpp59 if (mRecorder == NULL) {
70 if (mRecorder == NULL) {
72 return NULL;
84 if (mRecorder == NULL) {
95 if (mRecorder == NULL) {
110 if (mRecorder == NULL) {
124 if (mRecorder == NULL) {
135 if (mRecorder == NULL) {
146 if (mRecorder == NULL) {
157 if (mRecorder == NULL) {
[all...]
/frameworks/av/media/libstagefright/codecs/on2/dec/
H A DSoftVPX.cpp45 codingType == OMX_VIDEO_CodingVP8 ? NULL : kVP9ProfileLevels,
50 mCtx(NULL),
53 mImg(NULL) {
108 mCtx = NULL;
114 BufferInfo *outInfo = NULL;
115 OMX_BUFFERHEADERTYPE *outHeader = NULL;
116 vpx_codec_iter_t iter = NULL;
119 // Flush decoder by passing NULL data ptr and 0 size.
121 if (vpx_codec_decode((vpx_codec_ctx_t *)mCtx, NULL, 0, NULL,
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DLinker.cpp35 : m_pConfig(NULL),
36 m_pIRBuilder(NULL),
37 m_pTarget(NULL),
38 m_pBackend(NULL),
39 m_pObjLinker(NULL) {
78 assert(m_pConfig != NULL);
166 assert(m_pConfig != NULL);
167 assert(m_pObjLinker != NULL);
203 assert(m_pConfig != NULL && m_pObjLinker != NULL);
[all...]
/frameworks/av/media/libeffects/loudness/
H A DEffectLoudnessEnhancer.cpp70 if (pContext->mCompressor != NULL) {
160 pContext->mConfig.inputCfg.bufferProvider.getBuffer = NULL;
161 pContext->mConfig.inputCfg.bufferProvider.releaseBuffer = NULL;
162 pContext->mConfig.inputCfg.bufferProvider.cookie = NULL;
168 pContext->mConfig.outputCfg.bufferProvider.getBuffer = NULL;
169 pContext->mConfig.outputCfg.bufferProvider.releaseBuffer = NULL;
170 pContext->mConfig.outputCfg.bufferProvider.cookie = NULL;
177 if (pContext->mCompressor == NULL) {
199 if (pHandle == NULL || uuid == NULL) {
[all...]
/frameworks/wilhelm/src/
H A Dclasses.c44 NULL,
45 NULL,
46 NULL,
215 NULL,
216 NULL,
217 NULL,
218 NULL
244 NULL,
245 NULL,
246 NULL,
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_SubAndTransformQDQResidual.c58 * parameter is not required, it is set to NULL.
70 * if this parameter is not equal to NULL. 8-byte alignment
73 * is not equal to NULL.
80 * - at least one of the following pointers is NULL:
111 armRetArgErrIf(pSrcOrg == NULL, OMX_Sts_BadArgErr)
112 armRetArgErrIf(pDstDeQuantCoeff == NULL, OMX_Sts_BadArgErr)
113 armRetArgErrIf(pNumCoeff == NULL, OMX_Sts_BadArgErr)
114 armRetArgErrIf(pDCCoeff == NULL, OMX_Sts_BadArgErr)
116 armRetArgErrIf(pSrcPred == NULL, OMX_Sts_BadArgErr)
118 armRetArgErrIf(pDstQuantCoeff == NULL, OMX_Sts_BadArgEr
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp55 : mClass(NULL),
56 mObject(NULL) {
58 CHECK(clazz != NULL);
70 mObject = NULL;
72 mClass = NULL;
142 jbyteArray byteArray = NULL;
145 CHECK(byteBufClass.get() != NULL);
147 if (dst == NULL) {
150 CHECK(arrayID != NULL);
155 if (byteArray == NULL) {
[all...]
H A Dandroid_mtp_MtpDevice.cpp192 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL);
193 if (deviceNameStr == NULL) {
202 return (jboolean)(device != NULL);
222 return NULL;
227 return NULL;
230 if (info == NULL) {
232 return NULL;
253 if (elements.get() == NULL) {
255 return NULL;
269 if (elements.get() == NULL) {
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dsp_dec.cpp145 to by state is set to NULL
147 by state is set to NULL
149 by state is set to NULL
190 if (state == (Speech_Decode_FrameState **) NULL){
194 *state = NULL;
198 malloc(sizeof(Speech_Decode_FrameState))) == NULL) {
203 s->decoder_amrState = NULL;
204 s->post_state = NULL;
205 s->postHP_state = NULL;
251 if (state_data == NULL)
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dg_adapt.cpp163 if (st == (GainAdaptState **) NULL)
168 *st = NULL;
171 if ((s = (GainAdaptState *) malloc(sizeof(GainAdaptState))) == NULL)
249 if (st == (GainAdaptState *) NULL)
332 if (st == NULL || *st == NULL)
337 *st = NULL;
H A Dpre_proc.cpp171 if (state == (Pre_ProcessState **) NULL){
175 *state = NULL;
178 if ((s= (Pre_ProcessState *) malloc(sizeof(Pre_ProcessState))) == NULL){
216 if (state == (Pre_ProcessState **) NULL)
221 *state = NULL;
224 if ((s = (Pre_ProcessState *) malloc(sizeof(Pre_ProcessState))) == NULL)
282 if (state == (Pre_ProcessState *) NULL){
322 if (state == (Pre_ProcessState *) NULL)
352 state points to a NULL address
383 if (state == NULL || *stat
[all...]
/frameworks/base/native/graphics/jni/
H A Dbitmap.cpp26 if (NULL == env || NULL == jbitmap) {
61 if (NULL == env || NULL == jbitmap) {
72 if (NULL == addr) {
85 if (NULL == env || NULL == jbitmap) {
/frameworks/base/tools/aapt/
H A DAaptXml.h38 const char* attr, android::String8* outError = NULL);
46 android::String8* outError = NULL);
54 const char* attr, int32_t defValue = -1, android::String8* outError = NULL);
72 int32_t defValue = -1, android::String8* outError = NULL);
91 android::String8* outError = NULL);
111 android::String8* outError = NULL);
119 android::String8* outError = NULL);
/frameworks/av/media/libstagefright/
H A DFileSource.cpp37 mDecryptHandle(NULL),
38 mDrmManagerClient(NULL),
41 mDrmBuf(NULL){
61 mDecryptHandle(NULL),
62 mDrmManagerClient(NULL),
65 mDrmBuf(NULL) {
108 if (mDrmBuf != NULL) {
110 mDrmBuf = NULL;
113 if (mDecryptHandle != NULL) {
117 mDecryptHandle = NULL;
[all...]
/frameworks/wilhelm/src/itf/
H A DIEffectSend.c43 (CAudioPlayer *) thiz->mThis : NULL;
44 if (NULL == audioPlayer) {
45 return NULL;
56 return NULL;
66 return NULL;
89 return NULL;
123 if (NULL == enableLevel) {
134 (CAudioPlayer *) thiz->mThis : NULL;
135 // note that if this was a MIDI player, getEnableLevel would have returned NULL
136 assert(NULL !
[all...]
/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.cpp62 if (pHandle == NULL || uuid == NULL) {
63 ALOGE("EffectProxyCreate() called with NULL pointer");
75 pContext->eHandle[SUB_FX_HOST] = pContext->eHandle[SUB_FX_OFFLOAD] = NULL;
149 if (pContext == NULL) {
150 ALOGV("ERROR : EffectRelease called with NULL pointer");
164 pContext = NULL;
170 const effect_descriptor_t *desc = NULL;
172 if (pDescriptor == NULL || uuid == NULL) {
[all...]
/frameworks/av/drm/libdrmframework/include/
H A DPlugInManager.h58 ,hHandle(NULL)
59 ,fpCreate(NULL)
60 ,fpDestory(NULL)
61 ,pInstance(NULL)
142 if (NULL == pPlugInContainer->hHandle) {
144 pPlugInContainer = NULL;
154 if (NULL != pPlugInContainer->fpCreate && NULL != pPlugInContainer->fpDestory) {
161 pPlugInContainer = NULL;
183 pPlugInContainer = NULL;
[all...]

Completed in 719 milliseconds

1234567891011>>