/external/chromium_org/net/cert/ |
D | jwk_serializer_unittest.cc | 77 std::string string_value; in TEST() local 78 EXPECT_TRUE(public_key_jwk.GetString("kty", &string_value)); in TEST() 79 EXPECT_STREQ("EC", string_value.c_str()); in TEST() 80 EXPECT_TRUE(public_key_jwk.GetString("crv", &string_value)); in TEST() 81 EXPECT_STREQ("P-256", string_value.c_str()); in TEST() 83 EXPECT_TRUE(public_key_jwk.GetString("x", &string_value)); in TEST() 85 EXPECT_TRUE(base::Base64Decode(string_value, &decoded_coordinate)); in TEST() 92 EXPECT_TRUE(public_key_jwk.GetString("y", &string_value)); in TEST() 93 EXPECT_TRUE(base::Base64Decode(string_value, &decoded_coordinate)); in TEST() 106 EXPECT_TRUE(public_key_jwk.GetString("kty", &string_value)); in TEST() [all …]
|
/external/chromium_org/tools/gn/ |
D | function_rebase_path.cc | 102 const std::string& string_value = value.string_value(); in ConvertOnePath() local 104 bool looks_like_dir = ValueLooksLikeDir(string_value); in ConvertOnePath() 111 from_dir.ResolveRelativeDir(string_value)); in ConvertOnePath() 114 from_dir.ResolveRelativeFile(string_value)); in ConvertOnePath() 118 MakeSlashEndingMatchInput(string_value, &result.string_value()); in ConvertOnePath() 119 ConvertPathToSystem(&result.string_value()); in ConvertOnePath() 132 result.string_value() = RebaseSourceAbsolutePath( in ConvertOnePath() 133 from_dir.ResolveRelativeDir(string_value).value(), in ConvertOnePath() 135 MakeSlashEndingMatchInput(string_value, &result.string_value()); in ConvertOnePath() 137 result.string_value() = RebaseSourceAbsolutePath( in ConvertOnePath() [all …]
|
D | input_conversion_unittest.cc | 16 EXPECT_EQ(input, result.string_value()); in TEST() 27 EXPECT_EQ("", result.list_value()[0].string_value()); in TEST() 28 EXPECT_EQ("foo", result.list_value()[1].string_value()); in TEST() 29 EXPECT_EQ("bar", result.list_value()[2].string_value()); in TEST() 38 EXPECT_EQ("str", result.string_value()); in TEST() 57 EXPECT_EQ("a", result.list_value()[0].string_value()); in TEST()
|
D | function_toolchain.cc | 31 *dest = v->string_value(); in ReadString() 100 Label label(input_dir, args[0].string_value()); in RunToolchain() 122 toolchain->set_gyp_header(gyp_header_value->string_value()); in RunToolchain() 203 const std::string& tool_name = args[0].string_value(); in RunTool()
|
/external/chromium_org/device/nfc/ |
D | nfc_ndef_record_unittest.cc | 71 std::string string_value; in TEST() local 73 NfcNdefRecord::kFieldText, &string_value)); in TEST() 74 EXPECT_EQ(kTestText, string_value); in TEST() 76 NfcNdefRecord::kFieldLanguageCode, &string_value)); in TEST() 77 EXPECT_EQ(kTestLanguageCode, string_value); in TEST() 79 NfcNdefRecord::kFieldEncoding, &string_value)); in TEST() 80 EXPECT_EQ(kTestEncoding, string_value); in TEST() 127 std::string string_value; in TEST() local 130 NfcNdefRecord::kFieldURI, &string_value)); in TEST() 131 EXPECT_EQ(kTestURI, string_value); in TEST() [all …]
|
/external/chromium_org/components/policy/core/common/ |
D | registry_dict_win_unittest.cc | 20 base::StringValue string_value("fortytwo"); in TEST() local 27 test_dict.SetValue("two", make_scoped_ptr(string_value.DeepCopy())); in TEST() 30 EXPECT_TRUE(base::Value::Equals(&string_value, test_dict.GetValue("two"))); in TEST() 36 EXPECT_TRUE(base::Value::Equals(&string_value, test_dict.GetValue("two"))); in TEST() 48 base::StringValue string_value("fortytwo"); in TEST() local 58 test_dict.SetValue("ONE", make_scoped_ptr(string_value.DeepCopy())); in TEST() 60 EXPECT_TRUE(base::Value::Equals(&string_value, test_dict.GetValue("one"))); in TEST() 63 EXPECT_TRUE(base::Value::Equals(&string_value, removed_value.get())); in TEST() 71 base::StringValue string_value("fortytwo"); in TEST() local 82 subdict->SetValue("three", make_scoped_ptr(string_value.DeepCopy())); in TEST() [all …]
|
D | registry_dict_win.cc | 62 std::string string_value; in ConvertValue() local 71 (value.GetAsString(&string_value) && in ConvertValue() 72 base::StringToInt(string_value, &int_value))) { in ConvertValue() 79 if (value.GetAsString(&string_value) && in ConvertValue() 80 base::StringToInt(string_value, &int_value)) { in ConvertValue() 90 } else if (value.GetAsString(&string_value) && in ConvertValue() 91 base::StringToDouble(string_value, &double_value)) { in ConvertValue() 116 if (value.GetAsString(&string_value)) { in ConvertValue() 117 scoped_ptr<base::Value> result(base::JSONReader::Read(string_value)); in ConvertValue()
|
/external/chromium/chrome/browser/ui/webui/options/ |
D | import_data_handler.cc | 68 std::string string_value; in ImportData() local 71 if (!args->GetString(0, &string_value) || in ImportData() 72 !base::StringToInt(string_value, &browser_index)) { in ImportData() 78 if (args->GetString(1, &string_value) && string_value == "true") { in ImportData() 81 if (args->GetString(2, &string_value) && string_value == "true") { in ImportData() 84 if (args->GetString(3, &string_value) && string_value == "true") { in ImportData() 87 if (args->GetString(4, &string_value) && string_value == "true") { in ImportData()
|
/external/chromium_org/content/browser/webui/ |
D | web_ui_message_handler.cc | 16 std::string string_value; in ExtractIntegerValue() local 17 if (value->GetString(0, &string_value)) in ExtractIntegerValue() 18 return base::StringToInt(string_value, out_int); in ExtractIntegerValue() 30 std::string string_value; in ExtractDoubleValue() local 31 if (value->GetString(0, &string_value)) in ExtractDoubleValue() 32 return base::StringToDouble(string_value, out_value); in ExtractDoubleValue()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_cookies_unittest.cc | 104 std::string string_value; in TEST_F() local 115 EXPECT_TRUE(cookie_value1->GetString(keys::kNameKey, &string_value)); in TEST_F() 116 EXPECT_EQ("ABC", string_value); in TEST_F() 117 EXPECT_TRUE(cookie_value1->GetString(keys::kValueKey, &string_value)); in TEST_F() 118 EXPECT_EQ("DEF", string_value); in TEST_F() 119 EXPECT_TRUE(cookie_value1->GetString(keys::kDomainKey, &string_value)); in TEST_F() 120 EXPECT_EQ("www.foobar.com", string_value); in TEST_F() 123 EXPECT_TRUE(cookie_value1->GetString(keys::kPathKey, &string_value)); in TEST_F() 124 EXPECT_EQ("/", string_value); in TEST_F() 133 EXPECT_TRUE(cookie_value1->GetString(keys::kStoreIdKey, &string_value)); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/webui/options/ |
D | import_data_handler.cc | 116 std::string string_value; in ImportData() local 119 if (!args->GetString(0, &string_value) || in ImportData() 120 !base::StringToInt(string_value, &browser_index)) { in ImportData() 126 if (args->GetString(1, &string_value) && string_value == "true") { in ImportData() 129 if (args->GetString(2, &string_value) && string_value == "true") { in ImportData() 132 if (args->GetString(3, &string_value) && string_value == "true") { in ImportData() 135 if (args->GetString(4, &string_value) && string_value == "true") { in ImportData()
|
D | password_manager_handler.cc | 113 std::string string_value = UTF16ToUTF8(ExtractStringValue(args)); in HandleRemoveSavedPassword() local 115 if (base::StringToInt(string_value, &index) && index >= 0) { in HandleRemoveSavedPassword() 122 std::string string_value = UTF16ToUTF8(ExtractStringValue(args)); in HandleRemovePasswordException() local 124 if (base::StringToInt(string_value, &index) && index >= 0) { in HandleRemovePasswordException()
|
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/ |
D | mediaconstraintsinterface.cc | 63 std::string string_value; in FindConstraint() local 67 if (constraints->GetMandatory().FindFirst(key, &string_value)) { in FindConstraint() 70 return talk_base::FromString(string_value, value); in FindConstraint() 72 if (constraints->GetOptional().FindFirst(key, &string_value)) { in FindConstraint() 73 return talk_base::FromString(string_value, value); in FindConstraint()
|
/external/chromium_org/dbus/ |
D | message_unittest.cc | 68 std::string string_value; in TEST() local 82 ASSERT_TRUE(reader.PopString(&string_value)); in TEST() 96 EXPECT_EQ("string", string_value); in TEST() 169 std::string string_value; in TEST() local 183 ASSERT_TRUE(reader.PopVariantOfString(&string_value)); in TEST() 197 EXPECT_EQ("string", string_value); in TEST() 311 std::string string_value; in TEST() local 312 ASSERT_TRUE(array_reader.PopString(&string_value)); in TEST() 313 EXPECT_EQ("foo", string_value); in TEST() 314 ASSERT_TRUE(array_reader.PopString(&string_value)); in TEST() [all …]
|
/external/chromium_org/chrome/browser/net/ |
D | disk_cache_dir_policy_handler.cc | 25 base::FilePath::StringType string_value; in ApplyPolicySettings() local 26 if (value && value->GetAsString(&string_value)) { in ApplyPolicySettings() 28 policy::path_parser::ExpandPathVariables(string_value); in ApplyPolicySettings()
|
/external/chromium/base/win/ |
D | registry_unittest.cc | 69 std::wstring string_value; in TEST_F() local 72 ASSERT_EQ(ERROR_SUCCESS, key.ReadValue(kStringValueName, &string_value)); in TEST_F() 75 EXPECT_STREQ(kStringData, string_value.c_str()); in TEST_F() 81 ASSERT_NE(ERROR_SUCCESS, key.ReadValue(kNonExistent, &string_value)); in TEST_F() 84 EXPECT_STREQ(kStringData, string_value.c_str()); in TEST_F()
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
D | gtest-port.cc | 214 const char* const string_value = GetEnv(env_var.c_str()); in BoolFromGTestEnv() local 215 return string_value == NULL ? in BoolFromGTestEnv() 216 default_value : strcmp(string_value, "0") != 0; in BoolFromGTestEnv() 265 const char* const string_value = GetEnv(env_var.c_str()); in Int32FromGTestEnv() local 266 if (string_value == NULL) { in Int32FromGTestEnv() 273 string_value, &result)) { in Int32FromGTestEnv()
|
/external/chromium_org/chrome/browser/download/ |
D | download_dir_policy_handler.cc | 27 base::FilePath::StringType string_value; in ApplyPolicySettings() local 28 if (!value || !value->GetAsString(&string_value)) in ApplyPolicySettings() 32 policy::path_parser::ExpandPathVariables(string_value); in ApplyPolicySettings()
|
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/ |
D | id_mapping_helper.cc | 59 std::string string_value; in GetRandomId() local 63 string_value = base::IntToString(rand_value); in GetRandomId() 65 } while (mapping.Get(string_value, &out_value)); in GetRandomId() 67 return string_value; in GetRandomId()
|
/external/chromium_org/chrome/browser/chromeos/login/screens/ |
D | screen_context_unittest.cc | 107 std::string string_value; in TEST_F() local 110 bool rv = changes.GetString("key0", &string_value); in TEST_F() 116 ASSERT_EQ("value0", string_value); in TEST_F() 129 rv = changes.GetString("key0", &string_value); in TEST_F() 131 ASSERT_EQ("value0", string_value); in TEST_F()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | bind_unittest.cc | 62 const std::string string_value("test string"); in TEST() local 63 EXPECT_EQ(string_value, Bind(&MethodBindTester::Identity<std::string>, in TEST() 64 &object, string_value)()); in TEST()
|
/external/chromium/chrome/common/ |
D | json_pref_store_unittest.cc | 104 std::string string_value; in TEST_F() local 105 EXPECT_TRUE(actual->GetAsString(&string_value)); in TEST_F() 106 EXPECT_EQ(cnn, string_value); in TEST_F() 149 EXPECT_TRUE(actual->GetAsString(&string_value)); in TEST_F() 151 base::StringToInt64(string_value, &value); in TEST_F()
|
/external/chromium_org/base/win/ |
D | registry_unittest.cc | 75 std::wstring string_value; in TEST_F() local 78 ASSERT_EQ(ERROR_SUCCESS, key.ReadValue(kStringValueName, &string_value)); in TEST_F() 81 EXPECT_STREQ(kStringData, string_value.c_str()); in TEST_F() 87 ASSERT_NE(ERROR_SUCCESS, key.ReadValue(kNonExistent, &string_value)); in TEST_F() 90 EXPECT_STREQ(kStringData, string_value.c_str()); in TEST_F()
|
/external/chromium_org/base/test/ |
D | values_test_util.cc | 50 std::string string_value; in ExpectDictStringValue() local 51 EXPECT_TRUE(value.GetString(key, &string_value)) << key; in ExpectDictStringValue() 52 EXPECT_EQ(expected_value, string_value) << key; in ExpectDictStringValue()
|
/external/chromium_org/content/browser/accessibility/ |
D | accessibility_tree_formatter_win.cc | 224 base::string16 string_value; in ToString() local 225 value->GetAsString(&string_value); in ToString() 229 string_value.c_str()), in ToString() 261 base::string16 string_value; in ToString() local 262 if ((*it)->GetAsString(&string_value)) in ToString() 263 WriteAttribute(false, string_value, &line); in ToString()
|