Home
last modified time | relevance | path

Searched refs:IS_SLASH (Results 1 – 17 of 17) sorted by relevance

/PHP-5.5/TSRM/
H A Dtsrm_virtual_cwd.h63 #define IS_SLASH(c) ((c) == '/' || (c) == '\\') macro
71 (len >= 2 && IS_SLASH(path[0]) && IS_SLASH(path[1]))
82 #define IS_SLASH(c) ((c) == '/' || (c) == '\\') macro
83 #define IS_SLASH_P(c) IS_SLASH(*(c))
101 #define IS_SLASH(c) ((c) == '/') macro
113 (IS_SLASH(path[0]))
H A Dtsrm_virtual_cwd.c774 while (i > start && !IS_SLASH(path[i-1])) { in tsrm_realpath_r()
796 while (j > start && !IS_SLASH(path[j])) { in tsrm_realpath_r()
802 IS_SLASH(path[2])) { in tsrm_realpath_r()
809 IS_SLASH(path[j+3])) { in tsrm_realpath_r()
1191 if (IS_SLASH(path[0])) { in virtual_file_ex()
1202 !IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()
1209 !IS_SLASH(state->cwd[state_cwd_length])) { in virtual_file_ex()
1254 while (!IS_SLASH(resolved_path[start])) { in virtual_file_ex()
1262 while (!IS_SLASH(resolved_path[start])) { in virtual_file_ex()
1285 if (!IS_SLASH(resolved_path[start])) return -1; in virtual_file_ex()
[all …]
/PHP-5.5/main/
H A Dfopen_wrappers.c417 if (!IS_SLASH(filename[length - 1])) { /* length is never 0 */
420 if (IS_SLASH(path_info[0])) {
498 (IS_SLASH(filename[1]) ||
499 ((filename[1] == '.') && IS_SLASH(filename[2])))) ||
571 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length]));
649 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length]));
H A Dphp_open_temporary_file.c135 if (IS_SLASH(new_state.cwd[new_state.cwd_length - 1])) { in php_do_open_temporary_file()
H A Dphp_ini.c370 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in php_load_zend_extension_cb()
664 if (IS_SLASH(debpath[lenpath - 1])) { in php_init_config()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c799 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
819 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {
964 if ((p == path || IS_SLASH(*(p-1))) &&
965 (*(p+2) == 0 || IS_SLASH(*(p+2)))
974 if (IS_SLASH(*(p-1)) &&
975 (*(p+2) == 0 || IS_SLASH(*(p+2)))
/PHP-5.5/win32/
H A Dglob.c579 !IS_SLASH(pathend[-1])) && (S_ISDIR(sb.st_mode) ||
595 while (*p != EOS && !IS_SLASH(*p)) {
606 while (IS_SLASH(*pattern)) {
/PHP-5.5/ext/standard/
H A Ddl.c134 if (IS_SLASH(extension_dir[extension_dir_len-1])) { in php_load_extension()
H A Ddir.c460 if (IS_SLASH(*pattern)) { in PHP_FUNCTION()
/PHP-5.5/main/streams/
H A Dplain_wrapper.c1411 if (*filename == '.' && (IS_SLASH(filename[1]) || filename[1] == '.')) { in _php_stream_fopen_with_path()
1416 if (!IS_SLASH(*ptr)) { /* not a relative path after all */ in _php_stream_fopen_with_path()
1442 if (IS_SLASH(filename[0])) { in _php_stream_fopen_with_path()
1476 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length])); in _php_stream_fopen_with_path()
/PHP-5.5/ext/phar/
H A Ddirstream.c644 IS_SLASH(str_key[path_len])) { in phar_wrapper_rmdir()
665 IS_SLASH(str_key[path_len])) { in phar_wrapper_rmdir()
H A Dstream.c930 IS_SLASH(str_key[from_len])) { in phar_wrapper_rename()
958 (key_len == from_len || IS_SLASH(str_key[from_len]))) { in phar_wrapper_rename()
982 (key_len == from_len || IS_SLASH(str_key[from_len]))) { in phar_wrapper_rename()
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c867 if (!IS_SLASH(SG(request_info).path_translated[path_len])) {
893 if (doc_root_len > 0 && IS_SLASH(doc_root[doc_root_len - 1])) {
1040 if (UNEXPECTED(*p == '.') && *(p+1) == '.' && (!*(p+2) || IS_SLASH(*(p+2)))) {
1044 if (IS_SLASH(*p)) {
1050 if (UNEXPECTED(!*p) || UNEXPECTED(IS_SLASH(*p))) {
/PHP-5.5/ext/zip/
H A Dphp_zip.c109 if (IS_SLASH(path[0])) { in php_zip_make_relative_path()
116 while (i > 0 && !IS_SLASH(path[i])) { in php_zip_make_relative_path()
176 if (path_cleaned_len > 1 && IS_SLASH(path_cleaned[path_cleaned_len - 1])) { in php_zip_extract_file()
549 if (IS_SLASH(*pattern)) { in php_zip_glob()
643 if (IS_SLASH(*path)) { in php_zip_pcre()
/PHP-5.5/ext/opcache/
H A DZendAccelerator.c997 while ((--parent_script_len > 0) && !IS_SLASH(parent_script[parent_script_len])); in accel_make_persistent_key_ex()
1787 while ((--exec_fname_length >= 0) && !IS_SLASH(exec_fname[exec_fname_length]));
/PHP-5.5/ext/sqlite3/
H A Dsqlite3.c371 if (IS_SLASH(extension_dir[extension_dir_len-1])) {
/PHP-5.5/ext/spl/
H A Dspl_directory.c234 #define IS_SLASH_AT(zs, pos) (IS_SLASH(zs[pos]))

Completed in 148 milliseconds