HomeSort by relevance Sort by last modified time
    Searched full:to_fd (Results 1 - 3 of 3) sorted by null

  /device/samsung/tuna/reflash-bootloader/
reflash-bootloader.c 127 static void zero_data(int to_fd, off_t to_offset, ssize_t size)
135 ret = lseek(to_fd, to_offset, SEEK_SET);
144 ret = write(to_fd, buf, to_write);
151 static void verify_data(int to_fd, off_t to_offset,
162 ret = lseek(to_fd, to_offset, SEEK_SET);
178 ret = read(to_fd, ptr, c);
210 static void copy_data(int to_fd, off_t to_offset,
219 ret = lseek(to_fd, to_offset, SEEK_SET);
243 ret = write(to_fd, ptr, to_write);
  /system/core/toolbox/cp/
utils.c 116 int ch, checkch, from_fd, rcount, rval, to_fd, tolnk, wcount; local
125 to_fd = -1;
161 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0);
163 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
166 if (to_fd == -1 && (fflag || tolnk)) {
172 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT,
176 if (to_fd == -1) {
187 (void)close(to_fd);
240 if (write(to_fd, &p[fsize - remainder],
261 wcount = write(to_fd, buf, (size_t)rcount)
    [all...]
  /external/llvm/lib/Support/Unix/
PathV2.inc 167 AutoFD to_fd(to_file);
177 if ((sz = ::write(to_fd, buffer + sz_write, sz_read - sz_write)) < 0) {
188 if (::close(to_fd.take()) < 0) sz_read = -1;

Completed in 501 milliseconds