Lines Matching refs:buf
79 char buf[sizeof(k)]; in Key() local
80 buf[0] = k & 0xff; in Key()
81 buf[1] = (k >> 8) & 0xff; in Key()
82 buf[2] = (k >> 16) & 0xff; in Key()
83 buf[3] = (k >> 24) & 0xff; in Key()
84 buf[4] = (k >> 32) & 0xff; in Key()
85 buf[5] = (k >> 40) & 0xff; in Key()
86 buf[6] = (k >> 48) & 0xff; in Key()
87 buf[7] = (k >> 56) & 0xff; in Key()
88 ret.append(buf, sizeof(k)); in Key()
115 const char* buf = key.c_str(); in Key() local
116 ret |= static_cast<uint64_t>(buf[0]); in Key()
117 ret |= (static_cast<uint64_t>(buf[1]) << 8); in Key()
118 ret |= (static_cast<uint64_t>(buf[2]) << 16); in Key()
119 ret |= (static_cast<uint64_t>(buf[3]) << 24); in Key()
120 ret |= (static_cast<uint64_t>(buf[4]) << 32); in Key()
121 ret |= (static_cast<uint64_t>(buf[5]) << 40); in Key()
122 ret |= (static_cast<uint64_t>(buf[6]) << 48); in Key()
123 ret |= (static_cast<uint64_t>(buf[7]) << 56); in Key()