/system/bluetooth/bluez-clean-headers/bluetooth/ |
H A D | hci.h | 1066 uint8_t mode; member in struct:__anon94 1072 uint8_t mode; member in struct:__anon95 1090 uint8_t mode; member in struct:__anon97 1096 uint8_t mode; member in struct:__anon98 1141 uint8_t mode; member in struct:__anon105 1147 uint8_t mode; member in struct:__anon106 1392 uint8_t mode; member in struct:__anon137 1474 uint8_t mode; member in struct:__anon145 1911 uint8_t mode; member in struct:__anon197
|
H A D | l2cap.h | 41 uint8_t mode; member in struct:l2cap_options
|
/system/core/adb/ |
H A D | file_sync_client.c | 75 typedef void (*sync_ls_cb)(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie); 105 func(ltohl(msg.dent.mode), 168 unsigned int *mode, unsigned int *size) 179 *mode = ltohl(msg.stat.mode); 185 int sync_readmode(int fd, const char *path, unsigned *mode) argument 206 *mode = ltohl(msg.stat.mode); 298 unsigned mtime, mode_t mode, int verifyApk) 310 snprintf(tmp, sizeof(tmp), ",%d", mode); 167 sync_finish_readtime(int fd, unsigned int *timestamp, unsigned int *mode, unsigned int *size) argument 297 sync_send(int fd, const char *lpath, const char *rpath, unsigned mtime, mode_t mode, int verifyApk) argument 535 do_sync_ls_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument 565 unsigned int mode; member in struct:copyinfo 708 unsigned int timestamp, mode, size; local 745 unsigned mode; local 810 sync_ls_build_list_cb(unsigned mode, unsigned size, unsigned time, const char *name, void *cookie) argument 945 unsigned mode; local [all...] |
H A D | file_sync_service.c | 64 msg.stat.mode = 0; 68 msg.stat.mode = htoll(st.st_mode); 106 msg.dent.mode = htoll(st.st_mode); 122 msg.dent.mode = 0; 151 static int handle_send_file(int s, char *path, mode_t mode, char *buffer) argument 157 fd = adb_open_mode(path, O_WRONLY | O_CREAT | O_EXCL, mode); 160 fd = adb_open_mode(path, O_WRONLY | O_CREAT | O_EXCL, mode); 163 fd = adb_open_mode(path, O_WRONLY, mode); 279 mode_t mode; local 286 mode [all...] |
H A D | file_sync_service.h | 57 unsigned mode; member in struct:__anon274::__anon276 63 unsigned mode; member in struct:__anon274::__anon277
|
H A D | sysdeps.h | 106 static __inline__ int adb_mkdir(const char* path, int mode) argument 114 extern int adb_creat(const char* path, int mode); 142 static __inline__ int adb_open_mode(const char* path, int options, int mode) argument 155 int mode; local 158 mode = va_arg( args, int ); 160 return open(path, options, mode); 317 int mode; local 320 mode = va_arg( args, int ); 322 return open(path, options, mode); 326 static __inline__ int adb_open_mode( const char* pathname, int options, int mode ) 387 adb_creat(const char* path, int mode) argument 471 adb_mkdir(const char* path, int mode) argument [all...] |
H A D | sysdeps_win32.c | 361 /* ignore mode on Win32 */ 362 int adb_creat(const char* path, int mode) argument
|
/system/core/cpio/ |
H A D | mkbootfs.c | 40 int uid, gid, mode; member in struct:fs_config_entry 46 * gid, mode). */ 71 s->st_mode = p->mode | (s->st_mode & ~07777); 77 s->st_mode = empty_path_config->mode | (s->st_mode & ~07777); 98 // fprintf(stderr, "_eject %s: mode=0%o\n", out, s->st_mode); 263 die("Unknown '%s' (mode %d)?\n", in, s.st_mode); 308 cc->mode = strtol(strtok(NULL, " \n"), NULL, 8);
|
/system/core/include/cutils/ |
H A D | fs.h | 42 * Ensure that directory exists with given mode and owners. 44 extern int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid);
|
/system/core/include/pixelflinger/ |
H A D | pixelflinger.h | 230 void (*shadeModel)(void* c, GGLenum mode);
|
/system/core/include/private/ |
H A D | android_filesystem_config.h | 148 unsigned mode; member in struct:fs_path_config 232 unsigned *uid, unsigned *gid, unsigned *mode) 255 *mode = (*mode & (~07777)) | pc->mode; 259 path, pc->prefix ? pc->prefix : "", *uid, *gid, *mode); 231 fs_config(const char *path, int dir, unsigned *uid, unsigned *gid, unsigned *mode) argument
|
/system/core/include/system/ |
H A D | window.h | 612 * Depending on the scaling mode, a buffer's crop region is scaled and/or 633 * Depending on the scaling mode, a buffer's crop region is scaled and/or 697 * native-window size. They will be scaled according to the scaling mode 722 * scaled according to the scaling mode (see 784 * native_window_set_scaling_mode(..., int mode) 785 * All buffers queued after this call will be associated with the scaling mode 790 int mode) 793 mode); 788 native_window_set_scaling_mode( struct ANativeWindow* window, int mode) argument
|
/system/core/init/ |
H A D | builtins.c | 114 static int _chmod(const char *path, mode_t mode) argument 124 ret = fchmod(fd, mode); 296 mode_t mode = 0755; local 299 /* mkdir <path> [mode] [owner] [group] */ 302 mode = strtoul(args[2], 0, 8); 305 ret = make_dir(args[1], mode); 308 ret = _chmod(args[1], mode); 327 if (mode & (S_ISUID | S_ISGID)) { 328 ret = _chmod(args[1], mode); 409 int mode, loo local 732 mode_t mode = 0; local 745 mode_t mode = get_mode(args[1]); local [all...] |
H A D | devices.c | 194 mode_t mode; local 200 mode = get_device_perm(path, &uid, &gid) | (block ? S_IFBLK : S_IFCHR); 203 selabel_lookup(sehandle, &secontext, path, mode); 214 mknod(path, mode, dev);
|
H A D | util.c | 136 INFO("Created socket '%s' with mode '%o', user '%d', group '%d'\n", 282 int mkdir_recursive(const char *pathname, mode_t mode) argument 305 ret = make_dir(buf, mode); 310 ret = make_dir(pathname, mode); 467 int make_dir(const char *path, mode_t mode) argument 475 selabel_lookup(sehandle, &secontext, path, mode); 480 rc = mkdir(path, mode);
|
H A D | util.h | 34 int mkdir_recursive(const char *pathname, mode_t mode); 42 int make_dir(const char *path, mode_t mode);
|
/system/core/libcutils/ |
H A D | fs.c | 33 int fs_prepare_dir(const char* path, mode_t mode, uid_t uid, gid_t gid) { argument 50 if (((sb.st_mode & ALL_PERMS) == mode) && (sb.st_uid == uid) && (sb.st_gid == gid)) { 57 if (TEMP_FAILURE_RETRY(mkdir(path, mode)) == -1) { 65 if (TEMP_FAILURE_RETRY(chmod(path, mode)) == -1) { 66 ALOGE("Failed to chmod(%s, %d): %s", path, mode, strerror(errno));
|
/system/core/libpixelflinger/ |
H A D | pixelflinger.cpp | 197 static void ggl_shadeModel(void* con, GGLenum mode) argument 200 switch (mode) {
|
/system/core/logcat/ |
H A D | logcat.cpp | 463 int mode = O_RDONLY; local 498 mode = O_WRONLY; 665 (mode & O_RDONLY) ? R_OK : 0 666 | (mode & O_WRONLY) ? W_OK : 0; 732 dev->fd = open(dev->device, mode);
|
/system/core/sdcard/ |
H A D | fuse.h | 96 __u32 mode; member in struct:fuse_attr 154 * FUSE_DONT_MASK: don't apply umask to file mode on create operations 311 __u32 mode; member in struct:fuse_mknod_in 318 __u32 mode; member in struct:fuse_mkdir_in 342 __u32 mode; member in struct:fuse_setattr_in 356 __u32 mode; member in struct:fuse_create_in
|
H A D | sdcard.c | 285 attr->mode = s->st_mode; 292 if (attr->mode & 0100) { 293 attr->mode = (attr->mode & (~0777)) | 0775; 295 attr->mode = (attr->mode & (~0777)) | 0664; 641 name, req->mode, hdr->nodeid, parent_node ? parent_node->name : "?"); 648 __u32 mode = (req->mode & (~0777)) | 0664; local 649 if (mknod(child_path, mode, re 674 __u32 mode = (req->mode & (~0777)) | 0775; local [all...] |
/system/core/sh/ |
H A D | eval.c | 685 int mode; local 837 mode = cmd->ncmd.backgnd; 839 mode = FORK_NOJOB; 879 forkchild(jp, cmd, mode, vforked); 893 forkparent(jp, cmd, mode, pid); 899 if (forkshell(jp, cmd, mode) != 0) 979 mode = (cmdentry.u.bltin == execcmd) ? 0 : REDIR_PUSH; 984 mode |= REDIR_BACKQ; 1003 redirect(cmd->ncmd.redirect, mode); 1071 if (mode [all...] |
H A D | jobs.c | 288 set_curjob(struct job *jp, int mode) argument 308 switch (mode) { 382 showjob(struct output *out, struct job *jp, int mode) argument 391 if (mode & SHOW_PGID) { 402 if (mode & SHOW_PID) 403 mode |= SHOW_MULTILINE; 405 if ((procno > 1 && !(mode & SHOW_MULTILINE)) 406 || (mode & SHOW_SIGNALLED)) { 414 mode |= SHOW_MULTILINE; 415 if (st1 == -1 || !(mode 503 int mode, m; local 534 showjobs(struct output *out, int mode) argument 847 forkshell(struct job *jp, union node *n, int mode) argument 867 forkparent(struct job *jp, union node *n, int mode, pid_t pid) argument 896 forkchild(struct job *jp, union node *n, int mode, int vforked) argument 1094 int mode = 0; local [all...] |
/system/core/toolbox/ |
H A D | chmod.c | 13 void recurse_chmod(char* path, int mode) argument 37 if (chmod(subpath, mode) < 0) { 42 recurse_chmod(subpath, mode); 77 int mode = 0; local 81 mode = (mode<<3) | (*s-'0'); 84 fprintf(stderr, "Bad mode\n"); 91 if (chmod(argv[i], mode) < 0) { 96 recurse_chmod(argv[i], mode);
|
/system/core/toolbox/grep/ |
H A D | grep.c | 111 bool qflag; /* -q: quiet mode (don't output anything) */ 112 bool sflag; /* -s: silent mode (ignore errors) */ 250 add_fpattern(const char *pat, int mode) argument 260 fpattern[fpatterns].mode = mode; 268 add_dpattern(const char *pat, int mode) argument 278 dpattern[dpatterns].mode = mode;
|