HomeSort by relevance Sort by last modified time
    Searched defs:stream (Results 76 - 100 of 1344) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/nanopb-c/tests/basic_stream/
decode_stream.c 12 bool print_person(pb_istream_t *stream)
17 if (!pb_decode(stream, Person_fields, &person))
58 bool callback(pb_istream_t *stream, uint8_t *buf, size_t count)
60 FILE *file = (FILE*)stream->state;
66 stream->bytes_left = 0;
73 pb_istream_t stream = {&callback, NULL, SIZE_MAX}; local
74 stream.state = stdin;
77 if (!print_person(&stream))
79 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream));
  /external/nanopb-c/tests/callbacks/
decode_callbacks.c 10 bool print_string(pb_istream_t *stream, const pb_field_t *field, void **arg)
15 if (stream->bytes_left > sizeof(buffer) - 1)
18 if (!pb_read(stream, buffer, stream->bytes_left))
28 bool print_int32(pb_istream_t *stream, const pb_field_t *field, void **arg)
31 if (!pb_decode_varint(stream, &value))
38 bool print_fixed32(pb_istream_t *stream, const pb_field_t *field, void **arg)
41 if (!pb_decode_fixed32(stream, &value))
48 bool print_fixed64(pb_istream_t *stream, const pb_field_t *field, void **arg)
51 if (!pb_decode_fixed64(stream, &value)
62 pb_istream_t stream; local
    [all...]
  /external/nanopb-c/tests/extensions/
decode_extensions.c 20 pb_istream_t stream; local
31 stream = pb_istream_from_buffer(buffer, count);
45 if (!pb_decode(&stream, AllTypes_fields, &alltypes))
47 printf("Parsing failed: %s\n", PB_GET_ERROR(&stream));
encode_extensions.c 15 pb_ostream_t stream; local
34 /* Set up the output stream */
35 stream = pb_ostream_from_buffer(buffer, sizeof(buffer));
38 if (pb_encode(&stream, AllTypes_fields, &alltypes))
41 fwrite(buffer, 1, stream.bytes_written, stdout);
46 fprintf(stderr, "Encoding failed: %s\n", PB_GET_ERROR(&stream));
  /external/qemu/distrib/sdl-1.2.15/src/audio/arts/
SDL_artsaudio.h 35 /* The stream descriptor for the audio device */
36 arts_stream_t stream; member in struct:SDL_PrivateAudioData
52 #define stream (this->hidden->stream) macro
  /external/skia/src/images/
SkImageEncoder.cpp 15 bool SkImageEncoder::encodeStream(SkWStream* stream, const SkBitmap& bm,
18 return this->onEncode(stream, bm, quality);
24 SkFILEWStream stream(file);
25 return this->onEncode(&stream, bm, quality);
29 SkDynamicMemoryWStream stream; local
31 if (this->onEncode(&stream, bm, quality)) {
32 return stream.copyToData();
43 bool SkImageEncoder::EncodeStream(SkWStream* stream, const SkBitmap& bm, Type t,
46 return enc.get() && enc.get()->encodeStream(stream, bm, quality);
  /external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
TestBufferedTreeNodeStream.java 44 public String toTokenTypeString(TreeNodeStream stream) {
45 return ((BufferedTreeNodeStream)stream).toTokenTypeString();
50 // stream has 7 real + 6 nav nodes
62 TreeNodeStream stream = newStream(r0); local
63 stream.consume(); // consume 101
64 stream.consume(); // consume DN
65 stream.consume(); // consume 102
66 stream.seek(7); // seek to 107
67 assertEquals(107, ((Tree)stream.LT(1)).getType());
68 stream.consume(); // consume 10
    [all...]
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLDHPrivateKey.java 217 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
218 stream.defaultReadObject();
220 final BigInteger g = (BigInteger) stream.readObject();
221 final BigInteger p = (BigInteger) stream.readObject();
222 final BigInteger x = (BigInteger) stream.readObject();
232 private void writeObject(ObjectOutputStream stream) throws IOException {
237 stream.defaultWriteObject();
240 stream.writeObject(new BigInteger(g));
241 stream.writeObject(new BigInteger(p));
242 stream.writeObject(new BigInteger(x))
    [all...]
OpenSSLDHPublicKey.java 186 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
187 stream.defaultReadObject();
189 final BigInteger g = (BigInteger) stream.readObject();
190 final BigInteger p = (BigInteger) stream.readObject();
191 final BigInteger y = (BigInteger) stream.readObject();
200 private void writeObject(ObjectOutputStream stream) throws IOException {
201 stream.defaultWriteObject();
204 stream.writeObject(new BigInteger(g));
205 stream.writeObject(new BigInteger(p));
206 stream.writeObject(new BigInteger(y))
    [all...]
OpenSSLRSAPublicKey.java 170 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
171 stream.defaultReadObject();
185 private void writeObject(ObjectOutputStream stream) throws IOException {
187 stream.defaultWriteObject();
OpenSSLSecretKey.java 124 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
125 stream.defaultReadObject();
130 private void writeObject(ObjectOutputStream stream) throws IOException {
135 stream.defaultWriteObject();
  /external/easymock/src/org/easymock/internal/
LegacyMatcherProvider.java 72 private void readObject(java.io.ObjectInputStream stream)
74 stream.defaultReadObject();
75 Map<MethodSerializationWrapper, ArgumentsMatcher> map = (Map<MethodSerializationWrapper, ArgumentsMatcher>) stream
91 private void writeObject(java.io.ObjectOutputStream stream)
93 stream.defaultWriteObject();
100 stream.writeObject(map);
  /external/guava/guava/src/com/google/common/collect/
ArrayListMultimap.java 145 private void writeObject(ObjectOutputStream stream) throws IOException {
146 stream.defaultWriteObject();
147 stream.writeInt(expectedValuesPerKey);
148 Serialization.writeMultimap(this, stream);
152 private void readObject(ObjectInputStream stream)
154 stream.defaultReadObject();
155 expectedValuesPerKey = stream.readInt();
156 int distinctKeys = Serialization.readCount(stream);
159 Serialization.populateMultimap(this, stream, distinctKeys);
EnumBiMap.java 114 private void writeObject(ObjectOutputStream stream) throws IOException {
115 stream.defaultWriteObject();
116 stream.writeObject(keyType);
117 stream.writeObject(valueType);
118 Serialization.writeMap(this, stream);
123 private void readObject(ObjectInputStream stream)
125 stream.defaultReadObject();
126 keyType = (Class<K>) stream.readObject();
127 valueType = (Class<V>) stream.readObject();
131 Serialization.populateMap(this, stream);
    [all...]
EnumHashBiMap.java 100 private void writeObject(ObjectOutputStream stream) throws IOException {
101 stream.defaultWriteObject();
102 stream.writeObject(keyType);
103 Serialization.writeMap(this, stream);
108 private void readObject(ObjectInputStream stream)
110 stream.defaultReadObject();
111 keyType = (Class<K>) stream.readObject();
114 Serialization.populateMap(this, stream);
EnumMultiset.java 67 private void writeObject(ObjectOutputStream stream) throws IOException {
68 stream.defaultWriteObject();
69 stream.writeObject(type);
70 Serialization.writeMultiset(this, stream);
79 private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
80 stream.defaultReadObject();
82 Class<E> localType = (Class<E>) stream.readObject();
85 Serialization.populateMultiset(this, stream);
HashBiMap.java 97 private void writeObject(ObjectOutputStream stream) throws IOException {
98 stream.defaultWriteObject();
99 Serialization.writeMap(this, stream);
103 private void readObject(ObjectInputStream stream)
105 stream.defaultReadObject();
106 int size = Serialization.readCount(stream);
109 Serialization.populateMap(this, stream, size);
HashMultimap.java 123 private void writeObject(ObjectOutputStream stream) throws IOException {
124 stream.defaultWriteObject();
125 stream.writeInt(expectedValuesPerKey);
126 Serialization.writeMultimap(this, stream);
130 private void readObject(ObjectInputStream stream)
132 stream.defaultReadObject();
133 expectedValuesPerKey = stream.readInt();
134 int distinctKeys = Serialization.readCount(stream);
137 Serialization.populateMultimap(this, stream, distinctKeys);
HashMultiset.java 84 private void writeObject(ObjectOutputStream stream) throws IOException {
85 stream.defaultWriteObject();
86 Serialization.writeMultiset(this, stream);
90 private void readObject(ObjectInputStream stream)
92 stream.defaultReadObject();
93 int distinctElements = Serialization.readCount(stream);
96 Serialization.populateMultiset(this, stream, distinctElements);
LinkedHashMultiset.java 92 private void writeObject(ObjectOutputStream stream) throws IOException {
93 stream.defaultWriteObject();
94 Serialization.writeMultiset(this, stream);
98 private void readObject(ObjectInputStream stream)
100 stream.defaultReadObject();
101 int distinctElements = Serialization.readCount(stream);
104 Serialization.populateMultiset(this, stream, distinctElements);
TreeMultimap.java 177 private void writeObject(ObjectOutputStream stream) throws IOException {
178 stream.defaultWriteObject();
179 stream.writeObject(keyComparator());
180 stream.writeObject(valueComparator());
181 Serialization.writeMultimap(this, stream);
186 private void readObject(ObjectInputStream stream)
188 stream.defaultReadObject();
189 keyComparator = checkNotNull((Comparator<? super K>) stream.readObject());
190 valueComparator = checkNotNull((Comparator<? super V>) stream.readObject());
192 Serialization.populateMultimap(this, stream);
    [all...]
  /external/guava/guava/src/com/google/common/hash/
AbstractNonStreamingHashFunction.java 31 * In-memory stream-based implementation of Hasher.
34 final ExposedByteArrayOutputStream stream; field in class:AbstractNonStreamingHashFunction.BufferingHasher
38 this.stream = new ExposedByteArrayOutputStream(expectedInputSize);
43 stream.write(b);
50 stream.write(bytes);
59 stream.write(bytes, off, len);
65 stream.write(s & BOTTOM_BYTE);
66 stream.write((s >>> 8) & BOTTOM_BYTE);
72 stream.write(i & BOTTOM_BYTE);
73 stream.write((i >>> 8) & BOTTOM_BYTE)
    [all...]
  /external/javassist/src/main/javassist/bytecode/analysis/
FramePrinter.java 38 private final PrintStream stream; field in class:FramePrinter
43 public FramePrinter(PrintStream stream) {
44 this.stream = stream;
50 public static void print(CtClass clazz, PrintStream stream) {
51 (new FramePrinter(stream)).print(clazz);
78 stream.println("\n" + getMethodString(method));
103 stream.println(pos + ": " + InstructionPrinter.instructionString(iterator, pos, pool));
108 stream.println("--DEAD CODE--");
120 stream.print("stack [")
    [all...]
  /frameworks/base/graphics/java/android/graphics/
BitmapRegionDecoder.java 91 * Create a BitmapRegionDecoder from an input stream.
92 * The stream's position will be where ever it was after the encoded data
96 * @param is The input stream that holds the raw data to be decoded into a
146 InputStream stream = null; local
149 stream = new FileInputStream(pathName);
150 decoder = newInstance(stream, isShareable);
152 if (stream != null) {
154 stream.close();
  /libcore/luni/src/main/java/libcore/net/
MimeUtils.java 429 InputStream stream = getContentTypesPropertiesStream(); local
430 if (stream == null) {
438 overrides.load(stream);
446 stream.close();

Completed in 724 milliseconds

1 2 34 5 6 7 8 91011>>