Searched defs:z_len (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c2768 zval *z_len = NULL; local
2771 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|zs", &str, &str_len, &from, &z_len, &encoding, &encoding_len) == FAILURE) {
2790 if (argc < 3 || Z_TYPE_P(z_len) == IS_NULL) {
2793 convert_to_long_ex(z_len);
2794 len = Z_LVAL_P(z_len);
2847 zval *z_len = NULL; local
2854 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|zs", (char **)&string.val, (int **)&string.len, &from, &z_len, &encoding, &encoding_len) == FAILURE) {
2866 if (argc < 3 || Z_TYPE_P(z_len) == IS_NULL) {
2869 convert_to_long_ex(z_len);
2870 len = Z_LVAL_P(z_len);
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c3527 zend_long z_len; local
3533 if (zend_parse_parameters(argc, "rs|l", &pgsql_id, &str, &str_len, &z_len) == FAILURE) {
3538 if (z_len > (zend_long)str_len) {
3539 php_error_docref(NULL, E_WARNING, "Cannot write more than buffer size %d. Tried to write %pd", str_len, z_len);
3542 if (z_len < 0) {
3543 php_error_docref(NULL, E_WARNING, "Buffer size must be larger than 0, but %pd was specified", z_len);
3546 len = z_len;

Completed in 20 milliseconds