Lines Matching refs:dest
490 char *dest = NULL; /* Destination to place the compressed data into */ in PHP_FUNCTION() local
511 dest = emalloc(dest_len + 1); in PHP_FUNCTION()
522 error = BZ2_bzBuffToBuffCompress(dest, &dest_len, source, source_len, block_size, 0, work_factor); in PHP_FUNCTION()
524 efree(dest); in PHP_FUNCTION()
529 dest = erealloc(dest, dest_len + 1); in PHP_FUNCTION()
530 dest[dest_len] = 0; in PHP_FUNCTION()
531 RETURN_STRINGL(dest, dest_len, 0); in PHP_FUNCTION()
540 char *source, *dest; in PHP_FUNCTION() local
566 bzs.next_out = dest = emalloc(bzs.avail_out + 1); in PHP_FUNCTION()
572 dest = safe_erealloc(dest, 1, bzs.avail_out+1, (size_t) size ); in PHP_FUNCTION()
573 bzs.next_out = dest + size; in PHP_FUNCTION()
578 dest = safe_erealloc(dest, 1, (size_t) size, 1); in PHP_FUNCTION()
579 dest[size] = '\0'; in PHP_FUNCTION()
580 RETVAL_STRINGL(dest, (int) size, 0); in PHP_FUNCTION()
582 efree(dest); in PHP_FUNCTION()