/system/core/toolbox/ |
H A D | restorecon.c | 19 unsigned int flags = 0; local 29 flags |= SELINUX_ANDROID_RESTORECON_DATADATA; 32 flags |= SELINUX_ANDROID_RESTORECON_FORCE; 35 flags |= SELINUX_ANDROID_RESTORECON_NOCHANGE; 39 flags |= SELINUX_ANDROID_RESTORECON_RECURSE; 42 flags |= SELINUX_ANDROID_RESTORECON_VERBOSE; 55 rc = selinux_android_restorecon(argv[i], flags);
|
H A D | swapon.c | 23 int flags = 0; local 43 flags |= SWAP_FLAG_PREFER; 44 flags |= (prio << SWAP_FLAG_PRIO_SHIFT) & SWAP_FLAG_PRIO_MASK; 60 err = swapon(argv[argc - 1], flags);
|
H A D | ls.c | 22 // bits for flags argument 34 static int listpath(const char *name, int flags); 98 static int show_total_size(const char *dirname, DIR *d, int flags) argument 109 if (de->d_name[0] == '.' && (flags & LIST_ALL) == 0) 132 int flags) 139 if ((flags & LIST_SIZE) != 0) { 143 if ((flags & LIST_CLASSIFY) != 0) { 163 static int listfile_long(const char *path, struct stat *s, int flags) argument 184 if (flags & LIST_LONG_NUMERIC) { 299 static int listfile(const char *dirname, const char *filename, int flags) argument 131 listfile_size(const char *path, const char *filename, struct stat *s, int flags) argument 336 listdir(const char *name, int flags) argument 414 listpath(const char *name, int flags) argument 445 int flags = 0; local [all...] |
H A D | ifconfig.c | 64 unsigned int flags; local 104 flags = ifr.ifr_flags; 106 printf("%s: ip %s mask %s flags [", ifr.ifr_name, 111 updown = (flags & IFF_UP) ? "up" : "down"; 112 brdcst = (flags & IFF_BROADCAST) ? " broadcast" : ""; 113 loopbk = (flags & IFF_LOOPBACK) ? " loopback" : ""; 114 ppp = (flags & IFF_POINTOPOINT) ? " point-to-point" : ""; 115 running = (flags & IFF_RUNNING) ? " running" : ""; 116 multi = (flags & IFF_MULTICAST) ? " multicast" : "";
|
H A D | schedtop.c | 170 static void print_threads(int pid, uint32_t flags) argument 183 else if (!(flags & FLAG_HIDE_IDLE) || threads.data[j].run_count - last_threads.data[i].run_count) 193 static void update_table(DIR *d, uint32_t flags) argument 211 if (!(flags & FLAG_BATCH)) 235 else if (!(flags & FLAG_HIDE_IDLE) || processes.data[j].run_count - last_processes.data[i].run_count) { 242 if (flags & FLAG_SHOW_THREADS) 243 print_threads(pid, flags); 272 uint32_t flags = 0; local 286 flags |= FLAG_BATCH; 289 flags | [all...] |
/system/extras/kexec_tools/ |
H A D | kexec.h | 20 struct kexec_segment *segment, unsigned long flags) { 21 return syscall(__NR_kexec_load, entry, nr_segments, segment, flags); 19 kexec_load(unsigned int entry, unsigned long nr_segments, struct kexec_segment *segment, unsigned long flags) argument
|
/system/core/include/cutils/ |
H A D | android_reboot.h | 30 int android_reboot(int cmd, int flags, char *arg);
|
/system/core/liblog/ |
H A D | fake_log_device.h | 24 int fakeLogOpen(const char *pathName, int flags);
|
/system/core/libpixelflinger/ |
H A D | trap.h | 27 void ggl_state_changed(context_t* c, int flags);
|
/system/core/fastbootd/ |
H A D | network_discovery.c | 49 static void reg_reply(DNSServiceRef sdref, const DNSServiceFlags flags, DNSServiceErrorType errorCode, argument 53 (void)flags; // Unused 64 if (flags & kDNSServiceFlagsAdd) 73 if (!(flags & kDNSServiceFlagsMoreComing)) fflush(stdout); 84 int flags = 0; local 92 result = DNSServiceRegister(&sdref, flags, kDNSServiceInterfaceIndexAny,
|
/system/core/libion/include/ion/ |
H A D | ion.h | 34 unsigned int flags, ion_user_handle_t *handle); 36 unsigned int flags, int *handle_fd); 40 int flags, off_t offset, unsigned char **ptr, int *map_fd);
|
/system/vold/ |
H A D | Ext4.cpp | 52 unsigned long flags; local 54 flags = MS_NOATIME | MS_NODEV | MS_NOSUID | MS_DIRSYNC; 56 flags |= (executable ? 0 : MS_NOEXEC); 57 flags |= (ro ? MS_RDONLY : 0); 58 flags |= (remount ? MS_REMOUNT : 0); 60 rc = mount(fsPath, mountPoint, "ext4", flags, NULL); 64 flags |= MS_RDONLY; 65 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
|
H A D | Fat.cpp | 119 unsigned long flags; local 122 flags = MS_NODEV | MS_NOSUID | MS_DIRSYNC; 124 flags |= (executable ? 0 : MS_NOEXEC); 125 flags |= (ro ? MS_RDONLY : 0); 126 flags |= (remount ? MS_REMOUNT : 0); 146 rc = mount(fsPath, mountPoint, "vfat", flags, mountData); 150 flags |= MS_RDONLY; 151 rc = mount(fsPath, mountPoint, "vfat", flags, mountData);
|
/system/core/init/ |
H A D | signal_handler.c | 74 if (!(svc->flags & SVC_ONESHOT) || (svc->flags & SVC_RESTART)) { 87 svc->flags &= (~SVC_RUNNING); 91 if ((svc->flags & SVC_ONESHOT) && !(svc->flags & SVC_RESTART)) { 92 svc->flags |= SVC_DISABLED; 96 if (svc->flags & (SVC_DISABLED | SVC_RESET) ) { 102 if ((svc->flags & SVC_CRITICAL) && !(svc->flags & SVC_RESTART)) { 117 svc->flags [all...] |
H A D | ueventd_keywords.h | 3 #define KEYWORD(symbol, flags, nargs) K_##symbol,
|
/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
H A D | humanize_number.c | 48 const char *suffix, int scale, int flags) 59 if (flags & HN_DIVISOR_1000) { 62 if (flags & HN_B) 72 if (flags & HN_B) 110 if (flags & HN_NOSPACE) 145 if (bytes < 995 && i > 0 && flags & HN_DECIMAL) { 47 humanize_number(char *buf, size_t len, int64_t bytes, const char *suffix, int scale, int flags) argument
|
/system/core/libbacktrace/ |
H A D | UnwindMap.cpp | 54 map.flags = unw_map.flags; 94 map.flags = unw_map.flags;
|
H A D | BacktraceMap.cpp | 76 map->flags = PROT_NONE; 78 map->flags |= PROT_READ; 81 map->flags |= PROT_WRITE; 84 map->flags |= PROT_EXEC; 95 ALOGV("Parsed map: start=%p, end=%p, flags=%x, name=%s", 97 map->flags, map->name.c_str());
|
/system/core/mkbootimg/ |
H A D | bootimg.h | 91 unsigned flags; /* set to zero */
|
/system/extras/tests/crypto/ |
H A D | get_dm_versions.c | 10 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument 18 io->flags = flags;
|
/system/core/libpixelflinger/codeflinger/ |
H A D | blending.cpp | 40 integer_t fragment(temp.reg, temp.h, temp.flags); 41 if (!(temp.flags & CORRUPTIBLE)) { 43 temp.flags |= CORRUPTIBLE; 137 if (temp.l && (temp.flags & CORRUPTIBLE)) { 142 integer_t fragment(temp.reg, temp.size(), temp.flags); 149 fragment.flags |= CORRUPTIBLE; 152 if (!(temp.flags & CORRUPTIBLE)) { 156 temp.flags &= ~CORRUPTIBLE; 157 fragment.flags &= ~CORRUPTIBLE; 163 fragment.flags [all...] |
/system/core/libion/ |
H A D | ion.c | 61 unsigned int flags, ion_user_handle_t *handle) 68 .flags = flags, 90 int flags, off_t offset, unsigned char **ptr, int *map_fd) 110 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset); 141 unsigned int flags, int *handle_fd) { 145 ret = ion_alloc(fd, len, align, heap_mask, flags, &handle); 60 ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, ion_user_handle_t *handle) argument 89 ion_map(int fd, ion_user_handle_t handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument 140 ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, int *handle_fd) argument
|
/system/core/libion/tests/ |
H A D | device_test.cpp | 142 unsigned int flags = ION_FLAG_CACHED; local 144 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd)); 179 unsigned int flags = ION_FLAG_CACHED; local 181 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd)); 210 unsigned int flags = ION_FLAG_CACHED; local 212 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd)); 245 unsigned int flags = ION_FLAG_CACHED; local 247 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, &map_fd)); 276 unsigned int flags = ION_FLAG_CACHED | ION_FLAG_CACHED_NEEDS_SYNC; local 278 ASSERT_EQ(0, ion_alloc_fd(m_ionFd, 4096, 0, heapMask, flags, 313 unsigned int flags = ION_FLAG_CACHED | ION_FLAG_CACHED_NEEDS_SYNC; local 344 unsigned int flags = ION_FLAG_CACHED | ION_FLAG_CACHED_NEEDS_SYNC; local 381 unsigned int flags = ION_FLAG_CACHED | ION_FLAG_CACHED_NEEDS_SYNC; local 413 unsigned int flags = 0; local 450 unsigned int flags = 0; local 481 unsigned int flags = 0; local 516 unsigned int flags = 0; local 546 unsigned int flags = ION_FLAG_CACHED | ION_FLAG_CACHED_NEEDS_SYNC; local [all...] |
/system/extras/tests/audio/alsa/ |
H A D | pcmtest.cpp | 46 unsigned int flags; member in struct:PCM_NODE 93 char flags; local 100 flags = de->d_name[strlen(de->d_name)-1]; 101 if (flags == 'c') { 102 pcmnodes[pcms].flags = PCM_IN; 103 } else if(flags == 'p') { 104 pcmnodes[pcms].flags = PCM_OUT; 106 pcmnodes[pcms].flags = -1; 107 testPrintI("Unknown PCM type = %c", flags); 137 pcmnodes[i].flags); [all...] |
/system/extras/libpagemap/ |
H A D | pm_map.c | 54 uint64_t flags; local 56 &flags); 59 if ((flags & flags_mask) != required_flags) 92 uint64_t count, flags; local 106 &flags); 109 if (!(flags & PM_PAGE_REFERENCED))
|