Home
last modified time | relevance | path

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

/redis-3.2.3/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.c84 char *hostsocket; member
157 if (config.hostsocket != NULL) in cliRefreshPrompt()
159 config.hostsocket); in cliRefreshPrompt()
514 if (config.hostsocket == NULL) { in cliConnect()
517 context = redisConnectUnix(config.hostsocket); in cliConnect()
522 if (config.hostsocket == NULL) in cliConnect()
525 fprintf(stderr,"%s: %s\n",config.hostsocket,context->errstr); in cliConnect()
990 config.hostsocket = argv[++i]; in parseOptions()
2551 config.hostsocket = NULL; in main()