/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbHostManager.cpp | 104 while ((desc = usb_descriptor_iter_next(&iter)) != NULL) { 167 usb_host_run(context, usb_device_added, usb_device_removed, NULL, (void *)thiz); 173 const char *deviceNameStr = env->GetStringUTFChars(deviceName, NULL); 178 return NULL; 183 return NULL; 189 if (fileDescriptor == NULL) { 190 return NULL; 205 if (clazz == NULL) { 211 if (method_beginUsbDeviceAdded == NULL) { 217 if (method_addUsbConfiguration == NULL) { [all...] |
/frameworks/base/tools/aapt/ |
H A D | DirectoryWalker.h | 59 dir = NULL; 62 if (dir == NULL) 75 if (entryPtr == NULL) 76 return NULL;
|
/frameworks/base/tools/incident_report/ |
H A D | formatter.cpp | 38 *(int*)NULL = 42; 39 return NULL; 50 *(int*)NULL = 42; 51 return NULL;
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | NullFragment.h | 24 explicit NullFragment(SectionData* pSD = NULL);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | LDSymbol.cpp | 31 LDSymbol::LDSymbol() : m_pResolveInfo(NULL), m_pFragRef(NULL), m_Value(0) { 60 pSymbol = NULL; 69 if (g_NullSymbol->resolveInfo() == NULL) {
|
H A D | RelocationFactory.cpp | 26 : GCFactory<Relocation, MCLD_RELOCATIONS_PER_INPUT>(), m_pConfig(NULL) { 36 if (m_pConfig == NULL) { 38 return NULL; 65 return NULL;
|
/frameworks/native/cmds/service/ |
H A D | service.cpp | 33 if (string != NULL) 46 if (service != NULL) { 96 if (sm == NULL) { 109 (service == NULL ? ": not found" : ": found") << endl; 134 if (service != NULL && ifName.size() > 0) { 189 data.writeStrongBinder(NULL); 192 char* action = NULL; 193 char* dataArg = NULL; 194 char* type = NULL; 196 char* component = NULL; [all...] |
/frameworks/native/opengl/tests/gl_perfapp/jni/ |
H A D | gl_code.cpp | 47 fOut = NULL; 74 if (fOut != NULL) { 77 fOut = NULL; 81 if (fOut == NULL) {
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glCreateShaderProgramv.cpp | 6 const char * _exceptionType = NULL; 7 const char * _exceptionMessage = NULL; 9 const GLchar** _strings = NULL; 10 jstring* _jstrings = NULL;
|
H A D | glTransformFeedbackVaryings.cpp | 7 const char* _exceptionType = NULL; 8 const char* _exceptionMessage = NULL; 10 const char** _varyings = NULL; 11 const char* _varying = NULL;
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | rtp_jni.cpp | 26 JNIEnv *env = NULL;
|
/frameworks/wilhelm/src/itf/ |
H A D | IDeviceVolume.cpp | 32 if (NULL != pMinValue) 34 if (NULL != pMaxValue) 36 if (NULL != pIsMillibelScale) 82 if (NULL == pVolume) {
|
H A D | IVideoDecoderCapabilities.cpp | 30 if (NULL == pNumDecoders) { 33 if (NULL == pDecoderIds) { 34 // If pDecoderIds is NULL, pNumDecoders returns the number of decoders available. 42 // If pDecodersIds is non-NULL, as an input pNumDecoders specifies the size of the 72 if (NULL == pIndex) { 75 if (NULL == pDescriptor) {
|
/frameworks/wilhelm/src/objects/ |
H A D | CAudioPlayer.cpp | 81 if (NULL == track) { 85 if (NULL == audioPlayer) { 100 /** \brief Given an audio player, return its data sink, which is guaranteed to be a non-NULL output 106 assert(NULL != audioPlayer); 109 assert(NULL != outputMix);
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | lsp.cpp | 167 if (st == (lspState **) NULL) 173 *st = NULL; 176 if ((s = (lspState *) malloc(sizeof(lspState))) == NULL) 266 if (st == (lspState *) NULL) 354 if (st == NULL || *st == NULL) 362 *st = NULL;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | ton_stab.cpp | 141 if (state == (tonStabState **) NULL){ 145 *state = NULL; 148 if ((s= (tonStabState *) malloc(sizeof(tonStabState))) == NULL){ 188 if (state == (tonStabState **) NULL) 193 *state = NULL; 196 if ((s = (tonStabState *) malloc(sizeof(tonStabState))) == NULL) 254 if (st == (tonStabState *) NULL){ 291 if (st == (tonStabState *) NULL) 348 if (state == NULL || *state == NULL) [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | armVCM4P2_BlockMatch_Integer.c | 64 * [in] pSrcPreMV pointer to predicted motion vector; NULL indicates no predicted MV 108 armRetArgErrIf(pSrcRefBuf == NULL, OMX_Sts_BadArgErr); 109 armRetArgErrIf(pRefRect == NULL, OMX_Sts_BadArgErr); 110 armRetArgErrIf(pSrcCurrBuf == NULL, OMX_Sts_BadArgErr); 111 armRetArgErrIf(pCurrPointPos == NULL, OMX_Sts_BadArgErr); 112 armRetArgErrIf(pMESpec == NULL, OMX_Sts_BadArgErr); 113 armRetArgErrIf(pDstMV == NULL, OMX_Sts_BadArgErr); 114 armRetArgErrIf(pDstSAD == NULL, OMX_Sts_BadArgErr);
|
H A D | omxVCM4P2_DecodeBlockCoef_Intra.c | 95 * - At least one of the following pointers is NULL: 130 armRetArgErrIf(ppBitStream == NULL, OMX_Sts_BadArgErr); 131 armRetArgErrIf(*ppBitStream == NULL, OMX_Sts_BadArgErr); 132 armRetArgErrIf(pBitOffset == NULL, OMX_Sts_BadArgErr); 133 armRetArgErrIf(pDst == NULL, OMX_Sts_BadArgErr); 134 armRetArgErrIf(pCoefBufRow == NULL, OMX_Sts_BadArgErr); 135 armRetArgErrIf(pCoefBufCol == NULL, OMX_Sts_BadArgErr); 136 armRetArgErrIf(pQPBuf == NULL, OMX_Sts_BadArgErr);
|
/frameworks/base/cmds/interrupter/ |
H A D | interrupter.h | 22 if (real_##sym == NULL) \ 30 ret (*real_##sym)(type1) = NULL; \ 37 ret (*real_##sym)(type1, type2) = NULL; \ 44 ret (*real_##sym)(type1, type2, type3) = NULL; \ 51 ret (*real_##sym)(type1, type2, type3, type4) = NULL; \ 58 ret (*real_##sym)(type1, type2, type3, type4, type5) = NULL; \ 69 if (real_##sym == NULL) { \
|
/frameworks/opt/net/wifi/libwifi_hal/ |
H A D | wifi_hal_common.cpp | 31 #define WIFI_DRIVER_FW_PATH_STA NULL 34 #define WIFI_DRIVER_FW_PATH_AP NULL 37 #define WIFI_DRIVER_FW_PATH_P2P NULL 114 if (!property_get(DRIVER_PROP_NAME, driver_status, NULL) || 125 if ((proc = fopen(MODULE_FILE, "r")) == NULL) { 130 while ((fgets(line, sizeof(line), proc)) != NULL) { 203 return NULL;
|
/frameworks/av/media/libstagefright/ |
H A D | FrameRenderTracker.cpp | 53 return NULL; 67 return NULL; 72 return NULL; 80 return NULL; 120 } else if (it->mFence != NULL) { 138 if (drop || (it->mFence == NULL && it == mRenderQueue.begin())) { 153 if (info == NULL && index == SSIZE_MAX) { 176 if (it->mFence == NULL) { 178 it->mGraphicBuffer == NULL ? NULL [all...] |
H A D | XINGSeeker.cpp | 88 return NULL; 98 NULL, &samples_per_frame)) { 99 return NULL; 117 return NULL; 125 return NULL; 130 return NULL; 137 return NULL; 151 return NULL; 158 return NULL; 167 return NULL; [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | ADebug.cpp | 41 while (next != NULL) { 44 if (next != NULL) { 65 if (colon != NULL) { 70 size_t globLen = (next == NULL ? strlen(colon) : (next - 1 - colon)); 91 if (property_get(propertyName, value, NULL)) { 108 for (size_t i = 0; i < NELEM(terms) && debugName != NULL; i++) { 112 if (match != NULL && (match == debugName || match[-1] == '.' 149 if (property_get("ro.build.type", value, NULL)) { 178 ALOGD("serial: %llu, time: %lld", (long long unsigned)serialNum, (long long)time(NULL)); 182 time_t counter = (time(NULL) / timeDiviso [all...] |
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfDocument.cpp | 39 , mPicture(NULL) 47 if (NULL != mPicture) { 62 mCurrentPage = NULL; 67 assert(mCurrentPage == NULL); 82 assert(mCurrentPage != NULL); 83 assert(mCurrentPage->mPictureRecorder != NULL); 84 assert(mCurrentPage->mPicture == NULL); 87 mCurrentPage->mPictureRecorder = NULL; 88 mCurrentPage = NULL; 109 assert(NULL [all...] |
/frameworks/base/libs/common_time/ |
H A D | utils.cpp | 58 if (NULL == mRingBuffer) 63 if (NULL != mRingBuffer) 77 internalLog(0, NULL, fmt, argp); 85 if (NULL != mRingBuffer) { 88 Entry* last = NULL; 94 if ((NULL != last) && !last->s.compare(s)) { 95 gettimeofday(&(last->last_ts), NULL); 98 gettimeofday(&mRingBuffer[mWr].first_ts, NULL); 109 if (NULL != tag) 114 if (NULL [all...] |