Home
last modified time | relevance | path

Searched defs:mode (Results 1 – 25 of 40) sorted by relevance

12

/system/core/toolbox/
Dchmod.c13 void recurse_chmod(char* path, int mode) in recurse_chmod()
77 int mode = 0; in chmod_main() local
Dls.c36 static char mode2kind(mode_t mode) in mode2kind()
50 void strmode(mode_t mode, char *out) in strmode()
166 char mode[16]; in listfile_long() local
240 char mode[16]; in listfile_maclabel() local
Dmknod.c46 mode_t mode = 0660; in mknod_main() local
/system/core/adb/
Dfile_sync_client.c144 unsigned int *mode) in sync_readtime()
187 unsigned int *mode, unsigned int *size) in sync_finish_readtime()
204 int sync_readmode(int fd, const char *path, unsigned *mode) in sync_readmode()
338 unsigned mtime, mode_t mode, int show_progress) in sync_send()
543 static void do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, in do_sync_ls_cb()
573 unsigned int mode; member
719 unsigned int timestamp, mode, size; in copy_local_dir_remote() local
757 unsigned mode; in do_sync_push() local
822 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time, in sync_ls_build_list_cb()
883 static int set_time_and_mode(const char *lpath, unsigned int time, unsigned int mode) in set_time_and_mode()
[all …]
Dsysdeps.h107 static __inline__ int adb_mkdir(const char* path, int mode) in adb_mkdir()
143 static __inline__ int adb_open_mode(const char* path, int options, int mode) in adb_open_mode()
156 int mode; in unix_open() local
335 int mode; in unix_open() local
344 static __inline__ int adb_open_mode( const char* pathname, int options, int mode ) in adb_open_mode()
405 static __inline__ int adb_creat(const char* path, int mode) in adb_creat()
489 static __inline__ int adb_mkdir(const char* path, int mode) in adb_mkdir()
Dfile_sync_service.c53 unsigned int mode = 0775; in mkdirs() local
180 gid_t gid, mode_t mode, char *buffer, bool do_unlink) in handle_send_file()
329 unsigned int mode; local
Dfile_sync_service.h57 unsigned mode; member
63 unsigned mode; member
/system/core/liblog/
Dlog_read_kern.c76 static int accessmode(int mode) in accessmode()
88 static int check_allocate_accessible(char **n, const char *b, int mode) in check_allocate_accessible()
137 int mode; member
195 static int logger_ioctl(struct logger *logger, int cmd, int mode) in logger_ioctl()
290 struct logger_list *android_logger_list_alloc(int mode, in android_logger_list_alloc()
307 struct logger_list *android_logger_list_alloc_time(int mode, in android_logger_list_alloc_time()
370 int mode, in android_logger_list_open()
Dlog_read.c240 int mode; member
466 struct logger_list *android_logger_list_alloc(int mode, in android_logger_list_alloc()
488 struct logger_list *android_logger_list_alloc_time(int mode, in android_logger_list_alloc_time()
546 int mode, in android_logger_list_open()
/system/extras/ext4_utils/
Dcanned_fs_config.c31 unsigned mode; member
84 unsigned* uid, unsigned* gid, unsigned* mode, uint64_t* capabilities) { in canned_fs_config()
Dcontents.h27 u16 mode; member
/system/core/libcutils/
Dfs.c40 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { in fs_prepare_dir()
153 int fs_mkdirs(const char* path, mode_t mode) { in fs_mkdirs()
/system/extras/tests/cpueater/
Ddaemonize.c33 int pid, fd, mode; in main() local
/system/extras/tests/fstest/
Dperm_checker.c200 static void print_new_rule(const char *name, mode_t mode, uid_t uid, gid_t gid) in print_new_rule()
211 static int pass_rule(const perm_rule_t *pr, mode_t mode, uid_t uid, gid_t gid) in pass_rule()
223 static int validate_file(const char *name, mode_t mode, uid_t uid, gid_t gid) in validate_file()
284 static int validate_link(const char *name, mode_t mode, uid_t uid, gid_t gid) in validate_link()
312 static int validate_dir(const char *name, mode_t mode, uid_t uid, gid_t gid) in validate_dir()
/system/core/include/private/
Dandroid_filesystem_config.h182 unsigned mode; member
274 unsigned *uid, unsigned *gid, unsigned *mode, uint64_t *capabilities) in fs_config()
/system/core/init/
Dbuiltins.c112 static int _chmod(const char *path, mode_t mode) in _chmod()
310 mode_t mode = 0755; in do_mkdir() local
423 int mode, loop, fd; in do_mount() local
828 mode_t mode = 0; in get_mode() local
841 mode_t mode = get_mode(args[1]); in do_chmod() local
Dutil.c283 int mkdir_recursive(const char *pathname, mode_t mode) in mkdir_recursive()
505 int make_dir(const char *path, mode_t mode) in make_dir()
/system/media/audio_utils/
Dtinysndfile.c28 int mode; member
313 SNDFILE *sf_open(const char *path, int mode, SF_INFO *info) in sf_open()
/system/core/toolbox/upstream-netbsd/usr.bin/grep/
Dgrep.c249 add_fpattern(const char *pat, int mode) in add_fpattern()
267 add_dpattern(const char *pat, int mode) in add_dpattern()
Dgrep.h99 int mode; member
/system/vold/
DLoop.cpp142 mode_t mode = 0660 | S_IFBLK; in create() local
/system/core/toolbox/upstream-netbsd/bin/rm/
Drm.c433 #define WRITE_PASS(mode, byte) do { \ in rm_overwrite() argument
/system/core/cpio/
Dmkbootfs.c40 int uid, gid, mode; member
/system/core/sdcard/
Dsdcard.c177 mode_t mode; member
412 static int touch(char* path, mode_t mode) { in touch()
532 const char* name, int mode, bool has_rw) { in check_caller_access_to_name()
568 const struct fuse_in_header *hdr, const struct node* node, int mode, bool has_rw) { in check_caller_access_to_node()
975 __u32 mode = (req->mode & (~0777)) | 0664; in handle_mknod() local
1006 __u32 mode = (req->mode & (~0777)) | 0775; in handle_mkdir() local
/system/core/adf/libadfhwc/
Dadfhwc.cpp118 const drm_mode_modeinfo &mode, const uint32_t attribute) in adf_display_attribute()

12