Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dformatted_print.c92 size_t copy_len; in php_sprintf_appendstring() local
95 copy_len = (expprec ? MIN(max_width, len) : len); in php_sprintf_appendstring()
96 npad = (min_width < copy_len) ? 0 : min_width - copy_len; in php_sprintf_appendstring()
100 m_width = MAX(min_width, copy_len); in php_sprintf_appendstring()
124 copy_len--; in php_sprintf_appendstring()
131 memcpy(&ZSTR_VAL(*buffer)[*pos], add, copy_len + 1); in php_sprintf_appendstring()
132 *pos += copy_len; in php_sprintf_appendstring()
/PHP-7.4/main/
H A Dfopen_wrappers.c777 size_t copy_len; local
809 copy_len = path_len > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : path_len;
811 memcpy(real_path, filepath, copy_len);
812 real_path[copy_len] = '\0';
814 real_path = estrndup(filepath, copy_len);
835 copy_len = new_state.cwd_length > MAXPATHLEN - 1 ? MAXPATHLEN - 1 : new_state.cwd_length;
836 memcpy(real_path, new_state.cwd, copy_len);
837 real_path[copy_len] = '\0';
/PHP-7.4/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.4/Zend/
H A Dzend_virtual_cwd.c1741 size_t copy_len = new_state.cwd_length>MAXPATHLEN-1 ? MAXPATHLEN-1 : new_state.cwd_length; in tsrm_realpath() local
1742 memcpy(real_path, new_state.cwd, copy_len); in tsrm_realpath()
1743 real_path[copy_len] = '\0'; in tsrm_realpath()

Completed in 16 milliseconds