/external/qemu/ |
qjson.c | 62 QObject *obj; local 66 obj = qobject_from_jsonv(string, &ap); 69 assert(obj != NULL); 70 return obj; 79 static void to_json(const QObject *obj, QString *str); 81 static void to_json_dict_iter(const char *key, QObject *obj, void *opaque) 95 to_json(obj, s->str); 99 static void to_json_list_iter(QObject *obj, void *opaque) 107 to_json(obj, s->str); 111 static void to_json(const QObject *obj, QString *str [all...] |
/frameworks/base/tests/BrowserTestPlugin/jni/ |
main.cpp | 139 PluginObject *obj = NULL; local 144 obj = static_cast<PluginObject*>(instance->pdata); 145 memset(obj, 0, sizeof(*obj)); 163 obj->subPlugin = new EventPlugin(instance); 170 PluginObject *obj = (PluginObject*) instance->pdata; local 171 if (obj) { 172 delete obj->subPlugin; 173 browser->releaseobject(&obj->header); 181 PluginObject *obj = (PluginObject*) instance->pdata local 222 PluginObject *obj = reinterpret_cast<PluginObject*>(instance->pdata); local 259 PluginObject *obj = (PluginObject*) instance->pdata; local [all...] |
/dalvik/vm/ |
ReferenceTable.h | 83 * Add a new entry. "obj" must be a valid non-NULL object reference 85 * dvmMalloc doesn't have obj->clazz set). 89 bool dvmAddToReferenceTable(ReferenceTable* pRef, Object* obj); 92 * Determine if "obj" is present in "pRef". Stops searching when we hit 96 * Returns NULL if "obj" was not found. 99 Object* obj); 110 Object* obj);
|
/external/apache-http/src/org/apache/http/util/ |
LangUtils.java | 59 public static int hashCode(final int seed, final Object obj) { 60 return hashCode(seed, obj != null ? obj.hashCode() : 0);
|
/external/skia/include/core/ |
SkTemplates.h | 38 SkAutoTCallVProc(T* obj): fObj(obj) {} 40 T* detach() { T* obj = fObj; fObj = NULL; return obj; } local 55 SkAutoTCallIProc(T* obj): fObj(obj) {} 57 T* detach() { T* obj = fObj; fObj = NULL; return obj; } local 64 SkAutoTDelete(T* obj) : fObj(obj) {} 69 T* detach() { T* obj = fObj; fObj = NULL; return obj; } local [all...] |
/frameworks/base/services/jni/ |
com_android_server_location_GpsLocationProvider.cpp | 238 static const GpsInterface* GetGpsInterface(JNIEnv* env, jobject obj) { 241 mCallbacksObj = env->NewGlobalRef(obj); 253 static const AGpsInterface* GetAGpsInterface(JNIEnv* env, jobject obj) 255 const GpsInterface* interface = GetGpsInterface(env, obj); 267 static const GpsNiInterface* GetNiInterface(JNIEnv* env, jobject obj) 269 const GpsInterface* interface = GetGpsInterface(env, obj); 281 static const AGpsRilInterface* GetAGpsRilInterface(JNIEnv* env, jobject obj) 283 const GpsInterface* interface = GetGpsInterface(env, obj); 312 static jboolean android_location_GpsLocationProvider_init(JNIEnv* env, jobject obj) 314 const GpsInterface* interface = GetGpsInterface(env, obj); [all...] |
/libcore/luni/src/main/java/org/apache/xpath/objects/ |
DTMXRTreeFrag.java | 51 public final boolean equals(Object obj) { 52 if (obj instanceof DTMXRTreeFrag) { 53 return (m_dtmIdentity == ((DTMXRTreeFrag)obj).getDTMIdentity());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/editors/layout/gscripts/ |
Point.java | 58 public boolean equals(Object obj) { 59 if (obj instanceof Point) { 60 Point rhs = (Point) obj;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/runtime/ |
AndroidTestReference.java | 51 public boolean equals(Object obj) { 52 if (obj instanceof ITestIdentifier) { 53 ITestIdentifier testid = (ITestIdentifier) obj;
|
/frameworks/base/core/jni/android/graphics/ |
Graphics.cpp | 193 void GraphicsJNI::get_jrect(JNIEnv* env, jobject obj, int* L, int* T, int* R, int* B) 195 SkASSERT(env->IsInstanceOf(obj, gRect_class)); 197 *L = env->GetIntField(obj, gRect_leftFieldID); 198 *T = env->GetIntField(obj, gRect_topFieldID); 199 *R = env->GetIntField(obj, gRect_rightFieldID); 200 *B = env->GetIntField(obj, gRect_bottomFieldID); 203 void GraphicsJNI::set_jrect(JNIEnv* env, jobject obj, int L, int T, int R, int B) 205 SkASSERT(env->IsInstanceOf(obj, gRect_class)); 207 env->SetIntField(obj, gRect_leftFieldID, L); 208 env->SetIntField(obj, gRect_topFieldID, T) 369 jobject obj = env->AllocObject(gBitmap_class); local 384 jobject obj = env->AllocObject(gBitmapRegionDecoder_class); local 401 jobject obj = env->AllocObject(gRegion_class); local [all...] |
/external/webkit/JavaScriptCore/tests/mozilla/js1_6/Array/ |
regress-290592.js | 173 var obj; variable 245 var obj = new ArrayCallback(true); 246 actual = strings.map(obj.makeUpperCase, obj).toString(); 257 obj = new ArrayCallback(false); 258 actual = strings.map(obj.makeUpperCase, obj).toString(); 337 obj = new ArrayCallback(true); 338 strings.forEach(obj.concat, obj); [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/ |
DEROutputStream.java | 114 Object obj) 117 if (obj == null) 121 else if (obj instanceof DERObject) 123 ((DERObject)obj).encode(this); 125 else if (obj instanceof DEREncodable) 127 ((DEREncodable)obj).getDERObject().encode(this);
|
BERSequence.java | 20 DEREncodable obj) 22 super(obj);
|
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/pkcs/ |
CertificationRequestInfo.java | 41 Object obj) 43 if (obj instanceof CertificationRequestInfo) 45 return (CertificationRequestInfo)obj; 47 else if (obj instanceof ASN1Sequence) 49 return new CertificationRequestInfo((ASN1Sequence)obj); 52 throw new IllegalArgumentException("unknown object in factory: " + obj.getClass().getName());
|
MacData.java | 25 Object obj) 27 if (obj instanceof MacData) 29 return (MacData)obj; 31 else if (obj instanceof ASN1Sequence) 33 return new MacData((ASN1Sequence)obj); 36 throw new IllegalArgumentException("unknown object in factory: " + obj.getClass().getName());
|
PBKDF2Params.java | 23 Object obj) 25 if (obj instanceof PBKDF2Params) 27 return (PBKDF2Params)obj; 30 if (obj instanceof ASN1Sequence) 32 return new PBKDF2Params((ASN1Sequence)obj); 35 throw new IllegalArgumentException("unknown object in factory: " + obj.getClass().getName());
|
PrivateKeyInfo.java | 29 ASN1TaggedObject obj, 32 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 36 Object obj) 38 if (obj instanceof PrivateKeyInfo) 40 return (PrivateKeyInfo)obj; 42 else if (obj instanceof ASN1Sequence) 44 return new PrivateKeyInfo((ASN1Sequence)obj); 47 throw new IllegalArgumentException("unknown object in factory: " + obj.getClass().getName());
|
/external/webkit/WebCore/bridge/jni/jsc/ |
JavaInstanceJSC.cpp | 173 jobject obj = m_instance->m_instance; local 176 handled = dispatchJNICall(exec, rootObject->nativeHandle(), obj, jMethod->isStatic(), jMethod->JNIReturnType(), jMethod->methodID(obj), jArgs, result, callingURL, exceptionDescription); 187 jobject obj = m_instance->m_instance; local 190 callJNIMethodIDA<void>(obj, jMethod->methodID(obj), jArgs); 193 result.l = callJNIMethodIDA<jobject>(obj, jMethod->methodID(obj), jArgs); 196 result.z = callJNIMethodIDA<jboolean>(obj, jMethod->methodID(obj), jArgs) [all...] |
/external/webkit/WebKit/gtk/webkit/ |
webkitdownload.h | 31 #define WEBKIT_DOWNLOAD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_DOWNLOAD, WebKitDownload)) 33 #define WEBKIT_IS_DOWNLOAD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_DOWNLOAD)) 35 #define WEBKIT_DOWNLOAD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_TYPE_DOWNLOAD, WebKitDownloadClass))
|
webkitwebbackforwardlist.h | 32 #define WEBKIT_WEB_BACK_FORWARD_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), WEBKIT_TYPE_WEB_BACK_FORWARD_LIST, WebKitWebBackForwardList)) 34 #define WEBKIT_IS_WEB_BACK_FORWARD_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), WEBKIT_TYPE_WEB_BACK_FORWARD_LIST)) 36 #define WEBKIT_WEB_BACK_FORWARD_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), WEBKIT_TYPE_WEB_BACK_FORWARD_LIST, WebKitWebBackForwardListClass))
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/io/ |
IFileWrapper.java | 101 public boolean equals(Object obj) { 102 if (obj instanceof IFileWrapper) { 103 return mFile.equals(((IFileWrapper)obj).mFile); 106 if (obj instanceof IFile) { 107 return mFile.equals(obj); 110 return super.equals(obj);
|
/external/webkit/WebKit/android/jni/ |
JavaBridge.cpp | 68 JavaBridge(JNIEnv* env, jobject obj); 97 static void Constructor(JNIEnv* env, jobject obj); 98 static void Finalize(JNIEnv* env, jobject obj); 100 static void SetCacheSize(JNIEnv* env, jobject obj, jint bytes); 101 static void SetNetworkOnLine(JNIEnv* env, jobject obj, jboolean online); 102 static void SetNetworkType(JNIEnv* env, jobject obj, jstring type, jstring subtype); 103 static void SetDeferringTimers(JNIEnv* env, jobject obj, jboolean defer); 105 static void UpdatePluginDirectories(JNIEnv* env, jobject obj, jobjectArray array, jboolean reload); 106 static void AddPackageNames(JNIEnv* env, jobject obj, jobject packageNames); 107 static void AddPackageName(JNIEnv* env, jobject obj, jstring packageName) 177 AutoJObject obj = getRealObject(env, mJavaObject); local 185 AutoJObject obj = getRealObject(env, mJavaObject); local 197 AutoJObject obj = getRealObject(env, mJavaObject); local 210 AutoJObject obj = getRealObject(env, mJavaObject); local 223 AutoJObject obj = getRealObject(env, mJavaObject); local 233 AutoJObject obj = getRealObject(env, mJavaObject); local 251 AutoJObject obj = getRealObject(env, mJavaObject); local 273 AutoJObject obj = getRealObject(env, mJavaObject); local 280 AutoJObject obj = getRealObject(env, mJavaObject); local 301 AutoJObject obj = getRealObject(env, mJavaObject); local [all...] |
/external/v8/test/cctest/ |
test-heap.cc | 44 static void CheckOddball(Object* obj, const char* string) { 45 CHECK(obj->IsOddball()); 47 Object* print_string = *Execution::ToString(Handle<Object>(obj), &exc); 61 Object* obj = Heap::NumberFromDouble(value); local 62 CHECK(obj->IsNumber()); 64 Object* print_string = *Execution::ToString(Handle<Object>(obj), &exc); 85 HeapObject* obj = HeapObject::cast(code); local 86 Address obj_addr = obj->address(); 88 for (int i = 0; i < obj->Size(); i += kPointerSize) { 224 JSObject* obj = JSObject::cast(Heap::AllocateJSObject(function)) local 524 JSObject* obj = JSObject::cast(Heap::AllocateJSObject(function)); local 541 JSObject* obj = JSObject::cast(Heap::AllocateJSObject(constructor)); local 613 JSObject* obj = JSObject::cast(Heap::AllocateJSObject(function)); local 673 JSObject* obj = JSObject::cast(Heap::AllocateJSObject(constructor)); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
Holder.java | 51 public static Holder getInstance(Object obj) 53 if (obj instanceof Holder) 55 return (Holder)obj; 57 else if (obj instanceof ASN1Sequence) 59 return new Holder((ASN1Sequence)obj); 61 else if (obj instanceof ASN1TaggedObject) 63 return new Holder((ASN1TaggedObject)obj); 66 throw new IllegalArgumentException("unknown object in factory: " + obj.getClass().getName());
|
TBSCertificateStructure.java | 50 ASN1TaggedObject obj, 53 return getInstance(ASN1Sequence.getInstance(obj, explicit)); 57 Object obj) 59 if (obj instanceof TBSCertificateStructure) 61 return (TBSCertificateStructure)obj; 63 else if (obj instanceof ASN1Sequence) 65 return new TBSCertificateStructure((ASN1Sequence)obj); 68 throw new IllegalArgumentException("unknown object in factory: " + obj.getClass().getName());
|