Home
last modified time | relevance | path

Searched refs:as_id (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/ppapi/proxy/
Dplugin_var_tracker_unittest.cc21 ret.value.as_id = object_id; in MakeObject()
75 EXPECT_EQ(host_object.value.as_id, host_object2.value.as_id); in TEST_F()
95 EXPECT_EQ(plugin_object.value.as_id, plugin_object2.value.as_id); in TEST_F()
103 EXPECT_EQ(host_object.value.as_id, GetObjectIDForUniqueReleaseObject()); in TEST_F()
112 EXPECT_EQ(host_object.value.as_id, GetObjectIDForUniqueReleaseObject()); in TEST_F()
125 EXPECT_EQ(plugin_var.value.as_id, plugin_var2.value.as_id); in TEST_F()
135 EXPECT_EQ(host_object.value.as_id, GetObjectIDForUniqueReleaseObject()); in TEST_F()
147 EXPECT_EQ(plugin_var.value.as_id, plugin_var2.value.as_id); in TEST_F()
161 EXPECT_EQ(host_object.value.as_id, GetObjectIDForUniqueReleaseObject()); in TEST_F()
175 EXPECT_EQ(plugin_var.value.as_id, plugin_var2.value.as_id); in TEST_F()
[all …]
Dserialized_var_unittest.cc18 ret.value.as_id = object_id; in MakeObjectVar()
64 EXPECT_EQ(host_object.value.as_id, reader.GetVar().value.as_id); in TEST_F()
145 EXPECT_EQ(host_object.value.as_id, reader.GetVar().value.as_id); in TEST_F()
182 EXPECT_EQ(plugin_object.value.as_id, plugin_object2.value.as_id); in TEST_F()
240 EXPECT_EQ(plugin_objects[0].value.as_id, plugin_objects2[0].value.as_id); in TEST_F()
244 EXPECT_NE(plugin_objects[1].value.as_id, plugin_objects2[1].value.as_id); in TEST_F()
297 EXPECT_EQ(plugin_object.value.as_id, plugin_object2.value.as_id); in TEST_F()
Dplugin_var_tracker.cc133 ret.value.as_id = object->host_var_id(); in GetHostObject()
160 HostVar(dispatcher, static_cast<int32>(host_object.value.as_id))); in ReleaseHostObject()
286 p.plugin_object_id = created_var.value.as_id; in PluginImplementedObjectCreated()
415 ret.value.as_id = var_id; in GetOrCreateObjectVarID()
440 HostVar host_var(dispatcher, var.value.as_id); in FindOrMakePluginVarFromHostVar()
447 new ProxyObjectVar(dispatcher, static_cast<int32>(var.value.as_id))); in FindOrMakePluginVarFromHostVar()
Draw_var_data.cc50 var.value.as_id); in GetOrCreateRawVarData()
55 (*visited_map)[var.value.as_id] = data->size() - 1; in GetOrCreateRawVarData()
104 parent_ids.erase(current_var.value.as_id); in Create()
109 parent_ids.insert(current_var.value.as_id); in Create()
129 if (CanHaveChildren(child) && parent_ids.count(child.value.as_id) != 0) in Create()
148 if (CanHaveChildren(child) && parent_ids.count(child.value.as_id) != 0) in Create()
305 m->WriteInt64(var_.value.as_id); in Write()
340 if (!m->ReadInt64(iter, &result.value.as_id)) in Read()
Dppp_instance_private_proxy_unittest.cc182 plugin().var_tracker().GetHostObject(instance_obj).value.as_id; in TEST_F()
192 EXPECT_EQ(host_pp_var.value.as_id, expected_host_id); in TEST_F()
Dppp_messaging_proxy_unittest.cc38 received_var.value.as_id = 0; in ResetReceived()
Dppb_var_deprecated_proxy.cc360 var.value.as_id = object_id; in OnMsgAddRefObject()
521 var.value.as_id = object_id; in DoReleaseObject()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Dfake_var_interface.cc29 VarMap::iterator iter = var_map_.find(var.value.as_id); in AddRef()
35 << var.value.as_id << " with value \"" in AddRef()
49 VarMap::iterator iter = var_map_.find(var.value.as_id); in Release()
55 << var.value.as_id << " with value \"" in Release()
70 result.value.as_id = id; in VarFromUtf8()
80 VarMap::const_iterator iter = var_map_.find(var.value.as_id); in VarToUtf8()
88 << var.value.as_id << " with value \"" in VarToUtf8()
Dmock_util.h36 return arg.value.as_id == var.value.as_id;
/external/chromium_org/content/renderer/pepper/
Dhost_var_tracker_unittest.cc109 EXPECT_EQ(pp_object1.value.as_id, pp_object2.value.as_id); in TEST_F()
124 var_tracker->ReleaseVar(static_cast<int32_t>(pp_object2.value.as_id)); in TEST_F()
125 var_tracker->ReleaseVar(static_cast<int32_t>(pp_object1.value.as_id)); in TEST_F()
130 EXPECT_NE(pp_object1.value.as_id, pp_object3.value.as_id); in TEST_F()
131 var_tracker->ReleaseVar(static_cast<int32_t>(pp_object3.value.as_id)); in TEST_F()
Dv8_var_converter.cc93 if (parent_ids->count(var.value.as_id) != 0) in GetOrCreateV8Value()
95 VarHandleMap::iterator it = visited_ids->find(var.value.as_id); in GetOrCreateV8Value()
165 (*visited_ids)[var.value.as_id] = *result; in GetOrCreateV8Value()
300 parent_ids.erase(current_var.value.as_id); in ToV8Value()
319 parent_ids.insert(current_var.value.as_id); in ToV8Value()
345 parent_ids.insert(current_var.value.as_id); in ToV8Value()
Dppb_uma_private_impl.cc20 if (_name.type != PP_VARTYPE_STRING || _name.value.as_id == 0) \
/external/chromium_org/ppapi/shared_impl/
Dunittest_utils.cc36 visited_map->find(expected.value.as_id); in Equals()
38 if (it->second != actual.value.as_id) { in Equals()
40 actual.value.as_id; in Equals()
46 (*visited_map)[expected.value.as_id] = actual.value.as_id; in Equals()
76 if (expected.value.as_id != actual.value.as_id) { in Equals()
77 LOG(ERROR) << "expected: " << expected.value.as_id << " actual: " << in Equals()
78 actual.value.as_id; in Equals()
Dvar_tracker.cc68 return GetVar(static_cast<int32>(var.value.as_id)); in GetVar()
101 return AddRefVar(static_cast<int32>(var.value.as_id)); in AddRefVar()
144 return ReleaseVar(static_cast<int32>(var.value.as_id)); in ReleaseVar()
191 return live_vars_.find(static_cast<int32>(var.value.as_id)); in GetLiveVar()
196 return live_vars_.find(static_cast<int32>(var.value.as_id)); in GetLiveVar()
Dvar_value_conversions.cc102 if (ContainsKey(parent_ids, var.value.as_id)) { in CreateValueFromVarHelper()
112 if (ContainsKey(parent_ids, var.value.as_id)) { in CreateValueFromVarHelper()
237 parent_ids.erase(top.var.value.as_id); in CreateValueFromVar()
240 parent_ids.insert(top.var.value.as_id); in CreateValueFromVar()
270 parent_ids.insert(top.var.value.as_id); in CreateValueFromVar()
Dvar.cc115 result.value.as_id = id; in GetPPVar()
/external/chromium_org/ppapi/cpp/
Dvar.cc171 if (var_.value.as_id == other.var_.value.as_id) in operator ==()
179 return var_.value.as_id == other.var_.value.as_id; in operator ==()
/external/chromium_org/ppapi/api/
Dpp_var.idl45 * The Var represents a string. The <code>as_id</code> field is used to
61 * Represents an array of Vars. The <code>as_id</code> field is used to
69 * Represents a mapping from strings to Vars. The <code>as_id</code> field is
125 * or <code>PP_VARTYPE_RESOURCE</code>, <code>as_id</code> represents the
130 int64_t as_id;
/external/chromium_org/ppapi/tests/
Dtest_case.cc124 IgnoreLeakedVar(test_object_.pp_var().value.as_id); in GetTestObject()
236 if (ignored_leaked_vars_.count(leaked_var.pp_var().value.as_id) == 0) in CheckResourcesAndVars()
Dtest_instance_deprecated.cc153 IgnoreLeakedVar(leaked.pp_var().value.as_id); in LeakReferenceAndIgnore()
213 i->IgnoreLeakedVar(child_.pp_var().value.as_id); in ObjectWithChildren()
Dtest_var_deprecated.cc123 invalid_string.value.as_id = 31415926; in TestInvalidAndEmpty()
339 invalid_object.value.as_id = static_cast<int64_t>(-1234567); in TestHasPropertyAndMethod()
Dtest_post_message.cc81 visited_ids->find(expected.pp_var().value.as_id); in VarsEqual()
83 if (it->second == actual.pp_var().value.as_id) in VarsEqual()
87 (*visited_ids)[expected.pp_var().value.as_id] = actual.pp_var().value.as_id; in VarsEqual()
Dtest_var_resource.cc76 invalid_resource.value.as_id = 31415926; in TestInvalidAndEmpty()
Dtest_var.cc81 invalid_string.value.as_id = 31415926; in TestInvalidAndEmpty()
/external/chromium_org/ppapi/c/
Dpp_var.h138 int64_t as_id; member

12