HomeSort by relevance Sort by last modified time
    Searched refs:instance (Results 626 - 650 of 2393) sorted by null

<<21222324252627282930>>

  /libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DOMImplementationImpl.java 36 // Singleton instance.
37 private static DOMImplementationImpl instance; field in class:DOMImplementationImpl
74 * Requests the singleton instance of the class. Creates it first, if
77 * @return The singleton Android DOMImplementationImpl instance.
80 if (instance == null) {
81 instance = new DOMImplementationImpl();
84 return instance;
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/
trivial_singleton.hpp 38 static Derived& instance() { static Derived the_inst; return the_inst; } function in class:boost::unit_test::singleton
55 namespace { BOOST_JOIN( inst, _t)& inst = BOOST_JOIN( inst, _t)::instance(); }
59 static BOOST_JOIN( inst, _t)& inst = BOOST_JOIN (inst, _t)::instance();
64 namespace { BOOST_JOIN( inst, _t)& inst = BOOST_JOIN( inst, _t)::instance(); }
  /packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
HandleMap.java 40 int instance = 0; field in class:HandleMap.Entry
46 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) {
51 this.instance = instance;
60 this.instance = instance;
69 this.instance = instance;
89 void addService(int serverIf, int handle, UUID uuid, int serviceType, int instance) {
90 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance));
    [all...]
  /sdk/emulator/opengl/host/tools/emugen/
TypeFactory.h 24 static TypeFactory *instance() { function in class:TypeFactory
  /external/chromium_org/ppapi/proxy/
plugin_globals.h 59 PP_Instance instance) OVERRIDE;
61 PP_Instance instance) OVERRIDE;
63 PP_Instance instance) OVERRIDE;
64 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE;
68 virtual void LogWithSource(PP_Instance instance,
77 base::TaskRunner* GetFileTaskRunner(PP_Instance instance) OVERRIDE;
90 PP_Instance instance,
122 // thread. This Resource is not associated with any instance, and lives as
ppb_flash_message_loop_proxy.cc 85 PP_Instance instance) {
86 PluginDispatcher* dispatcher = PluginDispatcher::GetForInstance(instance);
92 API_ID_PPB_FLASH_MESSAGELOOP, instance, &result));
119 void PPB_Flash_MessageLoop_Proxy::OnMsgCreate(PP_Instance instance,
123 thunk::EnterResourceCreation enter(instance);
126 instance, enter.functions()->CreateFlashMessageLoop(instance));
ppb_network_monitor_private_proxy.cc 21 NetworkMonitor(PP_Instance instance,
25 : Resource(OBJECT_IS_PROXY, instance),
76 PP_Instance instance,
84 PluginDispatcher* dispatcher = PluginDispatcher::GetForInstance(instance);
94 new NetworkMonitor(instance, proxy, callback, user_data));
140 PP_Instance instance) {
145 PluginDispatcher* dispatcher = PluginDispatcher::GetForInstance(instance);
plugin_dispatcher.cc 95 PluginDispatcher* PluginDispatcher::GetForInstance(PP_Instance instance) {
99 instance);
123 void PluginDispatcher::LogWithSource(PP_Instance instance,
130 if (instance) {
132 g_instance_to_dispatcher->find(instance);
136 instance, static_cast<int>(level), source, value));
141 // Instance 0 or invalid, send to all dispatchers.
145 instance, static_cast<int>(level), source, value));
251 void PluginDispatcher::DidCreateInstance(PP_Instance instance) {
254 (*g_instance_to_dispatcher)[instance] = this
    [all...]
raw_var_data.h 54 PP_Instance instance);
64 PP_Var CreatePPVar(PP_Instance instance);
99 virtual bool Init(const PP_Var& var, PP_Instance instance) = 0;
102 virtual PP_Var CreatePPVar(PP_Instance instance) = 0;
136 virtual bool Init(const PP_Var& var, PP_Instance instance) OVERRIDE;
137 virtual PP_Var CreatePPVar(PP_Instance instance) OVERRIDE;
158 virtual bool Init(const PP_Var& var, PP_Instance instance) OVERRIDE;
159 virtual PP_Var CreatePPVar(PP_Instance instance) OVERRIDE;
188 virtual bool Init(const PP_Var& var, PP_Instance instance) OVERRIDE;
189 virtual PP_Var CreatePPVar(PP_Instance instance) OVERRIDE
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/
RobolectricTestRunnerTest.java 40 assertTrue(RunnerForTesting.instance.robolectricConfig.getStrictI18n());
46 assertFalse(RunnerForTesting.instance.robolectricConfig.getStrictI18n());
52 assertEquals( RunnerForTesting.instance.robolectricConfig.getLocale(), "fr" );
57 assertFalse(RunnerForTesting.instance.robolectricConfig.getStrictI18n());
77 assertTrue(RunnerForTesting.instance.robolectricConfig.getStrictI18n());
88 public static RunnerForTesting instance; field in class:RobolectricTestRunnerTest.RunnerForTesting
92 instance = this;
  /external/chromium_org/ppapi/thunk/
