Searched defs:flags (Results 1 - 25 of 69) sorted by path

123

/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h662 uint8_t flags; member in struct:__anon46
1857 uint8_t flags; member in struct:__anon190
1995 uint8_t flags; member in struct:__anon208
2410 uint32_t flags; member in struct:hci_dev_info
2469 uint16_t flags; member in struct:hci_inquiry_req
H A Dl2cap.h122 uint16_t flags; member in struct:__anon253
130 uint16_t flags; member in struct:__anon254
H A Drfcomm.h57 uint32_t flags; member in struct:rfcomm_dev_req
71 uint32_t flags; member in struct:rfcomm_dev_info
/system/bluetooth/tools/
H A Dsock_shutdown_bug_l2cap.c29 long flags; local
37 flags = fcntl(fd, F_GETFL);
38 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
H A Dsock_shutdown_bug_rfcomm.c30 long flags; local
38 flags = fcntl(fd, F_GETFL);
39 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
H A Dsock_shutdown_bug_tcp.c28 long flags; local
H A Dsocktest.c511 int flags; local
519 flags = fcntl(fd, F_GETFL);
520 if (flags == -1)
522 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK))
544 int flags; local
549 flags = fcntl(fd, F_GETFL);
550 if (flags == -1)
552 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK))
/system/core/adb/
H A Djdwp_service.c324 int flags; local
342 flags = fcntl(proc->socket,F_GETFL,0);
344 if (flags == -1) {
345 D("failed to get cntl flags for socket %d: %s\n",
351 if (fcntl(proc->socket, F_SETFL, flags & ~O_NONBLOCK) == -1) {
376 if (fcntl(proc->socket, F_SETFL, flags) == -1) {
H A Dsysdeps_win32.c1285 int wanted; /* wanted event flags */
1286 int ready; /* ready event flags */
1993 int flags = 0; local
1995 flags |= FD_READ | FD_ACCEPT | FD_CLOSE;
1998 flags |= FD_WRITE | FD_CONNECT | FD_CLOSE;
2001 flags |= FD_OOB;
2003 return flags;
2010 long flags = _socket_wanted_to_flags( hook->wanted ); local
2018 if ( flags != fh->mask ) {
2019 D( "_event_socket_start: hooking %s for %x (flags
[all...]
/system/core/fs_mgr/
H A Dfs_mgr.c109 static int parse_flags(char *flags, struct flag_list *fl, char **key_loc, argument
127 p = strtok_r(flags, ",", &savep);
325 fstab[cnt].flags = parse_flags(p, mount_flags, 0, tmp_fs_options, FS_OPTIONS_LEN);
468 fstab[i].flags, fstab[i].fs_options);
540 fstab[i].flags, fstab[i].fs_options)) {
H A Dfs_mgr_priv.h32 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/include/diskconfig/
H A Ddiskconfig.h83 uint8_t flags; member in struct:part_info
/system/core/include/system/
H A Dwindow.h339 : flags(0), minSwapInterval(0), maxSwapInterval(0), xdpi(0), ydpi(0)
358 /* flags describing some attributes of this surface or its updater */
359 const uint32_t flags; member in struct:ANativeWindow
582 * Sets the intended usage flags for the next buffers
/system/core/init/
H A Dbuiltins.c198 if (!(svc->flags & SVC_DISABLED)) {
362 /* mount <type> <device> <path> <flags ...> <options> */
368 unsigned flags = 0; local
375 flags |= mount_flags[i].flag;
403 if (mount(tmp, target, system, flags, options) < 0) {
412 mode = (flags & MS_RDONLY) ? O_RDONLY : O_RDWR;
431 if (mount(tmp, target, system, flags, options) < 0) {
451 if (mount(source, target, system, flags, options) < 0) {
H A Dinit.h87 unsigned flags; member in struct:service
H A Dinit_parser.c60 #define KEYWORD(symbol, flags, nargs, func) \
61 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, },
67 unsigned char flags; member in struct:__anon370
74 #define kw_is(kw, type) (keyword_info[kw].flags & (type))
494 if (svc->flags & matchflags) {
665 svc->flags |= SVC_CONSOLE;
668 svc->flags |= SVC_DISABLED;
669 svc->flags |= SVC_RC_DISABLED;
724 svc->flags |= SVC_ONESHOT;
748 svc->flags |
[all...]
/system/core/libcutils/
H A Dabort_socket.c28 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 Dandroid_reboot.c104 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))
H A Dmq.c212 int flags; local
213 if ((flags = fcntl(fd, F_GETFL, 0)) < 0) {
216 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK) < 0) {
/system/core/libion/
H A Dion.c58 unsigned int flags, struct ion_handle **handle)
65 .flags = flags,
84 int flags, off_t offset, unsigned char **ptr, int *map_fd)
98 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset);
125 unsigned int flags, int *handle_fd) {
129 ret = ion_alloc(fd, len, align, heap_mask, flags, &handle);
57 ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, struct ion_handle **handle) argument
83 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
124 ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, int *handle_fd) argument
/system/core/liblog/
H A Dfake_log_device.c614 static int logOpen(const char* pathName, int flags) argument
641 static int (*redirectOpen)(const char *pathName, int flags) = NULL;
656 redirectOpen = (int (*)(const char *pathName, int flags))open;
667 int fakeLogOpen(const char *pathName, int flags) argument
672 return redirectOpen(pathName, flags);
/system/core/libnetutils/
H A Ddhcpmsg.h45 uint16_t flags; member in struct:dhcp_msg
H A Difc_utils.c471 int ifc_get_info(const char *name, in_addr_t *addr, int *prefixLength, unsigned *flags) argument
493 if (flags != NULL) {
495 *flags = 0;
497 *flags = ifr.ifr_flags;
652 int flags, refcnt, use, metric, mtu, win, irtt; local
668 ifname, &dest, &gway, &flags, &refcnt, &use, &metric, &mask,
673 if ((flags & (RTF_UP|RTF_HOST)) != (RTF_UP|RTF_HOST)
705 int flags, refcnt, use, metric, mtu, win, irtt; local
721 name, &dest, &gway, &flags, &refcnt, &use, &metric, &mask,
726 if ((flags
[all...]
/system/core/libnl_2/genl/
H A Dgenl.c50 int hdrlen, int flags, uint8_t cmd, uint8_t version)
67 nlh->nlmsg_flags = flags | NLM_F_REQUEST | NLM_F_ACK;
203 /* Check flags */
49 genlmsg_put(struct nl_msg *msg, uint32_t pid, uint32_t seq, int family, int hdrlen, int flags, uint8_t cmd, uint8_t version) argument
/system/core/libnl_2/
H A Dnetlink.c114 int i, rem, flags; local

Completed in 87 milliseconds

123