Home
last modified time | relevance | path

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

/PHP-7.3/main/
H A Dfopen_wrappers.c762 size_t copy_len; local
794 copy_len = path_len > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : path_len;
796 memcpy(real_path, filepath, copy_len);
797 real_path[copy_len] = '\0';
799 real_path = estrndup(filepath, copy_len);
820 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;
821 memcpy(real_path, new_state.cwd, copy_len);
822 real_path[copy_len] = '\0';
/PHP-7.3/ext/standard/
H A Dformatted_print.c77 size_t copy_len; in php_sprintf_appendstring() local
80 copy_len = (expprec ? MIN(max_width, len) : len); in php_sprintf_appendstring()
81 npad = (min_width < copy_len) ? 0 : min_width - copy_len; in php_sprintf_appendstring()
85 m_width = MAX(min_width, copy_len); in php_sprintf_appendstring()
109 copy_len--; in php_sprintf_appendstring()
116 memcpy(&ZSTR_VAL(*buffer)[*pos], add, copy_len + 1); in php_sprintf_appendstring()
117 *pos += copy_len; in php_sprintf_appendstring()
/PHP-7.3/ext/oci8/
H A Doci8_lob.c510 ub4 length_dest, length_from, copy_len; in php_oci_lob_copy() local
522 copy_len = length_from - descriptor_from->lob_current_position; in php_oci_lob_copy()
524 copy_len = (ub4) length; in php_oci_lob_copy()
527 if ((int)copy_len <= 0) { in php_oci_lob_copy()
538 copy_len, in php_oci_lob_copy()
/PHP-7.3/Zend/
H A Dzend_virtual_cwd.c1979 size_t copy_len = new_state.cwd_length>MAXPATHLEN-1 ? MAXPATHLEN-1 : new_state.cwd_length; in tsrm_realpath() local
1980 memcpy(real_path, new_state.cwd, copy_len); in tsrm_realpath()
1981 real_path[copy_len] = '\0'; in tsrm_realpath()

Completed in 18 milliseconds