Home
last modified time | relevance | path

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

/redis-3.2.3/src/
H A Dredis-benchmark.c346 int len = redisFormatCommand(&buf, "AUTH %s", config.auth); in createClient()
728 len = redisFormatCommand(&cmd,"PING"); in main()
740 len = redisFormatCommand(&cmd,"GET key:__rand_int__"); in main()
764 len = redisFormatCommand(&cmd,"LPOP mylist"); in main()
770 len = redisFormatCommand(&cmd,"RPOP mylist"); in main()
776 len = redisFormatCommand(&cmd, in main()
783 len = redisFormatCommand(&cmd,"SPOP myset"); in main()
800 len = redisFormatCommand(&cmd,"LRANGE mylist 0 99"); in main()
806 len = redisFormatCommand(&cmd,"LRANGE mylist 0 299"); in main()
812 len = redisFormatCommand(&cmd,"LRANGE mylist 0 449"); in main()
[all …]
/redis-3.2.3/deps/hiredis/
H A Dtest.c121 len = redisFormatCommand(&cmd,"SET foo bar"); in test_format_commands()
127 len = redisFormatCommand(&cmd,"SET %s %s","foo","bar"); in test_format_commands()
133 len = redisFormatCommand(&cmd,"SET %s %s","foo",""); in test_format_commands()
139 len = redisFormatCommand(&cmd,"SET %s %s","","foo"); in test_format_commands()
145 len = redisFormatCommand(&cmd,"SET %b %b","foo",(size_t)3,"b\0r",(size_t)3); in test_format_commands()
151 len = redisFormatCommand(&cmd,"SET %b %b","foo",(size_t)3,"",(size_t)0); in test_format_commands()
157 len = redisFormatCommand(&cmd,"SET %% %%"); in test_format_commands()
168 len = redisFormatCommand(&cmd,"key:%08" fmt " str:%s", value, "hello"); \ in test_format_commands()
177 len = redisFormatCommand(&cmd,"key:%08.3f str:%s", value, "hello"); \ in test_format_commands()
197 len = redisFormatCommand(&cmd,"key:%08p %b",(void*)1234,"foo",(size_t)3); in test_format_commands()
[all …]
H A Dhiredis.h162 int redisFormatCommand(char **target, const char *format, ...);
H A Dhiredis.c925 int redisFormatCommand(char **target, const char *format, ...) { in redisFormatCommand() function