ppb_ext_socket_thunk.cc 18 int32_t Create(PP_Instance instance,
23 EnterInstanceAPI<ExtensionsCommon_API> enter(instance, callback);
36 void Destroy(PP_Instance instance, PP_Var socket_id) {
37 EnterInstanceAPI<ExtensionsCommon_API> enter(instance);
46 int32_t Connect(PP_Instance instance,
52 EnterInstanceAPI<ExtensionsCommon_API> enter(instance, callback);
66 int32_t Bind(PP_Instance instance,
72 EnterInstanceAPI<ExtensionsCommon_API> enter(instance, callback);
86 void Disconnect(PP_Instance instance, PP_Var socket_id) {
87 EnterInstanceAPI<ExtensionsCommon_API> enter(instance);
    [all...]
ppb_input_event_thunk.cc 21 int32_t RequestInputEvents(PP_Instance instance, uint32_t event_classes) {
23 EnterInstance enter(instance);
26 return enter.functions()->RequestInputEvents(instance, event_classes);
29 int32_t RequestFilteringInputEvents(PP_Instance instance,
32 EnterInstance enter(instance);
35 return enter.functions()->RequestFilteringInputEvents(instance,
39 void ClearInputEventRequest(PP_Instance instance,
42 EnterInstance enter(instance);
44 enter.functions()->ClearInputEventRequest(instance, event_classes);
89 PP_Resource CreateMouseInputEvent1_0(PP_Instance instance,
    [all...]
  /packages/apps/DeskClock/src/com/android/deskclock/alarms/
AlarmService.java 52 * @param instance to trigger alarm
54 public static void startAlarm(Context context, AlarmInstance instance) {
55 Intent intent = AlarmInstance.createIntent(context, AlarmService.class, instance.mId);
65 * or using a different instance.
68 * @param instance you are trying to stop
70 public static void stopAlarm(Context context, AlarmInstance instance) {
71 Intent intent = AlarmInstance.createIntent(context, AlarmService.class, instance.mId);
96 private void startAlarm(AlarmInstance instance) {
97 Log.v("AlarmService.start with instance: " + instance.mId)
140 AlarmInstance instance = AlarmInstance.getInstance(cr, instanceId); local
    [all...]
  /external/chromium_org/chrome/app/
chrome_exe_main_win.cc 32 int RunChrome(HINSTANCE instance) {
48 int rc = loader->Launch(instance, &sandbox_info);
102 int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE prev, wchar_t*, int) {
113 return metro_driver.RunInMetro(instance, &RunChrome);
115 return RunChrome(instance);
  /external/chromium_org/content/renderer/pepper/
npapi_glue.h 40 PP_Var NPVariantToPPVar(PepperPluginInstanceImpl* instance,
58 // The instance is necessary because we can have different instances pointing to
67 CONTENT_EXPORT PP_Var NPObjectToPPVar(PepperPluginInstanceImpl* instance,
71 // the container of |instance|. It is only for use in unit tests, where we don't
72 // have a real container for |instance|.
73 CONTENT_EXPORT PP_Var NPObjectToPPVarForTest(PepperPluginInstanceImpl* instance,
155 PPVarArrayFromNPVariantArray(PepperPluginInstanceImpl* instance,
175 PPVarFromNPObject(PepperPluginInstanceImpl* instance, NPObject* object);
  /external/chromium_org/ppapi/cpp/dev/
text_input_dev.cc 8 #include "ppapi/cpp/instance.h"
19 void RequestSurroundingText(PP_Instance instance,
21 void* object = Instance::GetPerInstanceObject(instance,
44 TextInput_Dev::TextInput_Dev(Instance* instance)
45 : instance_(instance) {
48 instance->AddPerInstanceObject(kPPPTextInputInterface, this);
52 Instance::RemovePerInstanceObject(instance_, kPPPTextInputInterface, this);
  /external/chromium_org/ppapi/tests/
test_printing.cc 8 #include "ppapi/cpp/instance.h"
21 explicit TestPrinting_Dev(pp::Instance* instance) :
22 pp::Printing_Dev(instance) {}
36 TestPrinting::TestPrinting(TestingInstance* instance)
37 : TestCase(instance),
38 nested_event_(instance->pp_instance()) {
  /external/easymock/src/org/easymock/internal/
EasyMockProperties.java 39 private static volatile EasyMockProperties instance; field in class:EasyMockProperties
44 if (instance == null) {
47 if (instance == null) {
49 instance = new EasyMockProperties();
53 return instance;
  /frameworks/base/core/java/android/gesture/
Instance.java 21 * An instance represents a sample if the label is available or a query if the
24 class Instance {
41 // the id of the instance
44 private Instance(long id, float[] sample, String sampleName) {
66 * create a learning instance for a single stroke gesture
70 * @return the instance
72 static Instance createInstance(int sequenceType, int orientationType, Gesture gesture, String label) {
74 Instance instance; local
77 instance = new Instance(gesture.getID(), pts, label)
    [all...]
  /external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/
pnacl_shim.c 241 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, struct PP_Var* value) {
243 iface->Log(instance, level, *value);
246 static void Pnacl_M25_PPB_Console_LogWithSource(PP_Instance instance, PP_LogLevel level, struct PP_Var* source, struct PP_Var* value) {
248 iface->LogWithSource(instance, level, *source, *value);
289 static PP_Resource Pnacl_M14_PPB_FileIO_Create(PP_Instance instance) {
291 return iface->Create(instance);
343 static PP_Resource Pnacl_M25_PPB_FileIO_Create(PP_Instance instance) {
345 return iface->Create(instance);
520 static PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_FileSystemType type) {
522 return iface->Create(instance, type)
    [all...]
  /external/chromium/chrome/common/
json_schema_validator.cc 164 bool JSONSchemaValidator::Validate(Value* instance) {
166 Validate(instance, schema_root_, "");
170 void JSONSchemaValidator::Validate(Value* instance,
183 // If the schema has a $ref property, the instance must validate against
192 Validate(instance, type->second, path);
197 // If the schema has a choices property, the instance must validate against at
201 ValidateChoices(instance, choices, path);
205 // If the schema has an enum property, the instance must be one of those
209 ValidateEnum(instance, enumeration, path);
217 if (!ValidateType(instance, type, path)
    [all...]
  /dalvik/hit/src/com/android/hit/
ClassObj.java 25 public class ClassObj extends Instance implements Comparable<ClassObj> {
36 ArrayList<Instance> mInstances = new ArrayList<Instance>();
82 Instance instance = state.findReference(id); local
84 instance.addParent(this);
90 instance.getTypeName(),
91 instance.mHeap.mName,
127 public final void addInstance(Instance instance) {
216 Instance instance = state.findReference(id); local
    [all...]
  /external/chromium_org/ppapi/cpp/extensions/
event_base.h 41 // pp::ext::alarms::OnAlarmEvent_Dev on_alarm(instance, &on_alarm_listener);
57 GenericEventBase(const InstanceHandle& instance,
85 explicit EventBase0(const InstanceHandle& instance)
87 GenericEventBase(instance,
117 explicit EventBase1(const InstanceHandle& instance)
119 GenericEventBase(instance,
154 explicit EventBase2(const InstanceHandle& instance)
156 GenericEventBase(instance,
194 explicit EventBase3(const InstanceHandle& instance)
196 GenericEventBase(instance,
    [all...]
  /external/chromium_org/content/child/npapi/
webplugin_delegate_impl.cc 36 scoped_refptr<PluginInstance> instance(plugin_lib->CreateInstance(mime_type));
37 return new WebPluginDelegateImpl(instance.get());
58 PluginLib* plugin_lib = instance()->plugin_lib();
80 VLOG(1) << "Couldn't start plug-in instance";
104 // instance uses the helper to do the download.
201 instance()->DidFinishLoadWithReason(url, reason, notify_id);
213 instance()->SendJavaScriptStream(url, result, success, notify_id);
225 instance()->DidReceiveManualResponse(url, mime_type, headers,
231 instance()->DidReceiveManualData(buffer, length);
235 instance()->DidFinishManualLoading()
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/svgadump/
svga_dump.py 52 def __init__(self, instance = '', decl = None):
54 self._instance = instance
84 def dump_decl(instance, decl):
85 dumper = decl_dumper_t(instance, decl)
91 def __init__(self, instance, type_):
93 self.instance = instance
97 return type_dumper_t(self.instance, self.type)
146 dump_type(self.instance + '[%i]' % i, type_traits.base_type(self.type))
154 dump_decl(self.instance, decl
    [all...]

Completed in 1377 milliseconds

<<21222324252627282930>>