Searched defs:wide (Results 1 - 22 of 22) sorted by relevance

/external/clang/test/PCH/
H A Dmultiple_decls.h3 struct wide { int value; }; struct
4 int wide(char);
/external/chromium/base/
H A Dsys_string_conversions_unittest.cc184 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 Dsys_string_conversions_linux.cc14 std::string SysWideToUTF8(const std::wstring& wide) { argument
17 return WideToUTF8(wide);
30 std::string SysWideToNativeMB(const std::wstring& wide) { argument
31 return WideToUTF8(wide);
40 std::string SysWideToNativeMB(const std::wstring& wide) { argument
47 for (size_t i = 0; i < wide.size(); ++i) {
48 const wchar_t src = wide[i];
76 // wide input, and |j| tracking the multi-byte output.
78 for (size_t i = 0, j = 0; i < wide.size(); ++i) {
79 const wchar_t src = wide[
[all...]
H A Dsys_string_conversions_win.cc14 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 Dutf_string_conversions.cc53 std::string WideToUTF8(const std::wstring& wide) { argument
57 WideToUTF8(wide.data(), wide.length(), &ret);
76 // When wide == UTF-16, then conversions are a NOP.
82 string16 WideToUTF16(const std::wstring& wide) { argument
83 return wide;
105 string16 WideToUTF16(const std::wstring& wide) { argument
107 WideToUTF16(wide.data(), wide.length(), &ret);
158 // Easy case since we can use the "wide" version
[all...]
H A Dutf_string_conversions_unittest.cc46 // we round-trip all the wide strings through UTF-8 to make sure everything
52 std::wostringstream wide; local
53 wide << UTF8ToWide(utf8.str());
55 EXPECT_EQ(kConvertRoundtripCases[i], wide.str());
71 const wchar_t* wide; member in struct:base::UTF8ToWideCase
103 std::wstring expected(convert_cases[i].wide);
H A Dutf_offset_string_conversions_unittest.cc67 const wchar_t* wide; member in struct:base::UTF16ToWideCase
77 UTF16ToWideAndAdjustOffset(BuildString16(utf16_to_wide_cases[i].wide),
H A Dstring_util_unittest.cc418 std::wstring wide = ASCIIToWide(char_cases[i]); local
419 EXPECT_EQ(wchar_cases[i], wide);
H A Dstring_util.cc424 std::string WideToASCII(const std::wstring& wide) { argument
425 DCHECK(IsStringASCII(wide)) << wide;
426 return std::string(wide.begin(), wide.end());
435 bool WideToLatin1(const std::wstring& wide, std::string* latin1) { argument
437 output.resize(wide.size());
439 for (size_t i = 0; i < wide.size(); i++) {
440 if (wide[i] > 255)
442 output[i] = static_cast<char>(wide[
[all...]
/external/emma/core/java12/com/vladium/jcd/opcodes/
H A DIOpcodeVisitor.java20 void visit (int opcode, boolean wide, int offset, Object ctx); argument
/external/skia/src/animator/
H A DSkTime.cpp71 UnsignedWide wide; local
74 ::Microseconds(&wide);
75 s.set(wide.hi, wide.lo);
/external/stlport/src/
H A Dstring.cpp19 string __WideToASCII(const wchar_t *wide) { argument
20 size_t size = wcslen(wide);
22 wcstombs(buff, wide, size);
/external/chromium/base/i18n/
H A Dicu_string_conversions_unittest.cc96 // On Windows, the field is always identical to |wide|. On Mac and Linux,
98 // BMP (<= U+FFFF). When there is, it is different from |wide| and
99 // is not a real wide string (UTF-32 string) in that each wchar_t in
105 // if it's identical to |wide| on *all* platforms.
112 const wchar_t* wide; member in struct:base::__anon1515
250 std::wstring wide; local
254 &wide);
256 EXPECT_EQ(kConvertCodepageCases[i].wide, wide);
266 success = WideToCodepage(wide, kConvertCodepageCase
[all...]
H A Dicu_string_conversions.cc203 bool WideToCodepage(const std::wstring& wide, argument
208 return UTF16ToCodepage(wide, codepage_name, on_error, encoded);
218 // When wchar_t is wider than UChar (16 bits), transform |wide| into a
223 std::vector<UChar> utf16(wide.length() * 2 + 1);
225 reinterpret_cast<const UChar32*>(wide.c_str()),
226 wide.length(), &status);
236 std::wstring* wide) {
238 return CodepageToUTF16(encoded, codepage_name, on_error, wide);
240 wide->clear();
255 reinterpret_cast<char*>(WriteInto(wide, wchar_max_lengt
233 CodepageToWide(const std::string& encoded, const char* codepage_name, OnStringConversionError::Type on_error, std::wstring* wide) argument
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DInstructionPrinter.java136 return wide(iter, pos);
148 private static String wide(CodeIterator iter, int pos) { method in class:InstructionPrinter
/external/chromium/net/base/
H A Descape_unittest.cc119 string16 wide; local
121 &wide));
122 EXPECT_EQ(wide, EscapeQueryParamValueUTF8(test_str, true));
124 &wide));
125 EXPECT_EQ(wide, EscapeQueryParamValueUTF8(test_str, false));
/external/chromium/third_party/libjingle/source/talk/base/
H A Dwin32.h70 inline std::string ToUtf8(const wchar_t* wide, size_t len) { argument
71 int len8 = ::WideCharToMultiByte(CP_UTF8, 0, wide, len, NULL, 0, NULL, NULL);
73 ::WideCharToMultiByte(CP_UTF8, 0, wide, len, ns, len8, NULL, NULL);
/external/proguard/src/proguard/classfile/instruction/
H A DVariableInstruction.java35 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.15/src/timer/macos/
H A DFastTimes.c146 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 DSk64Test.cpp156 Sk64 wide; local
161 wide.setMul(rand.nextS(), rand.nextS());
162 SkLONGLONG check = wide.getLongLong();
164 wide.div(denom, Sk64::kTrunc_DivOption);
166 SkLONGLONG w = wide.getLongLong();
171 wide.setMul(rand.nextS(), rand.nextS());
172 wide.abs();
173 denom = wide.getSqrt();
174 int32_t ck = (int32_t)sqrt((double)wide.getLongLong());
178 wide
[all...]
/external/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/external/proguard/lib/
H A Dproguard.jarMETA-INF/ META-INF/MANIFEST.MF proguard/evaluation/Stack.class Stack.java package proguard ...

Completed in 569 milliseconds