/external/webkit/WebCore/svg/ |
SVGElementInstanceList.cpp | 40 for (SVGElementInstance* instance = m_rootInstance->firstChild(); instance; instance = instance->nextSibling()) 48 SVGElementInstance* instance = m_rootInstance->firstChild(); local 49 while (instance && pos < index) { 50 instance = instance->nextSibling(); 53 return instance;
|
/external/webkit/WebCore/plugins/ |
npapi.cpp | 35 // The plugin view is always the ndata of the instance,. Sometimes, plug-ins will call an instance-specific function 36 // with a NULL instance. To workaround this, call the last plug-in view that made a call to a plug-in. 38 // This specifically works around Flash and Shockwave. When we call NPP_New, they call NPN_Useragent with a NULL instance. 39 static PluginView* pluginViewForInstance(NPP instance) 41 if (instance && instance->ndata) 42 return static_cast<PluginView*>(instance->ndata); 72 NPError NPN_GetURLNotify(NPP instance, const char* url, const char* target, void* notifyData) 74 return pluginViewForInstance(instance)->getURLNotify(url, target, notifyData) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/ |
TimezoneGetter.java | 25 private static TimezoneGetter instance; field in class:TimezoneGetter 28 * Retrieves the singleton instance of this class. 30 * @return TimezoneGetter the single instance of this class. 33 return instance; 37 * Sets the singleton instance of this class. 39 * @param instance 40 * TimezoneGetter the single instance of this class. 43 if (instance != null) { 44 throw new UnsupportedOperationException("TimezoneGetter instance already set"); 46 instance = getter [all...] |
/system/media/opensles/libopensles/ |
sync.c | 64 IObject *instance = (IObject *) this->mEngine.mInstances[i]; local 66 if (NULL == instance) { 70 object_lock_exclusive(instance); 71 unsigned attributesMask = instance->mAttributesMask; 72 instance->mAttributesMask = 0; 74 switch (IObjectToObjectID(instance)) { 77 object_unlock_exclusive(instance); 80 CAudioPlayer *audioPlayer = (CAudioPlayer *) instance; 87 object_unlock_exclusive(instance);
|
/external/webkit/WebCore/bridge/ |
runtime_object.cpp | 42 RuntimeObjectImp::RuntimeObjectImp(ExecState* exec, PassRefPtr<Instance> instance) 46 , m_instance(instance) 50 RuntimeObjectImp::RuntimeObjectImp(ExecState*, NonNullPassRefPtr<Structure> structure, PassRefPtr<Instance> instance) 52 , m_instance(instance) 73 RefPtr<Instance> instance = thisObj->m_instance; local 75 if (!instance) 78 instance->begin() 91 RefPtr<Instance> instance = thisObj->m_instance; local 110 RefPtr<Instance> instance = thisObj->m_instance; local 133 RefPtr<Instance> instance = m_instance; local 178 RefPtr<Instance> instance = m_instance; local 227 RefPtr<Instance> instance = m_instance; local 312 RefPtr<Instance> instance = m_instance; local [all...] |
/external/webkit/WebCore/bridge/jni/v8/ |
JavaNPObjectV8.cpp | 72 NPObject* JavaInstanceToNPObject(PassRefPtr<JavaInstance> instance) 76 object->m_instance = instance; 90 JavaInstance* instance = ExtractJavaInstance(obj); local 91 if (!instance) 97 instance->begin(); 98 bool result = (instance->getClass()->methodsNamed(name).size() > 0); 99 instance->end(); 109 JavaInstance* instance = ExtractJavaInstance(obj); local 110 if (!instance) 116 instance->begin() 127 JavaInstance* instance = ExtractJavaInstance(obj); local 143 JavaInstance* instance = ExtractJavaInstance(obj); local [all...] |
/dalvik/tests/034-call-null/src/ |
Main.java | 11 Main instance = null; local 12 instance.doStuff();
|
/external/chromium/base/ |
lazy_instance.h | 5 // The LazyInstance<Type, Traits> class manages a single instance of Type, 10 // and Pointer() will always return the same, completely initialized instance. 11 // When the instance is constructed it is registered with AtExitManager. The 21 // will manage a unique instance. It also preallocates the space for Type, as 22 // to avoid allocating the Type instance on the heap. This may help with the 23 // performance of creating the instance, and reducing heap fragmentation. This 46 static void New(void* instance) { 47 // Use placement new to initialize our instance in our preallocated space. 49 new (instance) Type(); 51 static void Delete(void* instance) { 98 Type* instance = reinterpret_cast<Type*>(&buf_); local [all...] |
/external/webkit/WebKit/android/plugins/ |
ANPWindowInterface.cpp | 33 static PluginView* pluginViewForInstance(NPP instance) { 34 if (instance && instance->ndata) 35 return static_cast<PluginView*>(instance->ndata); 39 static void anp_setVisibleRects(NPP instance, const ANPRectI rects[], int32_t count) { 40 PluginView* pluginView = pluginViewForInstance(instance); 45 static void anp_clearVisibleRects(NPP instance) { 46 anp_setVisibleRects(instance, NULL, 0); 49 static void anp_showKeyboard(NPP instance, bool value) { 50 PluginView* pluginView = pluginViewForInstance(instance); [all...] |
ANPSystem_npapi.h | 47 jclass (*loadJavaClass)(NPP instance, const char* className);
|
/external/webkit/WebKit/mac/Plugins/ |
npapi.mm | 38 WebNetscapePluginView *pluginViewForInstance(NPP instance); 69 // instance-specific functions 70 // The plugin view is always the ndata of the instance. Sometimes, plug-ins will call an instance-specific function 71 // with a NULL instance. To workaround this, call the last plug-in view that made a call to a plug-in. 73 // This specifically works around Flash and Shockwave. When we call NPP_New, they call NPN_UserAgent with a NULL instance. 74 WebNetscapePluginView *pluginViewForInstance(NPP instance) 76 if (instance && instance->ndata) 77 return (WebNetscapePluginView *)instance->ndata [all...] |
/frameworks/base/include/utils/ |
Singleton.h | 33 TYPE* instance = sInstance; local 34 if (instance == 0) { 35 instance = new TYPE(); 36 sInstance = instance; 38 return *instance; 54 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
|
/external/icu4c/common/ |
mutex.cpp | 26 void *instance; local 27 UMTX_CHECK(NULL, fInstance, instance); 28 if(instance!=NULL) { 29 return instance; 31 instance=instantiator(context, errorCode); 34 fInstance=instance; 36 duplicate=instance; 52 return fInstance; // instance was created 54 errorCode=fErrorCode; // instance creation failed 57 void *instance=instantiator(context, errorCode) local [all...] |
/external/webkit/WebKitExamplePlugins/NetscapeCoreAnimationPlugin/ |
main.m | 45 // Structure for per-instance storage 56 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char* argn[], char* argv[], NPSavedData* saved); 57 NPError NPP_Destroy(NPP instance, NPSavedData** save); 58 NPError NPP_SetWindow(NPP instance, NPWindow* window); 59 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* stype); 60 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason); 61 int32 NPP_WriteReady(NPP instance, NPStream* stream); 62 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer); 63 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname); 64 void NPP_Print(NPP instance, NPPrint* platformPrint) [all...] |
/frameworks/base/core/java/android/gesture/ |
Learner.java | 25 private final ArrayList<Instance> mInstances = new ArrayList<Instance>(); 28 * Add an instance to the learner 30 * @param instance 32 void addInstance(Instance instance) { 33 mInstances.add(instance); 41 ArrayList<Instance> getInstances() { 46 * Remove an instance based on its id 51 ArrayList<Instance> instances = mInstances 54 Instance instance = instances.get(i); local 73 final Instance instance = instances.get(i); local [all...] |
/external/webkit/WebCore/bindings/v8/ |
ScriptInstance.cpp | 45 V8ScriptInstance::V8ScriptInstance(v8::Handle<v8::Object> instance) 47 set(instance); 55 v8::Persistent<v8::Object> V8ScriptInstance::instance() function in class:WebCore::V8ScriptInstance 71 void V8ScriptInstance::set(v8::Handle<v8::Object> instance) 74 if (instance.IsEmpty()) 77 m_instance = v8::Persistent<v8::Object>::New(instance);
|
/frameworks/base/tests/BrowserTestPlugin/jni/ |
main.cpp | 37 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, 39 NPError NPP_Destroy(NPP instance, NPSavedData** save); 40 NPError NPP_SetWindow(NPP instance, NPWindow* window); 41 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, 43 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason); 44 int32 NPP_WriteReady(NPP instance, NPStream* stream); 45 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, 47 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname); 48 void NPP_Print(NPP instance, NPPrint* platformPrint); 49 int16 NPP_HandleEvent(NPP instance, void* event) [all...] |
/external/webkit/WebCore/bridge/objc/ |
objc_class.h | 43 virtual MethodList methodsNamed(const Identifier&, Instance *instance) const; 44 virtual Field *fieldNamed(const Identifier&, Instance *instance) const; 46 virtual JSValue fallbackObject(ExecState *exec, Instance *instance, const Identifier &propertyName);
|
/external/webkit/WebKit/win/WebCoreSupport/ |
WebInspectorDelegate.cpp | 39 WebInspectorDelegate* instance = new WebInspectorDelegate; local 40 instance->AddRef(); 41 return instance;
|
/dalvik/vm/oo/ |
TypeCheck.h | 28 int dvmInstanceofNonTrivial(const ClassObject* instance, 32 * Determine whether "instance" is an instance of "clazz". 36 INLINE int dvmInstanceof(const ClassObject* instance, const ClassObject* clazz) 38 if (instance == clazz) { 43 return dvmInstanceofNonTrivial(instance, clazz);
|
/external/guava/src/com/google/common/collect/ |
ExpirationTimer.java | 25 static Timer instance = new Timer(true); field in class:ExpirationTimer
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/groovytests/ |
TestGroovy.java | 59 * @return A non-null instance of the groovy class on success. 85 // Get an instance. This might throw ClassCastException. 96 AdtTestInterface instance = loadScript("not_an_existing_script.groovy"); local 113 AdtTestInterface instance = loadScript("invalid_interface.groovy"); local 132 AdtTestInterface instance = loadScript("compile_error.groovy"); local 148 AdtTestInterface instance = loadScript("simple_test.groovy"); local 150 assertTrue(instance.acceptDrag("LinearLayout")); 151 assertFalse(instance.acceptDrag("RelativeLayout")); 152 assertNull(instance.acceptDrop("none")); 154 Rectangle r = instance.acceptDrop("LinearLayout") 163 AdtTestInterface instance = loadScript("simple_test.groovy"); local [all...] |
/development/samples/BrowserPlugin/jni/ |
main.cpp | 44 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, 46 NPError NPP_Destroy(NPP instance, NPSavedData** save); 47 NPError NPP_SetWindow(NPP instance, NPWindow* window); 48 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, 50 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason); 51 int32 NPP_WriteReady(NPP instance, NPStream* stream); 52 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, 54 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname); 55 void NPP_Print(NPP instance, NPPrint* platformPrint); 56 int16 NPP_HandleEvent(NPP instance, void* event) [all...] |
/external/webkit/WebKitExamplePlugins/NetscapeCocoaPlugin/ |
MenuHandler.h | 40 NPP instance; variable 43 - (id)initWithBrowserFuncs:(NPNetscapeFuncs *)theBrowserFuncs instance:(NPP)theInstance;
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/ |
ClassWithNative_Delegate.java | 27 public static int native_instance(ClassWithNative instance, int a, double d, Object[] o) { 29 o[0] = instance;
|