Searched refs:xy (Results 1 – 4 of 4) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | geo.c | 101 if (xy[0] < GEO_LONG_MIN || xy[0] > GEO_LONG_MAX || in extractLongLatOrReply() 102 xy[1] < GEO_LAT_MIN || xy[1] > GEO_LAT_MAX) { in extractLongLatOrReply() 104 "-ERR invalid longitude,latitude pair %f,%f\r\n",xy[0],xy[1])); in extractLongLatOrReply() 197 if (!geohashGetDistanceIfInRadiusWGS84(lon,lat, xy[0], xy[1], in geoAppendIfWithinRadius() 205 gp->longitude = xy[0]; in geoAppendIfWithinRadius() 206 gp->latitude = xy[1]; in geoAppendIfWithinRadius() 405 double xy[2]; in geoaddCommand() local 416 geohashEncodeWGS84(xy[0], xy[1], GEO_STEP_MAX, &hash); in geoaddCommand() 533 geohashGetAreasByRadiusWGS84(xy[0], xy[1], radius_meters); in georadiusGeneric() 537 membersOfAllNeighbors(zobj, georadius, xy[0], xy[1], radius_meters, ga); in georadiusGeneric() [all …]
|
| /redis-3.2.3/deps/geohash-int/ |
| H A D | geohash.c | 206 int geohashDecodeAreaToLongLat(const GeoHashArea *area, double *xy) { in geohashDecodeAreaToLongLat() argument 207 if (!xy) return 0; in geohashDecodeAreaToLongLat() 208 xy[0] = (area->longitude.min + area->longitude.max) / 2; in geohashDecodeAreaToLongLat() 209 xy[1] = (area->latitude.min + area->latitude.max) / 2; in geohashDecodeAreaToLongLat() 213 int geohashDecodeToLongLatType(const GeoHashBits hash, double *xy) { in geohashDecodeToLongLatType() argument 215 if (!xy || !geohashDecodeType(hash, &area)) in geohashDecodeToLongLatType() 217 return geohashDecodeAreaToLongLat(&area, xy); in geohashDecodeToLongLatType() 220 int geohashDecodeToLongLatWGS84(const GeoHashBits hash, double *xy) { in geohashDecodeToLongLatWGS84() argument 221 return geohashDecodeToLongLatType(hash, xy); in geohashDecodeToLongLatWGS84()
|
| H A D | geohash.h | 109 int geohashDecodeAreaToLongLat(const GeoHashArea *area, double *xy); 110 int geohashDecodeToLongLatType(const GeoHashBits hash, double *xy); 111 int geohashDecodeToLongLatWGS84(const GeoHashBits hash, double *xy); 112 int geohashDecodeToLongLatMercator(const GeoHashBits hash, double *xy);
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | configure | 8567 xy) ECHO_C='\c';;
|