Searched refs:bind (Results 1 - 24 of 24) sorted by relevance

/PHP_TRUNK/ext/bcmath/libbcmath/
H A Dconfigure76 -bindir | --bindir | --bindi | --bind | --bin | --bi)
78 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
/PHP_TRUNK/win32/
H A Dsockets.c54 if (bind(sock[0], (struct sockaddr*)&address, sizeof(address)) != 0) {
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.c2254 ret = bind( fd, pServerAddr, addr_len );
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_sockets.c190 if (0 > bind(sock, sa, socklen)) {
191 zlog(ZLOG_SYSERROR, "unable to bind listening socket for address '%s'", wp->config->listen_address);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c3503 ** ^The third argument is the value to bind to the parameter.
3528 ** to dispose of the BLOB or string even if the call to bind API fails.
4520 ** functions used to bind values to host parameters in prepared statements.
[all...]
/PHP_TRUNK/Zend/
H A Dzend_closures.c89 zend_error(E_WARNING, "Cannot bind an instance to a static closure");
97 zend_error(E_WARNING, "Cannot bind function %s::%s to object of class %s", closure->func.common.scope->name->val, closure->func.common.function_name->val, Z_OBJCE_P(newthis)->name->val);
124 /* {{{ proto Closure Closure::bind(Closure $old, object $to [, mixed $scope = "static" ] )
125 Create a closure from another one and bind to another object and scope */
126 ZEND_METHOD(Closure, bind)
139 zend_error(E_WARNING, "Cannot bind an instance to a static closure");
436 ZEND_ME(Closure, bind, arginfo_closure_bind, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
437 ZEND_MALIAS(Closure, bindTo, bind, arginfo_closure_bindto, ZEND_ACC_PUBLIC)
502 zend_error(E_WARNING, "Cannot bind function %s::%s to scope class %s", func->common.scope->name->val, func->common.function_name->val, scope->name->val);
507 zend_error(E_WARNING, "Cannot bind functio
[all...]
/PHP_TRUNK/ext/ftp/
H A Dftp.c1389 /* bind/listen */
1419 /* bind to a local address */
1423 if (bind(fd, (struct sockaddr*) &addr, size) != 0) {
1424 php_error_docref(NULL, E_WARNING, "bind() failed: %s (%d)", strerror(errno), errno);
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c410 mssql_bind *bind= (mssql_bind *) data; local
412 zval_ptr_dtor(&(bind->zval));
1139 mssql_bind *bind; local
1150 if (zend_hash_find(statement->binds, parameter, strlen(parameter), (void**)&bind)==SUCCESS) {
1152 ZVAL_NULL(bind->zval);
1160 convert_to_long_ex(&bind->zval);
1162 Z_LVAL_P(bind->zval) = *((int *)(dbretdata(mssql_ptr->link,i)));
1171 convert_to_double_ex(&bind->zval);
1172 Z_DVAL_P(bind->zval) = *((double *)(dbretdata(mssql_ptr->link,i)));
1178 convert_to_string_ex(&bind
2018 mssql_bind bind,*bindp; local
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c188 MYSQL_BIND *bind; local
197 bind = (MYSQL_BIND *) ecalloc(num_vars, sizeof(MYSQL_BIND));
210 bind[ofs].buffer_type = MYSQL_TYPE_DOUBLE;
211 bind[ofs].buffer = &Z_DVAL_P(param);
212 bind[ofs].is_null = &stmt->param.is_null[ofs];
217 bind[ofs].buffer_type = MYSQL_TYPE_LONGLONG;
219 bind[ofs].buffer_type = MYSQL_TYPE_LONG;
221 bind[ofs].buffer = &Z_LVAL_P(param);
222 bind[ofs].is_null = &stmt->param.is_null[ofs];
226 bind[of
391 MYSQL_BIND *bind; local
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.h236 #define mysqlnd_stmt_free_param_bind(stmt,bind) (stmt)->m->free_parameter_bind((stmt), (bind))
237 #define mysqlnd_stmt_bind_param(stmt,bind) (stmt)->m->bind_parameters((stmt), (bind))
241 #define mysqlnd_stmt_free_result_bind(stmt,bind) (stmt)->m->free_result_bind((stmt), (bind))
242 #define mysqlnd_stmt_bind_result(stmt,bind) (stmt)->m->bind_result((stmt), (bind))
/PHP_TRUNK/ext/oci8/
H A Doci8.c1552 php_oci_bind *bind = (php_oci_bind *) data; local
1554 if (bind->array.elements) {
1555 efree(bind->array.elements);
1558 if (bind->array.element_lengths) {
1559 efree(bind->array.element_lengths);
1562 if (bind->array.indicators) {
1563 efree(bind->array.indicators);
1566 zval_ptr_dtor(&bind->zval);
H A Doci8_statement.c907 php_oci_bind *bind = (php_oci_bind *) data; local
911 if (Z_TYPE(bind->zval) == IS_ARRAY) {
913 * oci_bind_array_by_name. Also bind->type and
914 * bind->indicator are not used for oci_bind_array_by_name.
918 switch (bind->type) {
925 if (Z_TYPE(bind->zval) != IS_OBJECT) {
926 php_error_docref(NULL, E_WARNING, "Invalid variable used for bind");
941 if (Z_TYPE(bind->zval) == IS_RESOURCE || Z_TYPE(bind->zval) == IS_OBJECT) {
942 php_error_docref(NULL, E_WARNING, "Invalid variable used for bind");
966 php_oci_bind *bind = (php_oci_bind *) data; local
1090 php_oci_bind bind, *old_bind, *bindp; local
1526 php_oci_bind *bind, *bindp; local
1628 php_oci_bind *bind; local
1698 php_oci_bind *bind; local
1737 php_oci_bind *bind; local
1776 php_oci_bind *bind; local
[all...]
H A Dphp_oci8_int.h239 OCIBind *bind; /* bind handle */ member in struct:__anon145
244 ub2 type; /* bind type */
256 ub4 dummy_len; /* a dummy var to store alenpp value in bind OUT callback */
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c50 static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind);
191 static inline void zend_clone_zval(zval *src, int bind) argument
206 if (bind && Z_REFCOUNT_P(src) > 1 && (ptr = accel_xlat_get(Z_ARR_P(src))) != NULL) {
213 if (bind && Z_REFCOUNT_P(src) > 1) {
221 if (bind && Z_REFCOUNT_P(src) > 1 && (ptr = accel_xlat_get(Z_REF_P(src))) != NULL) {
227 if (bind && Z_REFCOUNT_P(src) > 1) {
230 zend_clone_zval(Z_REFVAL_P(src), bind); local
234 if (bind && Z_REFCOUNT_P(src) > 1 && (ptr = accel_xlat_get(Z_AST_P(src))) != NULL) {
241 if (bind && Z_REFCOUNT_P(src) > 1) {
292 static void zend_hash_clone_zval(HashTable *ht, HashTable *source, int bind) argument
[all...]
/PHP_TRUNK/ext/pdo_oci/
H A Doci_statement.c152 /* do first-time-only definition of bind/mapping stuff */
208 /* regular string bind */
311 &P->bind, S->err, (text*)param->name,
317 &P->bind, S->err, param->paramno+1,
323 STMT_CALL(OCIBindDynamic, (P->bind,
370 * wanted to bind a lob locator into it from the query
H A Dphp_pdo_oci_int.h73 OCIBind *bind; /* allocated by OCI */ member in struct:__anon169
/PHP_TRUNK/ext/soap/
H A Dphp_sdl.c1159 soap_error0(E_ERROR, "Parsing WSDL: Couldn't bind to service");
2836 static sdlBindingPtr make_persistent_sdl_binding(sdlBindingPtr bind, HashTable *ptr_map) argument
2843 *pbind = *bind;
/PHP_TRUNK/ext/sockets/
H A Dsockets.c451 if (bind(sock->bsd_socket, (struct sockaddr *)&la, sizeof(la)) != 0) {
452 PHP_SOCKET_ERROR(sock, "unable to bind to given address", errno);
1515 retval = bind(php_sock->bsd_socket, (struct sockaddr *) sa,
1531 retval = bind(php_sock->bsd_socket, (struct sockaddr *)sa, sizeof(struct sockaddr_in));
1546 retval = bind(php_sock->bsd_socket, (struct sockaddr *)sa, sizeof(struct sockaddr_in6));
1556 PHP_SOCKET_ERROR(php_sock, "unable to bind address", errno);
/PHP_TRUNK/main/
H A Dnetwork.c465 /* attempt to bind */
481 n = bind(sock, sa, socklen);
873 if (!local_address || bind(sock, local_address, local_address_len)) {
874 php_error_docref(NULL, E_WARNING, "failed to bind to '%s:%d', system said: %s", bindto, bindport, strerror(errno));
/PHP_TRUNK/main/streams/
H A Dxp_socket.c615 return bind(sock->socket, (const struct sockaddr *)&unix_addr,
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c676 /* Create, bind socket and start listen on it */
681 bind(listen_socket, (struct sockaddr *) &sa, sock_len) < 0 ||
684 fprintf(stderr, "Cannot bind/listen socket - [%d] %s.\n",errno, strerror(errno));
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_io.c206 if (bind(fd, res.ai_addr, res.ai_addrlen) == -1) {
H A Dphpdbg_wait.c358 if (bind(sl, (struct sockaddr *)&local, len) == -1) {
/PHP_TRUNK/sapi/cli/
H A Dphp_cli_server.c1240 if (bind(retval, sa, *socklen) == SOCK_CONN_ERR) {

Completed in 225 milliseconds