Home
last modified time | relevance | path

Searched refs:Instance (Results 1 – 25 of 256) sorted by relevance

1234567891011

/external/chromium_org/ppapi/cpp/
Dinstance.cc46 Instance::Instance(PP_Instance instance) : pp_instance_(instance) { in Instance() function in pp::Instance
49 Instance::~Instance() { in ~Instance()
52 bool Instance::Init(uint32_t /*argc*/, const char* /*argn*/[], in Init()
57 void Instance::DidChangeView(const View& view) { in DidChangeView()
62 void Instance::DidChangeView(const pp::Rect& /*position*/, in DidChangeView()
66 void Instance::DidChangeFocus(bool /*has_focus*/) { in DidChangeFocus()
70 bool Instance::HandleDocumentLoad(const URLLoader& /*url_loader*/) { in HandleDocumentLoad()
74 bool Instance::HandleInputEvent(const InputEvent& /*event*/) { in HandleInputEvent()
78 void Instance::HandleMessage(const Var& /*message*/) { in HandleMessage()
82 bool Instance::BindGraphics(const Graphics2D& graphics) { in BindGraphics()
[all …]
Dmodule.cc49 Instance* instance = module_singleton->InstanceForPPInstance(pp_instance); in InputEvent_HandleEvent()
70 Instance* instance = module_singleton->CreateInstance(pp_instance); in Instance_DidCreate()
87 Instance* obj = found->second; in Instance_DidDestroy()
97 Instance* instance = module_singleton->InstanceForPPInstance(pp_instance); in Instance_DidChangeView()
107 Instance* instance = module_singleton->InstanceForPPInstance(pp_instance); in Instance_DidChangeFocus()
118 Instance* instance = module_singleton->InstanceForPPInstance(pp_instance); in Instance_HandleDocumentLoad()
138 Instance* instance = module_singleton->InstanceForPPInstance(pp_instance); in Messaging_HandleMessage()
183 Instance* Module::InstanceForPPInstance(PP_Instance instance) { in InstanceForPPInstance()
Dmodule.h23 class Instance; variable
31 typedef std::map<PP_Instance, Instance*> InstanceMap;
98 Instance* InstanceForPPInstance(PP_Instance instance);
144 virtual Instance* CreateInstance(PP_Instance instance) = 0;
Dgraphics_3d_client.cc21 Instance::GetPerInstanceObject(instance, kPPPGraphics3DInterface); in Graphics3D_ContextLost()
33 Graphics3DClient::Graphics3DClient(Instance* instance) in Graphics3DClient()
41 Instance::RemovePerInstanceObject(associated_instance_, in ~Graphics3DClient()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dprofiler_unittest.cc49 ASSERT_TRUE(Profiler::Instance()->Clear()); in TEST()
52 const ProfilerEvent* event = Profiler::Instance()->GetEvent(function_name); in TEST()
73 ASSERT_TRUE(Profiler::Instance()->Clear()); in TEST()
76 event1 = Profiler::Instance()->GetEvent(kEvent1Name); in TEST()
89 event2 = Profiler::Instance()->GetEvent(kEvent2Name); in TEST()
117 ASSERT_TRUE(Profiler::Instance()->Clear()); in TEST()
119 EXPECT_FALSE(Profiler::Instance()->Clear()); in TEST()
120 EXPECT_TRUE(Profiler::Instance()->GetEvent("event") != NULL); in TEST()
122 EXPECT_TRUE(Profiler::Instance()->Clear()); in TEST()
123 EXPECT_EQ(NULL, Profiler::Instance()->GetEvent("event")); in TEST()
Dprofiler.h74 talk_base::Profiler::Instance()->ReportAllToLog(__FILE__, __LINE__, sev)
79 talk_base::Profiler::Instance()->ReportToLog(__FILE__, __LINE__, sev, prefix)
82 #define PROFILE_START(msg) talk_base::Profiler::Instance()->StartEvent(msg)
83 #define PROFILE_STOP(msg) talk_base::Profiler::Instance()->StopEvent(msg)
143 static Profiler* Instance();
160 Profiler::Instance()->StartEvent(event_name_); in ProfilerScope()
163 Profiler::Instance()->StopEvent(event_name_); in ~ProfilerScope()
/external/chromium_org/native_client_sdk/src/examples/demo/drive/
Ddrive.cc101 int32_t ReadUrl(pp::Instance* instance, in ReadUrl()
168 int32_t ListFiles(pp::Instance* instance, in ListFiles()
254 int32_t InsertFile(pp::Instance* instance, in InsertFile()
304 class Instance : public pp::Instance { class
306 Instance(PP_Instance instance);
330 pp::CompletionCallbackFactory<Instance> callback_factory_;
335 Instance::Instance(PP_Instance instance) in Instance() function in Instance
336 : pp::Instance(instance), in Instance()
341 bool Instance::Init(uint32_t /*argc*/, in Init()
348 void Instance::HandleMessage(const pp::Var& var_message) { in HandleMessage()
[all …]
/external/chromium_org/ppapi/cpp/dev/
Dprinting_dev.cc25 Instance::GetPerInstanceObject(instance, kPPPPrintingInterface); in QuerySupportedFormats()
34 Instance::GetPerInstanceObject(instance, kPPPPrintingInterface); in Begin()
44 pp::Instance::GetPerInstanceObject(instance, kPPPPrintingInterface); in PrintPages()
53 pp::Instance::GetPerInstanceObject(instance, kPPPPrintingInterface); in End()
60 pp::Instance::GetPerInstanceObject(instance, kPPPPrintingInterface); in IsScalingDisabled()
78 Printing_Dev::Printing_Dev(Instance* instance) in Printing_Dev()
90 Instance::RemovePerInstanceObject(associated_instance_, in ~Printing_Dev()
Dwidget_client_dev.cc28 void* object = Instance::GetPerInstanceObject(instance, kPPPWidgetInterface); in Widget_Invalidate()
47 Instance::GetPerInstanceObject(instance, kPPPScrollbarInterface); in Scrollbar_ValueChanged()
58 Instance::GetPerInstanceObject(instance, kPPPScrollbarInterface); in Scrollbar_OverlayChanged()
72 WidgetClient_Dev::WidgetClient_Dev(Instance* instance) in WidgetClient_Dev()
82 Instance::RemovePerInstanceObject(associated_instance_, in ~WidgetClient_Dev()
84 Instance::RemovePerInstanceObject(associated_instance_, in ~WidgetClient_Dev()
Dvideo_decoder_client_dev.cc26 void* object = Instance::GetPerInstanceObject(instance, in ProvidePictureBuffers()
37 void* object = Instance::GetPerInstanceObject(instance, in DismissPictureBuffer()
48 void* object = Instance::GetPerInstanceObject(instance, in PictureReady()
58 void* object = Instance::GetPerInstanceObject(instance, in NotifyError()
74 VideoDecoderClient_Dev::VideoDecoderClient_Dev(Instance* instance) in VideoDecoderClient_Dev()
82 Instance::RemovePerInstanceObject(associated_instance_, in ~VideoDecoderClient_Dev()
Dvideo_capture_client_dev.cc24 Instance::GetPerInstanceObject(instance, kPPPVideoCaptureInterface)); in OnDeviceInfo()
38 Instance::GetPerInstanceObject(instance, kPPPVideoCaptureInterface)); in OnStatus()
45 Instance::GetPerInstanceObject(instance, kPPPVideoCaptureInterface)); in OnError()
54 Instance::GetPerInstanceObject(instance, kPPPVideoCaptureInterface)); in OnBufferReady()
68 VideoCaptureClient_Dev::VideoCaptureClient_Dev(Instance* instance) in VideoCaptureClient_Dev()
76 Instance::RemovePerInstanceObject(instance_, in ~VideoCaptureClient_Dev()
Dfind_dev.cc25 void* object = Instance::GetPerInstanceObject(instance, kPPPFindInterface); in StartFind()
34 void* object = Instance::GetPerInstanceObject(instance, kPPPFindInterface); in SelectFindResult()
40 void* object = Instance::GetPerInstanceObject(instance, kPPPFindInterface); in StopFind()
53 Find_Dev::Find_Dev(Instance* instance) : associated_instance_(instance) { in Find_Dev()
59 Instance::RemovePerInstanceObject(associated_instance_, in ~Find_Dev()
Dselection_dev.cc20 pp::Instance::GetPerInstanceObject(instance, kPPPSelectionInterface); in GetSelectedText()
33 Selection_Dev::Selection_Dev(Instance* instance) in Selection_Dev()
40 Instance::RemovePerInstanceObject(associated_instance_, in ~Selection_Dev()
/external/chromium_org/webkit/browser/fileapi/
Disolated_context.cc109 class IsolatedContext::Instance { class in fileapi::IsolatedContext
120 Instance(FileSystemType type, const MountPointInfo& file_info,
126 Instance(FileSystemType type, const std::set<MountPointInfo>& files);
128 ~Instance();
157 DISALLOW_COPY_AND_ASSIGN(Instance);
160 IsolatedContext::Instance::Instance(FileSystemType type, in Instance() function in fileapi::IsolatedContext::Instance
162 Instance::PathType path_type) in Instance()
170 IsolatedContext::Instance::Instance(FileSystemType type, in Instance() function in fileapi::IsolatedContext::Instance
179 IsolatedContext::Instance::~Instance() {} in ~Instance()
181 bool IsolatedContext::Instance::ResolvePathForName(const std::string& name, in ResolvePathForName()
[all …]
/external/eigen/bench/btl/generic_bench/
Dbtl.hh188 Instance.m_selectedActionNames = config[i+1].split(":"); in BtlConfig()
199 Instance.tries = atoi(config[i+1].c_str()); in BtlConfig()
205 Instance.overwriteResults = true; in BtlConfig()
209 Instance.checkResults = false; in BtlConfig()
213 Instance.realclock = true; in BtlConfig()
223 if (Instance.m_selectedActionNames.empty()) in skipAction()
227 for (int i=0; i<Instance.m_selectedActionNames.size(); ++i) in skipAction()
228 if (name.contains(Instance.m_selectedActionNames[i])) in skipAction()
234 static BtlConfig Instance; member in BtlConfig
245 BtlConfig BtlConfig::Instance
/external/chromium_org/ppapi/cpp/private/
Dcontent_decryptor_private.cc29 Instance::GetPerInstanceObject(instance, kPPPContentDecryptorInterface); in Initialize()
46 Instance::GetPerInstanceObject(instance, kPPPContentDecryptorInterface); in CreateSession()
67 Instance::GetPerInstanceObject(instance, kPPPContentDecryptorInterface); in UpdateSession()
82 Instance::GetPerInstanceObject(instance, kPPPContentDecryptorInterface); in ReleaseSession()
96 Instance::GetPerInstanceObject(instance, kPPPContentDecryptorInterface); in Decrypt()
112 Instance::GetPerInstanceObject(instance, kPPPContentDecryptorInterface); in InitializeAudioDecoder()
128 Instance::GetPerInstanceObject(instance, kPPPContentDecryptorInterface); in InitializeVideoDecoder()
141 Instance::GetPerInstanceObject(instance, kPPPContentDecryptorInterface); in DeinitializeDecoder()
153 Instance::GetPerInstanceObject(instance, kPPPContentDecryptorInterface); in ResetDecoder()
167 Instance::GetPerInstanceObject(instance, kPPPContentDecryptorInterface); in DecryptAndDecode()
[all …]
/external/llvm/include/llvm/MC/
DMCLabel.h28 unsigned Instance; variable
33 : Instance(instance) {} in MCLabel()
39 unsigned getInstance() const { return Instance; } in getInstance()
43 unsigned incInstance() { return ++Instance; } in incInstance()
/external/chromium_org/ppapi/utility/graphics/
Dpaint_manager.h21 class Instance; variable
140 PaintManager(Instance* instance, Client* client, bool is_always_opaque);
167 void Initialize(Instance* instance, Client* client, bool is_always_opaque);
269 Instance* instance_;
/external/chromium_org/native_client_sdk/src/examples/tutorial/load_progress/
Dload_progress.cc8 class LoadProgressInstance : public pp::Instance {
11 : pp::Instance(instance) {} in LoadProgressInstance()
20 virtual pp::Instance* CreateInstance(PP_Instance instance) { in CreateInstance()
/external/chromium_org/native_client_sdk/src/getting_started/part1/
Dhello_tutorial.cc40 class HelloTutorialInstance : public pp::Instance {
44 explicit HelloTutorialInstance(PP_Instance instance) : pp::Instance(instance) in HelloTutorialInstance()
68 virtual pp::Instance* CreateInstance(PP_Instance instance) { in CreateInstance()
/external/chromium_org/ppapi/examples/stub/
Dstub.cc11 class MyInstance : public pp::Instance {
13 explicit MyInstance(PP_Instance instance) : pp::Instance(instance) {} in MyInstance()
29 virtual pp::Instance* CreateInstance(PP_Instance instance) { in CreateInstance()
/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
Dps.cc13 static pp::Instance* s_Instance = NULL;
32 virtual pp::Instance* CreateInstance(PP_Instance instance) { in CreateInstance()
33 s_Instance = static_cast<pp::Instance*>(PSUserCreateInstance(instance)); in CreateInstance()
/external/clang/test/Sema/
Doverloaded-func-transparent-union.c13 } Instance __attribute__((transparent_union)); typedef
15 __attribute__((overloadable)) void Class_Init(Instance this, char *str, void *str2) { in Class_Init()
20 __attribute__((overloadable)) void Class_Init(Instance this, char *str) { in Class_Init()
/external/chromium_org/content/child/
Dworker_thread_task_runner.cc19 int worker_thread_id = WorkerTaskRunner::Instance()->CurrentWorkerId(); in current()
31 return WorkerTaskRunner::Instance()->PostTask(worker_thread_id_, task); in PostDelayedTask()
35 return worker_thread_id_ == WorkerTaskRunner::Instance()->CurrentWorkerId(); in RunsTasksOnCurrentThread()
/external/chromium_org/native_client_sdk/src/getting_started/part2/
Dhello_tutorial.cc19 class HelloTutorialInstance : public pp::Instance {
22 : pp::Instance(instance) {} in HelloTutorialInstance()
45 virtual pp::Instance* CreateInstance(PP_Instance instance) { in CreateInstance()

1234567891011