/frameworks/compile/libbcc/lib/Core/ |
H A D | BCCContext.cpp | 28 static BCCContext *GlobalContext = NULL; 31 if (GlobalContext == NULL) { 33 if (GlobalContext == NULL) { 42 GlobalContext = NULL; 52 GlobalContext = NULL;
|
/frameworks/rs/cpp/ |
H A D | RenderScript.cpp | 41 dispatchTable* RS::dispatch = NULL; 45 mDev = NULL; 46 mContext = NULL; 47 mErrorFunc = NULL; 48 mMessageFunc = NULL; 64 void *res = NULL; 68 mContext = NULL; 72 mDev = NULL; 84 if (RS::dispatch->AllocationGetType == NULL) { 89 if (RS::dispatch->TypeGetNativeData == NULL) { [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaAdapter.cpp | 28 : mCurrentMediaBuffer(NULL), 36 CHECK(mCurrentMediaBuffer == NULL); 53 if (mCurrentMediaBuffer != NULL) { 55 mCurrentMediaBuffer = NULL; 70 CHECK(buffer != NULL); 85 while (mCurrentMediaBuffer == NULL && mStarted) { 92 CHECK(mCurrentMediaBuffer == NULL); 96 CHECK(mCurrentMediaBuffer != NULL); 99 mCurrentMediaBuffer = NULL; 106 if (buffer == NULL) { [all...] |
H A D | WVMExtractor.cpp | 41 void *gVendorLibHandle = NULL; 63 MEDIA_MIMETYPE_CONTAINER_WVM) != NULL) { 65 CHECK(mImpl != NULL); 78 if (gVendorLibHandle == NULL) { 88 return gVendorLibHandle != NULL; 95 return (mImpl != NULL) ? mImpl->countTracks() : 0; 99 if (mImpl == NULL) { 100 return NULL; 106 if (mImpl == NULL) { 107 return NULL; [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AWakeLock.cpp | 32 mPowerManager(NULL), 33 mWakeLockToken(NULL), 38 if (mPowerManager != NULL) { 47 CHECK(mWakeLockToken == NULL); 48 if (mPowerManager == NULL) { 52 if (binder == NULL) { 59 if (mPowerManager != NULL) { 88 CHECK(mWakeLockToken != NULL); 89 if (mPowerManager != NULL) { 104 if (mWakeLock != NULL) { [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpDeviceInfo.cpp | 30 mVendorExtensionDesc(NULL), 32 mOperations(NULL), 33 mEvents(NULL), 34 mDeviceProperties(NULL), 35 mCaptureFormats(NULL), 36 mPlaybackFormats(NULL), 37 mManufacturer(NULL), 38 mModel(NULL), 39 mVersion(NULL), 40 mSerial(NULL) [all...] |
/frameworks/base/core/jni/ |
H A D | android_app_backup_FullBackup.cpp | 79 const char* packagenamechars = (packageNameObj) ? env->GetStringUTFChars(packageNameObj, NULL) : NULL; 80 const char* rootchars = (rootpathObj) ? env->GetStringUTFChars(rootpathObj, NULL) : NULL; 81 const char* pathchars = (pathObj) ? env->GetStringUTFChars(pathObj, NULL) : NULL; 82 const char* domainchars = (domainObj) ? env->GetStringUTFChars(domainObj, NULL) : NULL; 122 LOG_FATAL_IF(clazz == NULL, "Unable to find class android.app.backup.BackupDataOutput"); 125 LOG_FATAL_IF(sBackupDataOutput.mBackupwriter == NULL, [all...] |
/frameworks/wilhelm/tests/native-media/jni/ |
H A D | native-media-jni.c | 31 static XAObjectItf engineObject = NULL; 32 static XAEngineItf engineEngine = NULL; 35 static XAObjectItf outputMixObject = NULL; 38 static XAObjectItf playerObj = NULL; 39 static XAPlayItf playerPlayItf = NULL; 40 static XAAndroidBufferQueueItf playerBQItf = NULL; 41 static XAStreamInformationItf playerStreamInfoItf = NULL; 42 static XAVolumeItf playerVolItf = NULL; 105 // pCallbackContext was specified as NULL at RegisterCallback and is unused here 106 assert(NULL [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_program.cpp | 30 : lib_handle_(NULL), 31 init_function_(NULL), 32 setvalue_function_(NULL), 33 getvalue_function_(NULL), 34 process_function_(NULL), 35 reset_function_(NULL), 36 teardown_function_(NULL), 37 user_data_(NULL) { 72 return init_function_ != NULL; 79 return setvalue_function_ != NULL; [all...] |
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
H A D | ObjectLoader.cpp | 33 ObjectLoader *result = NULL; 36 if ((pMemStart == NULL) || (pMemSize <= 0)) { 44 if (result == NULL) { 53 if (result->mImpl == NULL) { 82 if (result->mDebugImage != NULL) { 99 return NULL; 106 android::FileMap *file_map = NULL; 108 ObjectLoader *result = NULL; 114 return NULL; 122 return NULL; [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | ConfigLocale_test.cpp | 117 if (lang != NULL) { 121 if (country != NULL) { 125 if (script != NULL) { 129 if (variant != NULL) { 138 fillIn("en", NULL, NULL, NULL, &l); 139 fillIn(NULL, NULL, NULL, NUL [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64LDBackend.cpp | 51 m_pRelocator(NULL), 52 m_pGOT(NULL), 53 m_pGOTPLT(NULL), 54 m_pPLT(NULL), 55 m_pRelaDyn(NULL), 56 m_pRelaPLT(NULL), 57 // m_pAttrData(NULL), 58 m_pDynamic(NULL), 59 m_pGOTSymbol(NULL) 60 // m_pAttributes(NULL) [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | HDCP.cpp | 31 mLibHandle(NULL), 32 mHDCPModule(NULL) { 35 if (mLibHandle == NULL) { 49 if (createHDCPModule == NULL) { 52 this, &HDCP::ObserveWrapper)) == NULL) { 60 if (mHDCPModule != NULL) { 62 mHDCPModule = NULL; 65 if (mLibHandle != NULL) { 67 mLibHandle = NULL; 74 if (mHDCPModule == NULL) { [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_Utils.cpp | 37 if (keys != NULL && values != NULL) { 43 failed = ((keys != NULL && values == NULL) || 44 (keys == NULL && values != NULL)); 49 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); 59 const char* keyStr = env->GetStringUTFChars(key, NULL); 64 const char* valueStr = env->GetStringUTFChars(value, NULL); 82 CHECK(clazz.get() != NULL); [all...] |
/frameworks/av/media/libstagefright/http/ |
H A D | HTTPHelper.cpp | 33 if (AndroidRuntime::getJavaVM() == NULL) { 36 return NULL; 43 CHECK(clazz.get() != NULL); 46 CHECK(constructID != NULL); 52 if (httpServiceObj.get() != NULL) { 55 CHECK(asBinderID != NULL); 59 CHECK(httpServiceBinderObj.get() != NULL);
|
/frameworks/base/libs/androidfw/ |
H A D | TypeWrappers.cpp | 33 return NULL; 42 return NULL; 47 return NULL; 52 return NULL; 59 return NULL; 62 return NULL; 65 return NULL;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_SerialService.cpp | 39 const char *pathStr = env->GetStringUTFChars(path, NULL); 45 return NULL; 50 if (fileDescriptor == NULL) { 51 return NULL; 66 if (clazz == NULL) { 72 LOG_FATAL_IF(clazz == NULL, "Unable to find class android.os.ParcelFileDescriptor"); 75 LOG_FATAL_IF(gParcelFileDescriptorOffsets.mConstructor == NULL,
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | DiagnosticEngine.cpp | 23 : m_pConfig(NULL), m_pLineInfo(NULL), m_pPrinter(NULL), 24 m_pInfoMap(NULL), m_OwnPrinter(false) { 29 if (m_OwnPrinter && m_pPrinter != NULL) 54 if (m_OwnPrinter && NULL != m_pPrinter) 63 assert(NULL != m_pInfoMap);
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | srcsink.c | 30 result = slCreateEngine(&engineObject, 0, NULL, 0, NULL, NULL); 57 loc_outmix.outputMix = NULL; 60 audioSnk.pFormat = NULL; 62 // create audio player using a NULL output mix 69 assert(NULL == playerObject); 76 assert(NULL == playerObject); 80 result = (*engineEngine)->CreateOutputMix(engineEngine, &outputMixObject, 0, NULL, NULL); [all...] |
/frameworks/av/media/common_time/ |
H A D | cc_helper.cpp | 33 if (common_clock_ == NULL) { 35 if (common_clock_ == NULL) 40 if (common_clock_listener_ == NULL) { 42 if (common_clock_listener_ == NULL) 54 common_clock_listener_ = NULL; 55 common_clock_ = NULL; 76 (common_clock_ != NULL) && 77 (common_clock_listener_ != NULL)) { 79 common_clock_listener_ = NULL;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | sp_enc.cpp | 117 by state is set to NULL 119 by state is set to NULL 160 if (state_data == NULL){ 164 *state_data = NULL; 167 if ((s= (Speech_Encode_FrameState *) malloc(sizeof(Speech_Encode_FrameState))) == NULL){ 175 s->pre_state = NULL; 176 s->cod_amr_state = NULL; 223 if (state_data == NULL) 228 *state_data = NULL; 231 if ((s = (Speech_Encode_FrameState *) malloc(sizeof(Speech_Encode_FrameState))) == NULL) [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaCrypto.cpp | 56 if (service == NULL) { 57 return NULL; 62 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { 63 return NULL; 80 if (crypto == NULL) { 89 if (crypto == NULL) { 99 if (tmp == NULL) { 100 return NULL; 104 return NULL;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Utils.cpp | 26 asset->getBuffer(false) : NULL) 58 return NULL; 64 if (NULL == buffer) { 96 if (NULL == asset) { 97 return NULL; 103 return NULL; 109 return NULL; 118 stream = NULL; 127 return NULL;
|
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/ |
H A D | SymbolResolvers.h | 39 // If pFileName is NULL, it will search symbol in the current process image. 45 { return (mError != NULL); } 78 const SymbolMap *result = NULL; 82 const SymbolMap key = { pName, NULL }; 99 return ((result != NULL) ? result->mAddr : NULL); 113 LookupFunctionSymbolResolver(LookupFunctionTy pLookupFunc = NULL, argument 114 ContextTy pContext = NULL) 118 return ((mLookupFunc != NULL) ? mLookupFunc(mContext, pName) : NULL); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/comm/src/ |
H A D | armVCCOMM_Average.c | 73 armRetArgErrIf(pPred0 == NULL, OMX_Sts_BadArgErr) 74 armRetArgErrIf(pPred1 == NULL, OMX_Sts_BadArgErr) 75 armRetArgErrIf(pDstPred == NULL, OMX_Sts_BadArgErr)
|