Home
last modified time | relevance | path

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

/PHP-8.1/main/
H A Dfopen_wrappers.c761 size_t copy_len; local
793 copy_len = path_len > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : path_len;
795 memcpy(real_path, filepath, copy_len);
796 real_path[copy_len] = '\0';
798 real_path = estrndup(filepath, copy_len);
819 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;
820 memcpy(real_path, new_state.cwd, copy_len);
821 real_path[copy_len] = '\0';
/PHP-8.1/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.1/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.1/Zend/
H A Dzend_virtual_cwd.c1739 size_t copy_len = new_state.cwd_length>MAXPATHLEN-1 ? MAXPATHLEN-1 : new_state.cwd_length; in tsrm_realpath() local
1740 memcpy(real_path, new_state.cwd, copy_len); in tsrm_realpath()
1741 real_path[copy_len] = '\0'; in tsrm_realpath()

Completed in 15 milliseconds