Searched refs:copy_len (Results 1 – 3 of 3) sorted by relevance
/php-src/ext/standard/ |
H A D | formatted_print.c | 87 size_t copy_len; in php_sprintf_appendstring() local 90 copy_len = (expprec ? MIN(max_width, len) : len); in php_sprintf_appendstring() 91 npad = (min_width < copy_len) ? 0 : min_width - copy_len; in php_sprintf_appendstring() 95 m_width = MAX(min_width, copy_len); in php_sprintf_appendstring() 119 copy_len--; in php_sprintf_appendstring() 126 memcpy(&ZSTR_VAL(*buffer)[*pos], add, copy_len + 1); in php_sprintf_appendstring() 127 *pos += copy_len; in php_sprintf_appendstring()
|
/php-src/main/ |
H A D | fopen_wrappers.c | 785 size_t copy_len; local 817 copy_len = path_len > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : path_len; 819 memcpy(real_path, filepath, copy_len); 820 real_path[copy_len] = '\0'; 822 real_path = estrndup(filepath, copy_len); 843 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length; 844 memcpy(real_path, new_state.cwd, copy_len); 845 real_path[copy_len] = '\0';
|
/php-src/Zend/ |
H A D | zend_virtual_cwd.c | 1746 size_t copy_len = new_state.cwd_length>MAXPATHLEN-1 ? MAXPATHLEN-1 : new_state.cwd_length; in tsrm_realpath() local 1747 memcpy(real_path, new_state.cwd, copy_len); in tsrm_realpath() 1748 real_path[copy_len] = '\0'; in tsrm_realpath()
|
Completed in 18 milliseconds