Home | History | Annotate | Download | only in gold

Lines Matching refs:descriptor

40   // Get a file descriptor for a file.  The DESCRIPTOR parameter is
41 // the descriptor the last time the file was used; this will be -1
44 // permanent storage. This returns the descriptor to use, which may
45 // or may not be the same as DESCRIPTOR. If there is an error
49 open(int descriptor, const char* name, int flags, int mode = 0);
51 // Release the file descriptor DESCRIPTOR. If PERMANENT is true, it
53 // is false this doesn't necessarily close the descriptor, but it
54 // makes it available to be closed; the descriptor must not be used
55 // again except as an argument to Descriptor::open.
57 release(int descriptor, bool permanent);
64 // Information kept for a descriptor.
67 // File name currently associated with descriptor. This is empty
70 // Index of next descriptor on stack of released descriptors.
72 // Whether the descriptor is currently in use.
74 // Whether this is a write descriptor.
76 // Whether the descriptor is on the stack.
104 open_descriptor(int descriptor, const char* name, int flags, int mode = 0)
105 { return descriptors.open(descriptor, name, flags, mode); }
108 release_descriptor(int descriptor, bool permanent)
109 { descriptors.release(descriptor, permanent); }