Home
last modified time | relevance | path

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

/PHP-8.2/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-8.2/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-8.2/ext/oci8/
H A Doci8_lob.c508 ub4 length_dest, length_from, copy_len; in php_oci_lob_copy() local
520 copy_len = length_from - descriptor_from->lob_current_position; in php_oci_lob_copy()
522 copy_len = (ub4) length; in php_oci_lob_copy()
525 if ((int)copy_len <= 0) { in php_oci_lob_copy()
536 copy_len, in php_oci_lob_copy()
/PHP-8.2/Zend/
H A Dzend_virtual_cwd.c1746 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 52 milliseconds