Lines Matching refs:ret
75 std::string ret; in Key() local
77 ret.append(reinterpret_cast<char*>(&k), sizeof(k)); in Key()
88 ret.append(buf, sizeof(k)); in Key()
90 size_t i = 0, j = ret.size() - 1; in Key()
92 char tmp = ret[i]; in Key()
93 ret[i] = ret[j]; in Key()
94 ret[j] = tmp; in Key()
98 return ret; in Key()
111 uint64_t ret = 0; in Key() local
113 memcpy(&ret, key.c_str(), sizeof(uint64_t)); in Key()
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()
125 return ret; in Key()
260 int ret = in RunSecondary() local
262 if (ret < 0) { in RunSecondary()