Searched refs: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/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...]
/system/core/include/system/
H A Daudio_policy.h86 static inline bool audio_is_low_visibility(audio_stream_type_t stream) argument
88 switch (stream) {
/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/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c210 static bool try_next_byte(const memory_t* memory, byte_stream_t* stream, uint8_t* out_value) { argument
212 switch (stream->ptr & 3) {
214 if (!try_get_word(memory, stream->ptr, &stream->word)) {
218 *out_value = stream->word >> 24;
222 *out_value = stream->word >> 16;
226 *out_value = stream->word >> 8;
230 *out_value = stream->word;
234 ALOGV("next_byte: ptr=0x%08x, value=0x%02x", stream->ptr, *out_value);
235 stream
279 execute_personality_routine(const memory_t* memory, unwind_state_t* state, byte_stream_t* stream, int pr_index) argument
516 byte_stream_t stream; local
[all...]
/system/extras/tests/include/
H A DtestUtil.h49 void testPrint(FILE *stream, const char *fmt, ...);
/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);

Completed in 414 milliseconds