Searched refs:num_pad_chars (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dstring.c5319 size_t num_pad_chars; /* Number of padding characters (total - input size) */ local
5346 num_pad_chars = pad_length - ZSTR_LEN(input);
5347 if (num_pad_chars >= INT_MAX) {
5352 result = zend_string_alloc(ZSTR_LEN(input) + num_pad_chars, 0);
5359 right_pad = num_pad_chars;
5363 left_pad = num_pad_chars;
5368 left_pad = num_pad_chars / 2;
5369 right_pad = num_pad_chars - left_pad;

Completed in 10 milliseconds