/external/bison/lib/ |
H A D | unistd--.h | 27 #undef pipe macro 28 #define pipe pipe_safer macro
|
/external/valgrind/main/coregrind/m_scheduler/ |
H A D | priv_sema.h | 34 /* Not really a semaphore, but use a pipe for a token-passing scheme */ 36 Int pipe[2]; member in struct:__anon13668
|
/external/clang/test/CodeGen/ |
H A D | 2008-07-31-asm-labels.c | 2 // RUN: grep "@pipe()" %t | count 0 7 // RUN: grep "@pipe()" %t | count 0 11 void pipe() asm("_thisIsNotAPipe"); 14 pipe(); 17 void pipe(int); 20 pipe(1); 24 void pipe(int arg) { function
|
/external/dbus/dbus/ |
H A D | dbus-pipe.c | 2 /* dbus-pipe.c pipe implementation (internal to D-Bus implementation) 26 #include "dbus-pipe.h" 29 * init a pipe instance. 31 * @param pipe the pipe 35 _dbus_pipe_init (DBusPipe *pipe, argument 38 pipe->fd_or_handle = fd; 42 * init a pipe with stdout 44 * @param pipe th 47 _dbus_pipe_init_stdout(DBusPipe *pipe) argument 60 _dbus_pipe_is_valid(DBusPipe *pipe) argument 72 _dbus_pipe_is_stdout_or_stderr(DBusPipe *pipe) argument 82 _dbus_pipe_invalidate(DBusPipe *pipe) argument [all...] |
H A D | dbus-pipe-unix.c | 2 /* dbus-pipe-unix.c unix related pipe implementation 29 #include "dbus-pipe.h" 35 * write data to a pipe. 37 * @param pipe the pipe instance 45 _dbus_pipe_write (DBusPipe *pipe, argument 53 written = _dbus_write (pipe->fd_or_handle, buffer, start, len); 57 "Writing to pipe: %s\n", 64 * close a pipe 71 _dbus_pipe_close(DBusPipe *pipe, DBusError *error) argument [all...] |
H A D | dbus-pipe-win.c | 2 /* dbus-pipe-win.c windows related pipe implementation 29 #include "dbus-pipe.h" 34 * write data to a pipe. 36 * @param pipe the pipe instance 44 _dbus_pipe_write (DBusPipe *pipe, argument 55 res = WriteFile ((HANDLE) pipe->fd_or_handle, buffer_c + start, len, &written, NULL); 59 "Writing to pipe: %s\n", 66 * close a pipe 73 _dbus_pipe_close(DBusPipe *pipe, DBusError *error) argument [all...] |
/external/openfst/src/script/ |
H A D | info.cc | 28 bool pipe, bool verify) { 29 InfoArgs args(f, test_properties, arc_filter, info_type, pipe, verify); 26 PrintFstInfo(const FstClass &f, bool test_properties, const string &arc_filter, const string &info_type, bool pipe, bool verify) argument
|
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | SourceChannelTest.java | 36 private Pipe pipe; field in class:SourceChannelTest 48 pipe = Pipe.open(); 49 sink = pipe.sink(); 50 source = pipe.source(); 158 // open new pipe everytime, will be closed in finally block 159 pipe = Pipe.open(); 160 sink = pipe.sink(); 161 source = pipe.source(); 194 // close pipe everytime 301 Pipe pipe [all...] |
H A D | SinkChannelTest.java | 40 private Pipe pipe; field in class:SinkChannelTest 52 pipe = Pipe.open(); 53 sink = pipe.sink(); 54 source = pipe.source();
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
H A D | nfc_hal_hci.c | 187 UINT8 pipe; local 194 pipe = (*p_data++) & 0x7F; 197 &&(pipe == NFC_HAL_HCI_ADMIN_PIPE) ) 210 NCI_TRACE_DEBUG1 ("nfc_hal_hci_handle_hcp_pkt(): Received Clear All pipe command for UICC: 0x%02x", source_host);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | Pipeline.java | 52 private InputStream pipe; field in class:Pipeline 122 public Pipeline(InputStream pipe, int readTimeout, Timer timer) { argument 123 // pipe is the Socket stream 126 this.pipe = pipe; 159 this.pipe.close();
|
/external/libnfc-nci/src/nfa/hci/ |
H A D | nfa_hci_api.c | 325 ** Description This function is called to create a dynamic pipe with the 326 ** specified host. When the dynamic pipe is created (or 328 ** NFA_HCI_CREATE_PIPE_EVT with the pipe id. If a pipe exists 330 ** created earlier by the calling application then the pipe 331 ** id of the existing pipe will be returned and a new pipe 332 ** will not be created. After successful creation of pipe, 333 ** registry entry will be created for the dynamic pipe and 334 ** all information related to the pipe wil 411 NFA_HciOpenPipe(tNFA_HANDLE hci_handle, UINT8 pipe) argument 461 NFA_HciGetRegistry(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 reg_inx) argument 511 NFA_HciSetRegistry(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 reg_inx, UINT8 data_size, UINT8 *p_data) argument 573 NFA_HciSendCommand(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 cmd_code, UINT16 cmd_size, UINT8 *p_data) argument 634 NFA_HciSendResponse(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 response, UINT8 data_size, UINT8 *p_data) argument 712 NFA_HciSendEvent(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 evt_code, UINT16 evt_size, UINT8 *p_data, UINT16 rsp_size, UINT8 *p_rsp_buf, UINT16 rsp_timeout) argument 784 NFA_HciClosePipe(tNFA_HANDLE hci_handle, UINT8 pipe) argument 833 NFA_HciDeletePipe(tNFA_HANDLE hci_handle, UINT8 pipe) argument 879 NFA_HciAddStaticPipe(tNFA_HANDLE hci_handle, UINT8 host, UINT8 gate, UINT8 pipe) argument [all...] |
H A D | nfa_hci_main.c | 64 static void nfa_hci_set_receive_buf (UINT8 pipe); 223 /* No two gates can own a same pipe */ 233 /* Every bit set in pipe increment mask indicates a valid pipe */ 236 /* Check if the pipe is valid one */ 250 /* Check if pipe id is valid */ 254 /* Check if pipe state is valid */ 259 /* Check if local gate on which the pipe is created is valid */ 264 /* Check if the peer gate on which the pipe is created is valid */ 269 /* Check if the same pipe i 564 UINT8 pipe; local 940 nfa_hci_set_receive_buf(UINT8 pipe) argument [all...] |
H A D | nfa_hci_act.c | 353 /* See if any pipe is owned by this app */ 435 evt_data.gates_pipes.pipe[evt_data.gates_pipes.num_pipes++] = *(tNFA_HCI_PIPE_INFO*)pp; 514 /* See if any pipe is owned by this app */ 527 /* UICC is not active at the moment and cannot delete the pipe */ 579 ** Description action function to create a pipe 590 /* Verify that the app owns the gate that the pipe is being created on */ 596 NFA_TRACE_ERROR2 ("nfa_hci_api_create_pipe Cannot create pipe! APP: 0x%02x does not own the gate:0x%x", p_evt_data->create_pipe.hci_handle, p_evt_data->create_pipe.source_gate); 621 ** Description action function to open a pipe 629 tNFA_HCI_DYN_PIPE *p_pipe = nfa_hciu_find_pipe_by_pid (p_evt_data->open_pipe.pipe); 642 nfa_hciu_send_open_pipe_cmd (p_evt_data->open_pipe.pipe); 1187 UINT8 source_host, source_gate, dest_host, dest_gate, pipe; local 1300 UINT8 pipe = 0; local [all...] |
H A D | nfa_hci_utils.c | 35 static void handle_debug_loopback (BT_HDR *p_buf, UINT8 pipe, UINT8 type, UINT8 instruction); 42 ** Description look for the pipe control block based on pipe id 44 ** Returns pointer to the pipe control block, or NULL if not found 178 /* For each pipe on this gate, check if it is open */ 211 ** Description Find the application that owns a pipe 313 ** and send it on the given pipe. 444 ** Description Allocate a pipe control block 446 ** Returns pointer to the pipe control block, or NULL if 455 /* If we already have a pipe o 923 nfa_hciu_send_delete_pipe_cmd(UINT8 pipe) argument 975 nfa_hciu_send_open_pipe_cmd(UINT8 pipe) argument 995 nfa_hciu_send_close_pipe_cmd(UINT8 pipe) argument 1015 nfa_hciu_send_get_param_cmd(UINT8 pipe, UINT8 index) argument 1034 nfa_hciu_send_set_param_cmd(UINT8 pipe, UINT8 index, UINT8 length, UINT8 *p_data) argument 1323 nfa_hciu_get_type_inst_names(UINT8 pipe, UINT8 type, UINT8 inst) argument 1400 handle_debug_loopback(BT_HDR *p_buf, UINT8 pipe, UINT8 type, UINT8 instruction) argument [all...] |
/external/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_unittest.cc | 80 #define pipe(fds) _pipe(fds, 4096, O_BINARY) macro 586 // different things to handle them. We'll test by writing to a pipe and 593 // Need to create a new pipe each time because ReadStuff() expects 595 ASSERT_EQ(pipe(files), 0);
|
/external/qemu/android/ |
H A D | hw-pipe-net.c | 17 /* This file implements the 'tcp:' goldfish pipe type which allows 30 /* Implement the OpenGL fast-pipe */ 75 netPipe_free( NetPipe* pipe ) 80 fd = pipe->io->fd; 81 loopIo_done(pipe->io); 84 /* Release the pipe object */ 85 AFREE(pipe); 90 netPipe_resetState( NetPipe* pipe ) 92 if ((pipe->wakeWanted & PIPE_WAKE_WRITE) != 0) { 93 loopIo_wantWrite(pipe 112 NetPipe* pipe = opaque; local 140 NetPipe* pipe = opaque; local 189 NetPipe* pipe; local 232 NetPipe* pipe = opaque; local 236 netPipeReadySend(NetPipe *pipe) argument 251 NetPipe* pipe = opaque; local 309 NetPipe* pipe = opaque; local 362 NetPipe* pipe = opaque; local 377 NetPipe* pipe = opaque; local 486 NetPipe *pipe; local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
H A D | wpa_ctrl.c | 66 HANDLE pipe; member in struct:wpa_ctrl 435 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) 468 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, 471 * Current named pipe server side in wpa_supplicant is 472 * re-opening the pipe for new clients only after the previous 477 if (ctrl->pipe != INVALID_HANDLE_VALUE || 482 if (ctrl->pipe == INVALID_HANDLE_VALUE) { 488 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { 489 CloseHandle(ctrl->pipe); 500 CloseHandle(ctrl->pipe); [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
H A D | ctrl_iface_named_pipe.c | 50 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) 71 HANDLE pipe; member in struct:wpa_ctrl_dst 106 static int ctrl_broken_pipe(HANDLE pipe, int used) argument 110 if (PeekNamedPipe(pipe, NULL, 0, NULL, NULL, NULL)) 128 if (ctrl_broken_pipe(dst->pipe, dst->used)) { 129 wpa_printf(MSG_DEBUG, "CTRL: closing broken pipe %p", 147 wpa_printf(MSG_DEBUG, "CTRL: Open pipe %p", dst); 151 dst->pipe = INVALID_HANDLE_VALUE; 172 /* TODO: add support for configuring access list for the pipe */ 173 dst->pipe 550 HANDLE pipe; member in struct:wpa_global_dst [all...] |
/external/wpa_supplicant_8/hostapd/src/common/ |
H A D | wpa_ctrl.c | 61 HANDLE pipe; member in struct:wpa_ctrl 537 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) 570 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, 573 * Current named pipe server side in wpa_supplicant is 574 * re-opening the pipe for new clients only after the previous 579 if (ctrl->pipe != INVALID_HANDLE_VALUE || 584 if (ctrl->pipe == INVALID_HANDLE_VALUE) { 590 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { 591 CloseHandle(ctrl->pipe); 602 CloseHandle(ctrl->pipe); [all...] |
/external/wpa_supplicant_8/src/common/ |
H A D | wpa_ctrl.c | 61 HANDLE pipe; member in struct:wpa_ctrl 537 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) 570 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, 573 * Current named pipe server side in wpa_supplicant is 574 * re-opening the pipe for new clients only after the previous 579 if (ctrl->pipe != INVALID_HANDLE_VALUE || 584 if (ctrl->pipe == INVALID_HANDLE_VALUE) { 590 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { 591 CloseHandle(ctrl->pipe); 602 CloseHandle(ctrl->pipe); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | ctrl_iface_named_pipe.c | 44 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) 65 HANDLE pipe; member in struct:wpa_ctrl_dst 100 static int ctrl_broken_pipe(HANDLE pipe, int used) argument 104 if (PeekNamedPipe(pipe, NULL, 0, NULL, NULL, NULL)) 122 if (ctrl_broken_pipe(dst->pipe, dst->used)) { 123 wpa_printf(MSG_DEBUG, "CTRL: closing broken pipe %p", 141 wpa_printf(MSG_DEBUG, "CTRL: Open pipe %p", dst); 145 dst->pipe = INVALID_HANDLE_VALUE; 166 /* TODO: add support for configuring access list for the pipe */ 167 dst->pipe 544 HANDLE pipe; member in struct:wpa_global_dst [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/common/ |
H A D | wpa_ctrl.c | 61 HANDLE pipe; member in struct:wpa_ctrl 537 #define NAMED_PIPE_PREFIX TEXT("\\\\.\\pipe\\") TEXT(WPA_SUPPLICANT_NAMED_PIPE) 570 ctrl->pipe = CreateFile(name, GENERIC_READ | GENERIC_WRITE, 0, 573 * Current named pipe server side in wpa_supplicant is 574 * re-opening the pipe for new clients only after the previous 579 if (ctrl->pipe != INVALID_HANDLE_VALUE || 584 if (ctrl->pipe == INVALID_HANDLE_VALUE) { 590 if (!SetNamedPipeHandleState(ctrl->pipe, &mode, NULL, NULL)) { 591 CloseHandle(ctrl->pipe); 602 CloseHandle(ctrl->pipe); [all...] |
/external/blktrace/ |
H A D | blkiomon.c | 71 int pipe; member in struct:output 244 if (binary.pipe && fflush(binary.fp)) 440 if (drvdata.pipe && fflush(drvdata.fp)) 537 out->pipe = 1; 542 out->pipe = 0;
|
/external/dnsmasq/src/ |
H A D | dnsmasq.c | 64 static void async_event(int pipe, time_t now); 272 /* Use a pipe to carry signals and other events back to the event loop 278 /* prime the pipe to load stuff first time. */ 300 /* pipe to carry errors back to original process. 753 /* error pipe, debug mode. */ 757 /* pipe is non-blocking and struct event_desc is smaller than 797 static void async_event(int pipe, time_t now) argument 803 if (read_write(pipe, (unsigned char *)&ev, sizeof(ev), 1))
|