Searched refs:mode (Results 1 - 7 of 7) sorted by relevance

/bootable/recovery/minzip/
H A DDirUtil.h36 * as necessary. The specified mode is passed to all mkdir
47 int dirCreateHierarchy(const char *path, int mode,
56 * chmod -R <mode> <path>
H A DDirUtil.c56 dirCreateHierarchy(const char *path, int mode, argument
152 selabel_lookup(sehnd, &secontext, cpath, mode);
157 err = mkdir(cpath, mode);
/bootable/recovery/tools/ota/
H A 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/
H A Dcommon.h62 FILE* fopen_path(const char *path, const char *mode);
H A Drecovery.cpp137 fopen_path(const char *path, const char *mode) { argument
145 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle);
147 FILE *fp = fopen(path, mode);
/bootable/recovery/minadbd/
H A Dsysdeps.h105 static __inline__ int adb_mkdir(const char* path, int mode) 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) argument
154 int mode; local
157 mode = va_arg( args, int );
159 return open(path, options, mode);
313 int mode; local
316 mode = va_arg( args, int );
318 return open(path, options, mode);
322 static __inline__ int adb_open_mode( const char* pathname, int options, int mode )
327 adb_creat(const char* path, int mode) argument
466 adb_mkdir(const char* path, int mode) argument
[all...]
/bootable/recovery/updater/
H A Dinstall.c547 int mode = strtoul(args[2], &end, 0); local
549 ErrorAbort(state, "%s: \"%s\" not a valid mode", name, args[2]);
559 if (chmod(args[i], mode) < 0) {
561 name, args[i], mode, strerror(errno));

Completed in 72 milliseconds