Searched refs:ext_len (Results 1 – 8 of 8) sorted by relevance
/php-src/ext/phar/ |
H A D | phar.c | 1314 size_t ext_len; in phar_open_or_create_filename() local 1373 …if (ext_len > 3 && (z = memchr(ext_str, 'z', ext_len)) && ((ext_str + ext_len) - z >= 2) && !memcm… in phar_open_or_create_filename() 1972 *ext_len = 0; in phar_detect_phar_fname_ext() 1985 *ext_len = -2; in phar_detect_phar_fname_ext() 1991 *ext_len = -1; in phar_detect_phar_fname_ext() 1997 *ext_len = -1; in phar_detect_phar_fname_ext() 2009 *ext_len = pphar->ext_len; in phar_detect_phar_fname_ext() 2098 *ext_len = 0; in phar_detect_phar_fname_ext() 2246 size_t ext_len; in phar_split_fname() local 2257 ext_len = 0; in phar_split_fname() [all …]
|
H A D | phar_object.c | 1061 size_t ext_len; in PHP_METHOD() local 1990 size_t ext_len = ext ? strlen(ext) : 0; in phar_rename_archive() local 2060 } else if (phar_path_check(&ext, &ext_len, &pcr_error) > pcr_is_ok) { in phar_rename_archive() 2161 phar->ext_len = ext_len; in phar_rename_archive() 2184 phar->ext_len = ext_len; in phar_rename_archive() 2358 size_t ext_len = 0; in PHP_METHOD() local 2469 size_t ext_len = 0; in PHP_METHOD() local 3213 size_t ext_len = 0; in PHP_METHOD() local 3217 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|s!", &method, &ext, &ext_len) == FAILURE) { in PHP_METHOD() 3280 size_t ext_len = 0; in PHP_METHOD() local [all …]
|
H A D | phar_internal.h | 251 uint32_t ext_len; member 473 …const char *filename, size_t filename_len, const char **ext_str, size_t *ext_len, int executable, …
|
H A D | tar.c | 641 myphar->ext_len = (myphar->fname + fname_len) - myphar->ext; in phar_parse_tarfile()
|
H A D | zip.c | 330 mydata->ext_len = (mydata->fname + fname_len) - mydata->ext; in phar_parse_zipfile()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_php.c | 258 size_t ext_len = strlen(*p); in fpm_php_limit_extensions() local 259 if (path_len > ext_len) { in fpm_php_limit_extensions() 260 char *path_ext = path + path_len - ext_len; in fpm_php_limit_extensions()
|
/php-src/sapi/cli/ |
H A D | php_cli_server.c | 147 size_t ext_len; member 400 char *ext_lower = do_alloca(ext_len + 1, use_heap); in get_mime_type() 401 zend_str_tolower_copy(ext_lower, ext, ext_len); in get_mime_type() 402 ret = zend_hash_str_find_ptr(&server->extension_mime_types, ext_lower, ext_len); in get_mime_type() 1413 req->ext_len = 0; in php_cli_server_request_ctor() 1821 client->request.ext_len = 0; in php_cli_server_client_read_request_on_message_complete() 1827 client->request.ext_len = end - p; in php_cli_server_client_read_request_on_message_complete() 2189 const char *mime_type = get_mime_type(server, client->request.ext, client->request.ext_len); in php_cli_server_begin_send_static() 2300 if (client->request.ext_len != 3 in php_cli_server_dispatch() 2366 size_t ext_len = strlen(pair->ext); in php_cli_server_mime_type_ctor() local [all …]
|
/php-src/ext/spl/ |
H A D | php_spl.c | 229 static int spl_autoload(zend_string *class_name, zend_string *lc_name, const char *ext, int ext_len… in spl_autoload() argument 238 class_file = zend_strpprintf(0, "%s%.*s", ZSTR_VAL(lc_name), ext_len, ext); in spl_autoload()
|
Completed in 40 milliseconds