Searched defs:stream (Results 1 - 7 of 7) sorted by relevance

/system/core/libcutils/
H A Dopen_memstream.c65 * Definition of a seekable, write-only memory stream.
86 static int ensureCapacity(MemStream* stream, int writeSize) argument
88 DBUG(("+++ ensureCap off=%d size=%d\n", stream->offset, writeSize));
90 size_t neededSize = stream->offset + writeSize + 1;
91 if (neededSize <= stream->allocSize)
96 if (stream->allocSize == 0) {
99 newSize = stream->allocSize;
106 stream->bufp, *stream->bufp, newSize));
107 char* newBuf = (char*) realloc(*stream
125 MemStream* stream = (MemStream*) cookie; local
166 MemStream* stream = (MemStream*) cookie; local
228 MemStream* stream; local
[all...]
/system/core/include/system/
H A Daudio_policy.h88 static inline bool audio_is_low_visibility(audio_stream_type_t stream) argument
90 switch (stream) {
H A Daudio.h42 /* Audio stream types */
159 /* session for effects attached to a particular output stream
165 * be moved by audio policy manager to another output stream
238 * the encoded audio stream (e.g. octet alignement for AMR).
683 * output stream with attributes corresponding to the specified flags
685 * hardware module, they indicate that an output stream can be opened that
688 * (when getOuput() is called) to an available output stream.
693 // to one output stream: no software mixer
710 * to indicate a preference to be connected to an input stream with
730 audio_stream_type_t stream_type; // stream typ
888 audio_stream_type_t stream; member in union:audio_port_config_mix_ext::__anon90
[all...]
/system/core/fastbootd/
H A Dutils.c53 int get_stream_size(FILE *stream) { argument
55 fseek(stream, 0, SEEK_END);
56 size = ftell(stream);
57 fseek(stream, 0, SEEK_SET);
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp95 static ostream &operator<<(ostream &stream, const String16& str);
96 static ostream &operator<<(ostream &stream, const cpu_set_t& set);
361 static ostream &operator<<(ostream &stream, const String16& str) argument
365 stream << (char) str[n1];
367 stream << '~';
371 return stream;
374 static ostream &operator<<(ostream &stream, const cpu_set_t& set) argument
378 if (n1 != 0) { stream << ' '; }
379 stream << n1;
383 return stream;
[all...]
/system/extras/tests/lib/testUtil/
H A DtestUtil.c145 void testPrint(FILE *stream, const char *fmt, ...) argument
152 if (stream == stderr) {
157 vfprintf(stream, fmt, args);
158 fputc('\n', stream);
/system/media/audio_utils/
H A Dtinysndfile.c30 FILE *stream; member in struct:SNDFILE_
64 FILE *stream = fopen(path, "rb"); local
65 if (stream == NULL) {
73 handle->stream = stream;
79 actual = fread(wav, sizeof(char), sizeof(wav), stream);
102 actual = fread(chunk, sizeof(char), sizeof(chunk), stream);
123 actual = fread(fmt, sizeof(char), 2, stream);
146 actual = fread(&fmt[2], sizeof(char), minSize - 2, stream);
152 fseek(stream, (lon
253 FILE *stream = fopen(path, "w+b"); local
[all...]

Completed in 1334 milliseconds