Lines Matching refs:buf

845 	char buf[32];  in PHP_MINFO_FUNCTION()  local
849 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_persistent)); in PHP_MINFO_FUNCTION()
850 php_info_print_table_row(2, "Active Persistent Links", buf); in PHP_MINFO_FUNCTION()
851 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, ODBCG(num_links)); in PHP_MINFO_FUNCTION()
852 php_info_print_table_row(2, "Active Links", buf); in PHP_MINFO_FUNCTION()
855 snprintf(buf, sizeof(buf), "0x%0.4x", ODBCVER); in PHP_MINFO_FUNCTION()
856 php_info_print_table_row(2, "ODBCVER", buf); in PHP_MINFO_FUNCTION()
1456 char buf[4096]; in PHP_FUNCTION() local
1461 while ((nbytes = read(fp, &buf, 4096)) > 0) { in PHP_FUNCTION()
1462 SQLPutData(result->stmt, (void*)&buf, nbytes); in PHP_FUNCTION()
1723 char *buf = NULL; in php_odbc_fetch_hash() local
1799 if (buf == NULL) { in php_odbc_fetch_hash()
1800 buf = emalloc(result->longreadlen + 1); in php_odbc_fetch_hash()
1803 …rc = SQLGetData(result->stmt, (SQLUSMALLINT)(i + 1), sql_c_type, buf, result->longreadlen + 1, &re… in php_odbc_fetch_hash()
1807 efree(buf); in php_odbc_fetch_hash()
1812 ZVAL_STRINGL(&tmp, buf, result->longreadlen); in php_odbc_fetch_hash()
1820 ZVAL_STRINGL(&tmp, buf, result->values[i].vallen); in php_odbc_fetch_hash()
1843 if (buf) { in php_odbc_fetch_hash()
1844 efree(buf); in php_odbc_fetch_hash()
1878 char *buf = NULL; in PHP_FUNCTION() local
1956 if (buf == NULL) { in PHP_FUNCTION()
1957 buf = emalloc(result->longreadlen + 1); in PHP_FUNCTION()
1959 …rc = SQLGetData(result->stmt, (SQLUSMALLINT)(i + 1),sql_c_type, buf, result->longreadlen + 1, &res… in PHP_FUNCTION()
1963 efree(buf); in PHP_FUNCTION()
1967 ZVAL_STRINGL(&tmp, buf, result->longreadlen); in PHP_FUNCTION()
1975 ZVAL_STRINGL(&tmp, buf, result->values[i].vallen); in PHP_FUNCTION()
1989 if (buf) efree(buf); in PHP_FUNCTION()
2286 char *buf = NULL; in PHP_FUNCTION() local
2359 if (buf == NULL) { in PHP_FUNCTION()
2360 buf = emalloc(result->longreadlen); in PHP_FUNCTION()
2363 …rc = SQLGetData(result->stmt, (SQLUSMALLINT)(i + 1),sql_c_type, buf, result->longreadlen, &result-… in PHP_FUNCTION()
2370 efree(buf); in PHP_FUNCTION()
2374 PHPWRITE(buf, result->longreadlen); in PHP_FUNCTION()
2378 efree(buf); in PHP_FUNCTION()
2384 PHPWRITE(buf, result->values[i].vallen); in PHP_FUNCTION()
2407 if (buf) efree(buf); in PHP_FUNCTION()