Lines Matching refs:gp
69 geoPoint *gp = ga->array+ga->used; in geoArrayAppend() local
71 return gp; in geoArrayAppend()
204 geoPoint *gp = geoArrayAppend(ga); in geoAppendIfWithinRadius() local
205 gp->longitude = xy[0]; in geoAppendIfWithinRadius()
206 gp->latitude = xy[1]; in geoAppendIfWithinRadius()
207 gp->dist = distance; in geoAppendIfWithinRadius()
208 gp->member = member; in geoAppendIfWithinRadius()
209 gp->score = score; in geoAppendIfWithinRadius()
581 geoPoint *gp = ga->array+i; in georadiusGeneric() local
582 gp->dist /= conversion; /* Fix according to unit. */ in georadiusGeneric()
590 addReplyBulkSds(c,gp->member); in georadiusGeneric()
591 gp->member = NULL; in georadiusGeneric()
594 addReplyDoubleDistance(c, gp->dist); in georadiusGeneric()
597 addReplyLongLong(c, gp->score); in georadiusGeneric()
601 addReplyHumanLongDouble(c, gp->longitude); in georadiusGeneric()
602 addReplyHumanLongDouble(c, gp->latitude); in georadiusGeneric()
619 geoPoint *gp = ga->array+i; in georadiusGeneric() local
620 gp->dist /= conversion; /* Fix according to unit. */ in georadiusGeneric()
621 double score = storedist ? gp->dist : gp->score; in georadiusGeneric()
622 size_t elelen = sdslen(gp->member); in georadiusGeneric()
623 robj *ele = createObject(OBJ_STRING,gp->member); in georadiusGeneric()
630 gp->member = NULL; in georadiusGeneric()