Searched defs:needed (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dcrypt_sha512.c648 int needed = (int)(sizeof(sha512_salt_prefix) - 1 local
652 if (buflen < needed) {
653 char *new_buffer = (char *) realloc(buffer, needed);
659 buflen = needed;
H A Dcrypt_sha256.c601 int needed = (sizeof(sha256_salt_prefix) - 1 local
605 if (buflen < needed) {
606 char *new_buffer = (char *) realloc(buffer, needed);
612 buflen = needed;
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c152 static inline zend_bool php_converter_check_limits(php_converter_object *objval, zend_long available, zend_long needed) { argument
153 if (available < needed) {
154 php_converter_throw_failure(objval, U_BUFFER_OVERFLOW_ERROR, "Buffer overrun %pd bytes needed, %pd available", needed, available);
161 #define TARGET_CHECK(cnvargs, needed) php_converter_check_limits(objval, cnvargs->targetLimit - cnvargs->target, needed)

Completed in 7 milliseconds