Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/src/
H A Dredis-benchmark.c56 const char *hostsocket; member
320 if (config.hostsocket == NULL) { in createClient()
323 c->context = redisConnectUnixNonBlock(config.hostsocket); in createClient()
327 if (config.hostsocket == NULL) in createClient()
330 fprintf(stderr,"%s: %s\n",config.hostsocket,c->context->errstr); in createClient()
505 config.hostsocket = strdup(argv[++i]); in parseOptions()
678 config.hostsocket = NULL; in main()
H A Dredis-cli.c188 char *hostsocket; member
272 if (config.hostsocket != NULL) { in cliRefreshPrompt()
273 prompt = sdscatfmt(prompt,"redis %s",config.hostsocket); in cliRefreshPrompt()
762 if (config.hostsocket == NULL) { in cliConnect()
765 context = redisConnectUnix(config.hostsocket); in cliConnect()
771 if (config.hostsocket == NULL) in cliConnect()
776 config.hostsocket,context->errstr); in cliConnect()
1246 config.hostsocket = argv[++i]; in parseOptions()
6996 config.hostsocket = NULL; in main()