OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:output_fd
(Results
1 - 4
of
4
) sorted by null
/art/libdexfile/external/
dex_file_ext_c_test.c
32
FILE*
output_fd
= fopen(gtest_output_path, "w");
local
33
if (
output_fd
== NULL) {
37
if (fprintf(
output_fd
, gtest_output_xml) != sizeof(gtest_output_xml) - 1) {
39
fclose(
output_fd
);
42
if (fclose(
output_fd
) != 0) {
/art/libartpalette/system/
palette_android.cc
111
android::base::unique_fd
output_fd
;
local
113
if (!tombstoned_connect(getpid(), &tombstone_fd, &
output_fd
, kDebuggerdJavaBacktrace)) {
123
if (!android::base::WriteFully(
output_fd
, stacks, stacks_len)) {
125
TEMP_FAILURE_RETRY(ftruncate(
output_fd
, 0));
129
if (TEMP_FAILURE_RETRY(fdatasync(
output_fd
)) == -1 && errno != EINVAL) {
136
TEMP_FAILURE_RETRY(ftruncate(
output_fd
, 0));
137
TEMP_FAILURE_RETRY(fdatasync(
output_fd
));
140
if (close(
output_fd
.release()) == -1 && errno != EINTR) {
/external/selinux/policycoreutils/semodule/
semodule.c
433
FILE *
output_fd
= NULL;
local
499
output_fd
= fopen(output_path, "w");
500
if (
output_fd
== NULL) {
506
if (fwrite(data, 1, data_len,
output_fd
) < data_len) {
512
if (
output_fd
!= NULL) {
513
fclose(
output_fd
);
/external/selinux/libsemanage/src/
direct_api.c
805
int
output_fd
[2] = {-1, -1};
local
833
retval = pipe(
output_fd
);
855
retval = dup2(
output_fd
[PIPE_WRITE], STDOUT_FILENO);
871
retval = close(
output_fd
[PIPE_READ]);
894
retval = close(
output_fd
[PIPE_WRITE]);
895
output_fd
[PIPE_WRITE] = -1;
921
retval = read_from_pipe_to_data(sh, initial_len,
output_fd
[PIPE_READ], &data_read, &data_read_len);
925
retval = close(
output_fd
[PIPE_READ]);
926
output_fd
[PIPE_READ] = -1;
971
if (
output_fd
[PIPE_READ] != -1)
[
all
...]
Completed in 644 milliseconds