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()
487 MachineWord all_char_bits = 0; in DoIsStringASCII()
498 const size_t loop_increment = sizeof(MachineWord) / sizeof(Char); in DoIsStringASCII()
500 all_char_bits |= *(reinterpret_cast<const MachineWord*>(characters)); in DoIsStringASCII()
510 MachineWord non_ascii_bit_mask = in DoIsStringASCII()
511 NonASCIIMask<sizeof(MachineWord), Char>::value(); in DoIsStringASCII()