Lines Matching refs:rep
141 RedisModuleCallReply *rep = RedisModule_Call(ctx, "EXISTS", "c", "unlinked"); in TestUnlink() local
142 if (!rep || RedisModule_CallReplyInteger(rep) != 1) { in TestUnlink()
150 rep = RedisModule_Call(ctx, "EXISTS", "c", "unlinked"); in TestUnlink()
151 if (!rep || RedisModule_CallReplyInteger(rep) != 0) { in TestUnlink()
192 const char *rep; in TestNotifications() local
197 rep = RedisModule_CallReplyStringPtr(r, &sz); in TestNotifications()
198 if (sz != 1 || *rep != '2') { in TestNotifications()
207 rep = RedisModule_CallReplyStringPtr(r, &sz); in TestNotifications()
208 if (sz != 1 || *rep != '2') { in TestNotifications()
209 FAIL("Got reply '%s'. expected '2'", rep); in TestNotifications()
217 rep = RedisModule_CallReplyStringPtr(r, &sz); in TestNotifications()
218 if (sz != 1 || *rep != '1') { in TestNotifications()
219 FAIL("Got reply '%.*s'. expected '1'", sz, rep); in TestNotifications()