Home
last modified time | relevance | path

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

/external/libchrome/base/strings/
Dstring_util.cc84 typedef uintptr_t MachineWord; typedef
85 const uintptr_t kMachineWordAlignmentMask = sizeof(MachineWord) - 1;
88 return !(reinterpret_cast<MachineWord>(pointer) & kMachineWordAlignmentMask); in IsAlignedToMachineWord()
92 return reinterpret_cast<T*>(reinterpret_cast<MachineWord>(pointer) & in AlignToMachineWord()
472 MachineWord all_char_bits = 0; in DoIsStringASCII()
483 const size_t loop_increment = sizeof(MachineWord) / sizeof(Char); in DoIsStringASCII()
485 all_char_bits |= *(reinterpret_cast<const MachineWord*>(characters)); in DoIsStringASCII()
495 MachineWord non_ascii_bit_mask = in DoIsStringASCII()
496 NonASCIIMask<sizeof(MachineWord), Char>::value(); in DoIsStringASCII()