Lines Matching refs:buf
343 ZEND_ARG_INFO(0, buf)
868 static inline char * _php_pgsql_trim_result(PGconn * pgsql, char **buf) in _php_pgsql_trim_result() argument
870 return *buf = _php_pgsql_trim_message(PQerrorMessage(pgsql), NULL); in _php_pgsql_trim_result()
874 #define PQErrorMessageTrim(pgsql, buf) _php_pgsql_trim_result(pgsql, buf) argument
1194 char buf[256]; in PHP_MINFO_FUNCTION() local
1212 snprintf(buf, sizeof(buf), "%ld", PGG(num_persistent)); in PHP_MINFO_FUNCTION()
1213 php_info_print_table_row(2, "Active Persistent Links", buf); in PHP_MINFO_FUNCTION()
1214 snprintf(buf, sizeof(buf), "%ld", PGG(num_links)); in PHP_MINFO_FUNCTION()
1215 php_info_print_table_row(2, "Active Links", buf); in PHP_MINFO_FUNCTION()
3372 char *buf; local
3385 buf = (char *) safe_emalloc(sizeof(char), (buf_len+1), 0);
3386 if ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, buf, buf_len))<0) {
3387 efree(buf);
3391 buf[nbytes] = '\0';
3392 RETURN_STRINGL(buf, nbytes, 0);
3444 char buf[PGSQL_LO_READ_BUF_SIZE]; local
3454 while ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, buf, PGSQL_LO_READ_BUF_SIZE))>0) {
3455 PHPWRITE(buf, nbytes);
4310 unsigned char *start, *end, buf[4]; /* 000 + '\0' */ local
4313 memcpy(buf, sp-2, 3);
4314 buf[3] = '\0';
4315 start = buf;
6176 char buf[256]; local
6238 smart_str_appendl(&querystr, buf, snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val)));
6321 char buf[256]; local
6347 …smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val)), sizeof(buf)…