Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 70) sorted by relevance

123

/redis-3.2.3/utils/
H A Dgenerate-command-help.rb27 name = arg["name"].is_a?(Array) ? arg["name"].join(" ") : arg["name"]
28 name = arg["enum"].join "|" if "enum" == arg["type"]
29 name = arg["command"] + " " + name if arg["command"]
31 name = "#{name} [#{name} ...]"
34 name = "[#{name}]"
36 name
H A Dspeed-regression.tcl51 proc get-result-with-name {output name} { argument
56 if {$key eq [string tolower $name]} {
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Dctl.h20 const char *name; member
67 int ctl_byname(const char *name, void *oldp, size_t *oldlenp, void *newp,
69 int ctl_nametomib(const char *name, size_t *mibp, size_t *miblenp);
78 #define xmallctl(name, oldp, oldlenp, newp, newlen) do { \ argument
79 if (je_mallctl(name, oldp, oldlenp, newp, newlen) \
83 name); \
88 #define xmallctlnametomib(name, mibp, miblenp) do { \ argument
89 if (je_mallctlnametomib(name, mibp, miblenp) != 0) { \
91 "xmallctlnametomib(\"%s\", ...)\n", name); \
/redis-3.2.3/deps/lua/test/
H A Dtrace-globals.lua14 local log=function (name,old,new)
19 io.write(": ",name," is now ",tostring(new)," (was ",tostring(old),")","\n")
23 local set=function (t,name,value)
24 log(name,g[name],value)
25 g[name]=value
H A Dtrace-calls.lua24 io.write(event," ",t.name or "(Lua)"," <",t.linedefined,":",t.short_src,">")
26 io.write(event," ",t.name or "(C)"," [",t.what,"] ")
/redis-3.2.3/deps/lua/src/
H A Dloadlib.c354 name = luaL_gsub(L, name, ".", LUA_DIRSEP); in findfile()
383 filename = findfile(L, name, "path"); in loader_Lua()
407 funcname = mkfuncname(L, name); in loader_C()
418 const char *p = strchr(name, '.'); in loader_Croot()
421 lua_pushlstring(L, name, p - name); in loader_Croot()
424 funcname = mkfuncname(L, name); in loader_Croot()
428 name, filename); in loader_Croot()
440 lua_getfield(L, -1, name); in loader_preload()
456 lua_getfield(L, 2, name); in ll_require()
472 lua_pushstring(L, name); in ll_require()
[all …]
H A Dldebug.c113 const char *name; in findlocal() local
131 if (name) in lua_getlocal()
134 return name; in lua_getlocal()
142 if (name) in lua_setlocal()
146 return name; in lua_setlocal()
168 ar->name = ar->namewhat = ""; in info_tailcall()
218 ar->name = NULL; in auxgetinfo()
504 if (*name) /* is a local? */ in getobjname()
524 *name = kname(p, k); in getobjname()
534 *name = kname(p, k); in getobjname()
[all …]
H A Dlundump.c27 const char* name; member
38 luaO_pushfstring(S->L,"%s: %s in precompiled chunk",S->name,why); in error()
195 Proto* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name) in luaU_undump() argument
198 if (*name=='@' || *name=='=') in luaU_undump()
199 S.name=name+1; in luaU_undump()
200 else if (*name==LUA_SIGNATURE[0]) in luaU_undump()
201 S.name="binary string"; in luaU_undump()
203 S.name=name; in luaU_undump()
H A Dldblib.c133 settabss(L, "name", ar.name); in db_getinfo()
148 const char *name; in db_getlocal() local
151 name = lua_getlocal(L1, &ar, luaL_checkint(L, arg+2)); in db_getlocal()
152 if (name) { in db_getlocal()
154 lua_pushstring(L, name); in db_getlocal()
180 const char *name; in auxupvalue() local
184 name = get ? lua_getupvalue(L, 1, n) : lua_setupvalue(L, 1, n); in auxupvalue()
185 if (name == NULL) return 0; in auxupvalue()
186 lua_pushstring(L, name); in auxupvalue()
358 lua_pushfstring(L, " in function " LUA_QS, ar.name); in db_errorfb()
H A Dlauxlib.c52 ar.name, extramsg); in luaL_argerror()
54 if (ar.name == NULL) in luaL_argerror()
55 ar.name = "?"; in luaL_argerror()
57 narg, ar.name, extramsg); in luaL_argerror()
101 const char *name = (def) ? luaL_optstring(L, narg, def) : in luaL_checkoption() local
105 if (strcmp(lst[i], name) == 0) in luaL_checkoption()
237 for (; l->name; l++) size++; in libsize()
260 for (; l->name; l++) { in luaI_openlib()
265 lua_setfield(L, -(nup+2), l->name); in luaI_openlib()
610 const char *name) { in luaL_loadbuffer() argument
[all …]
H A Dlua.c134 static int dofile (lua_State *L, const char *name) { in dofile() argument
135 int status = luaL_loadfile(L, name) || docall(L, 0, 1); in dofile()
140 static int dostring (lua_State *L, const char *s, const char *name) { in dostring() argument
141 int status = luaL_loadbuffer(L, s, strlen(s), name) || docall(L, 0, 1); in dostring()
146 static int dolibrary (lua_State *L, const char *name) { in dolibrary() argument
148 lua_pushstring(L, name); in dolibrary()
/redis-3.2.3/deps/jemalloc/test/unit/
H A Dmallctl.c499 t name; \ in TEST_BEGIN()
501 assert_d_eq(mallctl("arenas."#name, &name, &sz, NULL, 0), 0, \ in TEST_BEGIN()
503 assert_zu_eq(name, expected, "Incorrect "#name" size"); \ in TEST_BEGIN()
520 t name; \ in TEST_BEGIN()
524 assert_zu_eq(name, expected, "Incorrect "#name" size"); \ in TEST_BEGIN()
539 t name; \ in TEST_BEGIN()
541 assert_d_eq(mallctl("arenas.lrun.0."#name, &name, &sz, NULL, \ in TEST_BEGIN()
543 assert_zu_eq(name, expected, "Incorrect "#name" size"); \ in TEST_BEGIN()
556 t name; \ in TEST_BEGIN()
560 assert_zu_eq(name, expected, "Incorrect "#name" size"); \ in TEST_BEGIN()
[all …]
H A Dprof_active.c9 mallctl_bool_get(const char *name, bool expected, const char *func, int line) in mallctl_bool_get() argument
15 assert_d_eq(mallctl(name, &old, &sz, NULL, 0), 0, in mallctl_bool_get()
16 "%s():%d: Unexpected mallctl failure reading %s", func, line, name); in mallctl_bool_get()
18 name); in mallctl_bool_get()
22 mallctl_bool_set(const char *name, bool old_expected, bool val_new, in mallctl_bool_set() argument
29 assert_d_eq(mallctl(name, &old, &sz, &val_new, sizeof(val_new)), 0, in mallctl_bool_set()
31 line, name); in mallctl_bool_set()
33 line, name); in mallctl_bool_set()
/redis-3.2.3/tests/support/
H A Dtest.tcl67 proc test {name code {okpattern undefined}} {
91 lappend details "$name in $::curfile"
93 send_data_packet $::test_server_fd testing $name
110 send_data_packet $::test_server_fd ok $name
124 send_data_packet $::test_server_fd err "Detected a memory leak in test '$name': $output"
/redis-3.2.3/deps/jemalloc/doc/
H A Dstylesheet.xsl2 <xsl:param name="funcsynopsis.style">ansi</xsl:param>
3 <xsl:param name="function.parens" select="1"/>
5 "<xsl:call-template name="inline.monoseq"/>"
/redis-3.2.3/tests/integration/
H A Dredis-cli.tcl39 proc test_interactive_cli {name code} {
42 test "Interactive CLI: $name" $code
87 proc test_nontty_cli {name code} {
88 test "Non-interactive non-TTY CLI: $name" $code
92 proc test_tty_cli {name code} {
94 test "Non-interactive TTY CLI: $name" $code
/redis-3.2.3/src/
H A Dcluster.c1321 sender->name, node->name); in clusterProcessGossipSection()
1328 sender->name, node->name); in clusterProcessGossipSection()
3662 char *name; member
3701 node->name, in clusterGenNodeDescription()
4560 name = sdscatlen(name,host->ptr,sdslen(host->ptr)); in migrateGetSocket()
4561 name = sdscatlen(name,":",1); in migrateGetSocket()
4562 name = sdscatlen(name,port->ptr,sdslen(port->ptr)); in migrateGetSocket()
4614 name = sdscatlen(name,host->ptr,sdslen(host->ptr)); in migrateCloseSocket()
4615 name = sdscatlen(name,":",1); in migrateCloseSocket()
4616 name = sdscatlen(name,port->ptr,sdslen(port->ptr)); in migrateCloseSocket()
[all …]
H A Dsentinel.c921 master->name, in sentinelCallClientReconfScript()
1161 name = slavename; in createSentinelRedisInstance()
1171 sdsname = sdsnew(name); in createSentinelRedisInstance()
1184 ri->name = sdsname; in createSentinelRedisInstance()
1248 sdsfree(ri->name); in releaseSentinelRedisInstance()
1352 sds sdsname = sdsnew(name); in sentinelGetMasterByName()
1442 if (ri->name) { in sentinelResetMastersByPattern()
1890 char name[64]; in sentinelSetClientName() local
1892 snprintf(name,sizeof(name),"sentinel-%.8s-%s",sentinel.myid,type); in sentinelSetClientName()
3000 ri->name); in sentinelCommand()
[all …]
H A Dnetworking.c88 c->name = NULL; in createClient()
872 if (c->name) decrRefCount(c->name); in freeClient()
1453 client->name ? (char*)client->name->ptr : "", in catClientInfoString()
1602 if (c->name) decrRefCount(c->name); in clientCommand()
1603 c->name = NULL; in clientCommand()
1619 if (c->name) decrRefCount(c->name); in clientCommand()
1620 c->name = c->argv[2]; in clientCommand()
1621 incrRefCount(c->name); in clientCommand()
1624 if (c->name) in clientCommand()
1625 addReplyBulk(c,c->name); in clientCommand()
[all …]
H A Dhelp.h24 char *name; member
/redis-3.2.3/tests/unit/
H A Dintrospection.tcl23 test {CLIENT GETNAME should return NIL if name is not assigned} {
36 test {CLIENT SETNAME can assign a name to this connection} {
41 test {CLIENT SETNAME can change the name of an existing connection} {
/redis-3.2.3/deps/lua/etc/
H A Dnoparser.c25 LUAI_FUNC Proto *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, const char *name) { in luaY_parser() argument
28 UNUSED(name); in luaY_parser()
/redis-3.2.3/deps/jemalloc/test/src/
H A Dtest.c47 p_test_init(const char *name) in p_test_init() argument
52 test_name = name; in p_test_init()
/redis-3.2.3/deps/jemalloc/include/jemalloc/
H A Djemalloc_mangle.sh11 * name mangling that matches the API prefixing that happened as a result of
32 * provide isolation from the name mangling specified via --with-mangling
/redis-3.2.3/tests/
H A Dtest_helper.tcl86 proc execute_tests name { argument
87 set path "tests/$name.tcl"
90 send_data_packet $::test_server_fd done "$name"
352 foreach {time name} $::clients_time_history {
353 puts " $time seconds - $name"

123