Lines Matching refs:output
32 * Helper for streaming a crypto operation's input and output via {@link KeyStore} service's
164 if ((opResult.output != null) && (opResult.output.length > 0)) {
166 // More output might be produced in this loop -- buffer the current output
170 bufferedOutput.write(opResult.output);
172 throw new ProviderException("Failed to buffer output", e);
176 // No more output will be produced in this loop
179 // No previously buffered output
180 result = opResult.output;
182 // There was some previously buffered output
184 bufferedOutput.write(opResult.output);
186 throw new ProviderException("Failed to buffer output", e);
198 // No output produced
217 byte[] output = update(input, inputOffset, inputLength);
218 output = ArrayUtils.concat(output, flush());
226 mProducedOutputSizeBytes += opResult.output.length;
228 return ArrayUtils.concat(output, opResult.output);
271 if ((opResult.output != null) && (opResult.output.length > 0)) {
272 // Some output was produced by this update operation
274 // No output buffered yet.
276 // No more output will be produced by this flush operation
277 mProducedOutputSizeBytes += opResult.output.length;
278 return opResult.output;
280 // More output might be produced by this flush operation -- buffer output.
284 // Buffer the output from this update operation
286 bufferedOutput.write(opResult.output);
288 throw new ProviderException("Failed to buffer output", e);