OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:wantfd
(Results
1 - 3
of
3
) sorted by null
/bionic/libc/stdio/
stdio.cpp
275
int isopen,
wantfd
;
local
279
wantfd
= -1;
286
if ((
wantfd
= fp->_file) < 0 && isopen) {
308
if (isopen && fd !=
wantfd
) (*fp->_close)(fp->_cookie);
331
if (
wantfd
>= 0 && fd !=
wantfd
) {
332
if (dup3(fd,
wantfd
, oflags & O_CLOEXEC) >= 0) {
334
fd =
wantfd
;
/prebuilts/go/darwin-x86/src/os/exec/
exec_test.go
673
for
wantfd
:= basefds() + 1;
wantfd
<= 100;
wantfd
++ {
676
fmt.Printf("error opening file with expected fd %d: %v",
wantfd
, err)
679
if got := f.Fd(); got !=
wantfd
{
680
fmt.Printf("leaked parent file. fd = %d; want %d\n", got,
wantfd
)
700
// executing the
wantfd
loop above. It doesn't matter
/prebuilts/go/linux-x86/src/os/exec/
exec_test.go
673
for
wantfd
:= basefds() + 1;
wantfd
<= 100;
wantfd
++ {
676
fmt.Printf("error opening file with expected fd %d: %v",
wantfd
, err)
679
if got := f.Fd(); got !=
wantfd
{
680
fmt.Printf("leaked parent file. fd = %d; want %d\n", got,
wantfd
)
700
// executing the
wantfd
loop above. It doesn't matter
Completed in 93 milliseconds