Lines Matching refs:buf

889 	char *buf = NULL;  in PHP_FUNCTION()  local
904 buf = php_stream_get_line(stream, NULL, 0, &line_len); in PHP_FUNCTION()
905 if (buf == NULL) { in PHP_FUNCTION()
909 RETVAL_STRINGL(buf, line_len); in PHP_FUNCTION()
910 efree(buf); in PHP_FUNCTION()
963 char *buf, *format; in PHP_FUNCTION() local
982 buf = php_stream_get_line((php_stream *) what, NULL, 0, &len); in PHP_FUNCTION()
983 if (buf == NULL) { in PHP_FUNCTION()
987 result = php_sscanf_internal(buf, format, argc, args, 0, return_value); in PHP_FUNCTION()
989 efree(buf); in PHP_FUNCTION()
1834 char *buf; in PHP_FUNCTION() local
1901 if ((buf = php_stream_get_line(stream, NULL, 0, &buf_len)) == NULL) { in PHP_FUNCTION()
1905 buf = emalloc(len + 1); in PHP_FUNCTION()
1906 if (php_stream_get_line(stream, buf, len + 1, &buf_len) == NULL) { in PHP_FUNCTION()
1907 efree(buf); in PHP_FUNCTION()
1912 HashTable *values = php_fgetcsv(stream, delimiter, enclosure, escape, buf_len, buf); in PHP_FUNCTION()
1929 …ream *stream, char delimiter, char enclosure, int escape_char, size_t buf_len, char *buf) /* {{{ */ in php_fgetcsv() argument
1945 bptr = buf; in php_fgetcsv()
1946 line_end = limit = (char *)php_fgetcsv_lookup_trailing_spaces(buf, buf_len); in php_fgetcsv()
1947 line_end_len = buf_len - (size_t)(limit - buf); in php_fgetcsv()
2047 efree(buf); in php_fgetcsv()
2049 bptr = buf = new_buf; in php_fgetcsv()
2050 hunk_begin = buf; in php_fgetcsv()
2052 line_end = limit = (char *)php_fgetcsv_lookup_trailing_spaces(buf, buf_len); in php_fgetcsv()
2053 line_end_len = buf_len - (size_t)(limit - buf); in php_fgetcsv()
2189 efree(buf); in php_fgetcsv()