Searched refs:tmpfile (Results 1 – 8 of 8) sorted by relevance
| /redis-3.2.3/tests/integration/ |
| H A D | redis-cli.tcl | 49 set tmp [tmpfile "cli"] 171 set tmpfile [write_tmpfile "from file"] 172 assert_equal "OK\n" [run_cli_with_input_file $tmpfile set key] 204 set tmpfile [write_tmpfile "from file"] 205 assert_equal "OK" [run_cli_with_input_file $tmpfile set key]
|
| /redis-3.2.3/src/ |
| H A D | aof.c | 1020 char tmpfile[256]; in rewriteAppendOnlyFile() local 1029 fp = fopen(tmpfile,"w"); in rewriteAppendOnlyFile() 1157 if (rename(tmpfile,filename) == -1) { in rewriteAppendOnlyFile() 1159 unlink(tmpfile); in rewriteAppendOnlyFile() 1168 unlink(tmpfile); in rewriteAppendOnlyFile() 1271 char tmpfile[256]; in rewriteAppendOnlyFileBackground() local 1331 char tmpfile[256]; in aofRemoveTempFile() local 1334 unlink(tmpfile); in aofRemoveTempFile() 1361 char tmpfile[256]; in backgroundRewriteDoneHandler() local 1373 newfd = open(tmpfile,O_WRONLY|O_APPEND); in backgroundRewriteDoneHandler() [all …]
|
| H A D | rdb.c | 860 char tmpfile[256]; in rdbSave() local 866 snprintf(tmpfile,256,"temp-%d.rdb", (int) getpid()); in rdbSave() 867 fp = fopen(tmpfile,"w"); in rdbSave() 892 if (rename(tmpfile,filename) == -1) { in rdbSave() 897 tmpfile, in rdbSave() 901 unlink(tmpfile); in rdbSave() 914 unlink(tmpfile); in rdbSave() 967 char tmpfile[256]; in rdbRemoveTempFile() local 969 snprintf(tmpfile,sizeof(tmpfile),"temp-%d.rdb", (int) childpid); in rdbRemoveTempFile() 970 unlink(tmpfile); in rdbRemoveTempFile()
|
| H A D | replication.c | 1387 char tmpfile[256], *err = NULL; in syncWithMaster() local 1611 snprintf(tmpfile,256, in syncWithMaster() 1613 dfd = open(tmpfile,O_CREAT|O_WRONLY|O_EXCL,0644); in syncWithMaster() 1638 server.repl_transfer_tmpfile = zstrdup(tmpfile); in syncWithMaster()
|
| /redis-3.2.3/tests/support/ |
| H A D | tmpfile.tcl | 13 proc tmpfile {basename} { procedure
|
| H A D | server.tcl | 203 set config_file [tmpfile redis.conf]
|
| /redis-3.2.3/deps/lua/src/ |
| H A D | liolib.c | 185 *pf = tmpfile(); in io_tmpfile()
|
| /redis-3.2.3/deps/lua/ |
| H A D | HISTORY | 49 + new functions (time/date, tmpfile, unpack, require, load*, etc.).
|