Home
last modified time | relevance | path

Searched refs:tempfd (Results 1 – 5 of 5) sorted by relevance

/external/libcups/tools/
Dippeveps.c782 int tempfd; /* Temporary file descriptor */ in pdf_to_ps() local
795 if ((tempfd = cupsTempFd(tempfile, sizeof(tempfile))) < 0) in pdf_to_ps()
831 dup2(tempfd, 1); in pdf_to_ps()
832 close(tempfd); in pdf_to_ps()
845 close(tempfd); in pdf_to_ps()
856 close(tempfd); in pdf_to_ps()
/external/python/asn1crypto/dev/
Dcoverage.py537 tempfd, tempf_path = tempfile.mkstemp('-coverage')
538 os.write(tempfd, data or b'')
539 os.close(tempfd)
/external/libcups/scheduler/
Dcupsfilter.c1230 int tempfd; /* Temporary file */ in get_job_file() local
1282 if ((tempfd = cupsTempFd(TempFile, sizeof(TempFile))) == -1) in get_job_file()
1291 ippDelete(cupsDoIORequest(http, request, "/", -1, tempfd)); in get_job_file()
1293 close(tempfd); in get_job_file()
Dipp.c4434 int tempfd; /* Temporary PPD file descriptor */ in copy_model() local
4470 tempfd = open(tempfile, O_WRONLY | O_CREAT | O_TRUNC, 0600); in copy_model()
4471 if (tempfd < 0 || cupsdOpenPipe(temppipe)) in copy_model()
4480 close(tempfd); in copy_model()
4536 if (write(tempfd, buffer, (size_t)bytes) < bytes) in copy_model()
4550 close(tempfd); in copy_model()
/external/libcups/cgi-bin/
Dadmin.c1529 int tempfd; /* Temporary file descriptor */ in do_config_server() local
1539 if ((tempfd = cupsTempFd(tempfile, sizeof(tempfile))) < 0) in do_config_server()
1551 if ((temp = cupsFileOpenFd(tempfd, "w")) == NULL) in do_config_server()
1560 close(tempfd); in do_config_server()