Home
last modified time | relevance | path

Searched refs:res (Results 526 – 550 of 570) sorted by relevance

1...<<212223

/PHP-5.5/ext/mysqli/tests/
H A Dmysqli_stmt_affected_rows.phpt100 if (!($res = mysqli_query($link, "SELECT count(id) AS num FROM test")) ||
101 !($tmp = mysqli_fetch_assoc($res)))
104 mysqli_free_result($res);
H A Dmysqli_class_mysqli_warning.phpt36 $res = $mysqli->query('INSERT INTO test(id, label) VALUES (1, "zz")');
/PHP-5.5/main/
H A Drfc1867.c482 char *res; in php_ap_getword() local
500 res = estrdup(*line); in php_ap_getword()
502 return res; in php_ap_getword()
505 res = estrndup(*line, pos - *line); in php_ap_getword()
512 return res; in php_ap_getword()
/PHP-5.5/ext/sockets/
H A Dsockets.c1966 #define HANDLE_SUBCALL(res) \ argument
1968 if (res == 1) { goto default_case; } \
1969 else if (res == SUCCESS) { RETURN_TRUE; } \
1975 int res = php_do_setsockopt_ip_mcast(php_sock, level, optname, arg4 TSRMLS_CC); local
1976 HANDLE_SUBCALL(res);
1981 int res = php_do_setsockopt_ipv6_mcast(php_sock, level, optname, arg4 TSRMLS_CC); local
1982 if (res == 1) {
1983 res = php_do_setsockopt_ipv6_rfc3542(php_sock, level, optname, arg4 TSRMLS_CC);
1985 HANDLE_SUBCALL(res);
H A Dconversions.c543 int res; in from_zval_write_sin_addr() local
555 res = php_set_inet_addr(&saddr, Z_STRVAL_P(zaddr_str), ctx->sock TSRMLS_CC); in from_zval_write_sin_addr()
556 if (res) { in from_zval_write_sin_addr()
600 int res; in from_zval_write_sin6_addr() local
612 res = php_set_inet6_addr(&saddr6, in from_zval_write_sin6_addr()
614 if (res) { in from_zval_write_sin6_addr()
/PHP-5.5/ext/oci8/tests/
H A Dlob_null.phpt149 oci_fetch_all($s, $res);
150 var_dump($res);
/PHP-5.5/ext/standard/
H A Ddns.c338 static void _php_dns_free_res(struct __res_state res) { /* {{{ */ in _php_dns_free_res() argument
341 if (res._u._ext.nsaddrs[ns] != NULL) { in _php_dns_free_res()
342 free (res._u._ext.nsaddrs[ns]); in _php_dns_free_res()
343 res._u._ext.nsaddrs[ns] = NULL; in _php_dns_free_res()
H A Dvar.c767 int res; in php_var_serialize_intern() local
803res = call_user_function_ex(CG(function_table), &struc, &fname, &retval_ptr, 0, 0, 1, NULL TSRMLS_… in php_var_serialize_intern()
813 if (res == SUCCESS) { in php_var_serialize_intern()
/PHP-5.5/Zend/
H A Dzend_hash.c1592 Bucket *p, *res; in zend_hash_minmax() local
1601 res = p = ht->pListHead; in zend_hash_minmax()
1604 if (compar(&res, &p TSRMLS_CC) < 0) { /* max */ in zend_hash_minmax()
1605 res = p; in zend_hash_minmax()
1608 if (compar(&res, &p TSRMLS_CC) > 0) { /* min */ in zend_hash_minmax()
1609 res = p; in zend_hash_minmax()
1613 *pData = res->pData; in zend_hash_minmax()
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd.h109 #define mysqlnd_result_fetch_field_data(res,offset,ret) (res)->m.fetch_field_data((res), (offset), … argument
/PHP-5.5/ext/intl/calendar/
H A Dcalendar_class.cpp209 int32_t res = cal->get(debug_info_fields[i].field, uec); in Calendar_get_debug_info() local
211 add_assoc_long(zfields, name, (long)res); in Calendar_get_debug_info()
H A Dcalendar_methods.cpp385 UBool res = (co->ucal->*func)(*when_co->ucal, CALENDAR_ERROR_CODE(co)); in _php_intlcal_before_after() local
388 RETURN_BOOL((int)res); in _php_intlcal_before_after()
829 int32_t res = co->ucal->getWeekendTransition((UCalendarDaysOfWeek)dow, in PHP_FUNCTION() local
834 RETURN_LONG((long)res); in PHP_FUNCTION()
/PHP-5.5/ext/standard/tests/math/
H A Dhypot_basic.phpt46 $res = hypot($valuesy[$i], $valuesx[$j]);
47 var_dump($res);
/PHP-5.5/ext/intl/timezone/
H A Dtimezone_methods.cpp373 const char *res = TimeZone::getTZDataVersion(status); in PHP_FUNCTION() local
377 RETURN_STRING(res, 1); in PHP_FUNCTION()
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c36359 res = !res;
72802 case OP_Eq: res = res==0; break;
72803 case OP_Ne: res = res!=0; break;
72804 case OP_Lt: res = res<0; break;
72805 case OP_Le: res = res<=0; break;
72806 case OP_Gt: res = res>0; break;
75778 res = -res;
78731 res = res * -1;
78800 res = res * -1;
112243 if( res.nAlloc>res.nData ){
[all …]
/PHP-5.5/ext/spl/
H A Dphp_spl.c812 char *res; in spl_build_class_list_string() local
814 spprintf(&res, 0, "%s, %s", *list, Z_STRVAL_PP(entry)); in spl_build_class_list_string()
816 *list = res; in spl_build_class_list_string()
/PHP-5.5/sapi/apache_hooks/
H A Dphp_apache.c718 char *res; in PHP_FUNCTION() local
730 res = (char *)ap_get_remote_host(r->connection, r->per_dir_config, (int)type); in PHP_FUNCTION()
732 if (res) { in PHP_FUNCTION()
733 RETURN_STRING(res, 1); in PHP_FUNCTION()
/PHP-5.5/ext/hash/
H A Dhash.c563 int res; in PHP_FUNCTION() local
575 res = hash->ops->hash_copy(hash->ops, hash->context, context); in PHP_FUNCTION()
576 if (res != SUCCESS) { in PHP_FUNCTION()
/PHP-5.5/
H A Dacinclude.m41512 int res = 0;
1513 res = res || (snprintf(buf, 2, "marcus") != 6);
1514 res = res || (buf[1] != '\0');
1518 res = res || (buf[0] != 'm');
1519 res = res || (snprintf(NULL, 0, "boerger") != 7);
1520 res = res || (snprintf(buf, sizeof(buf), "%f", 0.12345678) != 8);
1521 exit(res);
H A D.gitignore178 ext/mbstring/libmbfl/*.res
H A Drun-tests.php1673 if (empty($env['CONTENT_TYPE']) && preg_match('/^Content-Type:(.*)/i', $line, $res)) {
1674 $env['CONTENT_TYPE'] = trim(str_replace("\r", '', $res[1]));
1707 if (empty($env['CONTENT_TYPE']) && preg_match('/^Content-Type:(.*)/i', $line, $res)) {
1708 $env['CONTENT_TYPE'] = trim(str_replace("\r", '', $res[1]));
/PHP-5.5/ext/phar/
H A Dstream.c394 int res; in phar_stream_seek() local
424 res = php_stream_seek(data->fp, temp, SEEK_SET); in phar_stream_seek()
427 return res; in phar_stream_seek()
/PHP-5.5/ext/interbase/
H A Dinterbase.c1459 char *res; in PHP_FUNCTION() local
1462 l = spprintf(&res, 0, "%" LL_MASK "d", result); in PHP_FUNCTION()
1463 RETURN_STRINGL(res, l, 0); in PHP_FUNCTION()
/PHP-5.5/ext/gd/
H A Dgd.c4857 int nelem, i, j, res; in PHP_FUNCTION() local
4897 res = gdImageConvolution(im_src, matrix, (float)div, (float)offset); in PHP_FUNCTION()
4899 if (res) { in PHP_FUNCTION()
5286 int res = GD_FALSE, i; in PHP_FUNCTION() local
5331 res = gdAffineTranslate(affine, x, y); in PHP_FUNCTION()
5333 res = gdAffineScale(affine, x, y); in PHP_FUNCTION()
5351 res = gdAffineShearHorizontal(affine, angle); in PHP_FUNCTION()
5353 res = gdAffineShearVertical(affine, angle); in PHP_FUNCTION()
5355 res = gdAffineRotate(affine, angle); in PHP_FUNCTION()
5365 if (res == GD_FALSE) { in PHP_FUNCTION()
/PHP-5.5/ext/mysql/
H A Dphp_mysql.c2058 zval *res, *ctor_params = NULL; local
2072 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z|sz", &res, &class_name, &class_name_len, &…
2089 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &res, &result_type) == FAILURE) {
2103 ZEND_FETCH_RESOURCE(mysql_result, MYSQL_RES *, &res, -1, "MySQL result", le_result);

Completed in 448 milliseconds

1...<<212223