Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 1699) sorted by relevance

12345678910>>...68

/frameworks/wilhelm/src/
Dsles.c32 assert(NULL != thiz); in IsInterfaceInitialized()
35 assert(NULL != clazz); in IsInterfaceInitialized()
56 assert(NULL != thiz); in IObjectToObjectID()
59 assert(NULL != clazz); in IObjectToObjectID()
76 if (NULL == object) { in AcquireStrongRef()
129 assert(NULL != object); in ReleaseStrongRef()
155 assert(NULL != clazz && NULL != pExposedMask); in checkInterfaces()
168 if (NULL != MPH_init_table[interfaces[i].mMPH].mInit) { in checkInterfaces()
183 if (NULL == pInterfaceIds || NULL == pInterfaceRequired) { in checkInterfaces()
190 if (NULL == iid) { in checkInterfaces()
[all …]
/frameworks/base/tools/aidl/
Doptions_test.cpp24 while (expected[count] != NULL) { in match_arrays()
140 … { "test", "-i/moof", "-I/blah", "-Ibleh", "-imoo", "inputFileName.aidl_cpp", NULL, NULL },
142 /* systemSearchPath */ { "/blah", "bleh", NULL, NULL, NULL, NULL, NULL, NULL },
143 /* localSearchPath */ { "/moof", "moo", NULL, NULL, NULL, NULL, NULL, NULL },
152 …rgv */ { "test", "inputFileName.aidl_cpp", "-oh", "outputH", NULL, NULL, NULL, NULL },
154 /* systemSearchPath */ { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL },
155 /* localSearchPath */ { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL },
164 …*/ { "test", "inputFileName.aidl_cpp", "-ocpp", "outputCPP", NULL, NULL, NULL, NULL },
166 /* systemSearchPath */ { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL },
167 /* localSearchPath */ { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL },
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DELFFileFormat.h44 { return (NULL != f_pNULLSection) && (0 != f_pNULLSection->size()); } in hasNULLSection()
47 { return (NULL != f_pGOT) && (0 != f_pGOT->size()); } in hasGOT()
50 { return (NULL != f_pPLT) && (0 != f_pPLT->size()); } in hasPLT()
53 { return (NULL != f_pRelDyn) && (0 != f_pRelDyn->size()); } in hasRelDyn()
56 { return (NULL != f_pRelPlt) && (0 != f_pRelPlt->size()); } in hasRelPlt()
59 { return (NULL != f_pRelaDyn) && (0 != f_pRelaDyn->size()); } in hasRelaDyn()
62 { return (NULL != f_pRelaPlt) && (0 != f_pRelaPlt->size()); } in hasRelaPlt()
66 { return (NULL != f_pComment) && (0 != f_pComment->size()); } in hasComment()
69 { return (NULL != f_pData1) && (0 != f_pData1->size()); } in hasData1()
72 { return (NULL != f_pDebug) && (0 != f_pDebug->size()); } in hasDebug()
[all …]
/frameworks/compile/mclinker/lib/ADT/GraphLite/
DListDigraph.cpp17 : prev(NULL), next(NULL), first_in(NULL), first_out(NULL) { in Node()
24 : target(NULL), source(NULL), in Arc()
25 prev_in(NULL), next_in(NULL), prev_out(NULL), next_out(NULL) { in Arc()
32 : m_pNodeHead(NULL), m_pFreeNodeHead(NULL), m_pFreeArcHead(NULL), in ListDigraph()
40 Node* result = NULL; in addNode()
41 if (NULL == m_pFreeNodeHead) { in addNode()
51 result->prev = NULL; in addNode()
55 if (NULL != m_pNodeHead) { in addNode()
67 Arc* result = NULL; in addArc()
68 if (NULL == m_pFreeArcHead) { in addArc()
[all …]
/frameworks/native/cmds/dumpstate/
Ddumpstate.c43 static const char *dump_traces_path = NULL;
64 time_t thirty_minutes_ago = time(NULL) - 60*30; in get_tombstone_fds()
86 if (d == NULL) { in dump_dev_files()
103 time_t now = time(NULL); in dumpstate()
129 dump_file(NULL, "/proc/version"); in dumpstate()
134 run_command("UPTIME", 10, "uptime", NULL); in dumpstate()
137 run_command("CPU INFO", 10, "top", "-n", "1", "-d", "1", "-m", "30", "-t", NULL); in dumpstate()
138 run_command("PROCRANK", 20, "procrank", NULL); in dumpstate()
153 run_command("PROCESSES", 10, "ps", "-P", NULL); in dumpstate()
154 run_command("PROCESSES AND THREADS", 10, "ps", "-t", "-p", "-P", NULL); in dumpstate()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaCodecList.cpp36 if (mcl == NULL) { in getCodecList()
47 if (mcl == NULL) { in android_media_MediaCodecList_getCodecCount()
57 if (mcl == NULL) { in android_media_MediaCodecList_getCodecName()
59 return NULL; in android_media_MediaCodecList_getCodecName()
63 if (info == NULL) { in android_media_MediaCodecList_getCodecName()
64 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in android_media_MediaCodecList_getCodecName()
65 return NULL; in android_media_MediaCodecList_getCodecName()
74 if (name == NULL) { in android_media_MediaCodecList_findCodecByName()
75 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in android_media_MediaCodecList_findCodecByName()
79 const char *nameStr = env->GetStringUTFChars(name, NULL); in android_media_MediaCodecList_findCodecByName()
[all …]
Dandroid_media_MediaPlayer.cpp77 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj = NULL);
90 if (clazz == NULL) { in JNIMediaPlayerListener()
92 jniThrowException(env, "java/lang/Exception", NULL); in JNIMediaPlayerListener()
115 if (jParcel != NULL) { in notify()
124 msg, ext1, ext2, NULL); in notify()
162 if (exception == NULL) { // Don't throw exception. Instead, send an event. in process_media_player_call()
169 jniThrowException(env, "java/lang/IllegalStateException", NULL); in process_media_player_call()
171 jniThrowException(env, "java/lang/SecurityException", NULL); in process_media_player_call()
192 if (mp == NULL ) { in android_media_MediaPlayer_setDataSourceAndHeaders()
193 jniThrowException(env, "java/lang/IllegalStateException", NULL); in android_media_MediaPlayer_setDataSourceAndHeaders()
[all …]
Dandroid_media_MediaCrypto.cpp58 mObject = NULL; in ~JCrypto()
71 if (service == NULL) { in MakeCrypto()
72 return NULL; in MakeCrypto()
77 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { in MakeCrypto()
78 return NULL; in MakeCrypto()
89 if (crypto == NULL) { in MakeCrypto()
90 return NULL; in MakeCrypto()
96 return NULL; in MakeCrypto()
103 if (mCrypto == NULL) { in requiresSecureDecoderComponent()
114 if (crypto == NULL) { in IsCryptoSchemeSupported()
[all …]
Dandroid_media_MediaCodec.cpp91 : mClass(NULL), in JMediaCodec()
92 mObject(NULL) { in JMediaCodec()
94 CHECK(clazz != NULL); in JMediaCodec()
114 CHECK((mCodec != NULL) != (mInitStatus != OK)); in JMediaCodec()
120 CHECK(mByteBufferClass != NULL); in cacheJavaObjects()
124 CHECK(byteOrderClass.get() != NULL); in cacheJavaObjects()
128 CHECK(nativeOrderID != NULL); in cacheJavaObjects()
133 CHECK(mNativeByteOrderObj != NULL); in cacheJavaObjects()
135 nativeByteOrderObj = NULL; in cacheJavaObjects()
141 CHECK(mByteBufferOrderMethodID != NULL); in cacheJavaObjects()
[all …]
Dandroid_media_MediaExtractor.cpp63 CHECK(datasourceclass != NULL); in JavaDataSourceBridge()
66 CHECK(mReadMethod != NULL); in JavaDataSourceBridge()
69 CHECK(mGetSizeMethod != NULL); in JavaDataSourceBridge()
72 CHECK(mCloseMethod != NULL); in JavaDataSourceBridge()
107 CHECK(size != NULL); in getSize()
122 : mClass(NULL), in JMediaExtractor()
123 mObject(NULL) { in JMediaExtractor()
125 CHECK(clazz != NULL); in JMediaExtractor()
137 mObject = NULL; in ~JMediaExtractor()
139 mClass = NULL; in ~JMediaExtractor()
[all …]
/frameworks/compile/mclinker/lib/LD/
DELFFileFormat.cpp18 : f_pNULLSection(NULL), in ELFFileFormat()
19 f_pGOT(NULL), in ELFFileFormat()
20 f_pPLT(NULL), in ELFFileFormat()
21 f_pRelDyn(NULL), in ELFFileFormat()
22 f_pRelPlt(NULL), in ELFFileFormat()
23 f_pRelaDyn(NULL), in ELFFileFormat()
24 f_pRelaPlt(NULL), in ELFFileFormat()
25 f_pComment(NULL), in ELFFileFormat()
26 f_pData1(NULL), in ELFFileFormat()
27 f_pDebug(NULL), in ELFFileFormat()
[all …]
/frameworks/base/libs/androidfw/
DAsset.cpp50 static Asset* gHead = NULL;
51 static Asset* gTail = NULL;
64 while (cur != NULL) { in getAssetAllocations()
84 mNext = mPrev = NULL; in Asset()
85 if (gTail == NULL) { in Asset()
105 if (mNext != NULL) { in ~Asset()
108 if (mPrev != NULL) { in ~Asset()
111 mNext = mPrev = NULL; in ~Asset()
130 return NULL; in createFromFile()
143 return NULL; in createFromFile()
[all …]
/frameworks/compile/mclinker/unittests/
DGraphTest.cpp48 ASSERT_TRUE(NULL == u1->first_in); in TEST_F()
49 ASSERT_TRUE(NULL == u1->first_out); in TEST_F()
51 ASSERT_TRUE(NULL == u1->next); in TEST_F()
53 ASSERT_TRUE(NULL == u2->first_in); in TEST_F()
54 ASSERT_TRUE(NULL == u2->first_out); in TEST_F()
58 ASSERT_TRUE(NULL == u3->first_in); in TEST_F()
59 ASSERT_TRUE(NULL == u3->first_out); in TEST_F()
61 ASSERT_TRUE(NULL == u3->prev); in TEST_F()
63 ListDigraph::Node* head = NULL; in TEST_F()
69 ASSERT_TRUE(NULL == u1->first_in); in TEST_F()
[all …]
/frameworks/rs/cpp/
DRenderScript.cpp41 dispatchTable* RS::dispatch = NULL;
45 mDev = NULL; in RS()
46 mContext = NULL; in RS()
47 mErrorFunc = NULL; in RS()
48 mMessageFunc = NULL; in RS()
64 void *res = NULL; in ~RS()
68 mContext = NULL; in ~RS()
72 mDev = NULL; in ~RS()
84 if (RS::dispatch->AllocationGetType == NULL) { in loadSymbols()
89 if (RS::dispatch->TypeGetNativeData == NULL) { in loadSymbols()
[all …]
/frameworks/wilhelm/tests/sandbox/
Dengine.c31 result = slQueryNumSupportedEngineInterfaces(NULL); in main()
36 assert(engine_ids != NULL); in main()
38 assert(engine_req != NULL); in main()
55 result = slQuerySupportedEngineInterfaces(index, NULL); in main()
63 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, engine_ids, NULL); in main()
65 assert(NULL == engineObject); in main()
66 result = slCreateEngine(&engineObject, 0, NULL, numSupportedInterfaces, NULL, engine_req); in main()
68 assert(NULL == engineObject); in main()
72 result = slCreateEngine(NULL, 0, NULL, numSupportedInterfaces, engine_ids, engine_req); in main()
76 SLInterfaceID null_id[1] = {NULL}; in main()
[all …]
/frameworks/av/media/libstagefright/
DMediaBuffer.cpp34 : mObserver(NULL), in MediaBuffer()
35 mNextBuffer(NULL), in MediaBuffer()
43 mOriginal(NULL) { in MediaBuffer()
47 : mObserver(NULL), in MediaBuffer()
48 mNextBuffer(NULL), in MediaBuffer()
56 mOriginal(NULL) { in MediaBuffer()
60 : mObserver(NULL), in MediaBuffer()
61 mNextBuffer(NULL), in MediaBuffer()
63 mData(NULL), in MediaBuffer()
70 mOriginal(NULL) { in MediaBuffer()
[all …]
/frameworks/wilhelm/tests/native-media/jni/
Dnative-media-jni.c31 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;
106 assert(NULL == pCallbackContext); in AndroidBufferQueueCallback()
131 if ((pBufferData == NULL) && (pBufferContext != NULL)) { in AndroidBufferQueueCallback()
[all …]
/frameworks/base/core/jni/
Dandroid_util_XmlBlock.cpp38 if (bArray == NULL) { in android_content_XmlBlock_nativeCreate()
39 jniThrowNullPointerException(env, NULL); in android_content_XmlBlock_nativeCreate()
45 jniThrowException(env, "java/lang/IndexOutOfBoundsException", NULL); in android_content_XmlBlock_nativeCreate()
49 jbyte* b = env->GetByteArrayElements(bArray, NULL); in android_content_XmlBlock_nativeCreate()
55 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in android_content_XmlBlock_nativeCreate()
66 if (osb == NULL) { in android_content_XmlBlock_nativeGetStringBlock()
67 jniThrowNullPointerException(env, NULL); in android_content_XmlBlock_nativeGetStringBlock()
78 if (osb == NULL) { in android_content_XmlBlock_nativeCreateParseState()
79 jniThrowNullPointerException(env, NULL); in android_content_XmlBlock_nativeCreateParseState()
84 if (st == NULL) { in android_content_XmlBlock_nativeCreateParseState()
[all …]
Dandroid_util_StringBlock.cpp38 if (bArray == NULL) { in android_content_StringBlock_nativeCreate()
39 jniThrowNullPointerException(env, NULL); in android_content_StringBlock_nativeCreate()
45 jniThrowException(env, "java/lang/IndexOutOfBoundsException", NULL); in android_content_StringBlock_nativeCreate()
49 jbyte* b = env->GetByteArrayElements(bArray, NULL); in android_content_StringBlock_nativeCreate()
53 if (osb == NULL || osb->getError() != NO_ERROR) { in android_content_StringBlock_nativeCreate()
54 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in android_content_StringBlock_nativeCreate()
66 if (osb == NULL) { in android_content_StringBlock_nativeGetSize()
67 jniThrowNullPointerException(env, NULL); in android_content_StringBlock_nativeGetSize()
78 if (osb == NULL) { in android_content_StringBlock_nativeGetString()
79 jniThrowNullPointerException(env, NULL); in android_content_StringBlock_nativeGetString()
[all …]
Dandroid_net_LocalSocketImpl.cpp60 if (env->ExceptionOccurred() != NULL) { in socket_connect_local()
91 if (name == NULL) { in socket_bind_local()
92 jniThrowNullPointerException(env, NULL); in socket_bind_local()
98 if (env->ExceptionOccurred() != NULL) { in socket_bind_local()
121 if (env->ExceptionOccurred() != NULL) { in socket_listen()
150 if (s == NULL) { in socket_accept()
151 jniThrowNullPointerException(env, NULL); in socket_accept()
152 return NULL; in socket_accept()
157 if (env->ExceptionOccurred() != NULL) { in socket_accept()
158 return NULL; in socket_accept()
[all …]
/frameworks/base/tools/aapt/
DAaptConfig.h37 bool parse(const android::String8& str, ConfigDescription* out = NULL);
55 bool parseMcc(const char* str, android::ResTable_config* out = NULL);
56 bool parseMnc(const char* str, android::ResTable_config* out = NULL);
57 bool parseLayoutDirection(const char* str, android::ResTable_config* out = NULL);
58 bool parseSmallestScreenWidthDp(const char* str, android::ResTable_config* out = NULL);
59 bool parseScreenWidthDp(const char* str, android::ResTable_config* out = NULL);
60 bool parseScreenHeightDp(const char* str, android::ResTable_config* out = NULL);
61 bool parseScreenLayoutSize(const char* str, android::ResTable_config* out = NULL);
62 bool parseScreenLayoutLong(const char* str, android::ResTable_config* out = NULL);
63 bool parseOrientation(const char* str, android::ResTable_config* out = NULL);
[all …]
/frameworks/base/media/jni/audioeffect/
Dandroid_media_AudioEffect.cpp100 jobject obj = NULL; in effectCallback()
101 jbyteArray array = NULL; in effectCallback()
151 if (array == NULL) { in effectCallback()
155 bytes = env->GetByteArrayElements(array, NULL); in effectCallback()
192 fields.clazzEffect = NULL; in android_media_AudioEffect_native_init()
193 fields.clazzDesc = NULL; in android_media_AudioEffect_native_init()
197 if (clazz == NULL) { in android_media_AudioEffect_native_init()
208 if (fields.midPostNativeEvent == NULL) { in android_media_AudioEffect_native_init()
218 if (fields.fidNativeAudioEffect == NULL) { in android_media_AudioEffect_native_init()
226 if (fields.fidJniData == NULL) { in android_media_AudioEffect_native_init()
[all …]
/frameworks/compile/mclinker/lib/Support/
DTarget.cpp18 : Name(NULL), in Target()
19 TripleMatchQualityFn(NULL), in Target()
20 TargetMachineCtorFn(NULL), in Target()
21 MCLinkerCtorFn(NULL), in Target()
22 TargetLDBackendCtorFn(NULL), in Target()
23 DiagnosticLineInfoCtorFn(NULL) { in Target()
28 if (NULL == TripleMatchQualityFn) in getTripleQuality()
38 if (NULL == TargetMachineCtorFn) in createTargetMachine()
39 return NULL; in createTargetMachine()
50 if (NULL == MCLinkerCtorFn) in createMCLinker()
[all …]
/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp117 if (lang != NULL) { in fillIn()
121 if (country != NULL) { in fillIn()
125 if (script != NULL) { in fillIn()
129 if (variant != NULL) { in fillIn()
138 fillIn("en", NULL, NULL, NULL, &l); in TEST()
139 fillIn(NULL, NULL, NULL, NULL, &r); in TEST()
144 fillIn("eng", NULL, NULL, NULL, &l); in TEST()
148 fillIn("eng", "419", NULL, NULL, &r); in TEST()
152 fillIn("en", NULL, NULL, NULL, &l); in TEST()
153 fillIn("en", "US", NULL, NULL, &r); in TEST()
[all …]
/frameworks/compile/slang/
Dslang_rs_export_type.cpp62 {PrimitiveDataType, "BOOLEAN", "BOOLEAN", 8, "bool", "boolean", NULL, NULL, false},
64 {PrimitiveDataType, "UNSIGNED_5_6_5", NULL, 16, NULL, NULL, NULL, NULL, false},
65 {PrimitiveDataType, "UNSIGNED_5_5_5_1", NULL, 16, NULL, NULL, NULL, NULL, false},
66 {PrimitiveDataType, "UNSIGNED_4_4_4_4", NULL, 16, NULL, NULL, NULL, NULL, false},
68 {MatrixDataType, "MATRIX_2X2", NULL, 4*32, "rsMatrix_2x2", "Matrix2f", NULL, NULL, false},
69 {MatrixDataType, "MATRIX_3X3", NULL, 9*32, "rsMatrix_3x3", "Matrix3f", NULL, NULL, false},
70 {MatrixDataType, "MATRIX_4X4", NULL, 16*32, "rsMatrix_4x4", "Matrix4f", NULL, NULL, false},
74 {ObjectDataType, "RS_ELEMENT", "ELEMENT", 32, "Element", "Element", NULL, NULL, false},
75 {ObjectDataType, "RS_TYPE", "TYPE", 32, "Type", "Type", NULL, NULL, false},
76 …{ObjectDataType, "RS_ALLOCATION", "ALLOCATION", 32, "Allocation", "Allocation", NULL, NULL, false},
[all …]

12345678910>>...68