Lines Matching refs:buf
137 ZEND_ARG_INFO(0, buf)
183 ZEND_ARG_INFO(1, buf)
190 ZEND_ARG_INFO(0, buf)
197 ZEND_ARG_INFO(1, buf)
206 ZEND_ARG_INFO(0, buf)
489 static int php_read(php_socket *sock, void *buf, size_t maxlen, int flags) argument
495 char *t = (char *) buf;
555 const char *buf; local
562 buf = hstrerror(error);
570 buf = SOCKETS_G(strerror_buf);
574 buf = strerror(error);
579 buf = NULL;
591 buf = SOCKETS_G(strerror_buf);
596 return (buf ? (char *) buf : "");
1563 zval *php_sock_res, *buf; local
1569 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rzll", &php_sock_res, &buf, &len, &flags) ==…
1586 zval_dtor(buf);
1587 Z_TYPE_P(buf) = IS_NULL;
1592 zval_dtor(buf);
1594 Z_STRVAL_P(buf) = recv_buf;
1595 Z_STRLEN_P(buf) = retval;
1596 Z_TYPE_P(buf) = IS_STRING;
1616 char *buf; local
1618 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsll", &arg1, &buf, &buf_len, &len, &flags) …
1624 retval = send(php_sock->bsd_socket, buf, (buf_len < len ? buf_len : len), flags);
1766 char *buf, *addr; local
1769 …if (zend_parse_parameters(argc TSRMLS_CC, "rslls|l", &arg1, &buf, &buf_len, &len, &flags, &addr, &…
1781 …retval = sendto(php_sock->bsd_socket, buf, (len > buf_len) ? buf_len : len, flags, (struct sockadd…
1797 …retval = sendto(php_sock->bsd_socket, buf, (len > buf_len) ? buf_len : len, flags, (struct sockadd…
1813 …retval = sendto(php_sock->bsd_socket, buf, (len > buf_len) ? buf_len : len, flags, (struct sockadd…