Home
last modified time | relevance | path

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

12345678910>>...71

/frameworks/wilhelm/src/
Dsles.cpp32 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/libs/androidfw/tests/
DConfigLocale_test.cpp118 if (lang != NULL) { in fillIn()
122 if (country != NULL) { in fillIn()
126 if (script != NULL) { in fillIn()
134 if (variant != NULL) { in fillIn()
143 fillIn("en", NULL, NULL, NULL, &l); in TEST()
144 fillIn(NULL, NULL, NULL, NULL, &r); in TEST()
149 fillIn("eng", NULL, NULL, NULL, &l); in TEST()
153 fillIn("eng", "419", NULL, NULL, &r); in TEST()
157 fillIn("en", NULL, NULL, NULL, &l); in TEST()
158 fillIn("en", "US", NULL, NULL, &r); in TEST()
[all …]
/frameworks/compile/mclinker/include/mcld/LD/
DELFFileFormat.h43 return (f_pNULLSection != NULL) && (f_pNULLSection->size() != 0); in hasNULLSection()
46 bool hasGOT() const { return (f_pGOT != NULL) && (f_pGOT->size() != 0); } in hasGOT()
48 bool hasPLT() const { return (f_pPLT != NULL) && (f_pPLT->size() != 0); } in hasPLT()
51 return (f_pRelDyn != NULL) && (f_pRelDyn->size() != 0); in hasRelDyn()
55 return (f_pRelPlt != NULL) && (f_pRelPlt->size() != 0); in hasRelPlt()
59 return (f_pRelaDyn != NULL) && (f_pRelaDyn->size() != 0); in hasRelaDyn()
63 return (f_pRelaPlt != NULL) && (f_pRelaPlt->size() != 0); in hasRelaPlt()
68 return (f_pComment != NULL) && (f_pComment->size() != 0); in hasComment()
72 return (f_pData1 != NULL) && (f_pData1->size() != 0); in hasData1()
76 return (f_pDebug != NULL) && (f_pDebug->size() != 0); in hasDebug()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Dmessage.cc84 ((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
99 static PyObject* WKT_classes = NULL;
114 if (attr_name == NULL) { in AddFieldNumberToClass()
118 if (number == NULL) { in AddFieldNumberToClass()
155 if (enum_type == NULL) { in AddDescriptors()
160 EnumTypeWrapper_class, enum_type.get(), NULL)); in AddDescriptors()
161 if (wrapped == NULL) { in AddDescriptors()
175 if (value_number == NULL) { in AddDescriptors()
193 if (extension_field == NULL) { in AddDescriptors()
223 return NULL; in New()
[all …]
Drepeated_composite_container.cc73 GOOGLE_CHECK((self)->owner.get() == NULL); \
74 GOOGLE_CHECK((self)->message == NULL); \
75 GOOGLE_CHECK((self)->parent_field_descriptor == NULL); \
76 GOOGLE_CHECK((self)->parent == NULL); \
84 if (message != NULL) { in Length()
97 if (self->message == NULL) in UpdateChildMessages()
112 if (cmsg == NULL) { in UpdateChildMessages()
134 return NULL; in AddToAttached()
137 return NULL; in AddToAttached()
143 if (cmsg == NULL) in AddToAttached()
[all …]
Drepeated_scalar_container.cc73 if (ScopedPyObjectPtr(Append(self, value)) == NULL) { in InternalAssignRepeatedField()
105 if (arg == NULL) { in AssignItem()
108 py_index.get(), NULL); in AssignItem()
168 if (enum_value != NULL) { in AssignItem()
173 if (s != NULL) { in AssignItem()
204 return NULL; in Item()
207 PyObject* result = NULL; in Item()
266 &CMessage_Type), NULL); in Item()
267 if (py_cmsg == NULL) { in Item()
268 return NULL; in Item()
[all …]
Ddescriptor_pool.cc50 ((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
69 if (cpool == NULL) { in _CreateDescriptorPool()
70 return NULL; in _CreateDescriptorPool()
73 cpool->underlay = NULL; in _CreateDescriptorPool()
74 cpool->database = NULL; in _CreateDescriptorPool()
99 if (cpool == NULL) { in PyDescriptorPool_NewWithUnderlay()
100 return NULL; in PyDescriptorPool_NewWithUnderlay()
109 return NULL; in PyDescriptorPool_NewWithUnderlay()
118 if (cpool == NULL) { in PyDescriptorPool_NewWithDatabase()
119 return NULL; in PyDescriptorPool_NewWithDatabase()
[all …]
Ddescriptor.cc57 ((*(charpp) = PyUnicode_AsUTF8AndSize(ob, (sizep))) == NULL? -1: 0): \
99 if (frame == NULL) { in _CalledFromGeneratedFile()
104 if (frame == NULL) { in _CalledFromGeneratedFile()
113 if (frame->f_code->co_filename == NULL) { in _CalledFromGeneratedFile()
209 if (message_class == NULL) { in GetOrBuildOptions()
218 if (message_class == NULL) { in GetOrBuildOptions()
221 return NULL; in GetOrBuildOptions()
224 PyEval_CallObject(message_class->AsPyObject(), NULL)); in GetOrBuildOptions()
225 if (value == NULL) { in GetOrBuildOptions()
226 return NULL; in GetOrBuildOptions()
[all …]
Dextension_dict.cc94 if (descriptor == NULL) { in subscript()
95 return NULL; in subscript()
98 return NULL; in subscript()
107 if (value != NULL) { in subscript()
112 if (self->parent == NULL) { in subscript()
117 return NULL; in subscript()
124 if (sub_message == NULL) { in subscript()
125 return NULL; in subscript()
136 if (message_class == NULL) { in subscript()
137 return NULL; in subscript()
[all …]
/frameworks/base/libs/androidfw/
DAsset.cpp53 static Asset* gHead = NULL;
54 static Asset* gTail = NULL;
60 asset->mNext = asset->mPrev = NULL; in registerAsset()
61 if (gTail == NULL) { in registerAsset()
84 if (asset->mNext != NULL) { in unregisterAsset()
87 if (asset->mPrev != NULL) { in unregisterAsset()
90 asset->mNext = asset->mPrev = NULL; in unregisterAsset()
108 while (cur != NULL) { in getAssetAllocations()
124 : mAccessMode(ACCESS_UNKNOWN), mNext(NULL), mPrev(NULL) in Asset()
143 return NULL; in createFromFile()
[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/compile/mclinker/unittests/
DGraphTest.cpp43 ASSERT_TRUE(NULL == u1->first_in); in TEST_F()
44 ASSERT_TRUE(NULL == u1->first_out); in TEST_F()
46 ASSERT_TRUE(NULL == u1->next); in TEST_F()
48 ASSERT_TRUE(NULL == u2->first_in); in TEST_F()
49 ASSERT_TRUE(NULL == u2->first_out); in TEST_F()
53 ASSERT_TRUE(NULL == u3->first_in); in TEST_F()
54 ASSERT_TRUE(NULL == u3->first_out); in TEST_F()
56 ASSERT_TRUE(NULL == u3->prev); in TEST_F()
58 ListDigraph::Node* head = NULL; in TEST_F()
64 ASSERT_TRUE(NULL == u1->first_in); in TEST_F()
[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/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 parseScreenRound(const char* name, android::ResTable_config* out = NULL);
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer2.cpp114 if (keys != NULL && values != NULL) { in ConvertKeyValueArraysToKeyedVector()
120 failed = ((keys != NULL && values == NULL) || in ConvertKeyValueArraysToKeyedVector()
121 (keys == NULL && values != NULL)); in ConvertKeyValueArraysToKeyedVector()
126 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in ConvertKeyValueArraysToKeyedVector()
136 const char* keyStr = env->GetStringUTFChars(key, NULL); in ConvertKeyValueArraysToKeyedVector()
141 const char* valueStr = env->GetStringUTFChars(value, NULL); in ConvertKeyValueArraysToKeyedVector()
165 const PlayerMessage *obj = NULL) override;
178 if (clazz == NULL) { in JNIMediaPlayer2Listener()
180 jniThrowException(env, "java/lang/Exception", NULL); in JNIMediaPlayer2Listener()
202 if (obj != NULL) { in notify()
[all …]
Dandroid_media_MediaCodecList.cpp103 if (mcl == NULL) { in getCodecList()
122 if (info.info == NULL) { in getCodecInfo()
123 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in getCodecInfo()
132 if (mcl == NULL) { in android_media_MediaCodecList_getCodecCount()
143 if (info.info == NULL) { in android_media_MediaCodecList_getCodecName()
145 return NULL; in android_media_MediaCodecList_getCodecName()
155 if (info.info == NULL) { in android_media_MediaCodecList_getCanonicalName()
157 return NULL; in android_media_MediaCodecList_getCanonicalName()
166 if (name == NULL) { in android_media_MediaCodecList_findCodecByName()
167 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in android_media_MediaCodecList_findCodecByName()
[all …]
Dandroid_media_MediaRecorder.cpp96 if (clazz == NULL) { in JNIMediaRecorderListener()
98 jniThrowException(env, "java/lang/Exception", NULL); in JNIMediaRecorderListener()
121 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, NULL); in notify()
143 jniThrowException(env, "java/lang/IllegalStateException", NULL); in process_media_recorder_call()
177 if (camera == NULL) { in android_media_MediaRecorder_setCamera()
181 sp<Camera> c = get_native_camera(env, camera, NULL); in android_media_MediaRecorder_setCamera()
182 if (c == NULL) { in android_media_MediaRecorder_setCamera()
187 if (mr == NULL) { in android_media_MediaRecorder_setCamera()
188 jniThrowException(env, "java/lang/IllegalStateException", NULL); in android_media_MediaRecorder_setCamera()
204 if (mr == NULL) { in android_media_MediaRecorder_setVideoSource()
[all …]
Dandroid_media_MediaPlayer.cpp109 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj = NULL);
122 if (clazz == NULL) { in JNIMediaPlayerListener()
124 jniThrowException(env, "java/lang/Exception", NULL); in JNIMediaPlayerListener()
147 if (jParcel != NULL) { in notify()
156 msg, ext1, ext2, NULL); in notify()
194 if (exception == NULL) { // Don't throw exception. Instead, send an event. in process_media_player_call()
201 jniThrowException(env, "java/lang/IllegalStateException", NULL); in process_media_player_call()
203 jniThrowException(env, "java/lang/IllegalArgumentException", NULL); in process_media_player_call()
205 jniThrowException(env, "java/lang/SecurityException", NULL); in process_media_player_call()
226 if (mp == NULL ) { in android_media_MediaPlayer_setDataSourceAndHeaders()
[all …]
Dandroid_media_MediaExtractor.cpp63 : mClass(NULL), in JMediaExtractor()
64 mObject(NULL) { in JMediaExtractor()
66 CHECK(clazz != NULL); in JMediaExtractor()
78 mObject = NULL; in ~JMediaExtractor()
80 mClass = NULL; in ~JMediaExtractor()
99 if (casBinderObj == NULL) { in setMediaCas()
105 if (hwBinder == NULL) { in setMediaCas()
110 if (cas == NULL) { in setMediaCas()
174 jbyteArray byteArray = NULL; in readSampleData()
177 CHECK(byteBufClass.get() != NULL); in readSampleData()
[all …]
Dandroid_media_MediaCrypto.cpp54 if (mCrypto != NULL) { in ~JCrypto()
62 mObject = NULL; in ~JCrypto()
71 if (service == NULL) { in MakeCrypto()
72 return NULL; in MakeCrypto()
76 if (crypto == NULL || (crypto->initCheck() != OK && crypto->initCheck() != NO_INIT)) { in MakeCrypto()
77 return NULL; in MakeCrypto()
88 if (crypto == NULL) { in MakeCrypto()
89 return NULL; in MakeCrypto()
95 return NULL; in MakeCrypto()
102 if (mCrypto == NULL) { in requiresSecureDecoderComponent()
[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 …]
/frameworks/av/media/libmedia/
DNdkWrapper.cpp322 if (mAMediaFormat != NULL) { in release()
324 mAMediaFormat = NULL; in release()
341 if (mAMediaFormat == NULL) { in writeToAMessage()
342 msg = NULL; in writeToAMessage()
345 if (msg == NULL) { in writeToAMessage()
404 if (mAMediaFormat == NULL) { in toString()
405 return NULL; in toString()
411 if (mAMediaFormat == NULL) { in getInt32()
418 if (mAMediaFormat == NULL) { in getInt64()
425 if (mAMediaFormat == NULL) { in getFloat()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Dfield_comparator_test.cc68 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
75 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
82 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
91 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
95 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
104 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
108 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
118 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
122 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
132 comparator_.Compare(message_1_, message_2_, field, -1, -1, NULL)); in TEST_F()
[all …]
/frameworks/compile/mclinker/lib/Support/
DTarget.cpp19 : Name(NULL), in Target()
20 TripleMatchQualityFn(NULL), in Target()
21 TargetMachineCtorFn(NULL), in Target()
22 MCLinkerCtorFn(NULL), in Target()
23 TargetLDBackendCtorFn(NULL), in Target()
24 DiagnosticLineInfoCtorFn(NULL) { in Target()
28 if (TripleMatchQualityFn == NULL) in getTripleQuality()
36 if (TargetMachineCtorFn == NULL) in createTargetMachine()
37 return NULL; in createTargetMachine()
46 if (MCLinkerCtorFn == NULL) in createMCLinker()
[all …]

12345678910>>...71