/external/webkit/Source/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/valgrind/main/memcheck/tests/x86/ |
fpeflags.c | 3 struct instance struct 8 static struct instance* myInstance; 14 myInstance = malloc(sizeof(struct instance));
|
/external/webkit/Source/WebKit/android/plugins/ |
ANPNativeWindow_npapi.h | 42 ANativeWindow* (*acquireNativeWindow)(NPP instance); 48 void (*invertPluginContent)(NPP instance, bool isContentInverted);
|
ANPSystem_npapi.h | 47 jclass (*loadJavaClass)(NPP instance, const char* className); 57 void (*setPowerState)(NPP instance, ANPPowerState powerState); 65 const char* (*getApplicationDataDirectory)(NPP instance); 68 jclass (*loadJavaClass)(NPP instance, const char* className); 69 void (*setPowerState)(NPP instance, ANPPowerState powerState);
|
ANPOpenGL_npapi.h | 46 EGLContext (*acquireContext)(NPP instance); 50 ANPTextureInfo (*lockTexture)(NPP instance); 54 void (*releaseTexture)(NPP instance, const ANPTextureInfo*); 60 void (*invertPluginContent)(NPP instance, bool isContentInverted);
|
ANPVideo_npapi.h | 46 ANativeWindow* (*acquireNativeWindow)(NPP instance); 54 void (*setWindowDimensions)(NPP instance, const ANativeWindow* window, const ANPRectF* dimensions); 58 void (*releaseNativeWindow)(NPP instance, ANativeWindow* window); 73 void (*setFramerateCallback)(NPP instance, const ANativeWindow* window, ANPVideoFrameCallbackProc);
|
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...] |
ANPVideoInterface.cpp | 35 static WebCore::PluginView* pluginViewForInstance(NPP instance) { 36 if (instance && instance->ndata) 37 return static_cast<WebCore::PluginView*>(instance->ndata); 41 static WebCore::MediaLayer* mediaLayerForInstance(NPP instance) { 42 WebCore::PluginView* pluginView = pluginViewForInstance(instance); 47 static ANativeWindow* anp_acquireNativeWindow(NPP instance) { 48 WebCore::MediaLayer* mediaLayer = mediaLayerForInstance(instance); 53 static void anp_setWindowDimensions(NPP instance, const ANativeWindow* window, 56 WebCore::MediaLayer* mediaLayer = mediaLayerForInstance(instance); [all...] |
/external/webkit/Source/WebCore/bridge/jni/ |
JobjectWrapper.cpp | 36 JobjectWrapper::JobjectWrapper(jobject instance) 39 assert(instance); 45 m_instance = m_env->NewGlobalRef(instance); 48 LOG_ERROR("Could not get GlobalRef for %p", instance);
|
JobjectWrapper.h | 46 jobject instance() const { return m_instance; } function in class:JSC::Bindings::JobjectWrapper 47 void setInstance(jobject instance) { m_instance = instance; }
|
/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/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpServerSocket.java | 30 private ServerSocket instance = null; field in class:Support_HttpServerSocket 45 if (instance == null) { 48 instance.setSoTimeout(timeout); 49 Socket s = instance.accept(); 69 instance = new ServerSocket(port); 76 if (instance != null) { 77 instance.close();
|
Support_HttpSocket.java | 30 private final Socket instance; field in class:Support_HttpSocket 35 instance = socket; 40 return instance.getInputStream(); 45 return instance.getOutputStream(); 49 if (!streamOpen && instance != null) { 50 instance.close();
|
Support_URLConnector.java | 32 private URLConnection instance; field in class:Support_URLConnector 40 instance = new URL(address).openConnection(); 45 ((HttpURLConnection) instance).disconnect(); 53 if (instance == null) { 57 return instance.getInputStream(); 61 if (instance == null) { 64 instance.setDoOutput(true); 65 ((HttpURLConnection) instance).setRequestMethod("POST"); 67 return instance.getOutputStream(); 75 instance.setRequestProperty(key, value) [all...] |
/external/webkit/Source/WebCore/bridge/ |
runtime_object.cpp | 41 RuntimeObject::RuntimeObject(ExecState*, JSGlobalObject* globalObject, Structure* structure, PassRefPtr<Instance> instance) 43 , m_instance(instance) 63 RefPtr<Instance> instance = thisObj->m_instance; local 65 if (!instance) 68 instance->begin(); 70 Class *aClass = instance->getClass(); 71 JSValue result = aClass->fallbackObject(exec, instance.get(), propertyName); 73 instance->end() 81 RefPtr<Instance> instance = thisObj->m_instance; local 100 RefPtr<Instance> instance = thisObj->m_instance; local 121 RefPtr<Instance> instance = m_instance; local 166 RefPtr<Instance> instance = m_instance; local 215 RefPtr<Instance> instance = m_instance; local 304 RefPtr<Instance> instance = m_instance; local [all...] |
/external/webkit/Source/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/tests/034-call-null/src/ |
Main.java | 11 Main instance = null; local 12 instance.doStuff();
|
/external/webkit/Source/JavaScriptCore/wtf/brew/ |
ShellBrew.h | 44 T* instance = 0; local 47 ISHELL_CreateInstance(shell, cls, reinterpret_cast<void**>(&instance)); 48 ASSERT(instance); 50 return instance; 56 T* instance = 0; local 59 ISHELL_CreateInstance(shell, cls, reinterpret_cast<void**>(&instance)); 60 ASSERT(instance); 62 return adoptRef(instance);
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
NewsSource.java | 25 // the instance 26 static NewsSource instance = null; field in class:NewsSource 34 /** Returns the singleton instance of this class. */ 36 if (instance == null) { 37 instance = new NewsSource(); 39 return instance;
|
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
CCMainThread.h | 40 void* instance() const { return m_instance; } function in class:WebCore::CCMainThread::Task 42 Task(void* instance) : m_instance(instance) { }
|
/ndk/tests/device/multi-static-instances/jni/ |
main.cpp | 8 static A* instance() { function in class:A 15 A* first = A::instance(); 16 A* second = A::instance(); 19 fprintf(stderr, "ERROR: instance() returned two distinct addresses: %p %p\n", first, second); 22 printf("OK: instance() returned the same address twice: %p\n", first);
|
/external/webkit/Source/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...] |
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/win/ |
GetValueNetscapeWindow.cpp | 43 virtual NPError NPP_SetWindow(NPP instance, NPWindow* window) 52 pluginLog(instance, "NPN_GetValue(NPNVnetscapeWindow) failed with error %d", error); 57 pluginLog(instance, "::IsWindow returned FALSE"); 62 pluginLog(instance, "NPN_GetValue(NPNVnetscapeWindow) returned the same value as NPWindow::window"); 66 pluginLog(instance, "NPN_GetValue(NPNVnetscapeWindow) succeeded");
|
/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/Source/WebCore/bridge/jni/v8/ |
JavaNPObjectV8.cpp | 76 NPObject* JavaInstanceToNPObject(JavaInstance* instance) 79 object->m_instance = instance; 93 JavaInstance* instance = ExtractJavaInstance(obj); local 94 if (!instance) 100 instance->begin(); 101 bool result = (instance->getClass()->methodsNamed(name).size() > 0); 102 instance->end(); 112 JavaInstance* instance = ExtractJavaInstance(obj); local 113 if (!instance) 119 instance->begin() 160 JavaInstance* instance = ExtractJavaInstance(obj); local 176 JavaInstance* instance = ExtractJavaInstance(obj); local [all...] |