Searched refs:flags (Results 76 - 100 of 6194) sorted by path

1234567891011>>

/external/bison/lib/
H A Dstdlib.in.h332 The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
334 The file is then created, with the specified flags, ensuring it didn't exist
342 _GL_FUNCDECL_SYS (mkostemp, int, (char * /*template*/, int /*flags*/)
345 _GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int /*flags*/));
360 The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
362 The file is then created, with the specified flags, ensuring it didn't exist
371 (char * /*template*/, int /*suffixlen*/, int /*flags*/)
375 (char * /*template*/, int /*suffixlen*/, int /*flags*/));
445 _GL_FUNCDECL_SYS (posix_openpt, int, (int flags));
447 _GL_CXXALIAS_SYS (posix_openpt, int, (int flags));
[all...]
H A Dsys_stat.in.h363 (int fd, char const *name, struct stat *st, int flags)
366 (int fd, char const *name, struct stat *st, int flags));
370 (int fd, char const *name, struct stat *st, int flags)
374 (int fd, char const *name, struct stat *st, int flags));
494 Additionally, it declares _mkdir (and depending on compile flags, an
H A Dunistd.in.h366 specified flags.
367 The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
377 _GL_FUNCDECL_RPL (dup3, int, (int oldfd, int newfd, int flags));
378 _GL_CXXALIAS_RPL (dup3, int, (int oldfd, int newfd, int flags));
380 _GL_FUNCDECL_SYS (dup3, int, (int oldfd, int newfd, int flags));
381 _GL_CXXALIAS_SYS (dup3, int, (int oldfd, int newfd, int flags));
1120 /* Create a pipe, applying the given flags when opening the read-end of the
1122 The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
1132 _GL_FUNCDECL_RPL (pipe2, int, (int fd[2], int flags) _GL_ARG_NONNULL ((1)));
1133 _GL_CXXALIAS_RPL (pipe2, int, (int fd[2], int flags));
[all...]
H A Dvasnprintf.c1535 arg_type type, int flags, size_t width, int has_precision,
1943 int flags = dp->flags; local
1964 flags |= FLAG_LEFT;
2077 && !(dp->flags & FLAG_LEFT))
2131 && (dp->flags & FLAG_LEFT))
2205 && !(dp->flags & FLAG_LEFT))
2259 && (dp->flags & FLAG_LEFT))
2333 && !(dp->flags & FLAG_LEFT))
2387 && (dp->flags
1534 MAX_ROOM_NEEDED(const arguments *ap, size_t arg_index, FCHAR_T conversion, arg_type type, int flags, size_t width, int has_precision, size_t precision, int pad_ourselves) argument
2421 int flags = dp->flags; local
2941 int flags = dp->flags; local
3448 int flags = dp->flags; local
4607 int flags = dp->flags; local
[all...]
/external/bison/linux-lib/
H A Dfcntl.h2 /* Like <fcntl.h>, but with non-working flags defined to 0.
152 _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
164 _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...)
174 _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
213 _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
426 _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
428 _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
430 _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
451 (int fd, char const *file, int flags, /* mode_t mode */ ...)
454 (int fd, char const *file, int flags, /* mode_
[all...]
H A Dstdlib.h193 _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
205 _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...)
215 _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
254 _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
654 The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
656 The file is then created, with the specified flags, ensuring it didn't exist
664 _GL_FUNCDECL_SYS (mkostemp, int, (char * /*template*/, int /*flags*/)
667 _GL_CXXALIAS_SYS (mkostemp, int, (char * /*template*/, int /*flags*/));
682 The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
684 The file is then created, with the specified flags, ensurin
[all...]
H A Dunistd.h211 _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
223 _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...)
233 _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
272 _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
678 specified flags.
679 The flags are a bitmask, possibly including O_CLOEXEC (defined in <fcntl.h>)
689 _GL_FUNCDECL_RPL (dup3, int, (int oldfd, int newfd, int flags));
690 _GL_CXXALIAS_RPL (dup3, int, (int oldfd, int newfd, int flags));
692 _GL_FUNCDECL_SYS (dup3, int, (int oldfd, int newfd, int flags));
693 _GL_CXXALIAS_SYS (dup3, int, (int oldfd, int newfd, int flags));
[all...]
/external/bison/linux-lib/sys/
H A Dstat.h127 _GL_FUNCDECL_RPL (open, int, (const char *filename, int flags, ...)
139 _GL_FUNCDECL_SYS (open, int, (const char *filename, int flags, ...)
149 _GL_CXXALIAS_RPL (open, int, (const char *filename, int flags, ...));
188 _GL_CXXALIAS_SYS (open, int, (const char *filename, int flags, ...));
675 (int fd, char const *name, struct stat *st, int flags)
678 (int fd, char const *name, struct stat *st, int flags));
682 (int fd, char const *name, struct stat *st, int flags)
686 (int fd, char const *name, struct stat *st, int flags));
806 Additionally, it declares _mkdir (and depending on compile flags, an
/external/bison/src/
H A Dgetargs.c92 * \param flags the flags to update
94 * If 0, then activate all the flags.
96 * If VALUE != 0 then KEY sets flags and no-KEY clears them.
97 * If VALUE == 0 then KEY clears all flags from \c all and no-KEY sets all
98 * flags from \c all. Thus no-none = all and no-all = none.
103 int all, int *flags, char *args)
115 *flags |= all;
117 *flags &= ~all;
122 *flags
101 flags_argmatch(const char *option, const char * const keys[], const int values[], int all, int *flags, char *args) argument
[all...]
/external/blktrace/
H A Dblktrace.c160 * poll() data. The volatile's provide flags to/from the main executing
676 static int my_open(const char *path, int flags) argument
681 fd = open(path, flags);
709 static void *my_mmap(void *addr, size_t length, int prot, int flags, int fd, argument
715 new = mmap(addr, length, prot, flags, fd, offset);
/external/blktrace/btt/
H A Dglobals.h250 int my_open(const char *path, int flags);
H A Dmisc.c166 int my_open(const char *path, int flags) argument
171 fd = open(path, flags);
/external/bluetooth/bluedroid/audio_a2dp_hw/
H A Daudio_a2dp_hw.c1004 audio_output_flags_t flags,
1016 UNUSED(flags);
1204 audio_input_flags_t flags __unused,
1001 adev_open_output_stream(struct audio_hw_device *dev, audio_io_handle_t handle, audio_devices_t devices, audio_output_flags_t flags, struct audio_config *config, struct audio_stream_out **stream_out, const char *address __unused) argument
/external/bluetooth/bluedroid/btif/include/
H A Dbtif_sock_rfc.h33 int* sock_fd, int flags);
35 int channel, int* sock_fd, int flags);
36 void btsock_rfc_signaled(int fd, int flags, uint32_t user_id);
H A Dbtif_sock_thread.h38 typedef void (*btsock_signaled_cb)(int fd, int type, int flags, uint32_t user_id);
42 int btsock_thread_add_fd(int handle, int fd, int type, int flags, uint32_t user_id);
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_av.c61 different than open state. Suspend flags are needed however to prevent
79 UINT8 flags; member in struct:__anon1047
271 BTIF_TRACE_DEBUG("%s event:%s flags %x", __FUNCTION__,
272 dump_av_sm_event_name(event), btif_av_cb.flags);
279 btif_av_cb.flags = 0;
368 BTIF_TRACE_DEBUG("%s event:%s flags %x", __FUNCTION__,
369 dump_av_sm_event_name(event), btif_av_cb.flags);
471 BTIF_TRACE_DEBUG("%s event:%s flags %x", __FUNCTION__,
472 dump_av_sm_event_name(event), btif_av_cb.flags);
543 BTIF_TRACE_DEBUG("%s event:%s flags
[all...]
H A Dbtif_config.c95 static void cfg_cmd_callback(int cmd_fd, int type, int flags, uint32_t user_id);
H A Dbtif_dm.c720 uint8_t flags = 0; local
722 BTM_GetSecurityFlagsByTransport(bda, &flags, BT_TRANSPORT_BR_EDR);
723 BTIF_TRACE_DEBUG("%s: security flags (BR/EDR)=0x%02x", __FUNCTION__, flags);
724 if (flags & BTM_SEC_FLAG_ENCRYPTED)
727 BTM_GetSecurityFlagsByTransport(bda, &flags, BT_TRANSPORT_LE);
728 BTIF_TRACE_DEBUG("%s: security flags (LE)=0x%02x", __FUNCTION__, flags);
729 if (flags & BTM_SEC_FLAG_ENCRYPTED)
H A Dbtif_pan.c93 static void btpan_tap_fd_signaled(int fd, int type, int flags, uint32_t user_id);
431 int flags = fcntl(fd, F_GETFL, 0); local
432 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
762 static void btpan_tap_fd_signaled(int fd, int type, int flags, uint32_t user_id) { argument
768 if(flags & SOCK_THREAD_FD_EXCEPTION) {
772 } else if(flags & SOCK_THREAD_FD_RD)
H A Dbtif_sock.c43 const uint8_t* uuid, int channel, int* sock_fd, int flags);
45 const uint8_t* uuid, int channel, int* sock_fd, int flags);
47 static void btsock_signaled(int fd, int type, int flags, uint32_t user_id);
93 const uint8_t* service_uuid, int channel, int* sock_fd, int flags)
105 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, flags);
123 const uint8_t* uuid, int channel, int* sock_fd, int flags)
136 status = btsock_rfc_connect(bd_addr, uuid, channel, sock_fd, flags);
153 static void btsock_signaled(int fd, int type, int flags, uint32_t user_id) argument
158 btsock_rfc_signaled(fd, flags, user_id);
161 BTIF_TRACE_ERROR("bt l2cap socket type not supported, fd:%d, flags
92 btsock_listen(btsock_type_t type, const char* service_name, const uint8_t* service_uuid, int channel, int* sock_fd, int flags) argument
122 btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t* uuid, int channel, int* sock_fd, int flags) argument
[all...]
H A Dbtif_sock_rfc.c242 static rfc_slot_t* alloc_rfc_slot(const bt_bdaddr_t *addr, const char* name, const uint8_t* uuid, int channel, int flags, BOOLEAN server) argument
245 if(flags & BTSOCK_FLAG_ENCRYPT)
247 if(flags & BTSOCK_FLAG_AUTH)
314 int* sock_fd, int flags)
339 rfc_slot_t* rs = alloc_rfc_slot(NULL, service_name, service_uuid, channel, flags, TRUE);
358 int channel, int* sock_fd, int flags)
371 rfc_slot_t* rs = alloc_rfc_slot(bd_addr, NULL, service_uuid, channel, flags, FALSE);
888 void btsock_rfc_signaled(int fd, int flags, uint32_t user_id) argument
894 APPL_TRACE_DEBUG("rfc slot id:%d, fd:%d, flags:%x", rs->id, fd, flags);
313 btsock_rfc_listen(const char* service_name, const uint8_t* service_uuid, int channel, int* sock_fd, int flags) argument
357 btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t* service_uuid, int channel, int* sock_fd, int flags) argument
[all...]
H A Dbtif_sock_thread.c91 int flags; member in struct:__anon1097
110 static inline void add_poll(int h, int fd, int type, int flags, uint32_t user_id);
281 int flags; member in struct:__anon1099
284 int btsock_thread_add_fd(int h, int fd, int type, int flags, uint32_t user_id) argument
296 if(flags & SOCK_THREAD_ADD_FD_SYNC)
301 //cleanup one-time flags
302 flags &= ~SOCK_THREAD_ADD_FD_SYNC;
303 add_poll(h, fd, type, flags, user_id);
308 sock_cmd_t cmd = {CMD_ADD_FD, fd, type, flags, user_id};
309 APPL_TRACE_DEBUG("adding fd:%d, flags
397 flags2pevents(int flags) argument
408 set_poll(poll_slot_t* ps, int fd, int type, int flags, uint32_t user_id) argument
419 add_poll(int h, int fd, int type, int flags, uint32_t user_id) argument
447 remove_poll(int h, poll_slot_t* ps, int flags) argument
506 int flags = 0; local
[all...]
/external/bluetooth/bluedroid/hci/src/
H A Dbtsnoop.c77 int flags; local
82 flags = 2;
86 flags = is_received;
90 flags = is_received;
94 flags = 3;
103 flags = htonl(flags);
113 btsnoop_write(&flags, 4);
/external/bluetooth/bluedroid/osi/src/
H A Dsemaphore.c70 int flags = fcntl(semaphore->fd, F_GETFL); local
71 if (flags == -1) {
72 ALOGE("%s unable to get flags for semaphore fd: %s", __func__, strerror(errno));
75 if (fcntl(semaphore->fd, F_SETFL, flags | O_NONBLOCK) == -1) {
84 if (fcntl(semaphore->fd, F_SETFL, flags) == -1)
85 ALOGE("%s unable to resetore flags for semaphore fd: %s", __func__, strerror(errno));
/external/bluetooth/bluedroid/stack/hcic/
H A Dhcicmds.c876 BOOLEAN btsnd_hcic_qos_setup (UINT16 handle, UINT8 flags, UINT8 service_type, argument
895 UINT8_TO_STREAM (pp, flags);
1036 BOOLEAN btsnd_hcic_flow_specification(UINT16 handle, UINT8 flags, UINT8 flow_direct, argument
1056 UINT8_TO_STREAM (pp, flags);
1762 BOOLEAN btsnd_hcic_write_voice_settings(UINT16 flags) argument
1778 UINT16_TO_STREAM (pp, flags);
1891 BOOLEAN btsnd_hcic_write_hold_mode_act (UINT8 flags) argument
1907 UINT8_TO_STREAM (pp, flags);

Completed in 367 milliseconds

1234567891011>>