OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bytes_to_send
(Results
1 - 2
of
2
) sorted by null
/frameworks/native/cmds/bugreport/
bugreport.cpp
74
ssize_t
bytes_to_send
= bytes_read;
local
78
buffer + bytes_read -
bytes_to_send
,
79
bytes_to_send
));
82
bytes_read,
bytes_to_send
, strerror(errno));
85
bytes_to_send
-= bytes_written;
86
} while (bytes_written != 0 &&
bytes_to_send
> 0);
/system/core/debuggerd/
debuggerd.cpp
321
ssize_t
bytes_to_send
= bytes_read;
local
324
bytes_written = TEMP_FAILURE_RETRY(write(fd, buffer + bytes_read -
bytes_to_send
,
325
bytes_to_send
));
334
bytes_to_send
-= bytes_written;
335
} while (bytes_written != 0 &&
bytes_to_send
> 0);
336
if (
bytes_to_send
!= 0) {
337
ALOGE("Failed to write all data to fd: read %zd, sent %zd", bytes_read,
bytes_to_send
);
Completed in 462 milliseconds