Home
last modified time | relevance | path

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

/redis-3.2.3/deps/lua/src/
H A Dlua_cjson.c138 json_config_t *cfg; member
196 json_config_t *cfg; in json_fetch_config() local
199 if (!cfg) in json_fetch_config()
202 return cfg; in json_fetch_config()
363 json_config_t *cfg; in json_destroy_config() local
365 cfg = lua_touserdata(l, 1); in json_destroy_config()
366 if (cfg) in json_destroy_config()
368 cfg = NULL; in json_destroy_config()
375 json_config_t *cfg; in json_create_config() local
378 cfg = lua_newuserdata(l, sizeof(*cfg)); in json_create_config()
[all …]
/redis-3.2.3/deps/hiredis/
H A Dtest.c664 struct config cfg = { in main() local
684 cfg.tcp.host = argv[0]; in main()
690 cfg.unix.path = argv[0]; in main()
706 printf("\nTesting against TCP connection (%s:%d):\n", cfg.tcp.host, cfg.tcp.port); in main()
707 cfg.type = CONN_TCP; in main()
708 test_blocking_connection(cfg); in main()
709 test_blocking_io_errors(cfg); in main()
715 cfg.type = CONN_UNIX; in main()
716 test_blocking_connection(cfg); in main()
717 test_blocking_io_errors(cfg); in main()
[all …]
/redis-3.2.3/tests/
H A Dinstances.tcl71 set cfg [open $cfgfile w]
72 puts $cfg "port $port"
73 puts $cfg "dir ./$dirname"
74 puts $cfg "logfile log.txt"
77 puts $cfg $directive
79 close $cfg