Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 46) sorted by relevance

12

/redis-3.2.3/src/
H A Dsetproctitle.c62 int error; member
108 goto error; in spt_copyenv()
118 if (error) in spt_copyenv()
123 error: in spt_copyenv()
195 goto error; in spt_init()
198 goto error; in spt_init()
207 error: in spt_init()
208 SPT.error = error; in spt_init()
234 { error = errno; goto error; } in setproctitle()
255 error: in setproctitle()
[all …]
H A Dredis-check-aof.c42 sprintf(error, "0x%16llx: %s", (long long)epos, __buf); \
45 static char error[1024]; variable
140 if (feof(fp) && multi && strlen(error) == 0) { in process()
143 if (strlen(error) > 0) { in process()
144 printf("%s\n", error); in process()
H A Danet.c290 if (anetSetReuseAddr(err,s) == ANET_ERR) goto error; in anetTcpGenericConnect()
292 goto error; in anetTcpGenericConnect()
299 goto error; in anetTcpGenericConnect()
310 goto error; in anetTcpGenericConnect()
330 error: in anetTcpGenericConnect()
484 if (anetSetReuseAddr(err,s) == ANET_ERR) goto error; in _anetTcpServer()
490 goto error; in _anetTcpServer()
493 error: in _anetTcpServer()
579 if (ip_len == 0) goto error; in anetPeerToString()
593 goto error; in anetPeerToString()
[all …]
H A Dzmalloc.h45 #error "Newer version of tcmalloc required"
55 #error "Newer version of jemalloc required"
H A Dredis-check-rdb.c49 char error[1024]; member
146 vsnprintf(rdbstate.error, sizeof(rdbstate.error), fmt, ap); in rdbCheckSetError()
317 rdbCheckError(rdbstate.error); in redis_check_rdb()
H A Drdb.c762 int rdbSaveRio(rio *rdb, int *error) { in rdbSaveRio() argument
827 if (error) *error = errno; in rdbSaveRio()
840 int rdbSaveRioWithEOFMark(rio *rdb, int *error) { in rdbSaveRioWithEOFMark() argument
844 if (error) *error = 0; in rdbSaveRioWithEOFMark()
848 if (rdbSaveRio(rdb,error) == C_ERR) goto werr; in rdbSaveRioWithEOFMark()
854 if (error && *error == 0) *error = errno; in rdbSaveRioWithEOFMark()
864 int error = 0; in rdbSave() local
880 if (rdbSaveRio(&rdb,&error) == C_ERR) { in rdbSave()
881 errno = error; in rdbSave()
H A Dreplication.c1005 goto error; in readSyncBulkPayload()
1012 goto error; in readSyncBulkPayload()
1021 goto error; in readSyncBulkPayload()
1089 goto error; in readSyncBulkPayload()
1167 error: in readSyncBulkPayload()
1408 goto error; in syncWithMaster()
1576 goto error; in syncWithMaster()
1619 goto error; in syncWithMaster()
1629 goto error; in syncWithMaster()
1641 error: in syncWithMaster()
[all …]
H A Daof.c1212 if (pipe(fds) == -1) goto error; /* parent -> children data. */ in aofCreatePipes()
1213 if (pipe(fds+2) == -1) goto error; /* children -> parent ack. */ in aofCreatePipes()
1214 if (pipe(fds+4) == -1) goto error; /* children -> parent ack. */ in aofCreatePipes()
1216 if (anetNonBlock(NULL,fds[0]) != ANET_OK) goto error; in aofCreatePipes()
1217 if (anetNonBlock(NULL,fds[1]) != ANET_OK) goto error; in aofCreatePipes()
1218 …eCreateFileEvent(server.el, fds[2], AE_READABLE, aofChildPipeReadable, NULL) == AE_ERR) goto error; in aofCreatePipes()
1229 error: in aofCreatePipes()
H A Dconfig.h194 #error "Undefined or invalid BYTE_ORDER"
/redis-3.2.3/deps/lua/etc/
H A Dstrict.lua9 local getinfo, error, rawset, rawget = debug.getinfo, error, rawset, rawget
28 error("assign to undeclared variable '"..n.."'", 2)
37 error("variable '"..n.."' is not declared", 2)
/redis-3.2.3/deps/hiredis/
H A Dnet.c287 goto error; in _redisContextConnectTcp()
295 goto error; in _redisContextConnectTcp()
308 goto error; in _redisContextConnectTcp()
319 goto error; in _redisContextConnectTcp()
323 goto error; in _redisContextConnectTcp()
325 goto error; in _redisContextConnectTcp()
335 goto error; in _redisContextConnectTcp()
338 error: in _redisContextConnectTcp()
H A DREADME.md44 the error. More information on errors can be found in the **Errors** section.
51 // handle error
83 successfully executed. When an error occurs, the return value is `NULL` and
85 Once an error is returned the context cannot be reused and you should set up
97 …* The command replied with an error. The error string can be accessed identical to `REDIS_REPLY_S…
208 There was an I/O error while creating the connection, trying to write
217 There was an error while parsing the protocol.
224 of the error.
243 // handle error
254 field in the context can be accessed to find out the cause of the error.
[all …]
H A DCHANGELOG.md17 * Issue #43: Don't crash in an asynchronous context when Redis returns an error
/redis-3.2.3/deps/jemalloc/include/jemalloc/internal/
H A Dutil.h178 # error Both JEMALLOC_INTERNAL_FFSL && JEMALLOC_INTERNAL_FFS should have been defined by configure
240 # error "Unsupported type sizes for lg_floor()" in lg_floor()
256 # error "Unsupported type sizes for lg_floor()" in lg_floor()
283 # error "Unsupported type sizes for lg_floor()" in lg_floor()
H A Dtsd.h280 DWORD error = GetLastError(); \
283 SetLastError(error); \
312 DWORD error = GetLastError(); \
315 SetLastError(error); \
/redis-3.2.3/deps/lua/src/
H A Dlundump.c32 #define error(S,s) macro
34 #define IF(c,s) if (c) error(S,s)
36 static void error(LoadState* S, const char* why) in error() function
126 error(S,"bad constant"); in LoadConstants()
164 if (++S->L->nCcalls > LUAI_MAXCCALLS) error(S,"code too deep"); in LoadFunction()
H A Dlua_bit.c81 #error "A 'float' lua_Number type is incompatible with this library" in barg()
83 #error "Unknown number type, check LUA_NUMBER_* in luaconf.h" in barg()
H A Dloadlib.c113 int error = GetLastError(); in pusherror() local
116 NULL, error, 0, buffer, sizeof(buffer), NULL)) in pusherror()
119 lua_pushfstring(L, "system error %d\n", error); in pusherror()
/redis-3.2.3/deps/jemalloc/bin/
H A Djeprof.in1329 open(OBJDUMP, "$cmd |") || error("$cmd: $!\n");
2055 open(DOT, $output) || error("$output: $!\n");
3188 open(SYMBOL, "$command |") or error($command);
3193 error("$url doesn't exist\n");
3564 ::error("$fname: header size >= 2**16\n");
3585 ::error("$fname: header size >= 2**32\n");
3738 open(PROFILE, "<$fname") || error("$fname: $!\n");
3742 error("Profile is empty.\n");
3868 error("$fname: stack trace depth >= 2**32\n");
4358 open(OBJDUMP, "$cmd |") || error("$cmd: $!\n");
[all …]
/redis-3.2.3/deps/lua/
H A DHISTORY53 + new error handling protocol: the core no longer prints error messages;
61 + new and consistent error message format.
80 + improved error messages.
129 + better syntax error messages.
149 + better type checking and error messages in the standard library.
/redis-3.2.3/deps/lua/test/
H A Dreadonly.lua3 local f=function (t,i) error("cannot redefine global variable `"..i.."'",2) end
/redis-3.2.3/deps/jemalloc/src/
H A Dvalgrind.c3 # error "This source file is for Valgrind integration."
H A Dpages.c161 # error "No madvise(2) flag defined for purging unused dirty pages." in pages_purge()
/redis-3.2.3/deps/jemalloc/test/include/test/
H A DSFMT-params.h124 #error "MEXP is not valid."
/redis-3.2.3/
H A Dredis.conf219 stop-writes-on-bgsave-error yes

12