Home
last modified time | relevance | path

Searched refs:pattern_len (Results 1 – 8 of 8) sorted by relevance

/PHP-5.4/ext/intl/msgformat/
H A Dmsgformat.c33 int locale_len = 0, pattern_len = 0; in msgfmt_ctor() local
43 &locale, &locale_len, &pattern, &pattern_len ) == FAILURE ) in msgfmt_ctor()
55 if(pattern && pattern_len) { in msgfmt_ctor()
56 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in msgfmt_ctor()
77 (mfo)->mf_data.orig_format = estrndup(pattern, pattern_len); in msgfmt_ctor()
78 (mfo)->mf_data.orig_format_len = pattern_len; in msgfmt_ctor()
H A Dmsgformat_parse.c95 int pattern_len = 0; in PHP_FUNCTION() local
105 &slocale, &slocale_len, &pattern, &pattern_len, &source, &src_len ) == FAILURE ) in PHP_FUNCTION()
115 if(pattern && pattern_len) { in PHP_FUNCTION()
116 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in PHP_FUNCTION()
H A Dmsgformat_format.c122 int pattern_len = 0; in PHP_FUNCTION() local
130 &slocale, &slocale_len, &pattern, &pattern_len, &args ) == FAILURE ) in PHP_FUNCTION()
140 if(pattern && pattern_len) { in PHP_FUNCTION()
141 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in PHP_FUNCTION()
/PHP-5.4/ext/intl/formatter/
H A Dformatter_main.c32 int locale_len = 0, pattern_len = 0; in numfmt_ctor() local
40 &locale, &locale_len, &style, &pattern, &pattern_len ) == FAILURE ) in numfmt_ctor()
53 if(pattern && pattern_len) { in numfmt_ctor()
54 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(n… in numfmt_ctor()
/PHP-5.4/main/streams/
H A Dglob_wrapper.c47 size_t pattern_len; member
78 *plen = pglob->pattern_len; in _php_glob_stream_get_pattern()
81 return estrndup(pglob->pattern, pglob->pattern_len); in _php_glob_stream_get_pattern()
249 pglob->pattern_len = strlen(pos); in php_glob_stream_opener()
250 pglob->pattern = estrndup(pos, pglob->pattern_len); in php_glob_stream_opener()
/PHP-5.4/ext/standard/
H A Ddir.c432 int pattern_len; in PHP_FUNCTION() local
439 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|l", &pattern, &pattern_len, &flags) == FAI… in PHP_FUNCTION()
443 if (pattern_len >= MAXPATHLEN) { in PHP_FUNCTION()
454 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in PHP_FUNCTION()
H A Dfile.c2428 int pattern_len, filename_len; in PHP_FUNCTION() local
2431 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "pp|l", &pattern, &pattern_len, &filename, &f… in PHP_FUNCTION()
2439 if (pattern_len >= MAXPATHLEN) { in PHP_FUNCTION()
/PHP-5.4/ext/zip/
H A Dphp_zip.c519 int php_zip_glob(char *pattern, int pattern_len, long flags, zval *return_value TSRMLS_DC) /* {{{ */ in php_zip_glob() argument
532 if (pattern_len >= MAXPATHLEN) { in php_zip_glob()
543 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in php_zip_glob()
1657 int pattern_len, add_path_len = 0, remove_path_len = 0, path_len = 0; in php_zip_add_from_pattern() local
1671 &pattern, &pattern_len, &flags, &options) == FAILURE) { in php_zip_add_from_pattern()
1676 &pattern, &pattern_len, &path, &path_len, &options) == FAILURE) { in php_zip_add_from_pattern()
1681 if (pattern_len == 0) { in php_zip_add_from_pattern()
1696 found = php_zip_glob(pattern, pattern_len, flags, return_value TSRMLS_CC); in php_zip_add_from_pattern()
1698 found = php_zip_pcre(pattern, pattern_len, path, path_len, return_value TSRMLS_CC); in php_zip_add_from_pattern()

Completed in 35 milliseconds