Home
last modified time | relevance | path

Searched refs:tmpname (Results 1 – 6 of 6) sorted by relevance

/PHP-7.1/ext/zip/lib/
H A Dzip_source_filep.c80 char *tmpname; member
148 ctx->tmpname = NULL; in _zip_source_file_or_p()
215 ctx->tmpname = temp; in create_temp_output()
248 if (rename(ctx->tmpname, ctx->fname) < 0) { in read_file()
256 free(ctx->tmpname); in read_file()
257 ctx->tmpname = NULL; in read_file()
273 free(ctx->tmpname); in read_file()
331 (void)remove(ctx->tmpname); in read_file()
332 free(ctx->tmpname); in read_file()
333 ctx->tmpname = NULL; in read_file()
H A Dzip_source_win32handle.c111 ctx->tmpname = NULL; in _zip_source_win32_handle_or_name()
171 free(ctx->tmpname); in _win32_read_file()
172 ctx->tmpname = NULL; in _win32_read_file()
188 free(ctx->tmpname); in _win32_read_file()
250 ctx->ops->op_remove(ctx->tmpname); in _win32_read_file()
251 free(ctx->tmpname); in _win32_read_file()
252 ctx->tmpname = NULL; in _win32_read_file()
467 ctx->tmpname = temp; in _win32_create_temp_file()
H A Dzipwin32.h60 void *tmpname; /* name of temp file - ANSI (char *) or Unicode (wchar_t *) */ member
H A Dzip_source_win32a.c113 if (!MoveFileExA(ctx->tmpname, ctx->fname, MOVEFILE_REPLACE_EXISTING)) in _win32_rename_temp_a()
H A Dzip_source_win32w.c113 if (!MoveFileExW(ctx->tmpname, ctx->fname, MOVEFILE_REPLACE_EXISTING)) in _win32_rename_temp_w()
/PHP-7.1/ext/opcache/
H A Dconfig.m4229 char tmpname[4096];
231 sprintf(tmpname,"test.shm.%dXXXXXX", getpid());
232 if (mktemp(tmpname) == NULL) {
241 shm_unlink(tmpname);
249 shm_unlink(tmpname);
298 char tmpname[4096];
300 sprintf(tmpname,"test.shm.%dXXXXXX", getpid());
301 if (mktemp(tmpname) == NULL) {
304 fd = open(tmpname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
310 unlink(tmpname);
[all …]

Completed in 13 milliseconds