Searched refs:flags (Results 1 - 25 of 126) sorted by relevance

123456

/system/core/toolbox/
H A Drestorecon.c19 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 Dswapon.c23 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 Dls.c22 // 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 Difconfig.c64 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 Dschedtop.c170 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 Dkexec.h20 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 Dandroid_reboot.h30 int android_reboot(int cmd, int flags, char *arg);
/system/core/liblog/
H A Dfake_log_device.h24 int fakeLogOpen(const char *pathName, int flags);
/system/core/libpixelflinger/
H A Dtrap.h27 void ggl_state_changed(context_t* c, int flags);
/system/core/fastbootd/
H A Dnetwork_discovery.c49 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 Dion.h34 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 DExt4.cpp52 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 DFat.cpp119 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 Dsignal_handler.c74 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 Dueventd_keywords.h3 #define KEYWORD(symbol, flags, nargs) K_##symbol,
/system/core/toolbox/upstream-netbsd/lib/libc/gen/
H A Dhumanize_number.c48 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 DUnwindMap.cpp54 map.flags = unw_map.flags;
94 map.flags = unw_map.flags;
H A DBacktraceMap.cpp76 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 Dbootimg.h91 unsigned flags; /* set to zero */
/system/extras/tests/crypto/
H A Dget_dm_versions.c10 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 Dblending.cpp40 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 Dion.c61 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 Ddevice_test.cpp142 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 Dpcmtest.cpp46 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 Dpm_map.c54 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))

Completed in 576 milliseconds

123456