Lines Matching refs:maxlength

985 …php_oci_statement *statement, char *name, int name_len, zval* var, long maxlength, ub2 type TSRMLS…  in php_oci_bind_by_name()  argument
1066 if (maxlength == -1) { in php_oci_bind_by_name()
1069 value_sz = maxlength; in php_oci_bind_by_name()
1407 …ement, char *name, int name_len, zval* var, long max_table_length, long maxlength, long type TSRML… in php_oci_bind_array_by_name() argument
1413 if (maxlength < -1) { in php_oci_bind_array_by_name()
1414 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid max length value (%ld)", maxlength); in php_oci_bind_array_by_name()
1435 if (maxlength == -1 && zend_hash_num_elements(Z_ARRVAL_P(var)) == 0) { in php_oci_bind_array_by_name()
1439 bind = php_oci_bind_array_helper_string(var, max_table_length, maxlength TSRMLS_CC); in php_oci_bind_array_by_name()
1506 php_oci_bind *php_oci_bind_array_helper_string(zval* var, long max_table_length, long maxlength TSR… in php_oci_bind_array_helper_string()
1515 if (maxlength == -1) { in php_oci_bind_array_helper_string()
1519 if (Z_STRLEN_PP(entry) > maxlength) { in php_oci_bind_array_helper_string()
1520 maxlength = Z_STRLEN_PP(entry) + 1; in php_oci_bind_array_helper_string()
1527 bind->array.elements = (text *)safe_emalloc(max_table_length * (maxlength + 1), sizeof(text), 0); in php_oci_bind_array_helper_string()
1528 memset(bind->array.elements, 0, max_table_length * (maxlength + 1) * sizeof(text)); in php_oci_bind_array_helper_string()
1531 bind->array.max_length = maxlength; in php_oci_bind_array_helper_string()
1558 element_length = (maxlength > Z_STRLEN_PP(entry)) ? Z_STRLEN_PP(entry) : maxlength; in php_oci_bind_array_helper_string()
1560 memcpy((text *)bind->array.elements + i*maxlength, Z_STRVAL_PP(entry), element_length); in php_oci_bind_array_helper_string()
1561 ((text *)bind->array.elements)[i*maxlength + element_length] = '\0'; in php_oci_bind_array_helper_string()
1565 ((text *)bind->array.elements)[i*maxlength] = '\0'; in php_oci_bind_array_helper_string()