Home
last modified time | relevance | path

Searched refs:GetRefCountForObject (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/ppapi/proxy/
Dserialized_var_unittest.cc42 EXPECT_EQ(0, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
54 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
65 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
75 EXPECT_EQ(-1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
90 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_string)); in TEST_F()
102 EXPECT_EQ(2, var_tracker().GetRefCountForObject(plugin_string)); in TEST_F()
112 EXPECT_EQ(2, var_tracker().GetRefCountForObject(plugin_string)); in TEST_F()
117 EXPECT_EQ(-1, var_tracker().GetRefCountForObject(plugin_string)); in TEST_F()
130 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
146 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
[all …]
Dplugin_var_tracker_unittest.cc88 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
96 EXPECT_EQ(2, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
109 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
111 EXPECT_EQ(-1, var_tracker().GetRefCountForObject(plugin_object)); in TEST_F()
126 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_var)); in TEST_F()
133 EXPECT_EQ(0, var_tracker().GetRefCountForObject(plugin_var)); in TEST_F()
139 EXPECT_EQ(-1, var_tracker().GetRefCountForObject(plugin_var)); in TEST_F()
148 EXPECT_EQ(1, var_tracker().GetRefCountForObject(plugin_var)); in TEST_F()
160 EXPECT_EQ(-1, var_tracker().GetRefCountForObject(plugin_var)); in TEST_F()
176 EXPECT_EQ(0, var_tracker().GetRefCountForObject(plugin_var)); in TEST_F()
Dppp_instance_private_proxy_unittest.cc178 EXPECT_EQ(1, plugin().var_tracker().GetRefCountForObject(instance_obj)); in TEST_F()
187 host().var_tracker().GetRefCountForObject(GetPPVarNoAddRef(host_var))); in TEST_F()
193 EXPECT_EQ(1, plugin().var_tracker().GetRefCountForObject(instance_obj)); in TEST_F()
196 EXPECT_EQ(1, host().var_tracker().GetRefCountForObject(host_pp_var)); in TEST_F()
204 EXPECT_EQ(-1, plugin().var_tracker().GetRefCountForObject(instance_obj)); in TEST_F()
205 EXPECT_EQ(-1, host().var_tracker().GetRefCountForObject(host_pp_var)); in TEST_F()
/external/chromium_org/ppapi/shared_impl/
Dvar_tracker.h126 int GetRefCountForObject(const PP_Var& object);
Dvar_tracker.cc166 int VarTracker::GetRefCountForObject(const PP_Var& plugin_object) { in GetRefCountForObject() function in ppapi::VarTracker