Home
last modified time | relevance | path

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

/build/soong/cmd/release_config/release_config_lib/
Dflag_declaration.go21 func FlagDeclarationFactory(protoPath string) (fd *rc_proto.FlagDeclaration) {
22 fd = &rc_proto.FlagDeclaration{}
24 LoadMessage(protoPath, fd)
26 return fd
Dflag_artifact.go51 fd := &rc_proto.FlagDeclaration{}
53 FlagDeclaration: fd,
58 LoadMessage(declPath, fd)
59 fa.Value = fd.GetValue()
/build/make/tools/releasetools/
Dimages.py33 def WriteRangeDataToFd(self, ranges, fd): argument
61 def WriteRangeDataToFd(self, ranges, fd): argument
144 def WriteRangeDataToFd(self, ranges, fd): argument
146 fd.write(data)
215 def WriteRangeDataToFd(self, ranges, fd): argument
217 fd.write(data)
Dsparse_img.py184 def WriteRangeDataToFd(self, ranges, fd): argument
186 fd.write(data)
Dblockimgdiff.py1152 with open(src_file, "wb") as fd:
1153 self.src.WriteRangeDataToFd(xf.src_ranges, fd)
1156 with open(tgt_file, "wb") as fd:
1157 self.tgt.WriteRangeDataToFd(xf.tgt_ranges, fd)
Dcommon.py2832 fd, fn = tempfile.mkstemp(prefix=prefix, suffix=suffix)
2833 os.close(fd)
3075 fd, new_zipfile = tempfile.mkstemp(dir=os.path.dirname(input_zip))
3076 os.close(fd)
/build/make/core/
Dchecktree53 fd = os.popen(command);
54 lines = fd.readlines()
55 status = fd.close()
/build/make/tools/aconfig/aconfig_storage_write_api/
Daconfig_storage_write_api.cpp29 const int fd = open(file.c_str(), O_RDWR | O_NOFOLLOW | O_CLOEXEC); in map_mutable_storage_file() local
30 if (fd == -1) { in map_mutable_storage_file()
35 mmap(nullptr, file_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in map_mutable_storage_file()
/build/make/tools/aconfig/aconfig_storage_read_api/
Daconfig_storage_read_api.cpp62 int fd = open(file.c_str(), O_CLOEXEC | O_NOFOLLOW | O_RDONLY); in map_storage_file() local
63 if (fd == -1) { in map_storage_file()
70 if (fstat(fd, &fd_stat) < 0) { in map_storage_file()
77 void* const map_result = mmap(nullptr, file_size, PROT_READ, MAP_SHARED, fd, 0); in map_storage_file()
/build/soong/finder/fs/
Dreaddir.go41 fd := int(f.Fd())
47 n, errno := syscall.ReadDirent(fd, buf)
/build/make/tools/
Dbuild-runfiles.cc262 int fd = open(path.c_str(), O_CREAT|O_EXCL|O_WRONLY, 0555); in CreateFiles() local
263 if (fd < 0) { in CreateFiles()
266 close(fd); in CreateFiles()
/build/make/tools/zipalign/
DZipFile.cpp1168 time_t ZipFile::getModTime(int fd) in getModTime() argument
1172 if (fstat(fd, &sb) < 0) { in getModTime()
1173 ALOGD("HEY: fstat on fd %d failed\n", fd); in getModTime()
1195 int fd;
1196 fd = dup(fileno(mZipFp));
1197 if (fd < 0) {
1201 return fd;
DZipFile.h238 time_t getModTime(int fd);
/build/soong/third_party/zip/
Dreader_test.go651 00001f0 df ec a7 fc 23 4c 8d 83 79 63 2a d9 fd 8d b3 c8
652 0000200 8f 7e d4 19 85 e6 8d 1c 76 f0 8b 58 32 fd 9a d6
684 0000400 e1 42 1b d2 61 d6 79 ec fd 3e 44 28 a4 51 6c 5c
690 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 …