Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 20 of 20) sorted by relevance

/build/kati/
Dfile.cc31 int fd = open(filename.c_str(), O_RDONLY); in Makefile() local
32 if (fd < 0) { in Makefile()
37 if (fstat(fd, &st) < 0) { in Makefile()
45 ssize_t r = HANDLE_EINTR(read(fd, &buf_[0], len)); in Makefile()
52 if (close(fd) < 0) { in Makefile()
Dfileutil.cc119 int fd = open("/dev/null", O_WRONLY); in RunCommand() local
120 if (dup2(fd, 2) < 0) in RunCommand()
122 close(fd); in RunCommand()
Dfunc.cc703 int fd = open(filename.c_str(), O_RDONLY); in FileReadFunc() local
704 if (fd < 0) { in FileReadFunc()
719 if (fstat(fd, &st) < 0) { in FileReadFunc()
726 ssize_t r = HANDLE_EINTR(read(fd, &out[0], len)); in FileReadFunc()
731 if (close(fd) < 0) { in FileReadFunc()
Dninja.cc756 for (StringPiece fd : cr->find->finddirs) { in GenerateStamp() local
757 const string& d = ConcatDir(cr->find->chdir, fd); in GenerateStamp()
/build/make/target/board/generic/sepolicy/
Dhal_drm_widevine.te8 allow hal_drm mediacodec:fd use;
9 allow hal_drm { appdomain -isolated_app }:fd use;
Dcameraserver.te2 allow cameraserver hal_allocator:fd use;
Ddhcpserver.te8 allow dhcpserver execns:fd use;
Dcreatens.te13 allow createns goldfish_setup:fd use;
Ddhcpclient.te8 allow dhcpclient execns:fd use;
Dipv6proxy.te10 allow ipv6proxy execns:fd use;
/build/make/core/
Dchecktree53 fd = os.popen(command);
54 lines = fd.readlines()
55 status = fd.close()
/build/make/tools/makeparallel/
Dmakeparallel.cpp49 static void CheckFd(int fd) { in CheckFd() argument
50 int ret = fcntl(fd, F_GETFD); in CheckFd()
179 static bool ReadByteTimeout(int fd, int timeout_ms) { in ReadByteTimeout() argument
184 dup_fd = dup(fd); in ReadByteTimeout()
/build/soong/finder/fs/
Dreaddir.go41 fd := int(f.Fd())
47 n, errno := syscall.ReadDirent(fd, buf)
/build/make/tools/zipalign/
DZipFile.cpp1150 time_t ZipFile::getModTime(int fd) in getModTime() argument
1154 if (fstat(fd, &sb) < 0) { in getModTime()
1155 ALOGD("HEY: fstat on fd %d failed\n", fd); in getModTime()
1177 int fd;
1178 fd = dup(fileno(mZipFp));
1179 if (fd < 0) {
1183 return fd;
DZipFile.h236 time_t getModTime(int fd);
/build/make/tools/releasetools/
Dsparse_img.py170 def WriteRangeDataToFd(self, ranges, fd): argument
172 fd.write(data)
Dblockimgdiff.py68 def WriteRangeDataToFd(self, ranges, fd): argument
95 def WriteRangeDataToFd(self, ranges, fd): argument
179 def WriteRangeDataToFd(self, ranges, fd): argument
181 fd.write(data)
896 with open(src_file, "wb") as fd:
897 self.src.WriteRangeDataToFd(src_ranges, fd)
900 with open(tgt_file, "wb") as fd:
901 self.tgt.WriteRangeDataToFd(tgt_ranges, fd)
Dcommon.py1039 fd, fn = tempfile.mkstemp(prefix=prefix, suffix=suffix)
1040 os.close(fd)
/build/soong/third_party/zip/
Dreader_test.go652 00001f0 df ec a7 fc 23 4c 8d 83 79 63 2a d9 fd 8d b3 c8
653 0000200 8f 7e d4 19 85 e6 8d 1c 76 f0 8b 58 32 fd 9a d6
685 0000400 e1 42 1b d2 61 d6 79 ec fd 3e 44 28 a4 51 6c 5c
691 0000460 18 a6 83 1b e3 9f ad 79 fe fd 1b 8b f1 fc 41 6f
/build/make/tools/droiddoc/templates-pdk/assets/
Dprettify.js7 bd="c",cd="cc",dd="cpp",ed="cxx",fd="cyc",gd="m",hd="null true false",id="json",jd="break continue …