Home
last modified time | relevance | path

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

/redis-3.2.3/src/
H A Dsort.c450 robj *byval; in sortCommand() local
453 byval = lookupKeyByPattern(c->db,sortby,vector[j].obj); in sortCommand()
454 if (!byval) continue; in sortCommand()
457 byval = vector[j].obj; in sortCommand()
461 if (sortby) vector[j].u.cmpobj = getDecodedObject(byval); in sortCommand()
463 if (sdsEncodedObject(byval)) { in sortCommand()
466 vector[j].u.score = strtod(byval->ptr,&eptr); in sortCommand()
472 } else if (byval->encoding == OBJ_ENCODING_INT) { in sortCommand()
476 vector[j].u.score = (long)byval->ptr; in sortCommand()
485 decrRefCount(byval); in sortCommand()