Lines Matching refs:dest
515 zend_string *dest = NULL; /* Destination to place the compressed data into */ in PHP_FUNCTION() local
536 dest = zend_string_alloc(dest_len, 0); in PHP_FUNCTION()
547 …error = BZ2_bzBuffToBuffCompress(ZSTR_VAL(dest), &dest_len, source, source_len, block_size, 0, wor… in PHP_FUNCTION()
549 zend_string_free(dest); in PHP_FUNCTION()
554 ZSTR_LEN(dest) = dest_len; in PHP_FUNCTION()
555 ZSTR_VAL(dest)[ZSTR_LEN(dest)] = '\0'; in PHP_FUNCTION() local
556 RETURN_NEW_STR(dest); in PHP_FUNCTION()
566 zend_string *dest; in PHP_FUNCTION() local
592 dest = zend_string_safe_alloc(source_len, 2, 1, 0); in PHP_FUNCTION()
594 bzs.next_out = ZSTR_VAL(dest); in PHP_FUNCTION()
606 dest = zend_string_safe_realloc(dest, 1, bzs.avail_out+1, (size_t) size, 0); in PHP_FUNCTION()
607 bzs.next_out = ZSTR_VAL(dest) + size; in PHP_FUNCTION()
615 zend_string_free(dest); in PHP_FUNCTION()
620 dest = zend_string_safe_realloc(dest, 1, (size_t)size, 1, 0); in PHP_FUNCTION()
621 ZSTR_LEN(dest) = (size_t)size; in PHP_FUNCTION()
622 ZSTR_VAL(dest)[(size_t)size] = '\0'; in PHP_FUNCTION() local
623 RETVAL_STR(dest); in PHP_FUNCTION()
626 zend_string_free(dest); in PHP_FUNCTION()