/external/chromium_org/ppapi/tests/ |
D | test_var_resource.cc | 20 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 …]
|
D | test_var.cc | 27 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 …]
|
D | test_var_deprecated.cc | 69 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 …]
|
D | test_var_resource.h | 30 const PPB_Var* var_interface_; variable
|
D | test_var.h | 33 const PPB_Var* var_interface_; variable
|
D | test_var_deprecated.h | 40 const PPB_Var_Deprecated* var_interface_; variable
|
D | test_websocket.h | 76 const PPB_Var* var_interface_; variable
|
D | test_websocket.cc | 191 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/ |
D | fake_pepper_interface.cc | 23 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()
|
D | fake_pepper_interface_url_loader.cc | 467 : 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 …]
|
D | fake_pepper_interface_url_loader.h | 123 FakeVarInterface* var_interface_; // Weak reference. variable 138 FakeVarInterface* var_interface_; // Weak reference. variable 163 FakeVarInterface var_interface_; variable
|
D | fake_pepper_interface_html5_fs.cc | 459 : 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()
|
D | fake_var_dictionary_interface.cc | 14 var_interface_(var_interface), in FakeVarDictionaryInterface() 97 PP_Var key = var_interface_->VarFromUtf8(it->first.c_str(), in GetKeys()
|
D | fake_messaging_interface.h | 30 nacl_io::VarInterface* var_interface_; variable
|
D | fake_messaging_interface.cc | 11 : manager_(manager), var_interface_(var_interface) {} in FakeMessagingInterface()
|
D | fake_var_dictionary_interface.h | 28 nacl_io::VarInterface* var_interface_; variable
|
D | fake_pepper_interface.h | 47 FakeVarInterface var_interface_; variable
|
D | fake_pepper_interface_html5_fs.h | 157 FakeVarInterface* var_interface_; // Weak reference. variable 199 FakeVarInterface var_interface_; variable
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | js_fs_test.cc | 48 : var_interface_(var_interface), has_message_(false) { in FakeMessagingInterfaceJsFs() 55 var_interface_->AddRef(message); in PostMessage() 76 VarInterface* var_interface_; member in __anonf0623e9b0111::FakeMessagingInterfaceJsFs
|