Searched refs:instance (Results 1 - 25 of 575) sorted by relevance

1234567891011>>

/external/webkit/Source/WebCore/svg/
H A DSVGElementInstanceList.cpp40 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/
H A Dfpeflags.c3 struct instance struct
8 static struct instance* myInstance;
14 myInstance = malloc(sizeof(struct instance));
/external/clang/test/CodeGenCXX/
H A Dmicrosoft-abi-methods.cpp17 C instance; local
19 instance.simple_method();
30 C instance; local
31 instance.cdecl_method();
42 C instance; local
43 instance.vararg_method("Hello");
/external/webkit/Source/WebKit/android/plugins/
H A DANPNativeWindow_npapi.h42 ANativeWindow* (*acquireNativeWindow)(NPP instance);
48 void (*invertPluginContent)(NPP instance, bool isContentInverted);
H A DANPNativeWindowInterface.cpp44 static WebCore::PluginView* pluginViewForInstance(NPP instance) { argument
45 if (instance && instance->ndata)
46 return static_cast<WebCore::PluginView*>(instance->ndata);
50 static WebCore::MediaLayer* mediaLayerForInstance(NPP instance) { argument
51 WebCore::PluginView* pluginView = pluginViewForInstance(instance);
56 static ANativeWindow* anp_acquireNativeWindow(NPP instance) { argument
57 WebCore::MediaLayer* mediaLayer = mediaLayerForInstance(instance);
64 static void anp_invertPluginContent(NPP instance, bool isContentInverted) { argument
65 WebCore::MediaLayer* mediaLayer = mediaLayerForInstance(instance);
[all...]
H A DANPSystem_npapi.h47 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);
H A DANPOpenGL_npapi.h46 EGLContext (*acquireContext)(NPP instance);
50 ANPTextureInfo (*lockTexture)(NPP instance);
54 void (*releaseTexture)(NPP instance, const ANPTextureInfo*);
60 void (*invertPluginContent)(NPP instance, bool isContentInverted);
H A DANPVideo_npapi.h46 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);
H A DANPWindowInterface.cpp33 static PluginView* pluginViewForInstance(NPP instance) { argument
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) { argument
40 PluginView* pluginView = pluginViewForInstance(instance);
45 static void anp_clearVisibleRects(NPP instance) { argument
46 anp_setVisibleRects(instance, NULL, 0);
49 static void anp_showKeyboard(NPP instance, bool value) { argument
50 PluginView* pluginView = pluginViewForInstance(instance);
56 anp_requestFullScreen(NPP instance) argument
64 anp_exitFullScreen(NPP instance) argument
70 anp_requestCenterFitZoom(NPP instance) argument
76 anp_visibleRect(NPP instance) argument
82 anp_requestFullScreenOrientation(NPP instance, ANPScreenOrientation orientation) argument
[all...]
H A DANPVideoInterface.cpp35 static WebCore::PluginView* pluginViewForInstance(NPP instance) { argument
36 if (instance && instance->ndata)
37 return static_cast<WebCore::PluginView*>(instance->ndata);
41 static WebCore::MediaLayer* mediaLayerForInstance(NPP instance) { argument
42 WebCore::PluginView* pluginView = pluginViewForInstance(instance);
47 static ANativeWindow* anp_acquireNativeWindow(NPP instance) { argument
48 WebCore::MediaLayer* mediaLayer = mediaLayerForInstance(instance);
53 static void anp_setWindowDimensions(NPP instance, const ANativeWindow* window, argument
56 WebCore::MediaLayer* mediaLayer = mediaLayerForInstance(instance);
65 anp_releaseNativeWindow(NPP instance, ANativeWindow* window) argument
73 anp_setFramerateCallback(NPP instance, const ANativeWindow* window, ANPVideoFrameCallbackProc callback) argument
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
H A DRobolectric.java380 public static ShadowAbsListView shadowOf(AbsListView instance) { argument
381 return (ShadowAbsListView) shadowOf_(instance);
384 public static ShadowAbsSeekBar shadowOf(AbsSeekBar instance) { argument
385 return (ShadowAbsSeekBar) shadowOf_(instance);
388 public static ShadowAccountManager shadowOf(AccountManager instance) { argument
389 return (ShadowAccountManager) shadowOf_(instance);
392 public static ShadowActivity shadowOf(Activity instance) { argument
393 return (ShadowActivity) shadowOf_(instance);
396 public static ShadowActivityGroup shadowOf(ActivityGroup instance) { argument
397 return (ShadowActivityGroup) shadowOf_(instance);
400 shadowOf(ActivityManager instance) argument
404 shadowOf(AdapterView instance) argument
408 shadowOf(Address instance) argument
412 shadowOf(AlarmManager instance) argument
416 shadowOf(AlertDialog instance) argument
420 shadowOf(AlphaAnimation instance) argument
424 shadowOf(Animation instance) argument
428 shadowOf(AnimationDrawable instance) argument
432 shadowOf(AnimationSet instance) argument
436 shadowOf(AnimationUtils instance) argument
440 shadowOf(Application instance) argument
444 shadowOf(AppWidgetManager instance) argument
448 shadowOf(ArrayAdapter instance) argument
452 shadowOf(AssetManager instance) argument
457 shadowOf(AsyncTask instance) argument
461 shadowOf(AudioManager instance) argument
465 shadowOf(AutoCompleteTextView instance) argument
477 shadowOf(BitmapDrawable instance) argument
489 shadowOf(Bundle instance) argument
493 shadowOf(Camera instance) argument
497 shadowOf(Camera.Parameters instance) argument
501 shadowOf(Camera.Size instance) argument
505 shadowOf(Canvas instance) argument
509 shadowOf(CheckedTextView instance) argument
513 shadowOf(ClipboardManager instance) argument
517 shadowOf(Color instance) argument
521 shadowOf(ColorDrawable instance) argument
525 shadowOf(ColorMatrix instance) argument
529 shadowOf(Configuration instance) argument
533 shadowOf(ConnectivityManager instance) argument
537 shadowOf(CookieManager instance) argument
541 shadowOf(ContentResolver instance) argument
545 shadowOf(ContentProviderOperation instance) argument
549 shadowOf(ContentProviderOperation.Builder instance) argument
553 shadowOf(ContentProviderResult instance) argument
557 shadowOf(CookieSyncManager instance) argument
561 shadowOf(Context instance) argument
569 shadowOf(ContextWrapper instance) argument
573 shadowOf(CountDownTimer instance) argument
577 shadowOf(CursorAdapter instance) argument
581 shadowOf(CursorLoader instance) argument
585 shadowOf(CursorWrapper instance) argument
589 shadowOf(DateFormat instance) argument
593 shadowOf(DefaultRequestDirector instance) argument
597 shadowOf(Dialog instance) argument
601 shadowOf(DialogFragment instance) argument
605 shadowOf(DialogPreference instance) argument
609 shadowOf(Drawable instance) argument
613 shadowOf(Display instance) argument
617 shadowOf(ExpandableListView instance) argument
621 shadowOf(Filter instance) argument
625 shadowOf(Fragment instance) argument
629 shadowOf(FragmentActivity instance) argument
633 shadowOf(FragmentPagerAdapter instance) argument
637 shadowOf(FrameLayout instance) argument
641 shadowOf(Gallery instance) argument
645 shadowOf(Geocoder instance) argument
649 shadowOf(GridView instance) argument
653 shadowOf(Handler instance) argument
657 shadowOf(HandlerThread instance) argument
661 shadowOf(ImageView instance) argument
665 shadowOf(InputMethodManager instance) argument
669 shadowOf(Intent instance) argument
673 shadowOf(JsPromptResult instance) argument
677 shadowOf(JsResult instance) argument
681 shadowOf(KeyguardManager instance) argument
685 shadowOf(KeyguardManager.KeyguardLock instance) argument
689 shadowOf(LayerDrawable instance) argument
693 shadowOf(LayoutInflater instance) argument
697 shadowOf(ListActivity instance) argument
701 shadowOf(ListFragment instance) argument
705 shadowOf(ListPreference instance) argument
709 shadowOf(ListView instance) argument
713 shadowOf(LocationManager instance) argument
717 shadowOf(Looper instance) argument
725 shadowOf(MediaPlayer instance) argument
729 shadowOf(MediaRecorder instance) argument
733 shadowOf(MenuInflater instance) argument
737 shadowOf(Message instance) argument
741 shadowOf(MimeTypeMap instance) argument
749 shadowOf(NetworkInfo instance) argument
761 shadowOf(PagerAdapter instance) argument
765 shadowOf(Paint instance) argument
769 shadowOf(Parcel instance) argument
773 shadowOf(PasswordTransformationMethod instance) argument
777 shadowOf(Path instance) argument
781 shadowOf(PendingIntent instance) argument
785 shadowOf(PhoneNumberUtils instance) argument
789 shadowOf(PopupWindow instance) argument
793 shadowOf(PowerManager instance) argument
797 shadowOf(Preference instance) argument
801 shadowOf(PreferenceActivity instance) argument
805 shadowOf(PreferenceCategory instance) argument
809 shadowOf(PreferenceGroup instance) argument
813 shadowOf(PreferenceScreen instance) argument
817 shadowOf(ProgressBar instance) argument
821 shadowOf(ProgressDialog instance) argument
825 shadowOf(Rect instance) argument
829 shadowOf(RatingBar instance) argument
833 shadowOf(RemoteViews instance) argument
837 shadowOf(ResolveInfo instance) argument
841 shadowOf(ResourceCursorAdapter instance) argument
845 shadowOf(Resources instance) argument
849 shadowOf(ResultReceiver instance) argument
853 shadowOf(ScanResult instance) argument
857 shadowOf(ScrollView instance) argument
861 shadowOf(SeekBar instance) argument
865 shadowOf(SensorManager instance) argument
869 shadowOf(Service instance) argument
873 shadowOf(ShapeDrawable instance) argument
877 shadowOf(SimpleCursorAdapter instance) argument
881 shadowOf(SmsManager instance) argument
922 shadowOf(SslErrorHandler instance) argument
926 shadowOf(StateListDrawable instance) argument
930 shadowOf(TabHost instance) argument
934 shadowOf(TabHost.TabSpec instance) argument
938 shadowOf(TelephonyManager instance) argument
942 shadowOf(TextPaint instance) argument
946 shadowOf(TextView instance) argument
950 shadowOf(Toast instance) argument
954 shadowOf(TranslateAnimation instance) argument
958 shadowOf(UriMatcher instance) argument
962 shadowOf(View instance) argument
966 shadowOf(ViewAnimator instance) argument
970 shadowOf(ViewConfiguration instance) argument
974 shadowOf(ViewFlipper instance) argument
978 shadowOf(ViewPager instance) argument
982 shadowOf(ViewTreeObserver instance) argument
986 shadowOf(ViewGroup instance) argument
990 shadowOf(Vibrator instance) argument
994 shadowOf(VideoView instance) argument
998 shadowOf(WebView instance) argument
1002 shadowOf(WifiConfiguration instance) argument
1006 shadowOf(WifiInfo instance) argument
1010 shadowOf(WifiManager instance) argument
1014 shadowOf(ZoomButtonsController instance) argument
1019 shadowOf_(R instance) argument
[all...]
H A DRobolectricShadowOfLevel9.java13 public static ShadowNdefMessage shadowOf(NdefMessage instance) { argument
14 return (ShadowNdefMessage) Robolectric.shadowOf_(instance);
17 public static ShadowNdefRecord shadowOf(NdefRecord instance) { argument
18 return (ShadowNdefRecord) Robolectric.shadowOf_(instance);
21 public static ShadowNfcAdapter shadowOf(NfcAdapter instance) { argument
22 return (ShadowNfcAdapter) Robolectric.shadowOf_(instance);
H A DRobolectricForMaps.java13 public static ShadowGeoPoint shadowOf(GeoPoint instance) { argument
14 return (ShadowGeoPoint) Robolectric.shadowOf_(instance);
17 public static ShadowMapView shadowOf(MapView instance) { argument
18 return (ShadowMapView) Robolectric.shadowOf_(instance);
21 public static ShadowMapController shadowOf(MapController instance) { argument
22 return (ShadowMapController) Robolectric.shadowOf_(instance);
25 public static ShadowItemizedOverlay shadowOf(ItemizedOverlay instance) { argument
26 return (ShadowItemizedOverlay) Robolectric.shadowOf_(instance);
/external/webkit/Source/WebCore/bridge/jni/
H A DJobjectWrapper.cpp36 JobjectWrapper::JobjectWrapper(jobject instance) argument
39 assert(instance);
45 m_instance = m_env->NewGlobalRef(instance);
48 LOG_ERROR("Could not get GlobalRef for %p", instance);
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_HttpServerSocket.java30 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();
H A DSupport_HttpSocket.java30 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();
H A DSupport_URLConnector.java32 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
[all...]
/external/icu4c/common/
H A Dmutex.cpp27 // TODO: With atomicops.h: void *instance = (void*)Acquire_Load(&fInstance);
29 void *instance=ANNOTATE_UNPROTECTED_READ(fInstance); local
32 if(instance!=NULL) {
33 return instance;
36 // Attempt to create the instance.
37 // If a race occurs, then the losing thread will assign its new instance
39 instance=instantiator(context, errorCode);
40 UMTX_RELEASE_BARRIER; // Release-barrier before fInstance=instance;
43 U_ASSERT(instance!=NULL);
45 // TODO: With atomicops.h: Release_Store(&fInstance, (AtomicWord)instance);
79 void *instance=ANNOTATE_UNPROTECTED_READ(fInstance); local
[all...]
/external/webkit/Source/WebCore/bridge/
H A Druntime_object.cpp41 RuntimeObject::RuntimeObject(ExecState*, JSGlobalObject* globalObject, Structure* structure, PassRefPtr<Instance> instance) argument
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
83 if (!instance)
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/
H A Dnpapi.cpp35 // 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) argument
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) argument
74 return pluginViewForInstance(instance)
77 NPN_GetURL(NPP instance, const char* url, const char* target) argument
82 NPN_PostURLNotify(NPP instance, const char* url, const char* target, uint32_t len, const char* buf, NPBool file, void* notifyData) argument
87 NPN_PostURL(NPP instance, const char* url, const char* target, uint32_t len, const char* buf, NPBool file) argument
92 NPN_NewStream(NPP instance, NPMIMEType type, const char* target, NPStream** stream) argument
97 NPN_Write(NPP instance, NPStream* stream, int32_t len, void* buffer) argument
102 NPN_DestroyStream(NPP instance, NPStream* stream, NPReason reason) argument
107 NPN_UserAgent(NPP instance) argument
117 NPN_Status(NPP instance, const char* message) argument
122 NPN_InvalidateRect(NPP instance, NPRect* invalidRect) argument
127 NPN_InvalidateRegion(NPP instance, NPRegion invalidRegion) argument
132 NPN_ForceRedraw(NPP instance) argument
137 NPN_GetValue(NPP instance, NPNVariable variable, void* value) argument
147 NPN_SetValue(NPP instance, NPPVariable variable, void* value) argument
158 NPN_GetJavaPeer(NPP instance) argument
164 NPN_PushPopupsEnabledState(NPP instance, NPBool enabled) argument
169 NPN_PopPopupsEnabledState(NPP instance) argument
175 NPN_PluginThreadAsyncCall(NPP instance, PluginThreadAsyncCallFunction func, void* userData) argument
181 NPN_GetValueForURL(NPP instance, NPNURLVariable variable, const char* url, char** value, uint32_t* len) argument
186 NPN_SetValueForURL(NPP instance, NPNURLVariable variable, const char* url, const char* value, uint32_t len) argument
191 NPN_GetAuthenticationInfo(NPP instance, const char* protocol, const char* host, int32_t port, const char* scheme, const char* realm, char** username, uint32_t* ulen, char** password, uint32_t* plen) argument
197 NPN_ScheduleTimer(NPP instance, uint32_t interval, NPBool repeat, void (*timerFunc)(NPP npp, uint32_t timerID)) argument
204 NPN_UnscheduleTimer(NPP instance, uint32_t timerID) argument
[all...]
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/
H A DUserRequest.java29 private static UserRequest instance = new UserRequest(); field in class:UserRequest
32 return instance;
/external/webkit/Source/JavaScriptCore/wtf/brew/
H A DShellBrew.h44 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);
/external/webkit/Source/WebKit/mac/Plugins/
H A Dnpapi.mm38 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
[all...]
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/win/
H A DGetValueNetscapeWindow.cpp43 virtual NPError NPP_SetWindow(NPP instance, NPWindow* window) argument
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/webkit/Source/WebCore/bridge/jni/v8/
H A DJavaNPObjectV8.cpp76 NPObject* JavaInstanceToNPObject(JavaInstance* instance) argument
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
166 JavaInstance* instance = ExtractJavaInstance(obj); local
182 JavaInstance* instance = ExtractJavaInstance(obj); local
[all...]

Completed in 993 milliseconds

1234567891011>>