Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/src/modules/
H A Dtestmodule.c41 RedisModuleString *mystr; in TestMatchReply() local
42 mystr = RedisModule_CreateStringFromCallReply(reply); in TestMatchReply()
43 if (!mystr) return 0; in TestMatchReply()
44 const char *ptr = RedisModule_StringPtrLen(mystr,NULL); in TestMatchReply()
59 RedisModuleString *mystr = RedisModule_CreateString(ctx,"foo",3); in TestCall() local
60 RedisModule_Call(ctx,"RPUSH","csl","mylist",mystr,(long long)1234); in TestCall()
311 RedisModuleString *mystr, *expected; in TestAssertStringReply() local
318 mystr = RedisModule_CreateStringFromCallReply(reply); in TestAssertStringReply()
320 if (RedisModule_StringCompare(mystr,expected) != 0) { in TestAssertStringReply()
321 const char *mystr_ptr = RedisModule_StringPtrLen(mystr,NULL); in TestAssertStringReply()