Lines Matching refs:bl_info

148 static int _php_ibase_blob_info(isc_blob_handle bl_handle, IBASE_BLOBINFO *bl_info) /* {{{ */  in _php_ibase_blob_info()  argument
159 bl_info->max_segment = 0; in _php_ibase_blob_info()
160 bl_info->num_segments = 0; in _php_ibase_blob_info()
161 bl_info->total_length = 0; in _php_ibase_blob_info()
162 bl_info->bl_stream = 0; in _php_ibase_blob_info()
177 bl_info->num_segments = isc_vax_integer(p, item_len); in _php_ibase_blob_info()
180 bl_info->max_segment = isc_vax_integer(p, item_len); in _php_ibase_blob_info()
183 bl_info->total_length = isc_vax_integer(p, item_len); in _php_ibase_blob_info()
186 bl_info->bl_stream = isc_vax_integer(p, item_len); in _php_ibase_blob_info()
405 IBASE_BLOBINFO bl_info; in PHP_FUNCTION() local
438 if (_php_ibase_blob_info(ib_blob.bl_handle, &bl_info)) { in PHP_FUNCTION()
446 bl_info.max_segment = 0; in PHP_FUNCTION()
447 bl_info.num_segments = 0; in PHP_FUNCTION()
448 bl_info.total_length = 0; in PHP_FUNCTION()
449 bl_info.bl_stream = 0; in PHP_FUNCTION()
454 add_index_long(return_value, 0, bl_info.total_length); in PHP_FUNCTION()
455 add_assoc_long(return_value, "length", bl_info.total_length); in PHP_FUNCTION()
457 add_index_long(return_value, 1, bl_info.num_segments); in PHP_FUNCTION()
458 add_assoc_long(return_value, "numseg", bl_info.num_segments); in PHP_FUNCTION()
460 add_index_long(return_value, 2, bl_info.max_segment); in PHP_FUNCTION()
461 add_assoc_long(return_value, "maxseg", bl_info.max_segment); in PHP_FUNCTION()
463 add_index_bool(return_value, 3, bl_info.bl_stream); in PHP_FUNCTION()
464 add_assoc_bool(return_value, "stream", bl_info.bl_stream); in PHP_FUNCTION()