Home
last modified time | relevance | path

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

/PHP-7.0/ext/intl/msgformat/
H A Dmsgformat.c34 size_t locale_len = 0, pattern_len = 0; in msgfmt_ctor() local
45 &locale, &locale_len, &pattern, &pattern_len ) == FAILURE ) in msgfmt_ctor()
56 if(pattern && pattern_len) { in msgfmt_ctor()
57 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in msgfmt_ctor()
78 (mfo)->mf_data.orig_format = estrndup(pattern, pattern_len); in msgfmt_ctor()
79 (mfo)->mf_data.orig_format_len = pattern_len; in msgfmt_ctor()
H A Dmsgformat_format.c103 size_t pattern_len = 0; in PHP_FUNCTION() local
111 &slocale, &slocale_len, &pattern, &pattern_len, &args ) == FAILURE ) in PHP_FUNCTION()
124 if(pattern && pattern_len) { in PHP_FUNCTION()
125 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in PHP_FUNCTION()
H A Dmsgformat_parse.c95 size_t pattern_len = 0; in PHP_FUNCTION() local
105 &slocale, &slocale_len, &pattern, &pattern_len, &source, &src_len ) == FAILURE ) in PHP_FUNCTION()
117 if(pattern && pattern_len) { in PHP_FUNCTION()
118 …intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(m… in PHP_FUNCTION()
/PHP-7.0/ext/intl/formatter/
H A Dformatter_main.c32 size_t locale_len = 0, pattern_len = 0; in numfmt_ctor() local
41 &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-7.0/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-7.0/ext/standard/
H A Ddir.c439 size_t pattern_len; in PHP_FUNCTION() local
446 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|l", &pattern, &pattern_len, &flags) == FAILURE) { in PHP_FUNCTION()
450 if (pattern_len >= MAXPATHLEN) { in PHP_FUNCTION()
461 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in PHP_FUNCTION()
H A Dfile.c2440 size_t pattern_len, filename_len; in PHP_FUNCTION() local
2443 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp|l", &pattern, &pattern_len, &filename, &filename_le… in PHP_FUNCTION()
2451 if (pattern_len >= MAXPATHLEN) { in PHP_FUNCTION()
/PHP-7.0/ext/zip/
H A Dphp_zip.c492 int php_zip_glob(char *pattern, int pattern_len, zend_long flags, zval *return_value) /* {{{ */ in php_zip_glob() argument
505 if (pattern_len >= MAXPATHLEN) { in php_zip_glob()
516 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in php_zip_glob()

Completed in 30 milliseconds