/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppSendFileInfo.java | 152 AssetFileDescriptor fd = contentResolver.openAssetFileDescriptor(uri, "r"); local 153 long statLength = fd.getLength(); 163 is = fd.createInputStream(); 166 fd.close();
|
/bionic/libc/kernel/arch-arm/asm/ |
poll.h | 39 int fd; member in struct:pollfd
|
/bionic/libc/kernel/common/asm-generic/ |
poll.h | 51 int fd; member in struct:pollfd
|
/bionic/libc/kernel/common/linux/ |
genlock.h | 29 int fd; member in struct:genlock_lock
|
if_pppol2tp.h | 25 int fd; member in struct:pppol2tp_addr 34 int fd; member in struct:pppol2tpv3_addr
|
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
mktemp.c | 58 int fd; local 60 return (_gettemp(path, &fd, 0, slen) ? fd : -1); 66 int fd; local 68 return (_gettemp(path, &fd, 0, 0) ? fd : -1);
|
/bionic/libc/upstream-netbsd/libc/gen/ |
popen.c | 71 int fd; member in struct:pid 133 close(old->fd); /* don't allow a flush */ 164 cur->fd = pdes[0]; 170 cur->fd = pdes[1];
|
/bionic/tests/ |
stdio_test.cpp | 29 int fd = fileno(fp); local 30 ASSERT_NE(fd, -1); 33 int rc = fstat(fd, &sb);
|
/bootable/recovery/tools/ota/ |
check-lost+found.c | 66 int fd = open(kMarkerFile, O_WRONLY|O_CREAT, 0444); local 67 if (fd >= 0 && close(fd) == 0) { 78 fd = open(fn, O_WRONLY|O_CREAT, 0444); 79 if (fd >= 0) { // Don't sweat it if we can't write the file. 80 write(fd, fn, sizeof(fn)); // write, you know, some data 81 close(fd);
|
/bootable/recovery/updater/ |
updater.c | 62 int fd = atoi(argv[2]); local 63 FILE* cmd_pipe = fdopen(fd, "wb");
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
poll.h | 31 int fd; member in struct:pollfd
|
/development/ndk/platforms/android-3/include/asm-generic/ |
poll.h | 41 int fd; member in struct:pollfd
|
/device/asus/flo/camera/QCamera2/HAL3/ |
QCamera3Mem.h | 67 int fd; member in struct:qcamera::QCamera3Memory::QCamera3MemInfo
|
/device/lge/hammerhead/libsensors/ |
LightSensor.cpp | 54 int fd; local 60 fd = open(sysfs, O_RDWR); 61 if (fd >= 0) { 64 write(fd, buf, sizeof(buf)); 65 close(fd); 88 int fd = open(sysfs, O_RDWR); local 89 if (fd < 0) { 98 write(fd, buf, sizeof(buf)); 99 close(fd);
|
ProximitySensor.cpp | 69 int fd = open(sysfs, O_RDWR); local 70 if (fd < 0) { 79 write(fd, buf, sizeof(buf)); 80 close(fd);
|
/device/samsung/manta/libsensors/ |
IioSensorBase.cpp | 127 int fd; local 128 fd = open(mInputSysfsEnable, O_RDWR); 129 if (fd >= 0) { 130 err = write(fd, en ? "1" : "0", 2); 131 close(fd); 148 int fd; local 156 fd = open(mInputSysfsSamplingFrequency, O_RDWR); 157 if (fd < 0) { 163 write(fd, buf, strlen(buf)+1); 164 close(fd); [all...] |
/external/blktrace/btt/ |
mmap.c | 35 static int fd; variable 91 cur_map = mmap(NULL, len, PROT_READ, MAP_SHARED, fd, 108 fd = my_open(fname, O_RDONLY); 109 if (fd < 0) { 113 if (fstat(fd, &buf) < 0) { 127 close(fd);
|
/external/bluetooth/bluedroid/bta/include/ |
bta_fs_ci.h | 39 int fd; member in struct:__anon3109 48 int fd; member in struct:__anon3110 57 int fd; member in struct:__anon3111 107 ** Parameters fd - file descriptor passed to the stack in the 116 BTA_API extern void bta_fs_ci_write(int fd, tBTA_FS_CO_STATUS status, UINT16 evt); 128 ** Parameters fd - file descriptor passed to the stack in the 141 BTA_API extern void bta_fs_ci_read(int fd, UINT16 num_bytes_read, 151 ** Parameters fd - file descriptor passed to the stack in the 165 BTA_API extern void bta_fs_ci_open(int fd, tBTA_FS_CO_STATUS status, 233 ** Parameters fd - file descriptor passed to the stack in th [all...] |
/external/chromium/chrome/browser/chromeos/ |
external_metrics_unittest.cc | 25 int fd = open(path, O_CREAT | O_APPEND | O_WRONLY, 0666); local 28 num_bytes = write(fd, &l, sizeof(l)); 29 num_bytes = write(fd, name, strlen(name) + 1); 30 num_bytes = write(fd, value, strlen(value) + 1); 31 close(fd); 109 int fd = open(path, O_CREAT | O_WRONLY, 0666); local 110 EXPECT_GT(fd, 0); 111 EXPECT_EQ(static_cast<int>(sizeof(i)), write(fd, &i, sizeof(i))); 112 EXPECT_EQ(i, write(fd, b, i)); 113 EXPECT_EQ(0, close(fd)); [all...] |
/external/chromium_org/android_webview/renderer/ |
print_web_view_helper_linux.cc | 106 base::FileDescriptor fd; local 110 &fd, 112 if (!metafile.SaveToFD(fd)) 147 printed_page_params.metafile_data_handle.fd = -1;
|
/external/chromium_org/base/debug/ |
proc_maps_linux.cc | 48 int fd = HANDLE_EINTR(open("/proc/self/maps", O_RDONLY)); local 49 if (fd == -1) { 53 file_util::ScopedFD fd_closer(&fd); 63 ssize_t bytes_read = HANDLE_EINTR(read(fd, buffer, kReadSize));
|
/external/chromium_org/chrome/browser/chromeos/ |
external_metrics_unittest.cc | 25 int fd = open(path, O_CREAT | O_APPEND | O_WRONLY, 0666); local 28 num_bytes += write(fd, &l, sizeof(l)); 29 num_bytes += write(fd, name, strlen(name) + 1); 30 num_bytes += write(fd, value, strlen(value) + 1); 32 close(fd); 110 int fd = open(path, O_CREAT | O_WRONLY, 0666); local 111 EXPECT_GT(fd, 0); 112 EXPECT_EQ(static_cast<int>(sizeof(i)), write(fd, &i, sizeof(i))); 113 EXPECT_EQ(i, write(fd, b, i)); 114 EXPECT_EQ(0, close(fd)); [all...] |
/external/chromium_org/chrome/renderer/printing/ |
print_web_view_helper_linux.cc | 104 base::FileDescriptor fd; local 108 &fd, 110 if (!metafile.SaveToFD(fd)) 145 printed_page_params.metafile_data_handle.fd = -1;
|
/external/chromium_org/ipc/ |
unix_domain_socket_util.cc | 27 // Returns fd (>= 0) on success, -1 on failure. If successful, fills in 48 int fd = socket(AF_UNIX, SOCK_STREAM, 0); local 49 if (fd < 0) { 53 file_util::ScopedFD scoped_fd(&fd); 56 if (HANDLE_EINTR(fcntl(fd, F_SETFL, O_NONBLOCK)) < 0) { 81 int fd = MakeUnixAddrForPath(socket_name, &unix_addr, &unix_addr_len); local 82 if (fd < 0) 84 file_util::ScopedFD scoped_fd(&fd); 99 if (bind(fd, reinterpret_cast<const sockaddr*>(&unix_addr), 106 if (listen(fd, SOMAXCONN) < 0) 125 int fd = MakeUnixAddrForPath(socket_name, &unix_addr, &unix_addr_len); local [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
ssldef.c | 22 PRFileDesc *lower = ss->fd->lower; 31 PRFileDesc *lower = ss->fd->lower; 40 PRFileDesc *lower = ss->fd->lower; 49 PRFileDesc *lower = ss->fd->lower; 58 PRFileDesc *lower = ss->fd->lower; 81 PRFileDesc *lower = ss->fd->lower; 120 PRFileDesc *lower = ss->fd->lower; 133 PRFileDesc *lower = ss->fd->lower; 158 PRFileDesc *lower = ss->fd->lower; 167 PRFileDesc *lower = ss->fd->lower 176 PRFileDesc *fd; local [all...] |