OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:to_fd
(Results
1 - 2
of
2
) sorted by null
/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
...]
/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);
Completed in 39 milliseconds