• Home
  • Raw
  • Download

Lines Matching refs:__len

991     inline _Size operator()(const void* __key, _Size __len)
998 __murmur2_or_cityhash<_Size, 32>::operator()(const void* __key, _Size __len)
1002 _Size __h = __len;
1004 for (; __len >= 4; __data += 4, __len -= 4)
1013 switch (__len)
1034 …inline _Size operator()(const void* __key, _Size __len) _LIBCPP_DISABLE_UBSAN_UNSIGNED_INTEGER_CH…
1067 static _Size __hash_len_0_to_16(const char* __s, _Size __len)
1070 if (__len > 8) {
1072 const _Size __b = __loadword<_Size>(__s + __len - 8);
1073 return __hash_len_16(__a, __rotate_by_at_least_1(__b + __len, __len)) ^ __b;
1075 if (__len >= 4) {
1077 const uint32_t __b = __loadword<uint32_t>(__s + __len - 4);
1078 return __hash_len_16(__len + (__a << 3), __b);
1080 if (__len > 0) {
1082 const unsigned char __b = __s[__len >> 1];
1083 const unsigned char __c = __s[__len - 1];
1086 const uint32_t __z = __len + (static_cast<uint32_t>(__c) << 2);
1092 static _Size __hash_len_17_to_32(const char *__s, _Size __len)
1097 const _Size __c = __loadword<_Size>(__s + __len - 8) * __k2;
1098 const _Size __d = __loadword<_Size>(__s + __len - 16) * __k0;
1100 __a + __rotate(__b ^ __k3, 20) - __c + __len);
1132 static _Size __hash_len_33_to_64(const char *__s, size_t __len)
1137 (__len + __loadword<_Size>(__s + __len - 16)) * __k0;
1145 __a = __loadword<_Size>(__s + 16) + __loadword<_Size>(__s + __len - 32);
1146 __z += __loadword<_Size>(__s + __len - 8);
1149 __a += __loadword<_Size>(__s + __len - 24);
1151 __a += __loadword<_Size>(__s + __len - 16);
1162 __murmur2_or_cityhash<_Size, 64>::operator()(const void* __key, _Size __len)
1165 if (__len <= 32) {
1166 if (__len <= 16) {
1167 return __hash_len_0_to_16(__s, __len);
1169 return __hash_len_17_to_32(__s, __len);
1171 } else if (__len <= 64) {
1172 return __hash_len_33_to_64(__s, __len);
1177 _Size __x = __loadword<_Size>(__s + __len - 40);
1178 _Size __y = __loadword<_Size>(__s + __len - 16) +
1179 __loadword<_Size>(__s + __len - 56);
1180 _Size __z = __hash_len_16(__loadword<_Size>(__s + __len - 48) + __len,
1181 __loadword<_Size>(__s + __len - 24));
1182 pair<_Size, _Size> __v = __weak_hash_len_32_with_seeds(__s + __len - 64, __len, __z);
1183 pair<_Size, _Size> __w = __weak_hash_len_32_with_seeds(__s + __len - 32, __y + __k1, __x);
1187 __len = (__len - 1) & ~static_cast<_Size>(63);
1199 __len -= 64;
1200 } while (__len != 0);