/system/bluetooth/tools/ |
H A D | sock_shutdown_bug_l2cap.c | 29 long flags; local 37 flags = fcntl(fd, F_GETFL); 38 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
|
H A D | sock_shutdown_bug_rfcomm.c | 30 long flags; local 38 flags = fcntl(fd, F_GETFL); 39 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
|
H A D | sock_shutdown_bug_tcp.c | 28 long flags; local
|
/system/core/toolbox/ |
H A D | reboot.c | 12 int flags = 0; local 44 flags = ANDROID_RB_FLAG_NO_SYNC | ANDROID_RB_FLAG_NO_REMOUNT_RO; 47 ret = android_reboot(ANDROID_RB_POWEROFF, flags, 0); 49 ret = android_reboot(ANDROID_RB_RESTART2, flags, argv[optind]); 51 ret = android_reboot(ANDROID_RB_RESTART, flags, 0);
|
H A D | touch.c | 17 int i, fd, aflag = 0, mflag = 0, debug = 0, flags = 0; local 41 case 'l': flags |= AT_SYMLINK_NOFOLLOW; break; 82 fprintf(stderr, "flags = 0x%8.8x\n", flags); 85 return utimensat(AT_FDCWD, file, times, flags);
|
H A D | ifconfig.c | 64 unsigned int addr, mask, flags; local 100 flags = ifr.ifr_flags; 112 printf("%s: ip %s mask %s flags [", ifr.ifr_name, 117 updown = (flags & IFF_UP) ? "up" : "down"; 118 brdcst = (flags & IFF_BROADCAST) ? " broadcast" : ""; 119 loopbk = (flags & IFF_LOOPBACK) ? " loopback" : ""; 120 ppp = (flags & IFF_POINTOPOINT) ? " point-to-point" : ""; 121 running = (flags & IFF_RUNNING) ? " running" : ""; 122 multi = (flags & IFF_MULTICAST) ? " multicast" : "";
|
/system/core/fs_mgr/ |
H A D | fs_mgr_priv.h | 32 unsigned long flags; member in struct:fstab_rec 49 * <mount_flags> is a comma separated list of flags that can be passed to the 56 * <fs_mgr_options> is a comma separated list of flags that control the operation of
|
/system/core/sh/ |
H A D | output.h | 47 short flags; member in struct:output
|
H A D | redir.c | 107 redirect(union node *redir, int flags) argument 118 memory[1] = flags & REDIR_BACKQ; 119 if (flags & REDIR_PUSH) { 121 * flags & REDIR_PUSH is never true if REDIR_VFORK is set. 136 if ((flags & REDIR_PUSH) && sv->renamed[fd] == EMPTY) { 143 openredirect(n, memory, flags); 165 openredirect(n, memory, flags); 175 openredirect(union node *redir, char memory[10], int flags) argument 192 if (flags & REDIR_VFORK)
|
H A D | show.c | 381 int flags; local 419 if ((flags = fcntl(fileno(tracefile), F_GETFL, 0)) >= 0) 420 fcntl(fileno(tracefile), F_SETFL, flags | O_APPEND);
|
H A D | var.h | 41 /* flags */ 54 int flags; /* flags are defined above */ member in struct:var 66 int flags; /* saved flags */ member in struct:localvar 95 #define ifsset() ((vifs.flags & VUNSET) == 0) 108 #define attyset() ((vatty.flags & VUNSET) == 0) 110 #define mpathset() ((vmpath.flags & VUNSET) == 0)
|
/system/extras/libpagemap/ |
H A D | pm_map.c | 73 uint64_t count, flags; local 87 &flags); 90 if (!(flags & PM_PAGE_REFERENCED))
|
/system/vold/ |
H A D | Ext4.cpp | 51 unsigned long flags; local 53 flags = MS_NOATIME | MS_NODEV | MS_NOSUID | MS_DIRSYNC; 55 flags |= (executable ? 0 : MS_NOEXEC); 56 flags |= (ro ? MS_RDONLY : 0); 57 flags |= (remount ? MS_REMOUNT : 0); 59 rc = mount(fsPath, mountPoint, "ext4", flags, NULL); 63 flags |= MS_RDONLY; 64 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
|
H A D | Fat.cpp | 101 unsigned long flags; local 104 flags = MS_NODEV | MS_NOSUID | MS_DIRSYNC; 106 flags |= (executable ? 0 : MS_NOEXEC); 107 flags |= (ro ? MS_RDONLY : 0); 108 flags |= (remount ? MS_REMOUNT : 0); 128 rc = mount(fsPath, mountPoint, "vfat", flags, mountData); 132 flags |= MS_RDONLY; 133 rc = mount(fsPath, mountPoint, "vfat", flags, mountData);
|
H A D | Devmapper.cpp | 103 MINOR(n->dev), io2->target_count, io2->open_count, io2->flags, MAJOR(io2->dev), 118 const char *name, unsigned flags) { 125 io->flags = flags; 117 ioctlInit(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument
|
H A D | cryptfs.h | 35 /* definitions of flags in the structure below */ 50 __le32 flags; /* See above */ member in struct:crypt_mnt_ftr 63 unsigned int flags; member in struct:volume_info
|
H A D | main.cpp | 148 int flags = 0; local 151 flags |= VOL_ENCRYPTABLE; 155 flags |= VOL_NONREMOVABLE; 158 return flags; 174 int flags; local 216 /* If the first character is not a '/', it must be flags */ 227 * the optional flags for this volume 230 flags = parse_mount_flags(sysfs_path); 232 flags = 0; 233 dv->setFlags(flags); [all...] |
/system/core/libcutils/ |
H A D | abort_socket.c | 28 int flags; local 32 flags = fcntl(fd, F_GETFL); 33 if (flags == -1) 35 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK)) 42 flags = fcntl(abort_fd[1], F_GETFL); 43 if (flags == -1) 45 if (fcntl(abort_fd[1], F_SETFL, flags | O_NONBLOCK))
|
H A D | android_reboot.c | 104 int android_reboot(int cmd, int flags, char *arg) argument 108 if (!(flags & ANDROID_RB_FLAG_NO_SYNC)) 111 if (!(flags & ANDROID_RB_FLAG_NO_REMOUNT_RO))
|
/system/core/libion/ |
H A D | ion.c | 57 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags, argument 64 .flags = flags, 83 int flags, off_t offset, unsigned char **ptr, int *map_fd) 97 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); 82 ion_map(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument
|
/system/extras/fatblock/ |
H A D | fdpool.c | 119 int fdpool_open(struct pooled_fd *pfd, const char *pathname, int flags) argument 129 fd = open(pathname, flags);
|
/system/bluetooth/bluez-clean-headers/bluetooth/ |
H A D | rfcomm.h | 57 uint32_t flags; member in struct:rfcomm_dev_req 71 uint32_t flags; member in struct:rfcomm_dev_info
|
/system/core/libnl_2/ |
H A D | netlink.c | 114 int i, rem, flags; local
|
/system/core/libpixelflinger/codeflinger/ |
H A D | load_store.cpp | 31 void GGLAssembler::store(const pointer_t& addr, const pixel_t& s, uint32_t flags) argument 34 const int inc = (flags & WRITE_BACK)?1:0; 48 if (!(s.flags & CORRUPTIBLE)) { 65 void GGLAssembler::load(const pointer_t& addr, const pixel_t& s, uint32_t flags) argument 71 const int inc = (flags & WRITE_BACK)?1:0; 167 integer_t r(d.reg, 32, d.flags); 178 if (s.l || (s.flags & CLEAR_HI)) { 182 expand(d, integer_t(s.reg, s.size(), s.flags), dbits); 188 integer_t r(d.reg, 32, d.flags); 203 dst.flags [all...] |
/system/core/netcfg/ |
H A D | netcfg.c | 53 unsigned addr, flags; local 57 if(ifc_get_info(name, &addr, &prefixLength, &flags)) { 61 printf("%-8s %s ", name, flags & 1 ? "UP " : "DOWN"); 64 printf("0x%08x ", flags);
|