Home
last modified time | relevance | path

Searched refs:var_interface_ (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/ppapi/tests/
Dtest_var_resource.cc20 var_interface_ = static_cast<const PPB_Var*>( in Init()
22 return core_interface_ && file_system_interface_ && var_interface_ && in Init()
42 PP_Var var = var_interface_->VarFromResource(file_system); in TestBasicResource()
47 PP_Resource result = var_interface_->VarToResource(var); in TestBasicResource()
52 var_interface_->Release(var); in TestBasicResource()
53 result = var_interface_->VarToResource(var); in TestBasicResource()
77 PP_Resource result = var_interface_->VarToResource(invalid_resource); in TestInvalidAndEmpty()
82 PP_Var var = var_interface_->VarFromResource(fake_resource); in TestInvalidAndEmpty()
86 result = var_interface_->VarToResource(var); in TestInvalidAndEmpty()
92 result = var_interface_->VarToResource(var); in TestInvalidAndEmpty()
[all …]
Dtest_var.cc27 var_interface_ = static_cast<const PPB_Var*>( in Init()
29 return var_interface_ && CheckTestingInterface(); in Init()
48 PP_Var str = var_interface_->VarFromUtf8(kStr, kStrLen); in TestBasicString()
53 const char* result = var_interface_->VarToUtf8(str, &len); in TestBasicString()
58 var_interface_->Release(str); in TestBasicString()
59 result = var_interface_->VarToUtf8(str, &len); in TestBasicString()
85 const char* result = var_interface_->VarToUtf8(invalid_string, &len); in TestInvalidAndEmpty()
92 result = var_interface_->VarToUtf8(int_var.pp_var(), &len); in TestInvalidAndEmpty()
99 result = var_interface_->VarToUtf8(empty_string.pp_var(), &len); in TestInvalidAndEmpty()
123 converted_string = var_interface_->VarFromUtf8(NULL, 0); in TestNullInputInUtf8Conversion()
[all …]
Dtest_var_deprecated.cc69 var_interface_ = static_cast<const PPB_Var_Deprecated*>( in Init()
71 return var_interface_ && CheckTestingInterface(); in Init()
96 PP_Var str = var_interface_->VarFromUtf8(pp::Module::Get()->pp_module(), in TestBasicString()
102 const char* result = var_interface_->VarToUtf8(str, &len); in TestBasicString()
107 var_interface_->Release(str); in TestBasicString()
108 result = var_interface_->VarToUtf8(str, &len); in TestBasicString()
127 const char* result = var_interface_->VarToUtf8(invalid_string, &len); in TestInvalidAndEmpty()
134 result = var_interface_->VarToUtf8(int_var.pp_var(), &len); in TestInvalidAndEmpty()
141 result = var_interface_->VarToUtf8(empty_string.pp_var(), &len); in TestInvalidAndEmpty()
165 converted_string = var_interface_->VarFromUtf8( in TestNullInputInUtf8Conversion()
[all …]
Dtest_var_resource.h30 const PPB_Var* var_interface_; variable
Dtest_var.h33 const PPB_Var* var_interface_; variable
Dtest_var_deprecated.h40 const PPB_Var_Deprecated* var_interface_; variable
Dtest_websocket.h76 const PPB_Var* var_interface_; variable
Dtest_websocket.cc191 var_interface_ = static_cast<const PPB_Var*>( in Init()
198 if (!websocket_interface_ || !var_interface_ || !arraybuffer_interface_ || in Init()
262 return var_interface_->VarFromUtf8(string.c_str(), string.size()); in CreateVarString()
273 var_interface_->Release(var); in ReleaseVar()
281 const char* utf8 = var_interface_->VarToUtf8(var, &utf8_length); in AreEqualWithString()
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
Dfake_pepper_interface.cc23 messaging_interface_(&var_manager_, &var_interface_), in FakePepperInterface()
26 var_interface_(&var_manager_), in FakePepperInterface()
28 &var_interface_, in FakePepperInterface()
59 return &var_interface_; in GetVarInterface()
Dfake_pepper_interface_url_loader.cc467 : core_interface_(core_interface), var_interface_(var_interface) { in FakeURLRequestInfoInterface()
496 const char* url = var_interface_->VarToUtf8(value, &len); in SetProperty()
501 var_interface_->Release(value); in SetProperty()
509 const char* url = var_interface_->VarToUtf8(value, &len); in SetProperty()
514 var_interface_->Release(value); in SetProperty()
522 const char* url = var_interface_->VarToUtf8(value, &len); in SetProperty()
527 var_interface_->Release(value); in SetProperty()
553 : core_interface_(core_interface), var_interface_(var_interface) { in FakeURLResponseInfoInterface()
567 return var_interface_->VarFromUtf8(response_resource->url.data(), in GetProperty()
574 return var_interface_->VarFromUtf8(response_resource->headers.data(), in GetProperty()
[all …]
Dfake_pepper_interface_url_loader.h123 FakeVarInterface* var_interface_; // Weak reference. variable
138 FakeVarInterface* var_interface_; // Weak reference. variable
163 FakeVarInterface var_interface_; variable
Dfake_pepper_interface_html5_fs.cc459 : core_interface_(core_interface), var_interface_(var_interface) {} in FakeFileRefInterface()
498 return var_interface_->VarFromUtf8(file_ref_resource->path.c_str(), in GetName()
700 var_interface_(&var_manager_), in FakePepperInterfaceHtml5Fs()
702 file_ref_interface_(&core_interface_, &var_interface_), in FakePepperInterfaceHtml5Fs()
710 var_interface_(&var_manager_), in FakePepperInterfaceHtml5Fs()
713 file_ref_interface_(&core_interface_, &var_interface_), in FakePepperInterfaceHtml5Fs()
750 return &var_interface_; in GetVarInterface()
Dfake_var_dictionary_interface.cc14 var_interface_(var_interface), in FakeVarDictionaryInterface()
97 PP_Var key = var_interface_->VarFromUtf8(it->first.c_str(), in GetKeys()
Dfake_messaging_interface.h30 nacl_io::VarInterface* var_interface_; variable
Dfake_messaging_interface.cc11 : manager_(manager), var_interface_(var_interface) {} in FakeMessagingInterface()
Dfake_var_dictionary_interface.h28 nacl_io::VarInterface* var_interface_; variable
Dfake_pepper_interface.h47 FakeVarInterface var_interface_; variable
Dfake_pepper_interface_html5_fs.h157 FakeVarInterface* var_interface_; // Weak reference. variable
199 FakeVarInterface var_interface_; variable
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
Djs_fs_test.cc48 : var_interface_(var_interface), has_message_(false) { in FakeMessagingInterfaceJsFs()
55 var_interface_->AddRef(message); in PostMessage()
76 VarInterface* var_interface_; member in __anonf0623e9b0111::FakeMessagingInterfaceJsFs