Lines Matching refs:score
114 double score = 0; in longLatFromMember() local
116 if (zsetScore(zobj, member, &score) == C_ERR) return C_ERR; in longLatFromMember()
117 if (!decodeGeohash(score, xy)) return C_ERR; in longLatFromMember()
191 int geoAppendIfWithinRadius(geoArray *ga, double lon, double lat, double radius, double score, sds … in geoAppendIfWithinRadius() argument
194 if (!decodeGeohash(score,xy)) return C_ERR; /* Can't decode. */ in geoAppendIfWithinRadius()
209 gp->score = score; in geoAppendIfWithinRadius()
238 double score = 0; in geoGetPointsInRange() local
247 score = zzlGetScore(sptr); in geoGetPointsInRange()
250 if (!zslValueLteMax(score, &range)) in geoGetPointsInRange()
257 if (geoAppendIfWithinRadius(ga,lon,lat,radius,score,member) in geoGetPointsInRange()
274 if (!zslValueLteMax(ln->score, &range)) in geoGetPointsInRange()
280 if (geoAppendIfWithinRadius(ga,lon,lat,radius,ln->score,member) in geoGetPointsInRange()
418 robj *score = createObject(OBJ_STRING, sdsfromlonglong(bits)); in geoaddCommand() local
420 argv[2+i*2] = score; in geoaddCommand()
597 addReplyLongLong(c, gp->score); in georadiusGeneric()
621 double score = storedist ? gp->dist : gp->score; in georadiusGeneric() local
628 znode = zslInsert(zs->zsl,score,ele); in georadiusGeneric()
629 serverAssert(dictAdd(zs->dict,ele,&znode->score) == DICT_OK); in georadiusGeneric()
677 double score; in geohashCommand() local
678 if (zsetScore(zobj, c->argv[j], &score) == C_ERR) { in geohashCommand()
689 if (!decodeGeohash(score,xy)) { in geohashCommand()
731 double score; in geoposCommand() local
732 if (zsetScore(zobj, c->argv[j], &score) == C_ERR) { in geoposCommand()
737 if (!decodeGeohash(score,xy)) { in geoposCommand()