/external/chromium/base/ |
H A D | sys_string_conversions_unittest.cc | 184 std::wstring wide = kConvertRoundtripCases[i]; local 185 std::wstring trip = base::SysNativeMBToWide(base::SysWideToNativeMB(wide)); 186 EXPECT_EQ(wide.size(), trip.size()); 187 EXPECT_EQ(wide, trip); 192 std::wstring wide = kConvertRoundtripCases[i]; local 193 std::wstring trip = base::SysNativeMBToWide(WideToUTF8(wide)); 194 EXPECT_EQ(wide.size(), trip.size()); 195 EXPECT_EQ(wide, trip); 199 std::wstring wide = kConvertRoundtripCases[i]; local 200 std::wstring trip = UTF8ToWide(base::SysWideToNativeMB(wide)); [all...] |
H A D | sys_string_conversions_linux.cc | 14 std::string SysWideToUTF8(const std::wstring& wide) { argument 17 return WideToUTF8(wide); 27 std::string SysWideToNativeMB(const std::wstring& wide) { argument 34 for (size_t i = 0; i < wide.size(); ++i) { 35 const wchar_t src = wide[i]; 63 // wide input, and |j| tracking the multi-byte output. 65 for (size_t i = 0, j = 0; i < wide.size(); ++i) { 66 const wchar_t src = wide[i]; 90 // Calculate the number of wide characters. We walk through the string 91 // without writing the output, counting the number of wide character [all...] |
H A D | sys_string_conversions_win.cc | 14 std::string SysWideToUTF8(const std::wstring& wide) { argument 15 return SysWideToMultiByte(wide, CP_UTF8); 23 std::string SysWideToNativeMB(const std::wstring& wide) { argument 24 return SysWideToMultiByte(wide, CP_ACP); 43 std::wstring wide; 44 wide.resize(charcount); 45 MultiByteToWideChar(code_page, 0, mb.data(), mb_length, &wide[0], charcount); 47 return wide; 51 std::string SysWideToMultiByte(const std::wstring& wide, uint32 code_page) { argument 52 int wide_length = static_cast<int>(wide [all...] |
H A D | utf_offset_string_conversions_unittest.cc | 63 const wchar_t* wide; member in struct:base::UTF16ToWideCase 73 UTF16ToWideAndAdjustOffset(BuildString16(utf16_to_wide_cases[i].wide),
|
H A D | utf_string_conversions.cc | 52 std::string WideToUTF8(const std::wstring& wide) { argument 56 WideToUTF8(wide.data(), wide.length(), &ret); 75 // When wide == UTF-16, then conversions are a NOP. 81 string16 WideToUTF16(const std::wstring& wide) { argument 82 return wide; 104 string16 WideToUTF16(const std::wstring& wide) { argument 106 WideToUTF16(wide.data(), wide.length(), &ret); 157 // Easy case since we can use the "wide" version [all...] |
H A D | utf_string_conversions_unittest.cc | 64 // we round-trip all the wide strings through UTF-8 to make sure everything 70 std::wostringstream wide; local 71 wide << UTF8ToWide(utf8.str()); 73 EXPECT_EQ(kConvertRoundtripCases[i], wide.str()); 89 const wchar_t* wide; member in struct:base::UTF8ToWideCase 121 std::wstring expected(convert_cases[i].wide);
|
H A D | values_unittest.cc | 134 scoped_ptr<Value> wide_value(Value::CreateStringValue(L"wide")); 144 std::wstring wide = L"http://google.com"; local 147 ASSERT_TRUE(narrow_value->GetAsString(&wide)); 150 ASSERT_EQ(std::wstring(L"narrow"), wide); 154 ASSERT_TRUE(wide_value->GetAsString(&wide)); 156 ASSERT_EQ(std::string("wide"), narrow); 157 ASSERT_EQ(std::wstring(L"wide"), wide); 158 ASSERT_EQ(ASCIIToUTF16("wide"), utf16); 161 ASSERT_TRUE(utf16_value->GetAsString(&wide)); [all...] |
H A D | string_util_unittest.cc | 265 std::wstring wide = ASCIIToWide(char_cases[i]); local 266 EXPECT_EQ(wchar_cases[i], wide);
|
H A D | string_util.cc | 548 std::string WideToASCII(const std::wstring& wide) { argument 549 DCHECK(IsStringASCII(wide)) << wide; 550 return std::string(wide.begin(), wide.end()); 569 bool WideToLatin1(const std::wstring& wide, std::string* latin1) { argument 571 output.resize(wide.size()); 573 for (size_t i = 0; i < wide.size(); i++) { 574 if (wide[i] > 255) 576 output[i] = static_cast<char>(wide[ [all...] |
/external/emma/core/java12/com/vladium/jcd/opcodes/ |
H A D | IOpcodeVisitor.java | 20 void visit (int opcode, boolean wide, int offset, Object ctx); argument
|
/external/skia/src/animator/ |
H A D | SkTime.cpp | 79 UnsignedWide wide; local 82 ::Microseconds(&wide); 83 s.set(wide.hi, wide.lo);
|
/external/chromium/base/i18n/ |
H A D | icu_string_conversions_unittest.cc | 90 // On Windows, the field is always identical to |wide|. On Mac and Linux, 92 // BMP (<= U+FFFF). When there is, it is different from |wide| and 93 // is not a real wide string (UTF-32 string) in that each wchar_t in 99 // if it's identical to |wide| on *all* platforms. 106 const wchar_t* wide; member in struct:base::__anon735 239 std::wstring wide; local 243 &wide); 245 EXPECT_EQ(kConvertCodepageCases[i].wide, wide); 255 success = WideToCodepage(wide, kConvertCodepageCase [all...] |
H A D | icu_string_conversions.cc | 210 bool WideToCodepage(const std::wstring& wide, argument 215 return UTF16ToCodepage(wide, codepage_name, on_error, encoded); 225 // When wchar_t is wider than UChar (16 bits), transform |wide| into a 230 std::vector<UChar> utf16(wide.length() * 2 + 1); 232 wide.c_str(), wide.length(), &status); 242 std::wstring* wide) { 244 return CodepageToUTF16(encoded, codepage_name, on_error, wide); 246 wide->clear(); 261 reinterpret_cast<char*>(WriteInto(wide, wchar_max_lengt 239 CodepageToWide(const std::string& encoded, const char* codepage_name, OnStringConversionError::Type on_error, std::wstring* wide) argument [all...] |
/external/stlport/src/ |
H A D | string.cpp | 19 string __WideToASCII(const wchar_t *wide) { argument 20 size_t size = wcslen(wide); 22 wcstombs(buff, wide, size);
|
/external/chromium/net/base/ |
H A D | escape_unittest.cc | 112 string16 wide; local 114 &wide)); 115 EXPECT_EQ(UTF16ToWideHack(wide), 118 &wide)); 119 EXPECT_EQ(UTF16ToWideHack(wide),
|
/external/proguard/src/proguard/classfile/instruction/ |
H A D | VariableInstruction.java | 35 public boolean wide; field in class:VariableInstruction 46 public VariableInstruction(boolean wide) argument 48 this.wide = wide; 72 this.wide = requiredVariableIndexSize() > 1 || 87 this.wide = variableInstruction.wide; 242 // Only make the instruction wide if necessary. 243 wide = requiredVariableIndexSize() > 1 || 252 return wide; [all...] |
/external/qemu/distrib/sdl-1.2.12/src/timer/macos/ |
H A D | FastTimes.c | 146 UnsignedWide wide; local 152 wide = (gUpTime) ? (*gA2NS)((*gUpTime)()) : 154 usec1 = (gUseRTC) ? RTCToNano(wide) : WideTo64bit(wide); 160 wide = (gUpTime) ? (*gA2NS)((*gUpTime)()) : 162 usec2 = (gUseRTC) ? RTCToNano(wide) : WideTo64bit(wide); 181 UnsignedWide wide; local 190 wide = (*gA2NS)((*gUpTime)()); 191 usec = (double) WideTo64bit(wide) * gScaleUSe 223 UnsignedWide wide; local [all...] |
/external/skia/tests/ |
H A D | Sk64Test.cpp | 149 Sk64 wide; local 154 wide.setMul(rand.nextS(), rand.nextS()); 155 SkLONGLONG check = wide.getLongLong(); 157 wide.div(denom, Sk64::kTrunc_DivOption); 159 SkLONGLONG w = wide.getLongLong(); 164 wide.setMul(rand.nextS(), rand.nextS()); 165 wide.abs(); 166 denom = wide.getSqrt(); 167 int32_t ck = (int32_t)sqrt((double)wide.getLongLong()); 171 wide [all...] |
/external/bluetooth/glib/glib/ |
H A D | guniprop.c | 444 * Return value: %TRUE if the character is wide 452 static const struct Interval wide[] = { local 464 if (bsearch (GUINT_TO_POINTER (c), wide, G_N_ELEMENTS (wide), sizeof wide[0], 477 * cell under legacy East Asian locales. If a character is wide according to 478 * g_unichar_iswide(), then it is also reported wide with this function, but 487 * Return value: %TRUE if the character is wide in legacy East Asian locales
|
/external/emma/lib/ |
H A D | emma.jar | META-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ... |
/external/proguard/lib/ |
H A D | proguard.jar | META-INF/ META-INF/MANIFEST.MF proguard/evaluation/Stack.class Stack.java package proguard ... |