Lines Matching refs:offset

296 	zend_long offset = 0;  in PHP_FUNCTION()  local
300 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &data, &data_len, &offset) == FAILURE) { in PHP_FUNCTION()
305 …UM_ARGS(), "Os|l", &z_descriptor, oci_lob_class_entry_ptr, &data, &data_len, &offset) == FAILURE) { in PHP_FUNCTION()
317 if (offset < 0) { in PHP_FUNCTION()
322 if (php_oci_lob_write(descriptor, (ub4) offset, data, (ub4) data_len, &bytes_written)) { in PHP_FUNCTION()
533 zend_long offset, whence = PHP_OCI_SEEK_SET; in PHP_FUNCTION() local
537 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &offset, &whence) == FAILURE) { in PHP_FUNCTION()
542 …meters(ZEND_NUM_ARGS(), "Ol|l", &z_descriptor, oci_lob_class_entry_ptr, &offset, &whence) == FAILU… in PHP_FUNCTION()
560 descriptor->lob_current_position += (ub4) offset; in PHP_FUNCTION()
563 if ((descriptor->lob_size + offset) >= 0) { in PHP_FUNCTION()
564 descriptor->lob_current_position = descriptor->lob_size + (ub4) offset; in PHP_FUNCTION()
572 descriptor->lob_current_position = (offset > 0) ? (ub4) offset : 0; in PHP_FUNCTION()
745 zend_long offset = -1, length = -1; in PHP_FUNCTION() local
748 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|ll", &offset, &length) == FAILURE) { in PHP_FUNCTION()
752 if (ZEND_NUM_ARGS() > 0 && offset < 0) { in PHP_FUNCTION()
763 …meters(ZEND_NUM_ARGS(), "O|ll", &z_descriptor, oci_lob_class_entry_ptr, &offset, &length) == FAILU… in PHP_FUNCTION()
767 if (ZEND_NUM_ARGS() > 1 && offset < 0) { in PHP_FUNCTION()
785 if (php_oci_lob_erase(descriptor, offset, (ub4) length, &bytes_erased)) { in PHP_FUNCTION()