HomeSort by relevance Sort by last modified time
    Searched refs:var_tracker (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/ppapi/proxy/
plugin_var_tracker_unittest.cc 71 PP_Var plugin_object = var_tracker().ReceiveObjectPassRef(
73 PP_Var host_object2 = var_tracker().GetHostObject(plugin_object);
77 var_tracker().ReleaseVar(plugin_object);
85 PP_Var plugin_object = var_tracker().ReceiveObjectPassRef(
88 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object));
90 var_tracker().GetTrackedWithNoReferenceCountForObject(plugin_object));
93 PP_Var plugin_object2 = var_tracker().ReceiveObjectPassRef(
96 EXPECT_EQ(2, var_tracker().GetRefCountForObject(plugin_object));
98 var_tracker().GetTrackedWithNoReferenceCountForObject(plugin_object));
108 var_tracker().ReleaseVar(plugin_object)
    [all...]
serialized_var_unittest.cc 42 EXPECT_EQ(0, var_tracker().GetRefCountForObject(plugin_object));
53 var_tracker().AddRefVar(plugin_object);
54 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object));
65 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object));
75 EXPECT_EQ(-1, var_tracker().GetRefCountForObject(plugin_object));
90 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_string));
101 var_tracker().AddRefVar(plugin_string);
102 EXPECT_EQ(2, var_tracker().GetRefCountForObject(plugin_string));
112 EXPECT_EQ(2, var_tracker().GetRefCountForObject(plugin_string));
117 EXPECT_EQ(-1, var_tracker().GetRefCountForObject(plugin_string))
    [all...]
ppp_instance_private_proxy_unittest.cc 178 EXPECT_EQ(1, plugin().var_tracker().GetRefCountForObject(instance_obj));
182 plugin().var_tracker().GetHostObject(instance_obj).value.as_id;
183 Var* host_var = host().var_tracker().GetVar(expected_host_id);
187 host().var_tracker().GetRefCountForObject(GetPPVarNoAddRef(host_var)));
193 EXPECT_EQ(1, plugin().var_tracker().GetRefCountForObject(instance_obj));
195 host().var_tracker().ReleaseVar(host_pp_var);
196 EXPECT_EQ(1, host().var_tracker().GetRefCountForObject(host_pp_var));
200 host().var_tracker().ReleaseVar(host_pp_var);
204 EXPECT_EQ(-1, plugin().var_tracker().GetRefCountForObject(instance_obj));
205 EXPECT_EQ(-1, host().var_tracker().GetRefCountForObject(host_pp_var))
    [all...]
device_enumeration_resource_helper_unittest.cc 39 bool CompareDeviceRef(PluginVarTracker* var_tracker,
52 Var* name_var = var_tracker->GetVar(name_pp_var);
63 var_tracker->ReleaseVar(name_pp_var);
173 explicit TestMonitorDeviceChange(PluginVarTracker* var_tracker)
176 var_tracker_(var_tracker) {
270 EXPECT_TRUE(CompareDeviceRef(&var_tracker(), output.data()[i], data[i]));
281 TestMonitorDeviceChange helper(&var_tracker());
336 TestMonitorDeviceChange helper2(&var_tracker());
ppp_messaging_proxy_unittest.cc 72 Var* received_string = plugin_harness->var_tracker().GetVar(received_var);
78 plugin_harness->var_tracker().ReleaseVar(received_var);
131 host().var_tracker().ReleaseVar(expected_var);
ppapi_proxy_test.h 103 PluginVarTracker& var_tracker() { function in class:ppapi::proxy::PluginProxyTestHarness
246 VarTracker& var_tracker() { function in class:ppapi::proxy::HostProxyTestHarness
  /external/chromium_org/ppapi/shared_impl/
var_tracker_unittest.cc 10 #include "ppapi/shared_impl/var_tracker.h"
49 VarTracker& var_tracker() { return *globals_.GetVarTracker(); } function in class:ppapi::VarTrackerTest
62 EXPECT_TRUE(var_tracker().GetVar(var->GetExistingVarID()));
66 EXPECT_TRUE(var_tracker().ReleaseVar(pp_var));
78 EXPECT_TRUE(var_tracker().ReleaseVar(pp_var));
85 EXPECT_TRUE(var_tracker().GetVar(var->GetExistingVarID()));
87 static_cast<MockStringVar*>(var_tracker().GetVar(pp_var));
91 EXPECT_TRUE(var_tracker().ReleaseVar(pp_var));
96 EXPECT_FALSE(var_tracker().GetVar(pp_var));
99 EXPECT_FALSE(var_tracker().GetVar(pp_var))
    [all...]
  /external/chromium_org/content/renderer/pepper/
host_var_tracker_unittest.cc 105 ppapi::VarTracker* var_tracker = ppapi::PpapiGlobals::Get()->GetVarTracker(); local
106 var_tracker->ReleaseVar(static_cast<int32_t>(pp_object2.value.as_id));
107 var_tracker->ReleaseVar(static_cast<int32_t>(pp_object1.value.as_id));
113 var_tracker->ReleaseVar(static_cast<int32_t>(pp_object3.value.as_id));
npapi_glue.cc 298 ppapi::VarTracker* var_tracker = PpapiGlobals::Get()->GetVarTracker(); local
300 var_tracker->ReleaseVar(array_[i]);
plugin_object.cc 22 #include "ppapi/shared_impl/var_tracker.h"
236 ppapi::VarTracker* var_tracker = PpapiGlobals::Get()->GetVarTracker(); local
238 var_tracker->ReleaseVar(properties[i]);

Completed in 510 milliseconds