HomeSort by relevance Sort by last modified time
    Searched refs:IsStringASCII (Results 1 - 14 of 14) sorted by null

  /external/libchrome/base/strings/
utf_string_conversions.cc 49 if (IsStringASCII(std::wstring(src, src_len))) {
59 if (IsStringASCII(wide)) {
70 if (IsStringASCII(StringPiece(src, src_len))) {
80 if (IsStringASCII(utf8)) {
150 if (IsStringASCII(StringPiece(src, src_len))) {
160 if (IsStringASCII(utf8)) {
173 if (IsStringASCII(StringPiece16(src, src_len))) {
183 if (IsStringASCII(utf16)) {
210 if (IsStringASCII(utf16))
222 DCHECK(IsStringASCII(ascii)) << ascii
    [all...]
string_util.h 286 // IsStringASCII assumes the input is likely all ASCII, and does not leave early
289 BASE_EXPORT bool IsStringASCII(const StringPiece& str);
290 BASE_EXPORT bool IsStringASCII(const StringPiece16& str);
293 BASE_EXPORT bool IsStringASCII(const string16& str);
295 BASE_EXPORT bool IsStringASCII(const std::wstring& str);
string_util_unittest.cc 391 TEST(StringUtilTest, IsStringASCII) {
402 // sure that bit masking in IsStringASCII works correctly.
410 EXPECT_TRUE(IsStringASCII(StringPiece(char_ascii + offset, len)));
413 EXPECT_FALSE(IsStringASCII(StringPiece(char_ascii + offset, len)));
425 EXPECT_TRUE(IsStringASCII(StringPiece16(char16_ascii + offset, len)));
429 IsStringASCII(StringPiece16(char16_ascii + offset, len)));
434 IsStringASCII(StringPiece16(char16_ascii + offset, len)));
444 EXPECT_TRUE(IsStringASCII(wchar_ascii.substr(0, len)));
448 IsStringASCII(wchar_ascii.substr(0, len)));
452 IsStringASCII(wchar_ascii.substr(0, len)))
    [all...]
string_util.cc 501 bool IsStringASCII(const StringPiece& str) {
505 bool IsStringASCII(const StringPiece16& str) {
509 bool IsStringASCII(const string16& str) {
514 bool IsStringASCII(const std::wstring& str) {
    [all...]
  /external/libweave/third_party/chromium/base/strings/
string_util_unittest.cc 90 TEST(StringUtilTest, IsStringASCII) {
97 // sure that bit masking in IsStringASCII works correctly.
105 EXPECT_TRUE(IsStringASCII(StringPiece(char_ascii + offset, len)));
108 EXPECT_FALSE(IsStringASCII(StringPiece(char_ascii + offset, len)));
string_util.h 171 // IsStringASCII assumes the input is likely all ASCII, and does not leave early
174 bool IsStringASCII(const StringPiece& str);
string_util.cc 227 bool IsStringASCII(const StringPiece& str) {
  /external/chromium-libpac/src/
proxy_resolver_v8.cc 77 bool IsStringASCII(const android::String16& str) {
185 // DCHECK(IsStringASCII(ascii));
218 if (IsStringASCII(hostname_utf16)) {
413 if (!IsStringASCII(*results)) {
  /external/libchrome/base/
command_line.cc 290 if (!IsStringASCII(value)) {
values.cc 574 if (!IsStringASCII(out)) {
    [all...]
  /external/libchrome/base/files/
file_path.cc 422 DCHECK(IsStringASCII(suffix));
525 DCHECK(base::IsStringASCII(component));
591 if (base::IsStringASCII(path_))
636 if (base::IsStringASCII(path_))
    [all...]
  /system/connectivity/shill/
json_store.cc 288 if (base::IsStringASCII(native_string) &&
  /system/connectivity/shill/wifi/
wifi_endpoint.cc 585 if (base::IsStringASCII(s)) {
  /external/libweave/third_party/chromium/base/
values.cc 540 if (!IsStringASCII(out)) {

Completed in 1063 milliseconds