Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 8 of 8) sorted by relevance

/bootable/recovery/minadbd/
Dsysdeps.h105 static __inline__ int adb_mkdir(const char* path, int mode) in adb_mkdir() argument
113 extern int adb_creat(const char* path, int mode);
141 static __inline__ int adb_open_mode(const char* path, int options, int mode) in adb_open_mode() argument
154 int mode; in unix_open() local
157 mode = va_arg( args, int ); in unix_open()
159 return open(path, options, mode); in unix_open()
313 int mode; in unix_open() local
316 mode = va_arg( args, int ); in unix_open()
318 return open(path, options, mode); in unix_open()
322 static __inline__ int adb_open_mode( const char* pathname, int options, int mode ) in adb_open_mode() argument
[all …]
DREADME.txt5 - much support for host mode and non-linux OS's stripped out; this
23 - all host mode support removed
29 - only builds in adbd mode; builds as static library instead of a
/bootable/recovery/tools/ota/
Dconvert-to-bmp.py17 if im.mode == 'RGB':
19 elif im.mode == 'RGBA':
79 print >> sys.stderr, "Don't know how to handle image mode '%s'." % (im.mode,)
/bootable/recovery/minzip/
DDirUtil.h43 int dirCreateHierarchy(const char *path, int mode,
DDirUtil.c56 dirCreateHierarchy(const char *path, int mode, in dirCreateHierarchy() argument
151 selabel_lookup(sehnd, &secontext, cpath, mode); in dirCreateHierarchy()
155 err = mkdir(cpath, mode); in dirCreateHierarchy()
/bootable/recovery/
Dcommon.h45 FILE* fopen_path(const char *path, const char *mode);
Drecovery.cpp142 fopen_path(const char *path, const char *mode) { in fopen_path() argument
150 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle); in fopen_path()
152 FILE *fp = fopen(path, mode); in fopen_path()
/bootable/recovery/updater/
Dinstall.c569 int mode = strtoul(args[2], &end, 0); in SetPermFn() local
581 if (chmod(args[i], mode) < 0) { in SetPermFn()
583 name, args[i], mode, strerror(errno)); in SetPermFn()