Searched refs:hints (Results 1 – 6 of 6) sorted by relevance
| /redis-3.2.3/src/ |
| H A D | anet.c | 206 struct addrinfo hints, *info; in anetGenericResolve() local 209 memset(&hints,0,sizeof(hints)); in anetGenericResolve() 211 hints.ai_family = AF_UNSPEC; in anetGenericResolve() 273 struct addrinfo hints, *servinfo, *bservinfo, *p, *b; in anetTcpGenericConnect() local 276 memset(&hints,0,sizeof(hints)); in anetTcpGenericConnect() 277 hints.ai_family = AF_UNSPEC; in anetTcpGenericConnect() 278 hints.ai_socktype = SOCK_STREAM; in anetTcpGenericConnect() 467 struct addrinfo hints, *servinfo, *p; in _anetTcpServer() local 470 memset(&hints,0,sizeof(hints)); in _anetTcpServer() 471 hints.ai_family = af; in _anetTcpServer() [all …]
|
| H A D | redis-cli.c | 125 int hints; member 424 if (!pref.hints) return NULL; in hintsCallback() 1228 if (!strcasecmp(argv[1],"hints")) pref.hints = 1; in cliSetPreferences() 1229 else if (!strcasecmp(argv[1],"nohints")) pref.hints = 0; in cliSetPreferences() 2584 pref.hints = 1; in main()
|
| /redis-3.2.3/deps/hiredis/ |
| H A D | net.c | 261 struct addrinfo hints, *servinfo, *bservinfo, *p, *b; in _redisContextConnectTcp() local 265 memset(&hints,0,sizeof(hints)); in _redisContextConnectTcp() 266 hints.ai_family = AF_INET; in _redisContextConnectTcp() 267 hints.ai_socktype = SOCK_STREAM; in _redisContextConnectTcp() 274 if ((rv = getaddrinfo(addr,_port,&hints,&servinfo)) != 0) { in _redisContextConnectTcp() 275 hints.ai_family = AF_INET6; in _redisContextConnectTcp() 276 if ((rv = getaddrinfo(addr,_port,&hints,&servinfo)) != 0) { in _redisContextConnectTcp() 291 if ((rv = getaddrinfo(source_addr, NULL, &hints, &bservinfo)) != 0) { in _redisContextConnectTcp()
|
| /redis-3.2.3/deps/linenoise/ |
| H A D | example.c | 14 char *hints(const char *buf, int *color, int *bold) { in hints() function 46 linenoiseSetHintsCallback(hints); in main()
|
| H A D | README.markdown | 163 Linenoise has a feature called *hints* which is very useful when you 168 The feature shows, on the right of the cursor, as the user types, hints that 169 may be useful. The hints can be displayed using a different color compared 172 For example as the user starts to type `"git remote add"`, with hints it's 178 linenoiseSetHintsCallback(hints); 182 char *hints(const char *buf, int *color, int *bold) {
|
| /redis-3.2.3/ |
| H A D | 00-RELEASENOTES | 1198 | redis-cli hints. 1210 | Linenoise updated again (hints support).
|