Searched refs:pattern_len (Results 1 - 7 of 7) sorted by relevance

/PHP_5_5/ext/intl/formatter/
H A Dformatter_main.c32 int locale_len = 0, pattern_len = 0; local
40 &locale, &locale_len, &style, &pattern, &pattern_len ) == FAILURE )
53 if(pattern && pattern_len) {
54 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(nfo));
/PHP_5_5/ext/intl/msgformat/
H A Dmsgformat.c33 int locale_len = 0, pattern_len = 0; local
43 &locale, &locale_len, &pattern, &pattern_len ) == FAILURE )
55 if(pattern && pattern_len) {
56 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
77 (mfo)->mf_data.orig_format = estrndup(pattern, pattern_len);
78 (mfo)->mf_data.orig_format_len = pattern_len;
H A Dmsgformat_format.c105 int pattern_len = 0; local
113 &slocale, &slocale_len, &pattern, &pattern_len, &args ) == FAILURE )
123 if(pattern && pattern_len) {
124 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
H A Dmsgformat_parse.c95 int pattern_len = 0; local
105 &slocale, &slocale_len, &pattern, &pattern_len, &source, &src_len ) == FAILURE )
115 if(pattern && pattern_len) {
116 intl_convert_utf8_to_utf16(&spattern, &spattern_len, pattern, pattern_len, &INTL_DATA_ERROR_CODE(mfo));
/PHP_5_5/ext/standard/
H A Ddir.c432 int pattern_len; local
439 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "p|l", &pattern, &pattern_len, &flags) == FAILURE) {
443 if (pattern_len >= MAXPATHLEN) {
454 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) {
/PHP_5_5/ext/zip/
H A Dphp_zip.c519 int php_zip_glob(char *pattern, int pattern_len, long flags, zval *return_value TSRMLS_DC) /* {{{ */ argument
532 if (pattern_len >= MAXPATHLEN) {
543 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) {
1657 int pattern_len, add_path_len = 0, remove_path_len = 0, path_len = 0; local
1671 &pattern, &pattern_len, &flags, &options) == FAILURE) {
1676 &pattern, &pattern_len, &path, &path_len, &options) == FAILURE) {
1681 if (pattern_len == 0) {
1696 found = php_zip_glob(pattern, pattern_len, flags, return_value TSRMLS_CC);
1698 found = php_zip_pcre(pattern, pattern_len, path, path_len, return_value TSRMLS_CC);
/PHP_5_5/main/streams/
H A Dglob_wrapper.c47 size_t pattern_len; member in struct:__anon305
78 *plen = pglob->pattern_len;
81 return estrndup(pglob->pattern, pglob->pattern_len);
249 pglob->pattern_len = strlen(pos);
250 pglob->pattern = estrndup(pos, pglob->pattern_len);

Completed in 9 milliseconds