Lines Matching refs:maxlength
1119 …hp_oci_statement *statement, char *name, size_t name_len, zval *var, zend_long maxlength, ub2 type) in php_oci_bind_by_name() argument
1207 if ((maxlength == -1) || (maxlength == 0)) { in php_oci_bind_by_name()
1217 value_sz = (sb4) maxlength; in php_oci_bind_by_name()
1610 …*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
1622 if (maxlength < -1) { in php_oci_bind_array_by_name()
1623 php_error_docref(NULL, E_WARNING, "Invalid max length value (" ZEND_LONG_FMT ")", maxlength); in php_oci_bind_array_by_name()
1644 if (maxlength == -1 && zend_hash_num_elements(Z_ARRVAL_P(val)) == 0) { in php_oci_bind_array_by_name()
1648 bind = php_oci_bind_array_helper_string(val, max_table_length, maxlength); in php_oci_bind_array_by_name()
1732 …_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
1742 if (maxlength == -1) { in php_oci_bind_array_helper_string()
1749 if (maxlength == -1 || Z_STRLEN_P(entry) > (size_t) maxlength) { in php_oci_bind_array_helper_string()
1750 maxlength = Z_STRLEN_P(entry) + 1; in php_oci_bind_array_helper_string()
1759 bind->array.elements = (text *)safe_emalloc(max_table_length * (maxlength + 1), sizeof(text), 0); in php_oci_bind_array_helper_string()
1760 memset(bind->array.elements, 0, max_table_length * (maxlength + 1) * sizeof(text)); in php_oci_bind_array_helper_string()
1763 bind->array.max_length = (ub4) maxlength; in php_oci_bind_array_helper_string()
1803 …element_length = ((size_t) maxlength > Z_STRLEN_P(entry)) ? (int) Z_STRLEN_P(entry) : (int) maxlen… in php_oci_bind_array_helper_string()
1805 memcpy((text *)bind->array.elements + i*maxlength, Z_STRVAL_P(entry), element_length); in php_oci_bind_array_helper_string()
1806 ((text *)bind->array.elements)[i*maxlength + element_length] = '\0'; in php_oci_bind_array_helper_string()
1810 ((text *)bind->array.elements)[i*maxlength] = '\0'; in php_oci_bind_array_helper_string()