Lines Matching refs:hash
86 GeoHashBits hash = { .bits = (uint64_t)bits, .step = GEO_STEP_MAX }; in decodeGeohash() local
87 return geohashDecodeToLongLatWGS84(hash, xy); in decodeGeohash()
291 void scoresOfGeoHashBox(GeoHashBits hash, GeoHashFix52Bits *min, GeoHashFix52Bits *max) { in scoresOfGeoHashBox() argument
312 *min = geohashAlign52Bits(hash); in scoresOfGeoHashBox()
313 hash.bits++; in scoresOfGeoHashBox()
314 *max = geohashAlign52Bits(hash); in scoresOfGeoHashBox()
320 int membersOfGeoHashBox(robj *zobj, GeoHashBits hash, geoArray *ga, double lon, double lat, double … in membersOfGeoHashBox() argument
323 scoresOfGeoHashBox(hash,&min,&max); in membersOfGeoHashBox()
332 neighbors[0] = n.hash; in membersOfAllNeighbors()
415 GeoHashBits hash; in geoaddCommand() local
416 geohashEncodeWGS84(xy[0], xy[1], GEO_STEP_MAX, &hash); in geoaddCommand()
417 GeoHashFix52Bits bits = geohashAlign52Bits(hash); in geoaddCommand()
696 GeoHashBits hash; in geohashCommand() local
701 geohashEncode(&r[0],&r[1],xy[0],xy[1],26,&hash); in geohashCommand()
706 int idx = (hash.bits >> (52-((i+1)*5))) & 0x1f; in geohashCommand()