Searched refs:UTF8ToUTF16 (Results 1 - 25 of 727) sorted by relevance

1234567891011>>

/external/chromium_org/ui/app_list/search/
H A Dtokenized_string_unittest.cc24 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 Dterm_break_iterator_unittest.cc10 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 Dtokenized_string_match_unittest.cc48 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 Duser_info_impl.cc19 return base::UTF8ToUTF16("stub-user");
23 return base::UTF8ToUTF16("Stub");
H A Dempty_user_info.cc20 return base::UTF8ToUTF16(std::string());
25 return base::UTF8ToUTF16(std::string());
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dx11_input_method_context_impl_gtk2_unittest.cc25 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 Dmachine_id_unittest.cc14 base::string16 computer_sid(base::UTF8ToUTF16(
/external/chromium_org/content/renderer/media/
H A Dmock_media_constraint_factory.cc36 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 Dmedia_stream_constraints_util.cc52 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 Daddress_field.cc20 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 Dname_field.cc16 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 Din_memory_url_index_types_unittest.cc12 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 Dbreak_iterator_unittest.cc26 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 Dstack_frame_unittest.cc13 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 Dcandidate_window_view_unittest.cc55 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 Dnotification_conversion_helper_unittest.cc31 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 Dstorage_api_test_util.cc21 base::UTF8ToUTF16(unit.name), /* storage label */
/external/chromium_org/components/password_manager/core/browser/
H A Dlogin_database_posix.cc23 *plain_text = base::UTF8ToUTF16(cipher_text);
/external/chromium_org/chrome/browser/custom_handlers/
H A Dregister_protocol_handler_permission_request.cc22 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 Dmock_permission_bubble_request.cc28 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 Domnibox_edit_unittest.cc16 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 Dnotification_list_unittest.cc18 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 Delide_url_unittest.cc14 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 Dssl_error_info.cc20 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 Dpassword_form_conversion_utils_browsertest.cc158 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...]

Completed in 1034 milliseconds

1234567891011>>