HomeSort by relevance Sort by last modified time
    Searched refs:instance (Results 1 - 25 of 432) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /dalvik/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...]
  /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/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/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;
main.m 45 // Structure for per-instance storage
59 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char* argn[], char* argv[], NPSavedData* saved);
60 NPError NPP_Destroy(NPP instance, NPSavedData** save);
61 NPError NPP_SetWindow(NPP instance, NPWindow* window);
62 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* stype);
63 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
64 int32 NPP_WriteReady(NPP instance, NPStream* stream);
65 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer);
66 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
67 void NPP_Print(NPP instance, NPPrint* platformPrint)
    [all...]
  /external/webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/
main.cpp 69 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char *argn[], char *argv[], NPSavedData *saved)
75 if (browser->getvalue(instance, NPNVsupportsCoreGraphicsBool, &supportsCoreGraphics) != NPERR_NO_ERROR)
81 browser->setvalue(instance, NPPVpluginDrawingModel, (void *)NPDrawingModelCoreGraphics);
83 PluginObject* obj = (PluginObject*)browser->createobject(instance, getPluginClass());
84 instance->pdata = obj;
99 testNPRuntime(instance);
105 pluginLog(instance, "src: %s", argv[i]);
123 if (browser->getvalue(instance, NPNVsupportsCarbonBool, &supportsCarbon) != NPERR_NO_ERROR)
127 if (browser->getvalue(instance, NPNVsupportsCocoaBool, &supportsCocoa) != NPERR_NO_ERROR)
140 browser->getvalue(instance, NPNVprivateModeBool, (void *)&obj->cachedPrivateBrowsingMode)
    [all...]
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
DeleteOnExit.java 33 * Our singleton instance.
35 private static DeleteOnExit instance; field in class:DeleteOnExit
43 * Returns our singleton instance, creating it if necessary.
46 if (instance == null) {
47 instance = new DeleteOnExit();
48 Runtime.getRuntime().addShutdownHook(instance);
51 return instance;
  /dalvik/hit/src/com/android/hit/
RootObj.java 21 public class RootObj extends Instance {
54 Instance instance = state.findReference(mId); local
56 theClass = state.findClass(instance.mClassId);
68 Instance instance = null; local
71 instance = mHeap.mState.findClass(mId);
73 instance = mHeap.mState.findReference(mId);
76 if (instance == null) {
80 return instance.getSize()
    [all...]

Completed in 1584 milliseconds

1 2 3 4 5 6 7 8 91011>>