HomeSort by relevance Sort by last modified time
    Searched defs:stream (Results 226 - 250 of 3182) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/
FlagDeclaringOp.java 23 package org.openjdk.testlib.java.util.stream;
25 import java.util.stream.Sink;
26 import java.util.stream.StreamShape;
LambdaTestMode.java 23 package org.openjdk.testlib.java.util.stream;
44 * {@code org.openjdk.java.util.stream.sand.mode} is declared with a
54 Boolean.getBoolean("org.openjdk.java.util.stream.sand.mode");
  /libcore/support/src/test/java/tests/support/
Support_Xml.java 35 ByteArrayInputStream stream = new ByteArrayInputStream(xml.getBytes()); local
38 return builder.parse(stream);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
VolumeSeekBarPreferenceTest.java 54 final int stream = 5; local
58 when(mAudioManager.getStreamMaxVolume(stream)).thenReturn(max);
59 when(mAudioManager.getStreamMinVolumeInt(stream)).thenReturn(min);
60 when(mAudioManager.getStreamVolume(stream)).thenReturn(progress);
63 mPreference.setStream(stream);
  /packages/services/Car/service/src/com/android/car/
SlidingWindow.java 21 import java.util.stream.Stream;
53 public Stream<T> stream() { method in class:SlidingWindow
54 return mElements.stream();
62 return (int)stream().filter(predicate).count();
  /prebuilts/ndk/r16/sources/third_party/shaderc/libshaderc_util/src/
io.cc 71 std::istream* stream = &std::cin; local
75 stream = &input_file;
87 *input_data = std::vector<char>((std::istreambuf_iterator<char>(*stream)),
94 std::ostream* stream = &std::cout; local
97 stream = file_stream;
109 return stream;
112 bool WriteFile(std::ostream* stream, const string_piece& output_data) {
114 stream->write(output_data.data(), output_data.size());
115 if (!stream->good()) {
119 stream->flush()
    [all...]
  /toolchain/binutils/binutils-2.27/opcodes/
ft32-dis.c 33 static void *stream; variable
39 stream = info->stream;
60 fpr (stream, "%08x %s", iword, oo->name);
63 fpr (stream, ".%c ", "bsl"[(iword >> FT32_FLD_DW_BIT) & 3]);
67 fpr (stream, " ");
83 case 0x00: fpr(stream, "nz"); break;
84 case 0x01: fpr(stream, "z"); break;
85 case 0x10: fpr(stream, "ae"); break;
86 case 0x11: fpr(stream, "b"); break
    [all...]
moxie-dis.c 31 static void *stream; variable
47 stream = info->stream;
69 fpr (stream, "%s", opcode->name);
72 fpr (stream, "%s\t%s", opcode->name,
76 fpr (stream, "%s\t%s, %s", opcode->name,
89 fpr (stream, "%s\t%s, 0x%x", opcode->name,
103 fpr (stream, "%s\t0x%x", opcode->name, imm);
116 fpr (stream, "%s\t", opcode->name);
122 fpr (stream, "%s\t(%s), %s", opcode->name
    [all...]
  /tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
TestSuiteInfoTest.java 58 FileInputStream stream = null; local
68 stream = new FileInputStream(propertyFile);
69 Properties p = instance.loadSuiteInfo(stream);
77 StreamUtil.close(stream);
  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestTreeNodeStream.java 35 /** Test the tree node stream. */
38 /** Build new stream; let's us override to test other streams. */
43 public String toTokenTypeString(TreeNodeStream stream) {
44 return ((CommonTreeNodeStream)stream).toTokenTypeString();
50 TreeNodeStream stream = newStream(t); local
52 String found = toNodesOnlyString(stream);
56 found = toTokenTypeString(stream);
67 TreeNodeStream stream = newStream(t); local
69 String found = toNodesOnlyString(stream);
73 found = toTokenTypeString(stream);
90 TreeNodeStream stream = newStream(root); local
107 TreeNodeStream stream = newStream(root); local
122 TreeNodeStream stream = newStream(root); local
136 TreeNodeStream stream = newStream(t); local
153 TreeNodeStream stream = newStream(t); local
181 TreeNodeStream stream = newStream(r0); local
212 TreeNodeStream stream = newStream(r0); local
257 TreeNodeStream stream = newStream(r0); local
296 TreeNodeStream stream = newStream(r0); local
319 TreeNodeStream stream = newStream(r0); local
354 TreeNodeStream stream = newStream(g); local
    [all...]
  /external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
PartiallyUncompressingPipeTest.java 36 private PartiallyUncompressingPipe stream; field in class:PartiallyUncompressingPipeTest
41 stream = new PartiallyUncompressingPipe(outBuffer, 32768);
47 stream.pipe(new ByteArrayInputStream(expectedBytes), Mode.COPY);
54 stream.pipe(
72 stream.pipe(new ByteArrayInputStream(compressBuffer.toByteArray()), Mode.UNCOMPRESS_WRAPPED);
88 stream.pipe(new ByteArrayInputStream(expectedBytes1), Mode.COPY);
90 stream.pipe(
95 stream.pipe(new ByteArrayInputStream(expectedBytes3), Mode.COPY);
98 stream.pipe(
103 stream.pipe(new ByteArrayInputStream(expectedBytes5), Mode.COPY)
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLECPrivateKey.java 230 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
231 stream.defaultReadObject();
233 byte[] encoded = (byte[]) stream.readObject();
244 private void writeObject(ObjectOutputStream stream) throws IOException {
245 stream.defaultWriteObject();
246 stream.writeObject(getEncoded());
OpenSSLECPublicKey.java 155 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
156 stream.defaultReadObject();
158 byte[] encoded = (byte[]) stream.readObject();
169 private void writeObject(ObjectOutputStream stream) throws IOException {
170 stream.defaultWriteObject();
171 stream.writeObject(getEncoded());
OpenSSLRSAPrivateCrtKey.java 265 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
266 stream.defaultReadObject();
280 private void writeObject(ObjectOutputStream stream) throws IOException {
282 stream.defaultWriteObject();
OpenSSLRSAPrivateKey.java 260 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
261 stream.defaultReadObject();
275 private void writeObject(ObjectOutputStream stream) throws IOException {
277 stream.defaultWriteObject();
  /external/glide/library/src/main/java/com/bumptech/glide/load/data/
HttpUrlFetcher.java 25 private InputStream stream; field in class:HttpUrlFetcher
70 stream = urlConnection.getInputStream();
71 return stream;
89 if (stream != null) {
91 stream.close();
  /external/guava/guava/src/com/google/common/collect/
ArrayListMultimap.java 149 private void writeObject(ObjectOutputStream stream) throws IOException {
150 stream.defaultWriteObject();
151 stream.writeInt(expectedValuesPerKey);
152 Serialization.writeMultimap(this, stream);
156 private void readObject(ObjectInputStream stream)
158 stream.defaultReadObject();
159 expectedValuesPerKey = stream.readInt();
160 int distinctKeys = Serialization.readCount(stream);
163 Serialization.populateMultimap(this, stream, distinctKeys);
TreeMultimap.java 246 private void writeObject(ObjectOutputStream stream) throws IOException {
247 stream.defaultWriteObject();
248 stream.writeObject(keyComparator());
249 stream.writeObject(valueComparator());
250 Serialization.writeMultimap(this, stream);
255 private void readObject(ObjectInputStream stream)
257 stream.defaultReadObject();
258 keyComparator = checkNotNull((Comparator<? super K>) stream.readObject());
259 valueComparator = checkNotNull((Comparator<? super V>) stream.readObject());
261 Serialization.populateMultimap(this, stream);
    [all...]
  /external/guava/guava/src/com/google/common/hash/
AbstractNonStreamingHashFunction.java 74 * In-memory stream-based implementation of Hasher.
77 final ExposedByteArrayOutputStream stream; field in class:AbstractNonStreamingHashFunction.BufferingHasher
81 this.stream = new ExposedByteArrayOutputStream(expectedInputSize);
86 stream.write(b);
93 stream.write(bytes);
102 stream.write(bytes, off, len);
108 stream.write(s & BOTTOM_BYTE);
109 stream.write((s >>> 8) & BOTTOM_BYTE);
115 stream.write(i & BOTTOM_BYTE);
116 stream.write((i >>> 8) & BOTTOM_BYTE)
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
Spdy3ConnectionTest.java 78 FramedStream stream = connection.newStream(headerEntries("b", "banana"), true, true); local
79 assertEquals(headerEntries("a", "android"), stream.getResponseHeaders());
80 assertStreamData("robot", stream.getSource());
81 BufferedSink out = Okio.buffer(stream.getSink());
107 FramedStream stream = connection.newStream(headerEntries("a", "android"), false, false); local
109 assertEquals(headerEntries("b", "banana"), stream.getResponseHeaders());
154 @Override public void onStream(FramedStream stream) throws IOException {
156 assertEquals(pushHeaders, stream.getRequestHeaders());
157 assertEquals(null, stream.getErrorCode());
158 stream.reply(headerEntries("b", "banana"), true)
    [all...]
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
CodedOutputStreamTest.java 55 CodedOutputStream stream(); method in interface:CodedOutputStreamTest.Coder
63 private final CodedOutputStream stream; field in class:CodedOutputStreamTest.OutputStreamCoder
68 stream = CodedOutputStream.newInstance(output, size);
72 public CodedOutputStream stream() { method in class:CodedOutputStreamTest.OutputStreamCoder
73 return stream;
83 return OutputType.STREAM;
88 private final CodedOutputStream stream; field in class:CodedOutputStreamTest.ArrayCoder
93 stream = CodedOutputStream.newInstance(bytes);
97 public CodedOutputStream stream() { method in class:CodedOutputStreamTest.ArrayCoder
98 return stream;
113 private final CodedOutputStream stream; field in class:CodedOutputStreamTest.NioHeapCoder
129 public CodedOutputStream stream() { method in class:CodedOutputStreamTest.NioHeapCoder
152 private final CodedOutputStream stream; field in class:CodedOutputStreamTest.NioDirectCoder
167 public CodedOutputStream stream() { method in class:CodedOutputStreamTest.NioDirectCoder
    [all...]
  /external/sonic/
Main.java 70 AudioInputStream stream = AudioSystem.getAudioInputStream(new File("talking.wav")); local
71 AudioFormat format = stream.getFormat();
75 ((int)stream.getFrameLength()*format.getFrameSize()));
77 line.open(stream.getFormat());
79 runSonic(stream, line, speed, pitch, rate, volume, emulateChordPitch, quality,
  /external/vogar/src/vogar/
XmlReportReader.java 45 FileInputStream stream = null; local
47 stream = new FileInputStream(xmlReport);
51 parser.setInput(stream, "UTF-8");
60 if (stream != null) {
62 stream.close();
  /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
MediaMetadataRetrieverTest.java 92 java.io.OutputStream stream = new FileOutputStream(MediaNames.THUMBNAIL_METADATA_TEST_FILES[i] + ".jpg"); local
93 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
94 stream.close();
150 java.io.OutputStream stream = new FileOutputStream("/sdcard/thumbnailout.jpg"); local
151 bitmap.compress(Bitmap.CompressFormat.JPEG, 75, stream);
152 stream.close();
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
HSFriendlyNameElementTest.java 48 * Helper function for appending a Operator Name to an output stream.
50 * @param stream Stream to write to
54 private void appendOperatorName(ByteArrayOutputStream stream, String operator)
58 stream.write((byte) length);
59 stream.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII));
60 stream.write(new byte[]{(byte) 0x0}); // Padding for language code.
61 stream.write(nameBytes);
71 ByteArrayOutputStream stream = new ByteArrayOutputStream(); local
73 appendOperatorName(stream, name)
    [all...]

Completed in 951 milliseconds

1 2 3 4 5 6 7 8 91011>>