Searched refs:GetRefCountForObject (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/ppapi/proxy/ |
D | serialized_var_unittest.cc | 42 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 …]
|
D | plugin_var_tracker_unittest.cc | 88 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()
|
D | ppp_instance_private_proxy_unittest.cc | 178 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/ |
D | var_tracker.h | 126 int GetRefCountForObject(const PP_Var& object);
|
D | var_tracker.cc | 166 int VarTracker::GetRefCountForObject(const PP_Var& plugin_object) { in GetRefCountForObject() function in ppapi::VarTracker
|