Home
last modified time | relevance | path

Searched refs:MachineWord (Results 1 – 2 of 2) sorted by relevance

/external/libweave/third_party/chromium/base/strings/
Dstring_util.cc17 typedef uintptr_t MachineWord; typedef
18 const uintptr_t kMachineWordAlignmentMask = sizeof(MachineWord) - 1;
21 return !(reinterpret_cast<MachineWord>(pointer) & kMachineWordAlignmentMask); in IsAlignedToMachineWord()
25 return reinterpret_cast<T*>(reinterpret_cast<MachineWord>(pointer) & in AlignToMachineWord()
199 MachineWord all_char_bits = 0; in DoIsStringASCII()
210 const size_t loop_increment = sizeof(MachineWord) / sizeof(Char); in DoIsStringASCII()
212 all_char_bits |= *(reinterpret_cast<const MachineWord*>(characters)); in DoIsStringASCII()
222 MachineWord non_ascii_bit_mask = in DoIsStringASCII()
223 NonASCIIMask<sizeof(MachineWord), Char>::value(); in DoIsStringASCII()
/external/libchrome/base/strings/
Dstring_util.cc70 typedef uintptr_t MachineWord; typedef
71 const uintptr_t kMachineWordAlignmentMask = sizeof(MachineWord) - 1;
74 return !(reinterpret_cast<MachineWord>(pointer) & kMachineWordAlignmentMask); in IsAlignedToMachineWord()
78 return reinterpret_cast<T*>(reinterpret_cast<MachineWord>(pointer) & in AlignToMachineWord()
473 MachineWord all_char_bits = 0; in DoIsStringASCII()
484 const size_t loop_increment = sizeof(MachineWord) / sizeof(Char); in DoIsStringASCII()
486 all_char_bits |= *(reinterpret_cast<const MachineWord*>(characters)); in DoIsStringASCII()
496 MachineWord non_ascii_bit_mask = in DoIsStringASCII()
497 NonASCIIMask<sizeof(MachineWord), Char>::value(); in DoIsStringASCII()