Home
last modified time | relevance | path

Searched refs:copy_len (Results 1 – 3 of 3) sorted by relevance

/php-src/ext/standard/
H A Dformatted_print.c90 size_t copy_len; in php_sprintf_appendstring() local
93 copy_len = (expprec ? MIN(max_width, len) : len); in php_sprintf_appendstring()
94 npad = (min_width < copy_len) ? 0 : min_width - copy_len; in php_sprintf_appendstring()
98 m_width = MAX(min_width, copy_len); in php_sprintf_appendstring()
122 copy_len--; in php_sprintf_appendstring()
129 memcpy(&ZSTR_VAL(*buffer)[*pos], add, copy_len + 1); in php_sprintf_appendstring()
130 *pos += copy_len; in php_sprintf_appendstring()
/php-src/main/
H A Dfopen_wrappers.c773 size_t copy_len; local
805 copy_len = path_len > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : path_len;
807 memcpy(real_path, filepath, copy_len);
808 real_path[copy_len] = '\0';
810 real_path = estrndup(filepath, copy_len);
831 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;
832 memcpy(real_path, new_state.cwd, copy_len);
833 real_path[copy_len] = '\0';
/php-src/Zend/
H A Dzend_virtual_cwd.c1748 size_t copy_len = new_state.cwd_length>MAXPATHLEN-1 ? MAXPATHLEN-1 : new_state.cwd_length; in tsrm_realpath() local
1749 memcpy(real_path, new_state.cwd, copy_len); in tsrm_realpath()
1750 real_path[copy_len] = '\0'; in tsrm_realpath()

Completed in 51 milliseconds