/PHP-5.4/ext/phar/ |
H A D | phar_object.c | 452 fname_len = strlen(fname); in PHP_METHOD() 486 fname_len = strlen(fname); in PHP_METHOD() 1196 fname_len = arch_len; 1200 arch_len = fname_len; 1350 if (!fname_len) { 2193 …if ((*pphar)->fname_len == phar->fname_len && !memcmp((*pphar)->fname, phar->fname, phar->fname_le… 2330 phar->fname_len = source->fname_len; 2699 int fname_len; local 3627 int fname_len; local 3664 int fname_len; local [all …]
|
H A D | phar_internal.h | 306 int fname_len; member 623 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode() 625 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode() 642 int phar_open_from_filename(char *fname, int fname_len, char *alias, int alias_len, int options, ph… 643 int phar_open_or_create_filename(char *fname, int fname_len, char *alias, int alias_len, int is_dat… 644 int phar_create_or_parse_filename(char *fname, int fname_len, char *alias, int alias_len, int is_da… 647 int phar_get_archive(phar_archive_data **archive, char *fname, int fname_len, char *alias, int alia… 648 int phar_open_parsed_phar(char *fname, int fname_len, char *alias, int alias_len, int is_data, int … 678 int phar_open_or_create_tar(char *fname, int fname_len, char *alias, int alias_len, int is_data, in… 682 int phar_parse_zipfile(php_stream *fp, char *fname, int fname_len, char *alias, int alias_len, phar… [all …]
|
H A D | phar.c | 546 && ((alias && fname_len == phar->fname_len 553 && ((alias && fname_len == phar->fname_len 1051 mydata->fname_len = fname_len; 1341 fname_len = strlen(actual); 1404 mydata->fname_len = fname_len; 1516 fname_len = strlen(actual); 2331 int fname_len; local 2340 fname_len = strlen(fname); 2389 fname_len = strlen(actual); 3443 int fname_len; local [all …]
|
H A D | func_interceptors.c | 47 int arch_len, entry_len, fname_len; in PHAR_FUNC() local 56 fname_len = strlen(fname); in PHAR_FUNC() 122 int arch_len, entry_len, fname_len; in PHAR_FUNC() local 130 fname_len = strlen(fname); in PHAR_FUNC() 252 int arch_len, entry_len, fname_len; in PHAR_FUNC() local 261 fname_len = strlen(fname); in PHAR_FUNC() 348 int arch_len, entry_len, fname_len; in PHAR_FUNC() local 357 fname_len = strlen(fname); in PHAR_FUNC() 632 fname_len = strlen(fname); in phar_file_stat() 922 fname_len = strlen(fname); in PharFileFunction() [all …]
|
H A D | util.c | 261 int arch_len, entry_len, fname_len, ret_len; in phar_find_in_include_path() local 275 fname_len = strlen(fname); in phar_find_in_include_path() 1226 …if (PHAR_G(last_phar) && fname_len == PHAR_G(last_phar_name_len) && !memcmp(fname, PHAR_G(last_pha… in phar_get_archive() 1260 … if (fname && (fname_len != (*fd_ptr)->fname_len || strncmp(fname, (*fd_ptr)->fname, fname_len))) { in phar_get_archive() 1277 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive() 1292 save_len = fname_len; in phar_get_archive() 1294 if (fname && fname_len) { in phar_get_archive() 1316 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive() 1340 PHAR_G(last_phar_name_len) = fd->fname_len; in phar_get_archive() 1375 fname_len = strlen(my_realpath); in phar_get_archive() [all …]
|
H A D | tar.c | 127 …int ret = phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, &pha… in phar_open_or_create_tar() 591 myphar->fname = pestrndup(fname, fname_len, myphar->is_persistent); in phar_parse_tarfile() 593 phar_unixify_path_separators(myphar->fname, fname_len); in phar_parse_tarfile() 595 myphar->fname_len = fname_len; in phar_parse_tarfile() 600 myphar->ext = memchr(p, '.', (myphar->fname + fname_len) - p); in phar_parse_tarfile() 602 myphar->ext = memchr(p + 1, '.', (myphar->fname + fname_len) - p - 1); in phar_parse_tarfile() 605 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile() 632 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len); in phar_parse_tarfile() 647 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), myphar->fname, fname_len); in phar_parse_tarfile() 655 myphar->alias = pestrndup(myphar->fname, fname_len, myphar->is_persistent); in phar_parse_tarfile() [all …]
|
H A D | zip.c | 270 mydata->fname = pestrndup(fname, fname_len, mydata->is_persistent); in phar_parse_zipfile() 272 phar_unixify_path_separators(mydata->fname, fname_len); in phar_parse_zipfile() 275 mydata->fname_len = fname_len; in phar_parse_zipfile() 279 mydata->ext = memchr(ext, '.', (mydata->fname + fname_len) - ext); in phar_parse_zipfile() 281 mydata->ext = memchr(ext + 1, '.', (mydata->fname + fname_len) - ext - 1); in phar_parse_zipfile() 284 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile() 670 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile() 682 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile() 703 zend_hash_del(&(PHAR_GLOBALS->phar_fname_map), mydata->fname, fname_len); in phar_parse_zipfile() 712 mydata->alias = pestrndup(mydata->fname, fname_len, mydata->is_persistent); in phar_parse_zipfile() [all …]
|
H A D | gdbhelp | 22 ____print_str $temp.fname $temp.fname_len
|
/PHP-5.4/Zend/ |
H A D | zend_API.c | 1974 int fname_len; in zend_register_functions() local 2073 fname_len = strlen(ptr->fname); in zend_register_functions() 2074 …lowercase_name = zend_new_interned_string(zend_str_tolower_dup(ptr->fname, fname_len), fname_len +… in zend_register_functions() 2078 …result = zend_hash_add(target_function_table, lowercase_name, fname_len+1, &function, sizeof(zend_… in zend_register_functions() 2090 …if ((fname_len == class_name_len) && !ctor && !memcmp(lowercase_name, lc_class_name, class_name_le… in zend_register_functions() 2101 …} else if ((fname_len == sizeof(ZEND_CALL_FUNC_NAME)-1) && !memcmp(lowercase_name, ZEND_CALL_FUNC_… in zend_register_functions() 2107 …} else if ((fname_len == sizeof(ZEND_GET_FUNC_NAME)-1) && !memcmp(lowercase_name, ZEND_GET_FUNC_NA… in zend_register_functions() 2109 …} else if ((fname_len == sizeof(ZEND_SET_FUNC_NAME)-1) && !memcmp(lowercase_name, ZEND_SET_FUNC_NA… in zend_register_functions() 2131 fname_len = strlen(ptr->fname); in zend_register_functions() 2132 lowercase_name = zend_str_tolower_dup(ptr->fname, fname_len); in zend_register_functions() [all …]
|
/PHP-5.4/ext/spl/ |
H A D | spl_array.c | 1440 static void spl_array_method(INTERNAL_FUNCTION_PARAMETERS, char *fname, int fname_len, int use_arg)… in spl_array_method() argument 1453 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, 1, tmp, NULL TSRMLS_CC); in spl_array_method() 1463 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, arg? 2 : 1, tmp, arg TSRMLS_CC); in spl_array_method() 1473 zend_call_method(NULL, NULL, NULL, fname, fname_len, &retval_ptr, 2, tmp, arg TSRMLS_CC); in spl_array_method()
|
/PHP-5.4/ext/odbc/ |
H A D | php_odbc.c | 2899 int i, field_ind, fname_len; in PHP_FUNCTION() local 2903 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &pv_res, &fname, &fname_len) == FAILURE… in PHP_FUNCTION()
|