/external/chromium_org/ppapi/shared_impl/ |
D | var.cc | 36 StringVar* string(StringVar::FromPPVar(var)); in PPVarToLogString() 79 StringVar* Var::AsStringVar() { return NULL; } in AsStringVar() 131 StringVar::StringVar() {} in StringVar() function in ppapi::StringVar 133 StringVar::StringVar(const std::string& str) : value_(str) {} in StringVar() function in ppapi::StringVar 135 StringVar::StringVar(const char* str, uint32 len) : value_(str, len) {} in StringVar() function in ppapi::StringVar 137 StringVar::~StringVar() {} in ~StringVar() 139 StringVar* StringVar::AsStringVar() { return this; } in AsStringVar() 141 PP_VarType StringVar::GetType() const { return PP_VARTYPE_STRING; } in GetType() 144 PP_Var StringVar::StringToPPVar(const std::string& var) { in StringToPPVar() 149 PP_Var StringVar::StringToPPVar(const char* data, uint32 len) { in StringToPPVar() [all …]
|
D | ppb_url_util_shared.cc | 49 StringVar* url_string = StringVar::FromPPVar(url); in Canonicalize() 61 StringVar* base_url_string = StringVar::FromPPVar(base_url); in ResolveRelativeToURL() 62 StringVar* relative_string = StringVar::FromPPVar(relative); in ResolveRelativeToURL() 76 StringVar* url_a_string = StringVar::FromPPVar(url_a); in IsSameSecurityOrigin() 77 StringVar* url_b_string = StringVar::FromPPVar(url_b); in IsSameSecurityOrigin() 96 return StringVar::StringToPPVar(url.possibly_invalid_spec()); in GenerateURLReturn() 105 StringVar* url_string = StringVar::FromPPVar(url); in ConvertComponentsAndReturnURL()
|
D | var.h | 24 class StringVar; variable 36 virtual StringVar* AsStringVar(); 100 class PPAPI_SHARED_EXPORT StringVar : public Var { 102 explicit StringVar(const std::string& str); 103 StringVar(const char* str, uint32 len); 104 virtual ~StringVar(); 115 virtual StringVar* AsStringVar() OVERRIDE; 134 static StringVar* FromPPVar(PP_Var var); 137 StringVar(); // Makes an empty string. 141 DISALLOW_COPY_AND_ASSIGN(StringVar);
|
D | dictionary_var.cc | 36 StringVar* string_var = StringVar::FromPPVar(key); in Get() 52 StringVar* string_var = StringVar::FromPPVar(key); in Set() 61 StringVar* string_var = StringVar::FromPPVar(key); in Delete() 69 StringVar* string_var = StringVar::FromPPVar(key); in HasKey() 86 ScopedPPVar::PassRef(), StringVar::StringToPPVar(iter->first))); in GetKeys()
|
D | ppb_input_event_shared.cc | 90 return StringVar::StringToPPVar(data_.character_text); in GetCharacterText() 94 return StringVar::StringToPPVar(data_.code); in GetCode() 231 StringVar* text_str = StringVar::FromPPVar(text); in CreateIMEInputEvent() 269 StringVar* text_str = StringVar::FromPPVar(character_text); in CreateKeyboardInputEvent() 275 StringVar* code_str = StringVar::FromPPVar(code); in CreateKeyboardInputEvent()
|
D | ppb_var_shared.cc | 20 using ppapi::StringVar; 39 return StringVar::StringToPPVar(data, len); in VarFromUtf8() 48 StringVar* str = StringVar::FromPPVar(var); in VarToUtf8()
|
D | unittest_utils.cc | 85 StringVar* expected_var = StringVar::FromPPVar(expected); in Equals() 86 StringVar* actual_var = StringVar::FromPPVar(actual); in Equals()
|
/external/chromium_org/ppapi/proxy/ |
D | serialized_structs.cc | 33 StringVar* string_var = StringVar::FromPPVar(desc.face); in SetFromPPFontDescription() 47 StringVar* string_var = StringVar::FromPPVar(desc.face); in SetFromPPBrowserFontDescription() 61 desc->face = StringVar::StringToPPVar(face); in SetToPPFontDescription() 73 desc->face = StringVar::StringToPPVar(face); in SetToPPBrowserFontDescription() 104 StringVar* string_var = StringVar::FromPPVar(desc.family); in SetFromPPTrueTypeFontDesc() 116 desc->family = StringVar::StringToPPVar(family); in CopyToPPTrueTypeFontDesc()
|
D | websocket_resource.cc | 59 empty_string_(new StringVar(std::string())), in WebSocketResource() 91 url_ = StringVar::FromPPVar(url); in Connect() 100 scoped_refptr<StringVar> protocol(StringVar::FromPPVar(protocols[i])); in Connect() 137 scoped_refptr<StringVar> reason_string_var; in Close() 152 reason_string_var = StringVar::FromPPVar(reason); in Close() 241 scoped_refptr<StringVar> message_string = StringVar::FromPPVar(message); in SendMessage() 263 scoped_refptr<StringVar> message_string = StringVar::FromPPVar(message); in SendMessage() 304 return StringVar::StringToPPVar(std::string()); in GetExtensions() 366 protocol_ = new StringVar(protocol); in OnPluginMsgConnectReply() 367 url_ = new StringVar(url); in OnPluginMsgConnectReply() [all …]
|
D | url_response_info_resource.cc | 44 return StringVar::StringToPPVar(data_.url); in GetProperty() 47 return StringVar::StringToPPVar(data_.redirect_url); in GetProperty() 51 return StringVar::StringToPPVar(data_.status_text); in GetProperty() 56 return StringVar::StringToPPVar(data_.status_text); in GetProperty() 58 return StringVar::StringToPPVar(data_.headers); in GetProperty()
|
D | websocket_resource.h | 17 class StringVar; variable 112 scoped_refptr<StringVar> empty_string_; 120 scoped_refptr<StringVar> close_reason_; 128 scoped_refptr<StringVar> extensions_; 132 scoped_refptr<StringVar> protocol_; 136 scoped_refptr<StringVar> url_;
|
D | file_ref_resource.h | 22 class StringVar; variable 93 scoped_refptr<StringVar> name_var_; 94 scoped_refptr<StringVar> path_var_; 95 scoped_refptr<StringVar> absolute_path_var_;
|
D | network_proxy_resource.cc | 34 StringVar* string_url = StringVar::FromPPVar(url); in GetProxyForURL() 60 *proxy_string_out_param = (new StringVar(proxy_string))->GetPPVar(); in OnPluginMsgGetProxyForURLReply()
|
D | ppp_messaging_proxy_perftest.cc | 25 StringVar* string_var = StringVar::FromPPVar(message_data); in HandleMessage() 78 PP_Var host_string = StringVar::StringToPPVar(test_string); in TEST_F()
|
D | platform_verification_private_resource.cc | 49 StringVar* service_id_str = StringVar::FromPPVar(service_id); in ChallengePlatform() 97 (new StringVar(raw_platform_key_certificate))->GetPPVar(); in OnChallengePlatformReply()
|
D | ppp_content_decryptor_private_proxy.cc | 226 StringVar* session_id = StringVar::FromPPVar(web_session_id); in CloseSession() 249 StringVar* session_id = StringVar::FromPPVar(web_session_id); in RemoveSession() 272 StringVar* session_id = StringVar::FromPPVar(web_session_id); in GetUsableKeyIds() 639 StringVar::StringToPPVar(web_session_id)); in OnMsgCloseSession() 653 StringVar::StringToPPVar(web_session_id)); in OnMsgRemoveSession() 667 StringVar::StringToPPVar(web_session_id)); in OnMsgGetUsableKeyIds()
|
D | truetype_font_singleton_resource.cc | 51 scoped_refptr<StringVar> family_var = StringVar::FromPPVar(family); in GetFontsInFamily() 81 scoped_refptr<Var>(new StringVar(font_families[i]))); in OnPluginMsgGetFontFamiliesComplete()
|
D | ppp_messaging_proxy_unittest.cc | 79 EXPECT_FALSE(StringVar::FromPPVar(received_var)); in CompareAndReleaseStringVar() 126 expected_var = StringVar::StringToPPVar(kTestString); in TEST_F() 132 EXPECT_FALSE(StringVar::FromPPVar(expected_var)); in TEST_F()
|
D | flash_clipboard_resource.cc | 32 StringVar* string_var = StringVar::FromPPVar(var); in PPVarToClipboardString() 52 return StringVar::StringToPPVar(string); in ClipboardStringToPPVar()
|
/external/chromium_org/content/renderer/pepper/ |
D | content_decryptor_delegate.cc | 45 using ppapi::StringVar; 346 pp_instance_, StringVar::StringToPPVar(key_system_)); in Initialize() 387 StringVar::StringToPPVar(init_data_type), in CreateSession() 397 pp_instance_, promise_id, StringVar::StringToPPVar(web_session_id)); in LoadSession() 412 StringVar::StringToPPVar(web_session_id), in UpdateSession() 427 pp_instance_, promise_id, StringVar::StringToPPVar(web_session_id)); in CloseSession() 441 pp_instance_, promise_id, StringVar::StringToPPVar(web_session_id)); in RemoveSession() 455 pp_instance_, promise_id, StringVar::StringToPPVar(web_session_id)); in GetUsableKeyIds() 724 StringVar* web_session_id_string = StringVar::FromPPVar(web_session_id); in OnPromiseResolvedWithSession() 776 StringVar* error_description_string = StringVar::FromPPVar(error_description); in OnPromiseRejected() [all …]
|
D | v8_var_converter_unittest.cc | 37 using ppapi::StringVar; 102 StringVar* string_var = StringVar::FromPPVar(var); in Equals() 143 StringVar::StringToPPVar(std::string( in Equals() 251 EXPECT_TRUE(RoundTripAndCompare(StringVar::StringToPPVar(""))); in TEST_F() 252 EXPECT_TRUE(RoundTripAndCompare(StringVar::StringToPPVar("hello world!"))); in TEST_F() 278 StringVar::StringToPPVar("abc")); in TEST_F() 426 ScopedPPVar foo(ScopedPPVar::PassRef(), StringVar::StringToPPVar("foo")); in TEST_F() 428 ScopedPPVar bar(ScopedPPVar::PassRef(), StringVar::StringToPPVar("bar")); in TEST_F() 430 ScopedPPVar baz(ScopedPPVar::PassRef(), StringVar::StringToPPVar("baz")); in TEST_F() 432 ScopedPPVar qux(ScopedPPVar::PassRef(), StringVar::StringToPPVar("qux")); in TEST_F() [all …]
|
D | plugin_object.cc | 36 using ppapi::StringVar; 87 StringVar::StringToPPVar(identifier)); in GetNamedProperty() 97 StringVar::StringToPPVar(identifier)); in SetNamedProperty() 144 StringVar* string_var = StringVar::FromPPVar(name_vars[i]); in EnumerateNamedProperties() 213 StringVar::FromPPVar(identifier_var)->value(); in GetPropertyOrMethod() 231 StringVar::StringToPPVar(identifier)); in Call()
|
D | pepper_try_catch.cc | 99 ppapi::StringVar* message_var = ppapi::StringVar::FromPPVar(exception_); in ThrowException() 119 exception_ = ppapi::StringVar::StringToPPVar(message); in SetException() 154 *exception_ = ppapi::StringVar::StringToPPVar(exception_message); in HasException() 170 *exception_ = ppapi::StringVar::StringToPPVar(message, strlen(message)); in SetException()
|
/external/chromium_org/components/pdf/renderer/ |
D | ppb_pdf_impl.cc | 71 return ppapi::StringVar::StringToPPVar(rv); in GetLocalizedString() 83 scoped_refptr<ppapi::StringVar> face_name( in GetFontFileWithFallback() 84 ppapi::StringVar::FromPPVar(description->face)); in GetFontFileWithFallback() 210 scoped_refptr<ppapi::StringVar> action_str( in UserMetricsRecordAction() 211 ppapi::StringVar::FromPPVar(action)); in UserMetricsRecordAction() 294 scoped_refptr<ppapi::StringVar> message_string( in ModalPromptForPassword() 295 ppapi::StringVar::FromPPVar(message)); in ModalPromptForPassword() 304 return ppapi::StringVar::StringToPPVar(actual_value); in ModalPromptForPassword()
|
/external/chromium_org/content/child/ |
D | browser_font_resource_trusted.cc | 28 using ppapi::StringVar; 64 StringVar* text_string = StringVar::FromPPVar(run.text); in TextRunCollection() 125 StringVar* text_string = StringVar::FromPPVar(text.text); in PPTextRunToWebTextRun() 166 StringVar* face_name = StringVar::FromPPVar(font.face); // Possibly null. in PPFontDescToWebFontDesc() 276 StringVar::StringToPPVar(base::UTF16ToUTF8(web_desc.family)); in Describe()
|