Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/src/
H A Dsort.c452 robj *byval; in sortCommand() local
455 byval = lookupKeyByPattern(c->db,sortby,vector[j].obj); in sortCommand()
456 if (!byval) continue; in sortCommand()
459 byval = vector[j].obj; in sortCommand()
463 if (sortby) vector[j].u.cmpobj = getDecodedObject(byval); in sortCommand()
465 if (sdsEncodedObject(byval)) { in sortCommand()
468 vector[j].u.score = strtod(byval->ptr,&eptr); in sortCommand()
474 } else if (byval->encoding == OBJ_ENCODING_INT) { in sortCommand()
478 vector[j].u.score = (long)byval->ptr; in sortCommand()
487 decrRefCount(byval); in sortCommand()