Searched defs:open (Results 1 - 5 of 5) sorted by relevance

/system/core/adb/
H A Dtransport_local.c191 * Redefine open and write for qemu_pipe.h that contains inlined references
194 #undef open macro
196 #define open adb_open macro
199 #undef open macro
201 #define open ___xxx_open macro
H A Dsysdeps.h151 return open(path, options);
160 return open(path, options, mode);
163 #define open ___xxx_unix_open macro
313 return open(path, options);
322 return open(path, options, mode);
328 return open( pathname, options, mode );
334 int fd = open( pathname, options );
340 #undef open macro
341 #define open ___xxx_open macro
H A Dadb.c152 * Redefine open and write for qemu_pipe.h that contains inlined references
156 #undef open macro
158 #define open adb_open macro
161 #undef open macro
163 #define open ___xxx_open macro
/system/core/libsparse/
H A Doutput_file.c70 int (*open)(struct output_file *, int fd); member in struct:output_file_ops
184 .open = file_open,
268 .open = gz_file_open,
319 .open = callback_file_open,
679 out->ops->open(out, fd);
757 int file_fd = open(file, O_RDONLY | O_BINARY);
/system/security/keystore/
H A Dkeystore.cpp141 ALOGE("could not open keymaster device in %s (%s)",
236 bool open() { function in class:Entropy
238 mRandom = ::open(randomDevice, O_RDONLY);
240 ALOGE("open: %s: %s", randomDevice, strerror(errno));
379 int out = open(tmpFileName, O_WRONLY | O_TRUNC | O_CREAT, S_IRUSR | S_IWUSR);
395 int in = open(filename, O_RDONLY);
497 int in = open(MASTER_KEY_FILE, O_RDONLY);
1284 int fd = open(filename, O_NOFOLLOW, O_RDONLY);
1423 if (!entropy.open()) {

Completed in 102 milliseconds