Lines Matching refs:dest
514 zend_string *dest = NULL; /* Destination to place the compressed data into */ in PHP_FUNCTION() local
535 dest = zend_string_alloc(dest_len, 0); in PHP_FUNCTION()
546 …error = BZ2_bzBuffToBuffCompress(ZSTR_VAL(dest), &dest_len, source, source_len, block_size, 0, wor… in PHP_FUNCTION()
548 zend_string_free(dest); in PHP_FUNCTION()
553 ZSTR_LEN(dest) = dest_len; in PHP_FUNCTION()
554 ZSTR_VAL(dest)[ZSTR_LEN(dest)] = '\0'; in PHP_FUNCTION() local
555 RETURN_NEW_STR(dest); in PHP_FUNCTION()
565 zend_string *dest; in PHP_FUNCTION() local
591 dest = zend_string_safe_alloc(source_len, 2, 1, 0); in PHP_FUNCTION()
593 bzs.next_out = ZSTR_VAL(dest); in PHP_FUNCTION()
605 dest = zend_string_safe_realloc(dest, 1, bzs.avail_out+1, (size_t) size, 0); in PHP_FUNCTION()
606 bzs.next_out = ZSTR_VAL(dest) + size; in PHP_FUNCTION()
614 zend_string_free(dest); in PHP_FUNCTION()
619 dest = zend_string_safe_realloc(dest, 1, (size_t)size, 1, 0); in PHP_FUNCTION()
620 ZSTR_LEN(dest) = (size_t)size; in PHP_FUNCTION()
621 ZSTR_VAL(dest)[(size_t)size] = '\0'; in PHP_FUNCTION() local
622 RETVAL_STR(dest); in PHP_FUNCTION()
625 zend_string_free(dest); in PHP_FUNCTION()