Home
last modified time | relevance | path

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

/php-src/ext/phar/
H A Dfunc_interceptors.c556 save_len = PHAR_G(cwd_len); in phar_file_stat()
561 PHAR_G(cwd_len) = 0; in phar_file_stat()
566 PHAR_G(cwd_len) = save_len; in phar_file_stat()
576 PHAR_G(cwd_len) = save_len; in phar_file_stat()
591 PHAR_G(cwd_len) = save_len; in phar_file_stat()
870 PHAR_G(cwd_len) = 0; in PharFileFunction()
H A Dstream.c335 PHAR_G(cwd_len) = cwd - entry; in phar_wrapper_open_url()
336 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_wrapper_open_url()
339 PHAR_G(cwd_len) = 0; in phar_wrapper_open_url()
H A Dphar_internal.h146 uint32_t cwd_len; variable
H A Dphar_object.c234 PHAR_G(cwd_len) = 0; in phar_file_action()
242 PHAR_G(cwd_len) = 0; in phar_file_action()
245 PHAR_G(cwd_len) = (cwd - (entry + 1)); in phar_file_action()
246 PHAR_G(cwd) = estrndup(entry + 1, PHAR_G(cwd_len)); in phar_file_action()
248 PHAR_G(cwd_len) = (cwd - entry); in phar_file_action()
249 PHAR_G(cwd) = estrndup(entry, PHAR_G(cwd_len)); in phar_file_action()
275 PHAR_G(cwd_len) = 0; in phar_file_action()
287 PHAR_G(cwd_len) = 0; in phar_file_action()
H A Dphar.c2135 if (PHAR_G(cwd_len) && use_cwd && path_length > 2 && path[0] == '.' && path[1] == '/') { in phar_fix_filepath()
2136 newpath_len = PHAR_G(cwd_len); in phar_fix_filepath()
3473 PHAR_G(cwd_len) = 0; in phar_request_initialize()
3515 PHAR_G(cwd_len) = 0; in PHP_RSHUTDOWN_FUNCTION()
/php-src/ext/opcache/
H A DZendAccelerator.c1211 int include_path_len = 0, cwd_len = 0; in accel_make_persistent_key() local
1217 cwd_len = ZCG(cwd_key_len); in accel_make_persistent_key()
1227 cwd_len = ZSTR_LEN(cwd_str); in accel_make_persistent_key()
1250 cwd_len = ZCG(cwd_key_len) = buf + sizeof(buf) - 1 - res; in accel_make_persistent_key()
1252 memcpy(ZCG(cwd_key), res, cwd_len + 1); in accel_make_persistent_key()
1307 if (UNEXPECTED((size_t)(cwd_len + path_length + include_path_len + 2) >= sizeof(ZCG(_key)))) { in accel_make_persistent_key()
1320 memcpy(key + key_length, cwd, cwd_len); in accel_make_persistent_key()
1321 key_length += cwd_len; in accel_make_persistent_key()
/php-src/ext/standard/
H A Dproc_open.c1145 size_t cwd_len = 0; /* Optional argument */ in PHP_FUNCTION() local
1182 Z_PARAM_STRING_OR_NULL(cwd, cwd_len) in PHP_FUNCTION()
/php-src/main/streams/
H A Dplain_wrapper.c1660 size_t cwd_len; in _php_stream_fopen_with_path() local
1662 cwd = virtual_getcwd_ex(&cwd_len); in _php_stream_fopen_with_path()

Completed in 48 milliseconds