Lines Matching refs:dest
492 char *dest = NULL; /* Destination to place the compressed data into */ in PHP_FUNCTION() local
513 dest = emalloc(dest_len + 1); in PHP_FUNCTION()
524 error = BZ2_bzBuffToBuffCompress(dest, &dest_len, source, source_len, block_size, 0, work_factor); in PHP_FUNCTION()
526 efree(dest); in PHP_FUNCTION()
531 dest = erealloc(dest, dest_len + 1); in PHP_FUNCTION()
532 dest[dest_len] = 0; in PHP_FUNCTION()
533 RETURN_STRINGL(dest, dest_len, 0); in PHP_FUNCTION()
542 char *source, *dest; in PHP_FUNCTION() local
568 bzs.next_out = dest = emalloc(bzs.avail_out + 1); in PHP_FUNCTION()
574 dest = safe_erealloc(dest, 1, bzs.avail_out+1, (size_t) size ); in PHP_FUNCTION()
575 bzs.next_out = dest + size; in PHP_FUNCTION()
580 dest = safe_erealloc(dest, 1, (size_t) size, 1); in PHP_FUNCTION()
581 dest[size] = '\0'; in PHP_FUNCTION()
582 RETVAL_STRINGL(dest, (int) size, 0); in PHP_FUNCTION()
584 efree(dest); in PHP_FUNCTION()