Lines Matching refs:fd
34 fd_t fd = OpenFile(path, WrOnly, &err);
35 if (fd == kInvalidFd)
38 return fd;
52 fd_t fd = OpenFile(file_path);
53 WriteToFile(fd, &Magic, sizeof(Magic));
54 WriteToFile(fd, pcs, len * sizeof(*pcs));
55 CloseFile(fd);
171 fd_t fd = OpenFile(file_path);
172 FileCloser file_closer(fd);
174 WriteToFile(fd, counters_beg, size);
181 fd_t fd = OpenFile(file_path);
182 FileCloser file_closer(fd);
184 WriteToFile(fd, pcs_beg, size);