HomeSort by relevance Sort by last modified time
    Searched refs:UTF8ToUTF16 (Results 1 - 25 of 704) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/browser/ui/app_list/search/
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("Great TweetDeck"))
    [all...]
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("Upper"), iter.GetCurrentTerm())
    [all...]
tokenized_string_match_unittest.cc 47 const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text));
48 EXPECT_FALSE(match.Calculate(base::UTF8ToUTF16(kTestCases[i].query), text))
76 const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text));
77 EXPECT_TRUE(match.Calculate(base::UTF8ToUTF16(kTestCases[i].query), text));
108 const base::string16 text(base::UTF8ToUTF16(kTestCases[i].text));
110 match_low.Calculate(base::UTF8ToUTF16(kTestCases[i].query_low), text));
112 base::UTF8ToUTF16(kTestCases[i].query_high), text));
  /external/chromium_org/chrome/browser/ui/libgtk2ui/
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/
machine_id_unittest.cc 14 base::string16 computer_sid(base::UTF8ToUTF16(
  /external/chromium_org/content/renderer/media/
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(value)))
    [all...]
media_stream_constraints_util.cc 45 base::string16 name_16 = base::UTF8ToUTF16(name);
60 if (!constraints.getMandatoryConstraintValue(base::UTF8ToUTF16(name),
73 if (!constraints.getMandatoryConstraintValue(base::UTF8ToUTF16(name),
86 if (!constraints.getMandatoryConstraintValue(base::UTF8ToUTF16(name),
98 if (!constraints.getOptionalConstraintValue(base::UTF8ToUTF16(name),
111 if (!constraints.getOptionalConstraintValue(base::UTF8ToUTF16(name),
124 if (!constraints.getOptionalConstraintValue(base::UTF8ToUTF16(name),
  /external/chromium_org/components/autofill/core/browser/
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(autofill::kCountryRe)
    [all...]
credit_card_field.cc 35 if (ParseField(scanner, base::UTF8ToUTF16(autofill::kGiftCardRe), NULL))
48 name_pattern = base::UTF8ToUTF16(autofill::kNameOnCardRe);
50 name_pattern = base::UTF8ToUTF16(autofill::kNameOnCardContextualRe);
72 base::string16 type_pattern = base::UTF8ToUTF16(autofill::kCardTypeRe);
85 base::string16 pattern = base::UTF8ToUTF16(autofill::kCardCvcRe);
91 pattern = base::UTF8ToUTF16(autofill::kCardNumberRe);
103 pattern = base::UTF8ToUTF16(autofill::kExpirationMonthRe);
107 pattern = base::UTF8ToUTF16(autofill::kExpirationYearRe);
118 pattern = base::UTF8ToUTF16(autofill::kExpirationDate2DigitYearRe);
128 pattern = base::UTF8ToUTF16(autofill::kExpirationDateRe)
    [all...]
name_field.cc 16 using base::UTF8ToUTF16;
82 UTF8ToUTF16(autofill::kNameIgnoredRe), NULL);
91 if (ParseField(scanner, UTF8ToUTF16(autofill::kNameRe), &field))
114 UTF8ToUTF16(autofill::kNameSpecificRe), &v->first_name_) &&
150 if (ParseFieldSpecifics(scanner, UTF8ToUTF16(autofill::kNameIgnoredRe),
156 ParseField(scanner, UTF8ToUTF16(autofill::kFirstNameRe),
167 ParseField(scanner, UTF8ToUTF16(autofill::kMiddleInitialRe),
174 ParseField(scanner, UTF8ToUTF16(autofill::kMiddleNameRe),
180 ParseField(scanner, UTF8ToUTF16(autofill::kLastNameRe),
  /external/chromium_org/chrome/browser/history/
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("http://"), string_vec[0])
    [all...]
  /external/chromium_org/base/i18n/
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(base::StringPrintf("%s a", very_wide_char)))
    [all...]
  /external/chromium_org/extensions/common/
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/components/autofill/content/renderer/
password_form_conversion_utils_browsertest.cc 55 EXPECT_EQ(base::UTF8ToUTF16("username"), password_form->username_element);
56 EXPECT_EQ(base::UTF8ToUTF16("johnsmith"), password_form->username_value);
57 EXPECT_EQ(base::UTF8ToUTF16("password"), password_form->password_element);
58 EXPECT_EQ(base::UTF8ToUTF16("secret"), password_form->password_value);
116 EXPECT_EQ(base::UTF8ToUTF16("username1"), password_form->username_element);
117 EXPECT_EQ(base::UTF8ToUTF16("John"), password_form->username_value);
118 EXPECT_EQ(base::UTF8ToUTF16("password2"), password_form->password_element);
119 EXPECT_EQ(base::UTF8ToUTF16("secret"), password_form->password_value);
120 EXPECT_EQ(base::UTF8ToUTF16("password1"),
122 EXPECT_EQ(base::UTF8ToUTF16("encrypted"), password_form->old_password_value)
    [all...]
  /external/chromium_org/athena/test/
sample_activity_factory.cc 34 kDefaultColor, kDefaultContentColor, base::UTF8ToUTF16(url.spec()));
42 kDefaultAppColor, kDefaultAppContentColor, base::UTF8ToUTF16("App"));
  /external/chromium_org/ash/ime/
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(kSampleDescriptionTitle[i])
    [all...]
  /external/chromium_org/chrome/browser/ssl/
ssl_error_info.cc 19 using base::UTF8ToUTF16;
59 UTF8ToUTF16(request_url.host()),
61 UTF8ToUTF16(dns_names[i])),
62 UTF8ToUTF16(request_url.host()));
70 net::EscapeForHTML(UTF8ToUTF16(cert->subject().common_name)),
71 UTF8ToUTF16(request_url.host())));
81 UTF8ToUTF16(request_url.host()),
82 UTF8ToUTF16(request_url.host()),
95 UTF8ToUTF16(request_url.host()),
96 UTF8ToUTF16(request_url.host())
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/system_storage/
storage_api_test_util.cc 21 base::UTF8ToUTF16(unit.name), /* storage label */
  /external/chromium_org/components/password_manager/core/browser/
login_database_posix.cc 23 *plain_text = base::UTF8ToUTF16(cipher_text);
  /external/chromium_org/chrome/browser/custom_handlers/
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/
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/
omnibox_edit_unittest.cc 16 using base::UTF8ToUTF16;
239 model.SetUserText(UTF8ToUTF16("he"));
240 model.OnPopupDataChanged(UTF8ToUTF16("llo"), NULL, base::string16(), false);
241 EXPECT_EQ(UTF8ToUTF16("hello"), view.GetText());
242 EXPECT_EQ(UTF8ToUTF16("llo"), view.inline_autocomplete_text());
244 model.OnAfterPossibleChange(UTF8ToUTF16("he"), UTF8ToUTF16("hel"), 3, 3,
247 model.OnPopupDataChanged(UTF8ToUTF16("lo"), NULL, base::string16(), false);
248 EXPECT_EQ(UTF8ToUTF16("hello"), view.GetText());
249 EXPECT_EQ(UTF8ToUTF16("lo"), view.inline_autocomplete_text())
    [all...]
  /external/chromium_org/chrome/browser/ui/tests/
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/ui/message_center/
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("title0")
    [all...]
  /external/chromium_org/ui/message_center/views/
bounded_label_unittest.cc 26 digit_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16("0"), font_list_);
27 space_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16(" "), font_list_);
28 ellipsis_pixels_ = gfx::GetStringWidth(base::UTF8ToUTF16("\xE2\x80\xA6"),
39 const base::string16 periods = base::UTF8ToUTF16("...");
40 const base::string16 ellipses = base::UTF8ToUTF16("\xE2\x80\xA6");
41 base::string16 result = base::UTF8ToUTF16(string);

Completed in 1138 milliseconds

1 2 3 4 5 6 7 8 91011>>