Home
last modified time | relevance | path

Searched refs:AsString (Results 1 – 25 of 121) sorted by relevance

12345

/external/chromium_org/jingle/glue/
Dlogging_unittest.cc28 static const char* AsString(rtc::LoggingSeverity severity) { in AsString() function
78 LOG_V(rtc::LS_ERROR) << AsString(rtc::LS_ERROR); in TEST()
79 LOG_V(rtc::LS_WARNING) << AsString(rtc::LS_WARNING); in TEST()
80 LOG_V(rtc::LS_INFO) << AsString(rtc::LS_INFO); in TEST()
81 LOG_V(rtc::LS_VERBOSE) << AsString(rtc::LS_VERBOSE); in TEST()
82 LOG_V(rtc::LS_SENSITIVE) << AsString(rtc::LS_SENSITIVE); in TEST()
90 EXPECT_FALSE(ContainsString(contents_of_file, AsString(rtc::LS_ERROR))); in TEST()
92 AsString(rtc::LS_WARNING))); in TEST()
93 EXPECT_FALSE(ContainsString(contents_of_file, AsString(rtc::LS_INFO))); in TEST()
95 AsString(rtc::LS_VERBOSE))); in TEST()
[all …]
/external/chromium_org/ppapi/tests/
Dtest_url_util.cc37 ASSERT_TRUE(result.AsString() == "http://google.com/"); in TestCanonicalize()
44 ASSERT_TRUE(result.AsString() == in TestCanonicalize()
61 ASSERT_TRUE(result.AsString() == "http://google.com/"); in TestCanonicalize()
95 ASSERT_TRUE(result.AsString() == test_cases[i].expected); in TestResolveRelative()
129 ASSERT_EQ(url.AsString(), href.AsString()); in TestGetDocumentURL()
137 ASSERT_EQ(url.AsString(), "http://a.b.c/test"); in TestGetPluginInstanceURL()
147 ASSERT_EQ(url.AsString(), href.AsString()); in TestGetPluginReferrerURL()
Dtest_net_address.cc104 ASSERT_EQ("127.0.0.1", addr1.DescribeAsString(false).AsString()); in TestDescribeAsString()
105 ASSERT_EQ("127.0.0.1:1234", addr1.DescribeAsString(true).AsString()); in TestDescribeAsString()
110 ASSERT_EQ("192.168.0.2", addr2.DescribeAsString(false).AsString()); in TestDescribeAsString()
111 ASSERT_EQ("192.168.0.2:80", addr2.DescribeAsString(true).AsString()); in TestDescribeAsString()
166 addr.DescribeAsString(false).AsString()); in TestDescribeAsString()
168 addr.DescribeAsString(true).AsString()); in TestDescribeAsString()
Dtest_instance_deprecated.cc30 return name.AsString() == kSetValueFunction || in HasMethod()
31 name.AsString() == kSetExceptionFunction || in HasMethod()
32 name.AsString() == kReturnValueFunction; in HasMethod()
40 std::string name = method_name.AsString(); in Call()
46 test_instance_->set_string(args[0].AsString()); in Call()
150 ASSERT_TRUE(ret.is_string() && ret.AsString() == "return value"); in TestExecuteScript()
267 ASSERT_EQ(std::string("true"), result.AsString()); in TestExecuteScriptAtInstanceShutdown()
Dtest_var_deprecated.cc44 return name.AsString() == kSetValueFunction; in HasMethod()
52 std::string name = method_name.AsString(); in Call()
186 if (!null_var.is_string() || null_var.AsString() != "") { in TestNullInputInUtf8Conversion()
203 std::string returned_string = converted_string.AsString(); in TestValidUtf8()
229 std::string returned_string = converted_string.AsString(); in TestUtf8WithEmbeddedNulls()
386 ASSERT_TRUE(result.AsString() == "worksnice"); in TestPassReference()
Dtest_flash_drm.cc56 std::string id = result.AsString(); in TestGetDeviceID()
69 std::string id = result.AsString(); in TestGetDeviceID()
115 std::string path_string = path.AsString(); in TestGetVoucherFile()
Dtest_var.cc68 ASSERT_TRUE(a.AsString() == "test"); in TestBasicString()
143 if (!null_var.is_string() || null_var.AsString() != "") { in TestNullInputInUtf8Conversion()
160 std::string returned_string = converted_string.AsString(); in TestValidUtf8()
186 std::string returned_string = converted_string.AsString(); in TestUtf8WithEmbeddedNulls()
Dtest_tcp_socket_private_trusted.cc57 cert.GetField(PP_X509CERTIFICATE_PRIVATE_ISSUER_COMMON_NAME).AsString(), in TestGetServerCertificate()
60 cert.GetField(PP_X509CERTIFICATE_PRIVATE_SUBJECT_COMMON_NAME).AsString(), in TestGetServerCertificate()
Dtest_file_ref.cc181 std::string name = file_ref_pers.GetName().AsString(); in TestGetName()
186 name = file_ref_temp.GetName().AsString(); in TestGetName()
192 name = file_ref_slash.GetName().AsString(); in TestGetName()
212 name = file_ref_ext.GetName().AsString(); in TestGetName()
225 ASSERT_EQ(kPersFilePath, file_ref_pers.GetPath().AsString()); in TestGetPath()
228 ASSERT_EQ(kTempFilePath, file_ref_temp.GetPath().AsString()); in TestGetPath()
258 ASSERT_EQ(kParentPath, file_ref_pers.GetParent().GetPath().AsString()); in TestGetParent()
261 ASSERT_EQ(kParentPath, file_ref_temp.GetParent().GetPath().AsString()); in TestGetParent()
265 ASSERT_EQ("/", file_ref_slash.GetParent().GetPath().AsString()); in TestGetParent()
269 ASSERT_EQ("/", file_ref_with_root_parent.GetParent().GetPath().AsString()); in TestGetParent()
[all …]
Dtest_network_proxy.cc34 ASSERT_EQ("DIRECT", callback.output().AsString()); in TestGetProxyForURL()
55 ASSERT_EQ("DIRECT", output.AsString()); in TestGetProxyForURL()
Dtest_video_source.cc63 if (message_data.AsString().find("blob:") == 0) { in HandleMessage()
64 stream_url_ = message_data.AsString(); in HandleMessage()
Dtest_video_destination.cc66 if (message_data.AsString().find("blob:") == 0) { in HandleMessage()
67 stream_url_ = message_data.AsString(); in HandleMessage()
Dtest_flash.cc44 ASSERT_EQ("DIRECT", result.AsString()); in TestGetProxyForURL()
53 ASSERT_EQ("DIRECT", result.AsString()); in TestGetProxyForURL()
/external/chromium_org/native_client_sdk/src/examples/api/var_dictionary/
Dvar_dictionary.cc73 std::string command = var_command.AsString(); in HandleMessage()
94 std::string key = var_key.AsString(); in HandleGet()
106 std::string key = var_key.AsString(); in HandleSet()
117 std::string key = var_key.AsString(); in HandleDelete()
133 std::string key = var_key.AsString(); in HandleHasKey()
/external/lldb/tools/debugserver/source/
DDNBError.cpp24 DNBError::AsString() const in AsString() function in DNBError
75 const char *err_str = AsString(); in LogThreadedIfError()
97 const char *err_str = AsString(); in LogThreaded()
/external/chromium_org/ppapi/cpp/private/
Dcontent_decryptor_private.cc39 key_system_var.AsString()); in Initialize()
80 init_data_type_var.AsString(), in CreateSession()
98 ->LoadSession(promise_id, web_session_id_var.AsString()); in LoadSession()
120 ->UpdateSession(promise_id, web_session_id_var.AsString(), response); in UpdateSession()
136 ->CloseSession(promise_id, web_session_id_var.AsString()); in CloseSession()
152 ->RemoveSession(promise_id, web_session_id_var.AsString()); in RemoveSession()
168 ->GetUsableKeyIds(promise_id, web_session_id_var.AsString()); in GetUsableKeyIds()
/external/chromium_org/ppapi/examples/scripting/
Dpost_message.cc34 std::string string_copy(message_data.AsString()); in HandleMessage()
36 bool is_palindrome(message_data.AsString() == string_copy); in HandleMessage()
/external/chromium_org/media/cast/test/
Dcast_benchmarks.cc182 std::string AsString() const { in AsString() function
404 VLOG(1) << "Playout margin: " << frame_playout_buffer().AsString(); in Run()
506 VLOG(2) << "TRUE because: " << x.AsString() in Lookup()
507 << " <= " << results_[i].first.AsString(); in Lookup()
512 VLOG(2) << "FALSE because: " << x.AsString() in Lookup()
513 << " >= " << results_[i].first.AsString(); in Lookup()
523 VLOG(2) << "Cache Insert: " << x.AsString() << " = " << result; in Add()
563 std::string AsString(double v) { return GetMeasuringPoint(v).AsString(); } in AsString() function
574 VLOG(1) << "RUN: v = " << multiplier << " p = " << p.AsString(); in RunOnePoint()
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dpnacl_resources.cc51 llc_tool_name_ = GetFullUrl(llc_tool_name.AsString()); in ReadResourceInfo()
52 ld_tool_name_ = GetFullUrl(ld_tool_name.AsString()); in ReadResourceInfo()
/external/chromium_org/ppapi/cpp/
Dvar.cc213 return AsString() == other.AsString(); in operator ==()
250 std::string Var::AsString() const { in AsString() function in pp::Var
299 std::string str = AsString(); in DebugString()
Dnetwork_list.cc48 return result.is_string() ? result.AsString() : std::string(); in GetName()
84 return result.is_string() ? result.AsString() : std::string(); in GetDisplayName()
/external/chromium_org/ppapi/examples/ime/
Dime.cc492 Log("Char [" + keyEvent.GetCharacterText().AsString() + "]"); in HandleInputEvent()
498 Log("CompositionStart [" + imeEvent.GetText().AsString() + "]"); in HandleInputEvent()
504 Log("CompositionUpdate [" + imeEvent.GetText().AsString() + "]"); in HandleInputEvent()
510 Log("CompositionEnd [" + imeEvent.GetText().AsString() + "]"); in HandleInputEvent()
516 Log("ImeText [" + imeEvent.GetText().AsString() + "]"); in HandleInputEvent()
548 it->SetComposition(ev.GetText().AsString(), in OnCompositionUpdate()
656 std::string str = ev.GetCharacterText().AsString(); in OnChar()
670 it->InsertText(ev.GetText().AsString()); in OnImeText()
/external/chromium_org/ppapi/examples/enumerate_devices/
Denumerate_devices.cc79 std::string event = message_data.AsString(); in HandleMessage()
108 device_names += name.AsString(); in EnumerateDevicesFinished()
/external/chromium_org/native_client_sdk/src/examples/api/socket/
Dsocket.cc74 std::string message = var_message.AsString(); in HandleMessage()
192 addr.DescribeAsString(true).AsString()); in OnResolveCompletion()
286 addr.DescribeAsString(true).AsString()); in OnConnectCompletion()
/external/chromium_org/ppapi/tests/extensions/media_galleries/
Dtest_galleries.cc73 std::string fullpath = var_fullpath.AsString(); in ParseMessage()
78 std::string name_of_test = var_testtype.AsString(); in ParseMessage()

12345