Searched refs:fd (Results 1 – 8 of 8) sorted by relevance
/development/tools/line_endings/ |
D | line_endings.c | 46 int fd; in main() local 52 fd = open(argv[i], O_RDWR); in main() 53 if (fd < 0) { in main() 58 len = lseek(fd, 0, SEEK_END); in main() 59 lseek(fd, 0, SEEK_SET); in main() 74 amt = read(fd, buf, amt2); in main() 91 (void)ftruncate(fd, 0); in main() 92 lseek(fd, 0, SEEK_SET); in main() 96 ssize_t amt = write(fd, root->buf, amt2); in main() 107 close(fd); in main()
|
/development/scripts/ |
D | native_heapdump_viewer.py | 343 fd = FrameDescription("???", "???", lib) 345 resolved_addrs[addr] = fd 373 fd = Addr2Line(resolved_addrs, node.addr) 380 …total_percent, parent_percent, node.number, indent, node.addr, fd.library, fd.function, fd.locatio… 386 fd = Addr2Line(resolved_addrs, node.addr) 388 lib = fd.library 390 lib = os.path.basename(fd.library) 394 …f%% %6d %s%s %s %s" % (node.size, total_percent, node.number, extra, lib, fd.function, fd.location)
|
D | usb-reset-by-serial.py | 60 fd = open(device, "wb") 65 fcntl.ioctl(fd, USBDEVFS_RESET, 0) 66 fd.close()
|
D | native_heapdump_viewer_tests.py | 29 fd, self._tmp_file_name = tempfile.mkstemp() 30 os.write(fd, contents.encode()) 31 os.close(fd)
|
/development/tools/privapp_permissions/ |
D | privapp_permissions.py | 511 def print_xml(results, apps_redefine_base, fd=sys.stdout): argument 513 fd.write('<?xml version="1.0" encoding="utf-8"?>\n<permissions>\n') 516 fd.write(' <!-- Additional permissions on top of %s -->\n' % 518 fd.write(' <privapp-permissions package="%s">\n' % package_name) 520 fd.write(' <permission name="%s"/>\n' % p) 521 fd.write(' </privapp-permissions>\n') 522 fd.write('\n') 524 fd.write('</permissions>\n')
|
/development/gsi/gsi_util/gsi_util/utils/ |
D | file_utils.py | 37 fd, path = tempfile.mkstemp(**kwargs) 38 os.close(fd)
|
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/ |
D | ImageCache.java | 335 FileDescriptor fd = ((FileInputStream) inputStream).getFD(); in getBitmapFromDiskCache() local 340 fd, Integer.MAX_VALUE, Integer.MAX_VALUE, this); in getBitmapFromDiskCache()
|
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/ |
D | commit.csv | 196 …7d2d894b01c632398229ddf03c2,platform/external/squashfs-tools,plougher,Move fd assignment out of if… 259 …ead_bytes() to read_fs_bytes() to be consistent with mksquashfs. Also pass fd explicitly into func… 389 …re/qcom/display,fake_cyjulxrCQhS0nmL58OGayA@fakeemail.com,libmemtrack: Fix fd leak in kgsl function 412 …display,fake_bMCOe3XKSl6teJt6Ic6S3Q@fakeemail.com,hwc2: Close acquire fence fd of vds output buffer 2900 …cts,fake_RbxZHO0QQ_mTcefdD3jXfw@fakeemail.com,DO NOT MERGE: CameraITS: add fd to sensor fusion tes… 4141 …platform/cts,fake_Km5ZWA5PSumVlNuUPkpD2A@fakeemail.com,AslrTest: Close the fd from executeShellCom… 5462 …system/core,fake_2WtgoE0TTX2s7xIcFgMLPw@fakeemail.com,healthd: move binder fd to not use EPOLLWAKE… 5768 …31,platform/system/core,fake_hrLg6uvZRAmxPEvIe67S0A@fakeemail.com,adb: fix fd leak when shell fail… 5817 …core,fake_hrLg6uvZRAmxPEvIe67S0A@fakeemail.com,crash_dump: use /proc/<pid> fd to check tid process… 5898 …system/core,fake_hrLg6uvZRAmxPEvIe67S0A@fakeemail.com,adbd: fix spurious close of uninitialized fd. [all …]
|