Home
last modified time | relevance | path

Searched refs:ScopedPPVar (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/ppapi/shared_impl/
Dscoped_pp_var.cc24 ScopedPPVar::ScopedPPVar() : var_(PP_MakeUndefined()) { in ScopedPPVar() function in ppapi::ScopedPPVar
27 ScopedPPVar::ScopedPPVar(const PP_Var& v) : var_(v) { in ScopedPPVar() function in ppapi::ScopedPPVar
31 ScopedPPVar::ScopedPPVar(const PassRef&, const PP_Var& v) : var_(v) { in ScopedPPVar() function in ppapi::ScopedPPVar
34 ScopedPPVar::ScopedPPVar(const ScopedPPVar& other) in ScopedPPVar() function in ppapi::ScopedPPVar
39 ScopedPPVar::~ScopedPPVar() { in ~ScopedPPVar()
43 ScopedPPVar& ScopedPPVar::operator=(const PP_Var& v) { in operator =()
50 PP_Var ScopedPPVar::Release() { in Release()
Dscoped_pp_var.h13 class PPAPI_SHARED_EXPORT ScopedPPVar {
17 ScopedPPVar();
20 explicit ScopedPPVar(const PP_Var& v);
23 ScopedPPVar(const PassRef&, const PP_Var& v);
26 ScopedPPVar(const ScopedPPVar& other);
28 ~ScopedPPVar();
30 ScopedPPVar& operator=(const PP_Var& r);
31 ScopedPPVar& operator=(const ScopedPPVar& other) {
Dvar_value_conversions_unittest.cc130 ScopedPPVar var(ScopedPPVar::PassRef(), CreateVarFromValue(value)); in ConvertValueAndVerify()
163 ScopedPPVar var_1(ScopedPPVar::PassRef(), dict_var->GetPPVar()); in TEST_F()
165 ScopedPPVar var_2(ScopedPPVar::PassRef(), array_var->GetPPVar()); in TEST_F()
188 ScopedPPVar var(ScopedPPVar::PassRef(), dict_var->GetPPVar()); in TEST_F()
199 ScopedPPVar var(ScopedPPVar::PassRef(), dict_var->GetPPVar()); in TEST_F()
207 ScopedPPVar dict_pp_var_1(ScopedPPVar::PassRef(), dict_var_1->GetPPVar()); in TEST_F()
209 ScopedPPVar dict_pp_var_2(ScopedPPVar::PassRef(), dict_var_2->GetPPVar()); in TEST_F()
211 ScopedPPVar string_pp_var(ScopedPPVar::PassRef(), string_var->GetPPVar()); in TEST_F()
224 ScopedPPVar var(ScopedPPVar::PassRef(), array_var->GetPPVar()); in TEST_F()
236 ScopedPPVar dict_pp_var_1(ScopedPPVar::PassRef(), dict_var_1->GetPPVar()); in TEST_F()
[all …]
Dvar_value_conversions.cc148 ScopedPPVar* var, in CreateVarFromValueHelper()
182 *var = ScopedPPVar(ScopedPPVar::PassRef(), in CreateVarFromValueHelper()
196 ScopedPPVar temp( in CreateVarFromValueHelper()
197 ScopedPPVar::PassRef(), in CreateVarFromValueHelper()
208 *var = ScopedPPVar(ScopedPPVar::PassRef(), dict_var->GetPPVar()); in CreateVarFromValueHelper()
214 *var = ScopedPPVar(ScopedPPVar::PassRef(), array_var->GetPPVar()); in CreateVarFromValueHelper()
303 ScopedPPVar root_var; in CreateVarFromValue()
320 ScopedPPVar child_var; in CreateVarFromValue()
334 ScopedPPVar child_var; in CreateVarFromValue()
369 std::vector<ScopedPPVar> result; in CreateVarVectorFromListValue()
[all …]
Ddictionary_var.cc91 ScopedPPVar(ScopedPPVar::PassRef(), in GetKeys()
Darray_var.h21 typedef std::vector<ScopedPPVar> ElementVector;
Ddictionary_var.h22 typedef std::map<std::string, ScopedPPVar> KeyValueMap;
/external/chromium_org/content/renderer/pepper/
Dv8_var_converter_unittest.cc36 using ppapi::ScopedPPVar;
130 ScopedPPVar release_key(ScopedPPVar::PassRef(), in Equals()
135 ScopedPPVar release_value(ScopedPPVar::PassRef(), in Equals()
192 const ScopedPPVar& scoped_var, in FromV8ValueComplete()
196 ScopedPPVar var = scoped_var; in FromV8ValueComplete()
219 ScopedPPVar expected(ScopedPPVar::PassRef(), var); in RoundTripAndCompare()
223 ScopedPPVar actual(ScopedPPVar::PassRef(), actual_var); in RoundTripAndCompare()
265 ScopedPPVar release_array(ScopedPPVar::PassRef(), array->GetPPVar()); in TEST_F()
279 ScopedPPVar release_string( in TEST_F()
280 ScopedPPVar::PassRef(), StringVar::StringToPPVar("abc")); in TEST_F()
[all …]
Dmessage_channel.cc296 VarConversionResult(const ppapi::ScopedPPVar& r, bool s) in VarConversionResult()
303 ppapi::ScopedPPVar result;
335 ppapi::ScopedPPVar(PP_MakeUndefined()), true); in NPVariantToPPVar()
339 ppapi::ScopedPPVar(PP_MakeNull()), true); in NPVariantToPPVar()
343 ppapi::ScopedPPVar( in NPVariantToPPVar()
349 ppapi::ScopedPPVar( in NPVariantToPPVar()
355 ppapi::ScopedPPVar( in NPVariantToPPVar()
361 ppapi::ScopedPPVar(ppapi::ScopedPPVar::PassRef(), in NPVariantToPPVar()
379 ppapi::ScopedPPVar(PP_MakeUndefined()), false); in NPVariantToPPVar()
463 const ppapi::ScopedPPVar& result, in NPVariantToPPVarComplete()
[all …]
Dv8_var_converter.cc28 using ppapi::ScopedPPVar;
76 typedef base::hash_map<HashedHandle, ScopedPPVar> HandleVarMap;
241 ScopedPPVar(ScopedPPVar::PassRef(), *result))); in GetOrCreateVar()
389 const base::Callback<void(const ScopedPPVar&, bool)>& callback) { in FromV8Value() argument
398 ScopedPPVar root; in FromV8Value()
419 base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); in FromV8Value()
438 base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); in FromV8Value()
447 base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); in FromV8Value()
459 base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); in FromV8Value()
476 base::Bind(callback, ScopedPPVar(PP_MakeUndefined()), false)); in FromV8Value()
[all …]
Dmessage_channel.h20 class ScopedPPVar; variable
100 const ppapi::ScopedPPVar& result,
142 std::map<NPIdentifier, ppapi::ScopedPPVar> internal_properties_;
Dv8_var_converter.h19 class ScopedPPVar; variable
50 const base::Callback<void(const ppapi::ScopedPPVar&, bool)>& callback);
Dresource_converter.h25 class ScopedPPVar; variable
/external/chromium_org/ppapi/proxy/
Draw_var_data_unittest.cc69 ScopedPPVar expected(ScopedPPVar::PassRef(), var); in WriteReadAndCompare()
74 ScopedPPVar actual(ScopedPPVar::PassRef(), result); in WriteReadAndCompare()
111 ScopedPPVar release_array(ScopedPPVar::PassRef(), array->GetPPVar()); in TEST_F()
125 ScopedPPVar release_string( in TEST_F()
126 ScopedPPVar::PassRef(), StringVar::StringToPPVar("abc")); in TEST_F()
133 ScopedPPVar release_array2(ScopedPPVar::PassRef(), array2->GetPPVar()); in TEST_F()
140 ScopedPPVar release_dictionary(ScopedPPVar::PassRef(), in TEST_F()
159 ScopedPPVar release_dictionary2(ScopedPPVar::PassRef(), in TEST_F()
193 ScopedPPVar resource( in TEST_F()
194 ScopedPPVar::PassRef(), in TEST_F()
Dfile_chooser_resource_unittest.cc119 ScopedPPVar release_name_var(ScopedPPVar::PassRef(), name_var); in TEST_F()
125 ScopedPPVar release_path_var(ScopedPPVar::PassRef(), path_var); in TEST_F()
Dpdf_resource_unittest.cc47 ScopedPPVar release_var(ScopedPPVar::PassRef(), var); in TEST_F()
Dflash_file_resource.cc31 ScopedPPVar var(ScopedPPVar::PassRef(), enter.object()->GetAbsolutePath()); in GetPathFromFileRef()
Draw_var_data.cc171 ScopedPPVar(ScopedPPVar::PassRef(), graph[i]); in CreatePPVar()
573 array_var->elements().push_back(ScopedPPVar(graph[children_[i]])); in PopulatePPVar()