Home
last modified time | relevance | path

Searched refs:array_var (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/ppapi/thunk/
Dppb_var_array_thunk.cc26 ArrayVar* array_var = ArrayVar::FromPPVar(array); in Get() local
27 if (!array_var) in Get()
29 return array_var->Get(index); in Get()
35 ArrayVar* array_var = ArrayVar::FromPPVar(array); in Set() local
36 if (!array_var) in Set()
38 return array_var->Set(index, value); in Set()
44 ArrayVar* array_var = ArrayVar::FromPPVar(array); in GetLength() local
45 if (!array_var) in GetLength()
47 return array_var->GetLength(); in GetLength()
53 ArrayVar* array_var = ArrayVar::FromPPVar(array); in SetLength() local
[all …]
/external/chromium_org/ppapi/shared_impl/
Ddictionary_var.cc79 scoped_refptr<ArrayVar> array_var(new ArrayVar()); in GetKeys() local
80 array_var->elements().reserve(key_value_map_.size()); in GetKeys()
85 array_var->elements().push_back(ScopedPPVar( in GetKeys()
88 return array_var->GetPPVar(); in GetKeys()
/external/chromium_org/content/renderer/pepper/
Dv8_var_converter.cc372 ArrayVar* array_var = ArrayVar::FromPPVar(current_var); in ToV8Value() local
373 if (!array_var) { in ToV8Value()
380 for (size_t i = 0; i < array_var->elements().size(); ++i) { in ToV8Value()
381 const PP_Var& child_var = array_var->elements()[i].get(); in ToV8Value()
529 ArrayVar* array_var = ArrayVar::FromPPVar(current_var); in FromV8ValueInternal() local
530 if (!array_var) { in FromV8ValueInternal()
559 array_var->Set(i, child_var); in FromV8ValueInternal()
Dv8_var_converter_unittest.cc109 ArrayVar* array_var = ArrayVar::FromPPVar(var); in Equals() local
110 DCHECK(array_var); in Equals()
112 if (v8_array->Length() != array_var->elements().size()) in Equals()
116 if (!Equals(array_var->elements()[i].get(), child_v8, visited_ids)) in Equals()
/external/chromium_org/ppapi/proxy/
Draw_var_data.cc117 ArrayVar* array_var = ArrayVar::FromPPVar(current_var); in Create() local
118 if (!array_var) { in Create()
123 array_var->elements().begin(); in Create()
124 iter != array_var->elements().end(); in Create()
570 ArrayVar* array_var = ArrayVar::FromPPVar(var); in PopulatePPVar() local
571 DCHECK(array_var->elements().empty()); in PopulatePPVar()
573 array_var->elements().push_back(ScopedPPVar(graph[children_[i]])); in PopulatePPVar()
/external/chromium_org/ppapi/
Dppapi_shared.gypi15 'shared_impl/array_var.cc',
16 'shared_impl/array_var.h',
DBUILD.gn100 "shared_impl/array_var.cc",
101 "shared_impl/array_var.h",