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

/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c2765 zval *z_len = NULL; local
2768 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|zs", &str, &str_len, &from, &z_len, &encoding, &encoding_len) == FAILURE) {
2787 if (argc < 3 || Z_TYPE_P(z_len) == IS_NULL) {
2790 convert_to_long_ex(z_len);
2791 len = Z_LVAL_P(z_len);
2844 zval *z_len = NULL; local
2851 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|zs", (char **)&string.val, (int **)&string.len, &from, &z_len, &encoding, &encoding_len) == FAILURE) {
2863 if (argc < 3 || Z_TYPE_P(z_len) == IS_NULL) {
2866 convert_to_long_ex(z_len);
2867 len = Z_LVAL_P(z_len);
[all...]
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c3497 zend_long z_len; local
3503 if (zend_parse_parameters(argc, "rs|l", &pgsql_id, &str, &str_len, &z_len) == FAILURE) {
3508 if (z_len > (zend_long)str_len) {
3509 php_error_docref(NULL, E_WARNING, "Cannot write more than buffer size %d. Tried to write %pd", str_len, z_len);
3512 if (z_len < 0) {
3513 php_error_docref(NULL, E_WARNING, "Buffer size must be larger than 0, but %pd was specified", z_len);
3516 len = z_len;

Completed in 16 milliseconds