OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dst_fd
(Results
1 - 2
of
2
) sorted by null
/bootable/diskinstaller/libdiskconfig/
diskutils.c
35
int
dst_fd
= -1;
local
50
if ((
dst_fd
= open(dst, O_RDWR)) < 0) {
55
if (lseek64(
dst_fd
, offset, SEEK_SET) != offset) {
83
if ((tmp = write(
dst_fd
, buffer, nr_bytes)) < 0) {
101
if (
dst_fd
>= 0)
102
fsync(
dst_fd
);
107
if (
dst_fd
>= 0)
108
close(
dst_fd
);
112
if (
dst_fd
>= 0)
113
close(
dst_fd
);
[
all
...]
/system/core/libdiskconfig/
diskutils.c
35
int
dst_fd
= -1;
local
50
if ((
dst_fd
= open(dst, O_RDWR)) < 0) {
55
if (lseek64(
dst_fd
, offset, SEEK_SET) != offset) {
83
if ((tmp = write(
dst_fd
, buffer, nr_bytes)) < 0) {
101
if (
dst_fd
>= 0)
102
fsync(
dst_fd
);
107
if (
dst_fd
>= 0)
108
close(
dst_fd
);
112
if (
dst_fd
>= 0)
113
close(
dst_fd
);
[
all
...]
Completed in 28 milliseconds