Lines Matching refs:maxlength

1101 …hp_oci_statement *statement, char *name, size_t name_len, zval *var, zend_long maxlength, ub2 type)  in php_oci_bind_by_name()  argument
1189 if ((maxlength == -1) || (maxlength == 0)) { in php_oci_bind_by_name()
1199 value_sz = (sb4) maxlength; in php_oci_bind_by_name()
1598 …*name, size_t name_len, zval *var, zend_long max_table_length, zend_long maxlength, zend_long type) in php_oci_bind_array_by_name() argument
1610 if (maxlength < -1) { in php_oci_bind_array_by_name()
1611 php_error_docref(NULL, E_WARNING, "Invalid max length value (" ZEND_LONG_FMT ")", maxlength); in php_oci_bind_array_by_name()
1632 if (maxlength == -1 && zend_hash_num_elements(Z_ARRVAL_P(val)) == 0) { in php_oci_bind_array_by_name()
1636 bind = php_oci_bind_array_helper_string(val, max_table_length, maxlength); in php_oci_bind_array_by_name()
1720 …_bind *php_oci_bind_array_helper_string(zval *var, zend_long max_table_length, zend_long maxlength) in php_oci_bind_array_helper_string() argument
1730 if (maxlength == -1) { in php_oci_bind_array_helper_string()
1737 if (maxlength == -1 || Z_STRLEN_P(entry) > (size_t) maxlength) { in php_oci_bind_array_helper_string()
1738 maxlength = Z_STRLEN_P(entry) + 1; in php_oci_bind_array_helper_string()
1747 bind->array.elements = (text *)safe_emalloc(max_table_length * (maxlength + 1), sizeof(text), 0); in php_oci_bind_array_helper_string()
1748 memset(bind->array.elements, 0, max_table_length * (maxlength + 1) * sizeof(text)); in php_oci_bind_array_helper_string()
1751 bind->array.max_length = (ub4) maxlength; in php_oci_bind_array_helper_string()
1791 …element_length = ((size_t) maxlength > Z_STRLEN_P(entry)) ? (int) Z_STRLEN_P(entry) : (int) maxlen… in php_oci_bind_array_helper_string()
1793 memcpy((text *)bind->array.elements + i*maxlength, Z_STRVAL_P(entry), element_length); in php_oci_bind_array_helper_string()
1794 ((text *)bind->array.elements)[i*maxlength + element_length] = '\0'; in php_oci_bind_array_helper_string()
1798 ((text *)bind->array.elements)[i*maxlength] = '\0'; in php_oci_bind_array_helper_string()