Home
last modified time | relevance | path

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

/third_party/gn/src/base/strings/
Dstring_util.cc54 typedef uintptr_t MachineWord; typedef
55 const uintptr_t kMachineWordAlignmentMask = sizeof(MachineWord) - 1;
58 return !(reinterpret_cast<MachineWord>(pointer) & kMachineWordAlignmentMask); in IsAlignedToMachineWord()
63 return reinterpret_cast<T*>(reinterpret_cast<MachineWord>(pointer) & in AlignToMachineWord()
412 MachineWord all_char_bits = 0; in DoIsStringASCII()
423 const size_t loop_increment = sizeof(MachineWord) / sizeof(Char); in DoIsStringASCII()
425 all_char_bits |= *(reinterpret_cast<const MachineWord*>(characters)); in DoIsStringASCII()
435 MachineWord non_ascii_bit_mask = in DoIsStringASCII()
436 NonASCIIMask<sizeof(MachineWord), Char>::value(); in DoIsStringASCII()