Home
last modified time | relevance | path

Searched refs:geoPoint (Results 1 – 2 of 2) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dgeo.h8 typedef struct geoPoint { struct
14 } geoPoint; argument
17 struct geoPoint *array;
H A Dgeo.c64 geoPoint *geoArrayAppend(geoArray *ga) { in geoArrayAppend()
67 ga->array = zrealloc(ga->array,sizeof(geoPoint)*ga->buckets); in geoArrayAppend()
69 geoPoint *gp = ga->array+ga->used; in geoArrayAppend()
204 geoPoint *gp = geoArrayAppend(ga); in geoAppendIfWithinRadius()
385 const struct geoPoint *gpa = a, *gpb = b; in sort_gp_asc()
581 qsort(ga->array, result_length, sizeof(geoPoint), sort_gp_asc); in georadiusGeneric()
583 qsort(ga->array, result_length, sizeof(geoPoint), sort_gp_desc); in georadiusGeneric()
609 geoPoint *gp = ga->array+i; in georadiusGeneric()
647 geoPoint *gp = ga->array+i; in georadiusGeneric()