Lines Matching refs:dest
521 zend_string *dest = NULL; /* Destination to place the compressed data into */ in PHP_FUNCTION() local
540 dest = zend_string_alloc(dest_len, 0); in PHP_FUNCTION()
551 …error = BZ2_bzBuffToBuffCompress(ZSTR_VAL(dest), &dest_len, source, source_len, block_size, 0, wor… in PHP_FUNCTION()
553 zend_string_efree(dest); in PHP_FUNCTION()
558 ZSTR_LEN(dest) = dest_len; in PHP_FUNCTION()
559 ZSTR_VAL(dest)[ZSTR_LEN(dest)] = '\0'; in PHP_FUNCTION() local
560 RETURN_NEW_STR(dest); in PHP_FUNCTION()
570 zend_string *dest; in PHP_FUNCTION() local
596 dest = zend_string_safe_alloc(source_len, 2, 1, 0); in PHP_FUNCTION()
598 bzs.next_out = ZSTR_VAL(dest); in PHP_FUNCTION()
610 dest = zend_string_safe_realloc(dest, 1, bzs.avail_out+1, (size_t) size, 0); in PHP_FUNCTION()
611 bzs.next_out = ZSTR_VAL(dest) + size; in PHP_FUNCTION()
619 zend_string_efree(dest); in PHP_FUNCTION()
624 dest = zend_string_safe_realloc(dest, 1, (size_t)size, 1, 0); in PHP_FUNCTION()
625 ZSTR_LEN(dest) = (size_t)size; in PHP_FUNCTION()
626 ZSTR_VAL(dest)[(size_t)size] = '\0'; in PHP_FUNCTION() local
627 RETVAL_STR(dest); in PHP_FUNCTION()
630 zend_string_efree(dest); in PHP_FUNCTION()