/external/bison/lib/ |
H A D | spawn_faction_adddup2.c | 37 int fd, int newfd) 43 if (fd < 0 || newfd < 0 || fd >= maxfd || newfd >= maxfd) 47 return posix_spawn_file_actions_adddup2 (file_actions, fd, newfd); 61 rec->action.dup2_action.fd = fd; 36 posix_spawn_file_actions_adddup2(posix_spawn_file_actions_t *file_actions, int fd, int newfd) argument
|
H A D | spawn_faction_addopen.c | 37 int fd, const char *path, int oflag, 44 if (fd < 0 || fd >= maxfd) 48 return posix_spawn_file_actions_addopen (file_actions, fd, path, oflag, mode); 62 rec->action.open_action.fd = fd; 36 posix_spawn_file_actions_addopen(posix_spawn_file_actions_t *file_actions, int fd, const char *path, int oflag, mode_t mode) argument
|
H A D | spawn_int.h | 33 int fd; member in struct:__spawn_action::__anon357::__anon358 37 int fd; member in struct:__spawn_action::__anon357::__anon359 42 int fd; member in struct:__spawn_action::__anon357::__anon360
|
H A D | fopen-safer.c | 37 int fd = fileno (fp); local 39 if (0 <= fd && fd <= STDERR_FILENO) 41 int f = dup_safer (fd);
|
H A D | msvc-nothrow.h | 36 extern intptr_t _gl_nothrow_get_osfhandle (int fd);
|
/external/chromium_org/third_party/mesa/src/src/gbm/main/ |
H A D | common.c | 40 _gbm_udev_device_new_from_fd(struct udev *udev, int fd) argument 45 if (fstat(fd, &buf) < 0) { 46 fprintf(stderr, "gbm: failed to stat fd %d", fd); 53 "gbm: could not create udev device for fd %d", fd); 61 _gbm_fd_get_device_name(int fd) argument 69 device = _gbm_udev_device_new_from_fd(udev, fd);
|
/external/lldb/include/lldb/Host/ |
H A D | Terminal.h | 24 Terminal (int fd = -1) : 25 m_fd (fd) 43 SetFileDescriptor (int fd) argument 45 m_fd = fd; 92 /// Save the TTY state for \a fd. 94 /// Save the current state of the TTY for the file descriptor "fd" 98 /// @param[in] fd 106 /// Returns \b true if \a fd describes a TTY and if the state 110 Save (int fd, bool save_process_group); 222 /// The TTY state is saved for the file descriptor \a fd an [all...] |
/external/mesa3d/src/gbm/main/ |
H A D | common.c | 40 _gbm_udev_device_new_from_fd(struct udev *udev, int fd) argument 45 if (fstat(fd, &buf) < 0) { 46 fprintf(stderr, "gbm: failed to stat fd %d", fd); 53 "gbm: could not create udev device for fd %d", fd); 61 _gbm_fd_get_device_name(int fd) argument 69 device = _gbm_udev_device_new_from_fd(udev, fd);
|
/external/chromium_org/base/mac/ |
H A D | close_nocancel.cc | 68 int close_implementation(int fd); 70 int close_interface(int fd) { argument 71 return close_implementation(fd);
|
/external/chromium_org/ui/events/ozone/evdev/ |
H A D | event_converter_evdev.cc | 13 EventConverterEvdev::EventConverterEvdev(int fd, const base::FilePath& path) argument 14 : fd_(fd), path_(path) { 30 void EventConverterEvdev::OnFileCanWriteWithoutBlocking(int fd) { argument
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | llseek.c | 42 extern long long llseek (int fd, long long offset, int origin); 65 static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high, 70 static ext2_loff_t my_llseek (int fd, ext2_loff_t offset, int origin) argument 76 retval = _llseek(fd, ((unsigned long long) offset) >> 32, 78 retval = syscall(__NR__llseek, fd, (unsigned long long) (offset >> 32), 90 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) argument 93 return my_llseek (fd, offset, origin); 101 result = my_llseek (fd, offset, origin); 110 return lseek(fd, (off_t) offset, origin); 124 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_ argument [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
H A D | kernel_wrap_dummy.cc | 18 int _real_close(int fd) { argument 22 int _real_fstat(int fd, struct stat* buf) { argument 26 int _real_getdents(int fd, void* nacl_buf, size_t nacl_count, size_t* nread) { argument 30 int _real_lseek(int fd, off_t offset, int whence, off_t* new_offset) { argument 42 int fd, 55 int _real_open_resource(const char* file, int* fd) { argument 59 int _real_read(int fd, void* buf, size_t count, size_t* nread) { argument 68 int _real_write(int fd, const void* buf, size_t count, size_t* nwrote) { argument 69 int rtn = write(fd, buf, count); 38 _real_mmap(void** addr, size_t length, int prot, int flags, int fd, off_t offset) argument
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
H A D | tcflow.c | 17 int tcflow(int fd, int action) { argument
|
H A D | tcsendbreak.c | 19 int tcsendbreak(int fd, int duration) { argument
|
/external/chromium_org/net/tools/quic/ |
H A D | quic_default_packet_writer.h | 21 explicit QuicDefaultPacketWriter(int fd); 33 void set_fd(int fd) { fd_ = fd; } argument 39 int fd() { return fd_; } function in class:net::tools::QuicDefaultPacketWriter
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_ashmem.cpp | 22 int fd = TEMP_FAILURE_RETRY(open("/dev/ashmem", O_RDWR)); local 23 if (fd < 0) 26 if (ioctl(fd, ASHMEM_SET_SIZE, region_size) < 0) 32 if (ioctl(fd, ASHMEM_SET_NAME, buf) < 0) 36 Reset(fd); 40 ::close(fd); 49 bool AshmemRegion::CheckFileDescriptorIsReadOnly(int fd) { argument 55 if (map.Allocate(NULL, map_size, MemoryMapping::CAN_WRITE, fd)) { 69 if (!map.Allocate(NULL, map_size, MemoryMapping::CAN_READ, fd)) {
|
H A D | crazy_linker_ashmem.h | 19 int fd() const { return fd_; } function in class:crazy::AshmemRegion 27 void Reset(int fd) { argument 31 fd_ = fd; 44 // Check that the region tied to file descriptor |fd| is properly read-only: 53 static bool CheckFileDescriptorIsReadOnly(int fd);
|
/external/chromium_org/third_party/libva/va/drm/ |
H A D | va_drm_auth_x11.h | 33 va_drm_authenticate_x11(int fd, uint32_t magic);
|
/external/chromium_org/third_party/libva/va/ |
H A D | va_drmcommon.h | 66 int fd; member in struct:drm_state
|
/external/chromium_org/third_party/mesa/src/src/gallium/targets/egl-static/ |
H A D | egl_pipe.h | 35 egl_pipe_create_drm_screen(const char *name, int fd);
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/fbdev/ |
H A D | fbdev_sw_winsys.h | 43 fbdev_create_sw_winsys(int fd);
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/wayland/ |
H A D | wayland_sw_winsys.h | 33 int fd; member in struct:winsys_handle
|
/external/chromium_org/third_party/pexpect/ |
H A D | fdpexpect.py | 34 def __init__ (self, fd, args=[], timeout=30, maxread=2000, searchwindowsize=None, logfile=None): 43 if type(fd) != type(0) and hasattr(fd, 'fileno'): 44 fd = fd.fileno() 46 if type(fd) != type(0): 47 raise ExceptionPexpect ('The fd argument is not an int. If this is a command string then maybe you want to use pexpect.spawn.') 49 try: # make sure fd is a valid file descriptor 50 os.fstat(fd) 52 raise ExceptionPexpect, 'The fd argumen [all...] |
/external/compiler-rt/test/asan/TestCases/Posix/ |
H A D | readv.cc | 26 int fd = open("/etc/hosts", O_RDONLY); local 27 assert(fd > 0); 28 readv(fd, iov, 2); 30 close(fd);
|
/external/compiler-rt/test/msan/ |
H A D | ioctl_sound.cc | 16 int fd = open("/dev/snd/controlC0", O_RDONLY); local 17 if (fd < 0) { 24 assert(ioctl(fd, SNDRV_CTL_IOCTL_CARD_INFO, info) >= 0); 26 close(fd);
|