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

/bootable/recovery/minzip/
H A DDirUtil.h32 * as necessary. The specified mode is passed to all mkdir
43 int dirCreateHierarchy(const char *path, int mode,
H A DDirUtil.c56 dirCreateHierarchy(const char *path, int mode, argument
151 selabel_lookup(sehnd, &secontext, cpath, mode);
155 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.h45 FILE* fopen_path(const char *path, const char *mode);
H A Dfuse_sideload.c134 uint64_t nodeid, uint64_t size, uint32_t mode) {
144 attr->mode = mode;
133 fill_attr(struct fuse_attr* attr, struct fuse_data* fd, uint64_t nodeid, uint64_t size, uint32_t mode) argument
H A Drecovery.cpp152 fopen_path(const char *path, const char *mode) { argument
160 if (strchr("wa", mode[0])) dirCreateHierarchy(path, 0777, NULL, 1, sehandle);
162 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/minui/
H A Dgraphics_adf.c53 struct drm_mode_modeinfo *mode, struct adf_surface_pdata *surf)
57 surf->fd = adf_interface_simple_buffer_alloc(pdata->intf_fd, mode->hdisplay,
58 mode->vdisplay, pdata->format, &surf->offset, &surf->pitch);
62 surf->base.width = mode->hdisplay;
63 surf->base.height = mode->vdisplay;
52 adf_surface_init(struct adf_pdata *pdata, struct drm_mode_modeinfo *mode, struct adf_surface_pdata *surf) argument
/bootable/recovery/updater/
H A Dinstall.c662 mode_t mode; member in struct:perm_parsed_args
704 if (strcmp("mode", args[i]) == 0) {
705 int32_t mode; local
706 if (sscanf(args[i+1], "%" SCNi32, &mode) == 1) {
707 parsed.mode = mode;
710 uiPrintf(state, "ParsePermArgs: invalid mode \"%s\"\n", args[i + 1]);
716 int32_t mode; local
717 if (sscanf(args[i+1], "%" SCNi32, &mode) == 1) {
718 parsed.dmode = mode;
727 int32_t mode; local
[all...]

Completed in 467 milliseconds