Lines Matching refs:db
473 robj *o = lookupKeyWrite(c->db,c->argv[1]); in lookupStringForBitCommand()
477 dbAdd(c->db,c->argv[1],o); in lookupStringForBitCommand()
480 o = dbUnshareStringValue(c->db,c->argv[1],o); in lookupStringForBitCommand()
550 signalModifiedKey(c->db,c->argv[1]); in setbitCommand()
551 notifyKeyspaceEvent(NOTIFY_STRING,"setbit",c->argv[1],c->db->id); in setbitCommand()
621 o = lookupKeyRead(c->db,c->argv[j+3]); in bitopCommand()
746 setKey(c->db,targetkey,o); in bitopCommand()
747 notifyKeyspaceEvent(NOTIFY_STRING,"set",targetkey,c->db->id); in bitopCommand()
749 } else if (dbDelete(c->db,targetkey)) { in bitopCommand()
750 signalModifiedKey(c->db,targetkey); in bitopCommand()
751 notifyKeyspaceEvent(NOTIFY_GENERIC,"del",targetkey,c->db->id); in bitopCommand()
826 if ((o = lookupKeyRead(c->db,c->argv[1])) == NULL) { in bitposCommand()
984 o = lookupKeyRead(c->db,c->argv[1]); in bitfieldCommand()
1108 signalModifiedKey(c->db,c->argv[1]); in bitfieldCommand()
1109 notifyKeyspaceEvent(NOTIFY_STRING,"setbit",c->argv[1],c->db->id); in bitfieldCommand()