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

12

/external/clang/test/PCH/
H A Dmultiple_decls.h3 struct wide { int value; }; struct
4 int wide(char);
/external/chromium_org/base/strings/
H A Dsys_string_conversions_unittest.cc164 std::wstring wide = kConvertRoundtripCases[i]; local
165 std::wstring trip = SysNativeMBToWide(SysWideToNativeMB(wide));
166 EXPECT_EQ(wide.size(), trip.size());
167 EXPECT_EQ(wide, trip);
172 std::wstring wide = kConvertRoundtripCases[i]; local
173 std::wstring trip = SysNativeMBToWide(WideToUTF8(wide));
174 EXPECT_EQ(wide.size(), trip.size());
175 EXPECT_EQ(wide, trip);
179 std::wstring wide = kConvertRoundtripCases[i]; local
180 std::wstring trip = UTF8ToWide(SysWideToNativeMB(wide));
[all...]
H A Dsys_string_conversions_posix.cc14 std::string SysWideToUTF8(const std::wstring& wide) { argument
17 return WideToUTF8(wide);
32 std::string SysWideToNativeMB(const std::wstring& wide) { argument
33 return WideToUTF8(wide);
42 std::string SysWideToNativeMB(const std::wstring& wide) { argument
49 for (size_t i = 0; i < wide.size(); ++i) {
50 const wchar_t src = wide[i];
78 // wide input, and |j| tracking the multi-byte output.
80 for (size_t i = 0, j = 0; i < wide.size(); ++i) {
81 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_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_string_conversions.cc50 std::string WideToUTF8(const std::wstring& wide) { argument
54 WideToUTF8(wide.data(), wide.length(), &ret);
73 // When wide == UTF-16, then conversions are a NOP.
79 string16 WideToUTF16(const std::wstring& wide) { argument
80 return wide;
102 string16 WideToUTF16(const std::wstring& wide) { argument
104 WideToUTF16(wide.data(), wide.length(), &ret);
155 // Easy case since we can use the "wide" version
[all...]
/external/chromium_org/third_party/skia/src/animator/
H A DSkTime.cpp62 UnsignedWide wide; local
63 ::Microseconds(&wide);
65 int64_t s = ((int64_t)wide.hi << 32) | wide.lo;
/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.cpp62 UnsignedWide wide; local
63 ::Microseconds(&wide);
65 int64_t s = ((int64_t)wide.hi << 32) | wide.lo;
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
H A Dutf_util_win.h37 inline std::string ToUtf8(const wchar_t* wide, size_t len) { argument
38 int len8 = ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len),
41 ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), ns.get(), len8,
46 inline std::string ToUtf8(const wchar_t* wide) { argument
47 return ToUtf8(wide, wcslen(wide));
/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_org/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::__anon2278
243 std::wstring wide; local
247 &wide);
249 EXPECT_EQ(kConvertCodepageCases[i].wide, wide);
259 success = WideToCodepage(wide, kConvertCodepageCase
[all...]
H A Dicu_string_conversions.cc200 bool WideToCodepage(const std::wstring& wide, argument
205 return UTF16ToCodepage(wide, codepage_name, on_error, encoded);
215 // When wchar_t is wider than UChar (16 bits), transform |wide| into a
220 std::vector<UChar> utf16(wide.length() * 2 + 1);
222 reinterpret_cast<const UChar32*>(wide.c_str()),
223 wide.length(), &status);
233 std::wstring* wide) {
235 return CodepageToUTF16(encoded, codepage_name, on_error, wide);
237 wide->clear();
258 wide
230 CodepageToWide(const std::string& encoded, const char* codepage_name, OnStringConversionError::Type on_error, std::wstring* wide) argument
[all...]
/external/libedit/src/
H A Dprompt.c149 prompt_set(EditLine *el, el_pfunc_t prf, Char c, int op, int wide) argument
171 p->p_wide = wide;
/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_org/third_party/mesa/src/src/gallium/auxiliary/draw/
H A Ddraw_pipe_wide_line.c56 * Draw a wide line by drawing a quad (two triangles).
61 /*const struct wideline_stage *wide = wideline_stage(stage);*/
87 * Draw wide line as a quad (two tris) by "stretching" the line along
204 struct wideline_stage *wide = CALLOC_STRUCT(wideline_stage); local
205 if (wide == NULL)
208 wide->stage.draw = draw;
209 wide->stage.name = "wide-line";
210 wide->stage.next = NULL;
211 wide
[all...]
H A Ddraw_pipe_wide_point.c32 * Notes on wide points and sprite mode:
34 * In wide point/sprite mode we effectively need to convert each incoming
94 static void set_texcoords(const struct widepoint_stage *wide, argument
97 const struct draw_context *draw = wide->stage.draw;
102 for (i = 0; i < wide->num_texcoord_gen; i++) {
103 const uint slot = wide->texcoord_gen_slot[i];
123 const struct widepoint_stage *wide = widepoint_stage(stage); local
143 if (wide->psize_slot >= 0) {
144 half_size = header->v[0]->data[wide->psize_slot][0];
148 half_size = wide
196 struct widepoint_stage *wide = widepoint_stage(stage); local
312 struct widepoint_stage *wide = CALLOC_STRUCT(widepoint_stage); local
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dwin32.h63 inline std::string ToUtf8(const wchar_t* wide, size_t len) { argument
64 int len8 = ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len),
67 ::WideCharToMultiByte(CP_UTF8, 0, wide, static_cast<int>(len), ns, len8,
72 inline std::string ToUtf8(const wchar_t* wide) { argument
73 return ToUtf8(wide, wcslen(wide));
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_wide_line.c56 * Draw a wide line by drawing a quad (two triangles).
61 /*const struct wideline_stage *wide = wideline_stage(stage);*/
87 * Draw wide line as a quad (two tris) by "stretching" the line along
204 struct wideline_stage *wide = CALLOC_STRUCT(wideline_stage); local
205 if (wide == NULL)
208 wide->stage.draw = draw;
209 wide->stage.name = "wide-line";
210 wide->stage.next = NULL;
211 wide
[all...]
H A Ddraw_pipe_wide_point.c32 * Notes on wide points and sprite mode:
34 * In wide point/sprite mode we effectively need to convert each incoming
94 static void set_texcoords(const struct widepoint_stage *wide, argument
97 const struct draw_context *draw = wide->stage.draw;
102 for (i = 0; i < wide->num_texcoord_gen; i++) {
103 const uint slot = wide->texcoord_gen_slot[i];
123 const struct widepoint_stage *wide = widepoint_stage(stage); local
143 if (wide->psize_slot >= 0) {
144 half_size = header->v[0]->data[wide->psize_slot][0];
148 half_size = wide
196 struct widepoint_stage *wide = widepoint_stage(stage); local
312 struct widepoint_stage *wide = CALLOC_STRUCT(widepoint_stage); local
[all...]
/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/clang/test/CodeGen/
H A Darm64_neon_high_half.c456 int8x16_t test_vmovn_high_s16(int8x8_t lowpart, int16x8_t wide) { argument
458 return vmovn_high_s16(lowpart, wide);
461 int16x8_t test_vmovn_high_s32(int16x4_t lowpart, int32x4_t wide) { argument
463 return vmovn_high_s32(lowpart, wide);
466 int32x4_t test_vmovn_high_s64(int32x2_t lowpart, int64x2_t wide) { argument
468 return vmovn_high_s64(lowpart, wide);
471 uint8x16_t test_vmovn_high_u16(uint8x8_t lowpart, uint16x8_t wide) { argument
473 return vmovn_high_u16(lowpart, wide);
476 uint16x8_t test_vmovn_high_u32(uint16x4_t lowpart, uint32x4_t wide) { argument
478 return vmovn_high_u32(lowpart, wide);
481 test_vmovn_high_u64(uint32x2_t lowpart, uint64x2_t wide) argument
486 test_vqmovn_high_s16(int8x8_t lowpart, int16x8_t wide) argument
491 test_vqmovn_high_s32(int16x4_t lowpart, int32x4_t wide) argument
496 test_vqmovn_high_s64(int32x2_t lowpart, int64x2_t wide) argument
501 test_vqmovn_high_u16(uint8x8_t lowpart, int16x8_t wide) argument
506 test_vqmovn_high_u32(uint16x4_t lowpart, int32x4_t wide) argument
511 test_vqmovn_high_u64(uint32x2_t lowpart, int64x2_t wide) argument
516 test_vqmovun_high_s16(uint8x8_t lowpart, int16x8_t wide) argument
521 test_vqmovun_high_s32(uint16x4_t lowpart, int32x4_t wide) argument
526 test_vqmovun_high_s64(uint32x2_t lowpart, int64x2_t wide) argument
531 test_vcvtx_high_f32_f64(float32x2_t lowpart, float64x2_t wide) argument
[all...]
/external/pixman/pixman/
H A Dpixman-bits-image.c1226 pixman_bool_t wide,
1236 memset (buffer, 0, width * (wide? sizeof (argb_t) : 4));
1244 memset (buffer, 0, w * (wide ? sizeof (argb_t) : 4));
1247 buffer += w * (wide? 4 : 1);
1255 if (wide)
1261 buffer += w * (wide? 4 : 1);
1265 memset (buffer, 0, width * (wide ? sizeof (argb_t) : 4));
1270 pixman_bool_t wide,
1286 if (wide)
1303 if (wide)
1225 bits_image_fetch_untransformed_repeat_none(bits_image_t *image, pixman_bool_t wide, int x, int y, int width, uint32_t * buffer) argument
1269 bits_image_fetch_untransformed_repeat_normal(bits_image_t *image, pixman_bool_t wide, int x, int y, int width, uint32_t * buffer) argument
[all...]
/external/valgrind/main/VEX/priv/
H A Dguest_amd64_helpers.c3332 HWord wide = (imm8 & 1); local
3351 if (wide) {

Completed in 911 milliseconds

12