Searched refs:tmpfd (Results 1 – 6 of 6) sorted by relevance
/external/openssh/ |
D | auth-krb5.c | 243 int tmpfd, ret, oerrno; in ssh_krb5_cc_gen() local 253 tmpfd = mkstemp(ccname + strlen("FILE:")); in ssh_krb5_cc_gen() 256 if (tmpfd == -1) { in ssh_krb5_cc_gen() 261 if (fchmod(tmpfd,S_IRUSR | S_IWUSR) == -1) { in ssh_krb5_cc_gen() 264 close(tmpfd); in ssh_krb5_cc_gen() 267 close(tmpfd); in ssh_krb5_cc_gen()
|
/external/curl/tests/libtest/ |
D | lib537.c | 103 int *tmpfd; local 370 tmpfd = realloc(fd, sizeof(*fd) * (size_t)(num_open.rlim_max)); 371 if(tmpfd) { 372 fd = tmpfd; 373 tmpfd = NULL;
|
/external/rust/crates/nix/test/ |
D | test_unistd.rs | 513 let tmpfd = tmp.into_raw_fd(); in test_lseek() localVariable 516 lseek(tmpfd, offset, Whence::SeekSet).unwrap(); in test_lseek() 519 crate::read_exact(tmpfd, &mut buf); in test_lseek() 522 close(tmpfd).unwrap(); in test_lseek() 531 let tmpfd = tmp.into_raw_fd(); in test_lseek64() localVariable 533 lseek64(tmpfd, 5, Whence::SeekSet).unwrap(); in test_lseek64() 536 crate::read_exact(tmpfd, &mut buf); in test_lseek64() 539 close(tmpfd).unwrap(); in test_lseek64() 675 let tmpfd = { in test_ftruncate() localVariable 682 ftruncate(tmpfd, 2).unwrap(); in test_ftruncate() [all …]
|
/external/autotest/server/ |
D | base_utils.py | 104 tmpfd, tmpfile = tempfile.mkstemp(dir=tmpdir) 105 tmpfileobj = os.fdopen(tmpfd, 'w')
|
/external/python/httplib2/tests/ |
D | test_cacerts_from_env.py | 26 tmpfd, tmpfile = tempfile.mkstemp()
|
/external/toybox/toys/pending/ |
D | diff.c | 186 int tmpfd = xtempfile("stdin", &tmp_name); in read_stdin() local 191 xsendfile(0, tmpfd); in read_stdin() 192 return fdopen(tmpfd, "r"); in read_stdin()
|