Home
last modified time | relevance | path

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

/PHP-7.4/ext/phar/
H A Dfunc_interceptors.c661 save_len = PHAR_G(cwd_len); in phar_file_stat()
666 PHAR_G(cwd_len) = 0; in phar_file_stat()
671 PHAR_G(cwd_len) = save_len; in phar_file_stat()
681 PHAR_G(cwd_len) = save_len; in phar_file_stat()
696 PHAR_G(cwd_len) = save_len; in phar_file_stat()
993 PHAR_G(cwd_len) = 0; in PharFileFunction()
H A Dstream.c329 PHAR_G(cwd_len) = cwd - entry; in phar_wrapper_open_url()
330 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_wrapper_open_url()
333 PHAR_G(cwd_len) = 0; in phar_wrapper_open_url()
H A Dphar_object.c225 PHAR_G(cwd_len) = 0; in phar_file_action()
233 PHAR_G(cwd_len) = 0; in phar_file_action()
236 PHAR_G(cwd_len) = (cwd - (entry + 1)); in phar_file_action()
237 PHAR_G(cwd) = estrndup(entry + 1, PHAR_G(cwd_len)); in phar_file_action()
239 PHAR_G(cwd_len) = (cwd - entry); in phar_file_action()
240 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_file_action()
267 PHAR_G(cwd_len) = 0; in phar_file_action()
279 PHAR_G(cwd_len) = 0; in phar_file_action()
H A Dphar_internal.h175 uint32_t cwd_len; variable
H A Dphar.c2094 if (PHAR_G(cwd_len) && use_cwd && path_length > 2 && path[0] == '.' && path[1] == '/') { in phar_fix_filepath()
2095 newpath_len = PHAR_G(cwd_len); in phar_fix_filepath()
3497 PHAR_G(cwd_len) = 0; in phar_request_initialize()
3541 PHAR_G(cwd_len) = 0; in PHP_RSHUTDOWN_FUNCTION()
/PHP-7.4/ext/standard/
H A Dproc_open.c479 size_t cwd_len = 0; in PHP_FUNCTION() local
524 Z_PARAM_STRING_EX(cwd, cwd_len, 1, 0) in PHP_FUNCTION()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c1142 int include_path_len = 0, cwd_len = 0; in accel_make_persistent_key() local
1148 cwd_len = ZCG(cwd_key_len); in accel_make_persistent_key()
1158 cwd_len = ZSTR_LEN(cwd_str); in accel_make_persistent_key()
1181 cwd_len = ZCG(cwd_key_len) = buf + sizeof(buf) - 1 - res; in accel_make_persistent_key()
1183 memcpy(ZCG(cwd_key), res, cwd_len + 1); in accel_make_persistent_key()
1237 if (UNEXPECTED((size_t)(cwd_len + path_length + include_path_len + 2) >= sizeof(ZCG(key)))) { in accel_make_persistent_key()
1249 memcpy(ZCG(key) + key_length, cwd, cwd_len); in accel_make_persistent_key()
1250 key_length += cwd_len; in accel_make_persistent_key()
/PHP-7.4/main/streams/
H A Dplain_wrapper.c1577 size_t cwd_len; in _php_stream_fopen_with_path() local
1579 cwd = virtual_getcwd_ex(&cwd_len); in _php_stream_fopen_with_path()

Completed in 56 milliseconds