Searched refs:descriptor (Results 1 - 25 of 218) sorted by relevance

123456789

/netbsd-current/external/gpl3/gcc.old/dist/libbacktrace/
H A Dposix.c62 int descriptor; local
67 descriptor = open (filename, (int) (O_RDONLY | O_BINARY | O_CLOEXEC));
68 if (descriptor < 0)
82 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
85 return descriptor;
91 backtrace_close (int descriptor, backtrace_error_callback error_callback, argument
94 if (close (descriptor) < 0)
H A Dfileline.c60 int descriptor; local
84 descriptor = -1;
116 descriptor = backtrace_open (filename, error_callback, data,
118 if (descriptor < 0 && !does_not_exist)
123 if (descriptor >= 0)
127 if (descriptor < 0)
143 if (!backtrace_initialize (state, filename, descriptor, error_callback,
H A Dunknown.c58 int descriptor ATTRIBUTE_UNUSED,
H A Dread.c48 backtrace_get_view (struct backtrace_state *state, int descriptor, argument
61 if (lseek (descriptor, offset, SEEK_SET) < 0)
73 got = read (descriptor, view->base, size);
/netbsd-current/external/gpl3/gcc/dist/libbacktrace/
H A Dposix.c62 int descriptor; local
67 descriptor = open (filename, (int) (O_RDONLY | O_BINARY | O_CLOEXEC));
68 if (descriptor < 0)
86 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
89 return descriptor;
95 backtrace_close (int descriptor, backtrace_error_callback error_callback, argument
98 if (close (descriptor) < 0)
H A Dunknown.c58 int descriptor ATTRIBUTE_UNUSED,
H A Dread.c48 backtrace_get_view (struct backtrace_state *state, int descriptor, argument
62 if (lseek (descriptor, offset, SEEK_SET) < 0)
77 r = read (descriptor, view->base, size - got);
/netbsd-current/external/gpl3/gdb/dist/libbacktrace/
H A Dposix.c62 int descriptor; local
67 descriptor = open (filename, (int) (O_RDONLY | O_BINARY | O_CLOEXEC));
68 if (descriptor < 0)
86 fcntl (descriptor, F_SETFD, FD_CLOEXEC);
89 return descriptor;
95 backtrace_close (int descriptor, backtrace_error_callback error_callback, argument
98 if (close (descriptor) < 0)
H A Dunknown.c58 int descriptor ATTRIBUTE_UNUSED,
H A Dread.c48 backtrace_get_view (struct backtrace_state *state, int descriptor, argument
62 if (lseek (descriptor, offset, SEEK_SET) < 0)
77 r = read (descriptor, view->base, size - got);
/netbsd-current/external/gpl3/binutils/dist/gold/
H A Ddescriptors.h40 // 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
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
57 release(int descriptor, bool permanent);
64 // Information kept for a descriptor.
67 // File name currently associated with descriptor
104 open_descriptor(int descriptor, const char* name, int flags, int mode = 0) argument
108 release_descriptor(int descriptor, bool permanent) argument
[all...]
H A Ddescriptors.cc76 Descriptors::open(int descriptor, const char* name, int flags, int mode) argument
84 gold_assert(lock_initialized || descriptor < 0);
89 if (descriptor >= 0)
93 gold_assert(static_cast<size_t>(descriptor)
95 Open_descriptor* pod = &this->open_descriptors_[descriptor];
101 if (descriptor == this->stack_top_)
107 gold_debug(DEBUG_FILES, "Reused existing descriptor %d for \"%s\"",
108 descriptor, name);
109 return descriptor;
127 if (descriptor >
196 release(int descriptor, bool permanent) argument
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/gold/
H A Ddescriptors.h40 // 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
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
57 release(int descriptor, bool permanent);
64 // Information kept for a descriptor.
67 // File name currently associated with descriptor
104 open_descriptor(int descriptor, const char* name, int flags, int mode = 0) argument
108 release_descriptor(int descriptor, bool permanent) argument
[all...]
H A Ddescriptors.cc76 Descriptors::open(int descriptor, const char* name, int flags, int mode) argument
84 gold_assert(lock_initialized || descriptor < 0);
89 if (descriptor >= 0)
93 gold_assert(static_cast<size_t>(descriptor)
95 Open_descriptor* pod = &this->open_descriptors_[descriptor];
101 if (descriptor == this->stack_top_)
107 gold_debug(DEBUG_FILES, "Reused existing descriptor %d for \"%s\"",
108 descriptor, name);
109 return descriptor;
127 if (descriptor >
196 release(int descriptor, bool permanent) argument
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gold/
H A Ddescriptors.h40 // 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
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
57 release(int descriptor, bool permanent);
64 // Information kept for a descriptor.
67 // File name currently associated with descriptor
104 open_descriptor(int descriptor, const char* name, int flags, int mode = 0) argument
108 release_descriptor(int descriptor, bool permanent) argument
[all...]
H A Ddescriptors.cc76 Descriptors::open(int descriptor, const char* name, int flags, int mode) argument
84 gold_assert(lock_initialized || descriptor < 0);
89 if (descriptor >= 0)
93 gold_assert(static_cast<size_t>(descriptor)
95 Open_descriptor* pod = &this->open_descriptors_[descriptor];
101 if (descriptor == this->stack_top_)
107 gold_debug(DEBUG_FILES, "Reused existing descriptor %d for \"%s\"",
108 descriptor, name);
109 return descriptor;
127 if (descriptor >
196 release(int descriptor, bool permanent) argument
[all...]
/netbsd-current/external/bsd/jemalloc/dist/include/jemalloc/internal/
H A Dcache_bin.h80 cache_bin_array_descriptor_init(cache_bin_array_descriptor_t *descriptor, argument
82 ql_elm_new(descriptor, link);
83 descriptor->bins_small = bins_small;
84 descriptor->bins_large = bins_large;
/netbsd-current/external/bsd/jemalloc/include/jemalloc/internal/
H A Dcache_bin.h80 cache_bin_array_descriptor_init(cache_bin_array_descriptor_t *descriptor, argument
82 ql_elm_new(descriptor, link);
83 descriptor->bins_small = bins_small;
84 descriptor->bins_large = bins_large;
/netbsd-current/external/bsd/nsd/dist/
H A Drdata.h46 size_t rdata_maximum_wireformat_size(rrtype_descriptor_type *descriptor,
51 rrtype_descriptor_type *descriptor,
58 int print_rdata(buffer_type *output, rrtype_descriptor_type *descriptor,
/netbsd-current/sys/arch/powerpc/powerpc/
H A Dofwmagic.S43 # note descriptor size
54 # note descriptor
74 # note descriptor size
/netbsd-current/sys/arch/x86/include/
H A Dsysarch.h92 union descriptor *desc;
98 union descriptor *desc;
128 int x86_get_ldt1(struct lwp *, struct x86_get_ldt_args *, union descriptor *);
129 int x86_set_ldt1(struct lwp *, struct x86_set_ldt_args *, union descriptor *);
135 int _X86_SYSARCH_L(get_ldt)(int, union descriptor *, int);
136 int _X86_SYSARCH_L(set_ldt)(int, union descriptor *, int);
H A Dgdt.h65 #define MAX_USERLDT_SLOTS (int)(MAX_USERLDT_SIZE / sizeof(union descriptor))
/netbsd-current/lib/libarch/i386/
H A Di386_get_ldt.c39 i386_get_ldt(int start, union descriptor *desc, int num)
H A Di386_set_ldt.c39 i386_set_ldt(int start, union descriptor *desc, int num)
/netbsd-current/external/gpl3/gdb.old/dist/sim/ppc/
H A Demul_bugapi.c408 } descriptor; local
410 emul_read_buffer(&descriptor, descriptor_addr, sizeof(descriptor),
412 T2H(descriptor.ctrl_lun);
413 T2H(descriptor.dev_lun);
414 T2H(descriptor.status);
415 T2H(descriptor.pbuffer);
416 T2H(descriptor.blk_num);
417 T2H(descriptor.blk_cnt);
418 T2H(descriptor
[all...]

Completed in 375 milliseconds

123456789