/external/chromium_org/ui/app_list/search/ |
H A D | tokenized_string_unittest.cc | 24 str += base::UTF8ToUTF16(mappings[i].ToString()); 39 base::string16 text(base::UTF8ToUTF16("ScratchPad")); 41 EXPECT_EQ(base::UTF8ToUTF16("scratch{0,7} pad{7,10}"), 45 base::string16 text(base::UTF8ToUTF16("Chess2.0")); 47 EXPECT_EQ(base::UTF8ToUTF16("chess{0,5} 2.0{5,8}"), 51 base::string16 text(base::UTF8ToUTF16("Cut the rope")); 53 EXPECT_EQ(base::UTF8ToUTF16("cut{0,3} the{4,7} rope{8,12}"), 57 base::string16 text(base::UTF8ToUTF16("AutoCAD WS")); 59 EXPECT_EQ(base::UTF8ToUTF16("auto{0,4} cad{4,7} ws{8,10}"), 63 base::string16 text(base::UTF8ToUTF16("Grea [all...] |
H A D | term_break_iterator_unittest.cc | 10 using base::UTF8ToUTF16; 22 base::string16 word(UTF8ToUTF16("simple")); 25 EXPECT_EQ(UTF8ToUTF16("simple"), iter.GetCurrentTerm()); 30 base::string16 word(UTF8ToUTF16("CamelCase")); 33 EXPECT_EQ(UTF8ToUTF16("Camel"), iter.GetCurrentTerm()); 35 EXPECT_EQ(UTF8ToUTF16("Case"), iter.GetCurrentTerm()); 40 base::string16 word(UTF8ToUTF16("lowerToUpper")); 43 EXPECT_EQ(UTF8ToUTF16("lower"), iter.GetCurrentTerm()); 45 EXPECT_EQ(UTF8ToUTF16("To"), iter.GetCurrentTerm()); 47 EXPECT_EQ(UTF8ToUTF16("Uppe [all...] |
H A D | tokenized_string_match_unittest.cc | 48 const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); 49 EXPECT_FALSE(match.Calculate(base::UTF8ToUTF16(kTestCases[i].query), text)) 77 const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); 78 EXPECT_TRUE(match.Calculate(base::UTF8ToUTF16(kTestCases[i].query), text)); 109 const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text)); 111 match_low.Calculate(base::UTF8ToUTF16(kTestCases[i].query_low), text)); 113 base::UTF8ToUTF16(kTestCases[i].query_high), text));
|
/external/chromium_org/components/user_manager/ |
H A D | user_info_impl.cc | 19 return base::UTF8ToUTF16("stub-user"); 23 return base::UTF8ToUTF16("Stub");
|
H A D | empty_user_info.cc | 20 return base::UTF8ToUTF16(std::string()); 25 return base::UTF8ToUTF16(std::string());
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
H A D | x11_input_method_context_impl_gtk2_unittest.cc | 25 EXPECT_FALSE(trap.Trap(base::UTF8ToUTF16("T"))); 27 EXPECT_FALSE(trap.Trap(base::UTF8ToUTF16("true"))); 32 EXPECT_FALSE(trap.Trap(base::UTF8ToUTF16("t"))); 38 EXPECT_FALSE(trap.Trap(base::UTF8ToUTF16("t"))); 42 EXPECT_TRUE(trap.Trap(base::UTF8ToUTF16("t"))); 49 EXPECT_FALSE(trap.Trap(base::UTF8ToUTF16("f"))); 51 EXPECT_TRUE(trap.Trap(base::UTF8ToUTF16("t")));
|
/external/chromium_org/rlz/lib/ |
H A D | machine_id_unittest.cc | 14 base::string16 computer_sid(base::UTF8ToUTF16(
|
/external/chromium_org/content/renderer/media/ |
H A D | mock_media_constraint_factory.cc | 36 mandatory_.push_back(blink::WebMediaConstraint(base::UTF8ToUTF16(key), 43 base::UTF8ToUTF16(key), 44 base::UTF8ToUTF16(base::DoubleToString(value)))); 50 base::UTF8ToUTF16(key), base::UTF8ToUTF16(value))); 61 optional_.push_back(blink::WebMediaConstraint(base::UTF8ToUTF16(key), 68 base::UTF8ToUTF16(key), 69 base::UTF8ToUTF16(base::DoubleToString(value)))); 75 base::UTF8ToUTF16(key), base::UTF8ToUTF16(valu [all...] |
H A D | media_stream_constraints_util.cc | 52 base::string16 name_16 = base::UTF8ToUTF16(name); 67 if (!constraints.getMandatoryConstraintValue(base::UTF8ToUTF16(name), 80 if (!constraints.getMandatoryConstraintValue(base::UTF8ToUTF16(name), 93 if (!constraints.getMandatoryConstraintValue(base::UTF8ToUTF16(name), 105 if (!constraints.getOptionalConstraintValue(base::UTF8ToUTF16(name), 118 if (!constraints.getOptionalConstraintValue(base::UTF8ToUTF16(name), 131 if (!constraints.getOptionalConstraintValue(base::UTF8ToUTF16(name),
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | address_field.cc | 20 using base::UTF8ToUTF16; 32 base::string16 attention_ignored = UTF8ToUTF16(autofill::kAttentionIgnoredRe); 33 base::string16 region_ignored = UTF8ToUTF16(autofill::kRegionIgnoredRe); 130 return ParseField(scanner, UTF8ToUTF16(autofill::kCompanyRe), &company_); 145 base::string16 pattern = UTF8ToUTF16(autofill::kAddressLine1Re); 146 base::string16 label_pattern = UTF8ToUTF16(autofill::kAddressLine1LabelRe); 159 pattern = UTF8ToUTF16(autofill::kAddressLine2Re); 160 label_pattern = UTF8ToUTF16(autofill::kAddressLine2LabelRe); 172 pattern = UTF8ToUTF16(autofill::kAddressLinesExtraRe); 188 UTF8ToUTF16(autofil [all...] |
H A D | name_field.cc | 16 using base::UTF8ToUTF16; 82 UTF8ToUTF16(autofill::kNameIgnoredRe), NULL); 91 if (ParseField(scanner, UTF8ToUTF16(autofill::kNameRe), &field)) 113 UTF8ToUTF16(autofill::kNameSpecificRe), &v->first_name_) && 149 if (ParseFieldSpecifics(scanner, UTF8ToUTF16(autofill::kNameIgnoredRe), 155 ParseField(scanner, UTF8ToUTF16(autofill::kFirstNameRe), 166 ParseField(scanner, UTF8ToUTF16(autofill::kMiddleInitialRe), 173 ParseField(scanner, UTF8ToUTF16(autofill::kMiddleNameRe), 179 ParseField(scanner, UTF8ToUTF16(autofill::kLastNameRe),
|
/external/chromium_org/chrome/browser/history/ |
H A D | in_memory_url_index_types_unittest.cc | 12 using base::UTF8ToUTF16; 36 base::UTF8ToUTF16("http://www.google.com/ frammy the brammy")); 42 EXPECT_EQ(UTF8ToUTF16("http"), string_vec[0]); 43 EXPECT_EQ(UTF8ToUTF16("www"), string_vec[1]); 44 EXPECT_EQ(UTF8ToUTF16("google"), string_vec[2]); 45 EXPECT_EQ(UTF8ToUTF16("com"), string_vec[3]); 46 EXPECT_EQ(UTF8ToUTF16("frammy"), string_vec[4]); 47 EXPECT_EQ(UTF8ToUTF16("the"), string_vec[5]); 48 EXPECT_EQ(UTF8ToUTF16("brammy"), string_vec[6]); 57 EXPECT_EQ(UTF8ToUTF16("htt [all...] |
/external/chromium_org/base/i18n/ |
H A D | break_iterator_unittest.cc | 26 string16 space(UTF8ToUTF16(" ")); 27 string16 str(UTF8ToUTF16(" foo bar! \npouet boom")); 35 EXPECT_EQ(UTF8ToUTF16("foo"), iter.GetString()); 41 EXPECT_EQ(UTF8ToUTF16("bar"), iter.GetString()); 44 EXPECT_EQ(UTF8ToUTF16("!"), iter.GetString()); 50 EXPECT_EQ(UTF8ToUTF16("\n"), iter.GetString()); 53 EXPECT_EQ(UTF8ToUTF16("pouet"), iter.GetString()); 59 EXPECT_EQ(UTF8ToUTF16("boom"), iter.GetString()); 80 EXPECT_EQ(UTF8ToUTF16(" "), iter.GetString()); 94 UTF8ToUTF16(bas [all...] |
/external/chromium_org/extensions/common/ |
H A D | stack_frame_unittest.cc | 13 using base::UTF8ToUTF16; 24 base::string16 utf16_text = base::UTF8ToUTF16(text); 30 EXPECT_EQ(base::UTF8ToUTF16(source), frame->source); 31 EXPECT_EQ(base::UTF8ToUTF16(function), frame->function); 35 base::string16 utf16_text = base::UTF8ToUTF16(text);
|
/external/chromium_org/ash/ime/ |
H A D | candidate_window_view_unittest.cc | 55 entry.value = base::UTF8ToUTF16(base::StringPrintf( 57 entry.label = base::UTF8ToUTF16(base::StringPrintf( 191 entry.value = base::UTF8ToUTF16(kSampleCandidate[i]); 192 entry.annotation = base::UTF8ToUTF16(kSampleAnnotation[i]); 193 entry.description_title = base::UTF8ToUTF16(kSampleDescriptionTitle[i]); 194 entry.description_body = base::UTF8ToUTF16(kSampleDescriptionBody[i]); 195 entry.label = base::UTF8ToUTF16(kEmptyLabel); 217 entry.value = base::UTF8ToUTF16(kSampleCandidate[i]); 218 entry.annotation = base::UTF8ToUTF16(kSampleAnnotation[i]); 219 entry.description_title = base::UTF8ToUTF16(kSampleDescriptionTitl [all...] |
/external/chromium_org/chrome/browser/notifications/ |
H A D | notification_conversion_helper_unittest.cc | 31 base::UTF8ToUTF16("I am a context message."); 34 message_center::ButtonInfo(base::UTF8ToUTF16("Button 1"))); 36 message_center::ButtonInfo(base::UTF8ToUTF16("Button 2"))); 43 base::UTF8ToUTF16("Item 1 Title"), 44 base::UTF8ToUTF16("Item 1 Message"))); 46 base::UTF8ToUTF16("Item 2 Title"), 47 base::UTF8ToUTF16("Item 2 Message"))); 62 base::UTF8ToUTF16("Title"), 63 base::UTF8ToUTF16("This is a message."), 68 base::UTF8ToUTF16("Notifie [all...] |
/external/chromium_org/chrome/browser/extensions/api/system_storage/ |
H A D | storage_api_test_util.cc | 21 base::UTF8ToUTF16(unit.name), /* storage label */
|
/external/chromium_org/components/password_manager/core/browser/ |
H A D | login_database_posix.cc | 23 *plain_text = base::UTF8ToUTF16(cipher_text);
|
/external/chromium_org/chrome/browser/custom_handlers/ |
H A D | register_protocol_handler_permission_request.cc | 22 return base::UTF8ToUTF16(handler.protocol()); 51 base::UTF8ToUTF16(handler_.url().host()), 55 base::UTF8ToUTF16(handler_.url().host()), 57 base::UTF8ToUTF16(old_handler.url().host())); 70 base::UTF8ToUTF16(old_handler.url().host()));
|
/external/chromium_org/chrome/browser/ui/website_settings/ |
H A D | mock_permission_bubble_request.cc | 28 text_ = base::UTF8ToUTF16(text); 41 text_ = base::UTF8ToUTF16(text); 55 text_ = base::UTF8ToUTF16(text); 56 accept_label_ = base::UTF8ToUTF16(accept_label); 57 deny_label_ = base::UTF8ToUTF16(deny_label);
|
/external/chromium_org/chrome/browser/ui/omnibox/ |
H A D | omnibox_edit_unittest.cc | 16 using base::UTF8ToUTF16; 240 model.SetUserText(UTF8ToUTF16("he")); 241 model.OnPopupDataChanged(UTF8ToUTF16("llo"), NULL, base::string16(), false); 242 EXPECT_EQ(UTF8ToUTF16("hello"), view.GetText()); 243 EXPECT_EQ(UTF8ToUTF16("llo"), view.inline_autocomplete_text()); 245 model.OnAfterPossibleChange(UTF8ToUTF16("he"), UTF8ToUTF16("hel"), 3, 3, 248 model.OnPopupDataChanged(UTF8ToUTF16("lo"), NULL, base::string16(), false); 249 EXPECT_EQ(UTF8ToUTF16("hello"), view.GetText()); 250 EXPECT_EQ(UTF8ToUTF16("l [all...] |
/external/chromium_org/ui/message_center/ |
H A D | notification_list_unittest.cc | 18 using base::UTF8ToUTF16; 58 UTF8ToUTF16(base::StringPrintf(kTitleFormat, counter_)), 59 UTF8ToUTF16(base::StringPrintf(kMessageFormat, counter_)), 61 UTF8ToUTF16(kDisplaySource), 191 UTF8ToUTF16("newtitle"), 192 UTF8ToUTF16("newbody"), 194 UTF8ToUTF16(kDisplaySource), 203 EXPECT_EQ(UTF8ToUTF16("newtitle"), (*notifications.begin())->title()); 204 EXPECT_EQ(UTF8ToUTF16("newbody"), (*notifications.begin())->message()); 215 UTF8ToUTF16("title [all...] |
/external/chromium_org/chrome/browser/ui/tests/ |
H A D | elide_url_unittest.cc | 14 using base::UTF8ToUTF16; 32 GetStringWidthF(UTF8ToUTF16(testcases[i].output), font_list); 33 EXPECT_EQ(UTF8ToUTF16(testcases[i].output), 75 UTF8ToUTF16("battersbox.com/" + kEllipsisStr + "/" + kEllipsisStr), 82 ASSERT_GT(GetStringWidthF(UTF8ToUTF16(kEllipsisStr + "/" + kEllipsisStr), 84 GetStringWidthF(UTF8ToUTF16("d" + kEllipsisStr), font_list)); 187 GetStringWidthF(UTF8ToUTF16(testcases[i].output), gfx::FontList()); 188 EXPECT_EQ(UTF8ToUTF16(testcases[i].output), ElideHost( 195 EXPECT_EQ(base::UTF8ToUTF16(kEllipsisStr + ".google.com"),
|
/external/chromium_org/chrome/browser/ssl/ |
H A D | ssl_error_info.cc | 20 using base::UTF8ToUTF16; 53 UTF8ToUTF16(request_url.host()), 55 UTF8ToUTF16(dns_names[i]))); 64 UTF8ToUTF16(request_url.host()), 73 UTF8ToUTF16(request_url.host()), 84 UTF8ToUTF16(request_url.host()), 93 UTF8ToUTF16(request_url.host())); 100 UTF8ToUTF16(request_url.host())); 112 UTF8ToUTF16(request_url.host())); 119 UTF8ToUTF16(request_ur [all...] |
/external/chromium_org/components/autofill/content/renderer/ |
H A D | password_form_conversion_utils_browsertest.cc | 158 EXPECT_EQ(base::UTF8ToUTF16("active_submit"), password_form->submit_element); 159 EXPECT_EQ(base::UTF8ToUTF16("username"), password_form->username_element); 160 EXPECT_EQ(base::UTF8ToUTF16("johnsmith"), password_form->username_value); 161 EXPECT_EQ(base::UTF8ToUTF16("password"), password_form->password_element); 162 EXPECT_EQ(base::UTF8ToUTF16("secret"), password_form->password_value); 183 EXPECT_EQ(base::UTF8ToUTF16("username"), password_form->username_element); 184 EXPECT_EQ(base::UTF8ToUTF16("johnsmith"), password_form->username_value); 185 EXPECT_EQ(base::UTF8ToUTF16("password"), password_form->password_element); 186 EXPECT_EQ(base::UTF8ToUTF16("secret"), password_form->password_value); 254 EXPECT_EQ(base::UTF8ToUTF16(case [all...] |