Searched refs:kOne (Results 1 – 4 of 4) sorted by relevance
46 enum Numbers { kOne, kTwo, kThree, kFour}; enumerator48 switch (num == kOne) {// expected-warning {{switch condition has boolean value}} in test12()
309 kOne = 1, enumerator315 case kOne: in rdar110822110()
36 std::string kOne = "1"; variable73 return val.empty() ? def : (val == kTrue || val == kOne); in GetXmlAttr()
1512 static const uintptr_t kOne = 1; member in Mask1519 INLINE bool Get(uintptr_t idx) const { return m_ & (kOne << idx); } in Get()1520 INLINE void Set(uintptr_t idx) { m_ |= kOne << idx; } in Set()1521 INLINE void Clear(uintptr_t idx) { m_ &= ~(kOne << idx); } in Clear()1534 uintptr_t t = (kOne << n_bits_in_mask); in ClearRangeAndReturnOld()1553 uintptr_t t = (kOne << n_bits_in_mask); in SetRange()1567 uintptr_t t = (kOne << n_bits_in_mask); in GetRange()