Home
last modified time | relevance | path

Searched defs:stream (Results 1 – 25 of 58) sorted by relevance

123

/device/linaro/poplar/audio/
Daudio_hw.c61 struct audio_stream_in stream; member
75 struct audio_stream_out stream; member
117 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
123 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
129 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
140 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
147 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
154 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
173 static int out_standby(struct audio_stream *stream) in out_standby()
187 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/files/
DStreamSerializing.h39 void saveBuffer(Stream* stream, const std::vector<T>& buffer) { in saveBuffer()
45 bool loadBuffer(Stream* stream, std::vector<T>* buffer) { in loadBuffer()
53 void saveBuffer(Stream* stream, const SmallVector<T>& buffer) { in saveBuffer()
59 bool loadBuffer(Stream* stream, SmallVector<T>* buffer) { in loadBuffer()
68 void saveBuffer(Stream* stream, const std::vector<T>& buffer, SaveFunc&& saver) { in saveBuffer()
76 void saveBuffer(Stream* stream, const T* buffer, size_t numElts) { in saveBuffer()
82 void loadBufferPtr(Stream* stream, T* out) { in loadBufferPtr()
88 void loadBuffer(Stream* stream, std::vector<T>* buffer, LoadFunc&& loader) { in loadBuffer()
98 void saveCollection(Stream* stream, const Collection& c, SaveFunc&& saver) { in saveCollection()
106 void loadCollection(Stream* stream, Collection* c, LoadFunc&& loader) { in loadCollection()
DStreamSerializing.cpp20 void saveStream(Stream* stream, const MemStream& memStream) { in saveStream()
24 void loadStream(Stream* stream, MemStream* memStream) { in loadStream()
28 void saveBufferRaw(Stream* stream, char* buffer, uint32_t len) { in saveBufferRaw()
33 bool loadBufferRaw(Stream* stream, char* buffer) { in loadBufferRaw()
39 void saveStringArray(Stream* stream, const char* const* strings, uint32_t count) { in saveStringArray()
46 std::vector<std::string> loadStringArray(Stream* stream) { in loadStringArray()
/device/amlogic/yukawa/hal/audio/
Daudio_hw.c192 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
198 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
204 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
215 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
222 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
229 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
251 static int out_standby(struct audio_stream *stream) in out_standby()
265 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
271 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
299 static char * out_get_parameters(const struct audio_stream *stream, const char *keys) in out_get_parameters()
[all …]
/device/linaro/hikey/audio/
Daudio_hw.c91 struct audio_stream_in stream; member
109 struct audio_stream_out stream; member
179 static int xa_device_run(struct audio_stream_out *stream, const void *buffer, size_t frame_size, si… in xa_device_run()
279 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
285 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
291 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
302 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
309 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
316 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
335 static int out_standby(struct audio_stream *stream) in out_standby()
[all …]
/device/generic/car/emulator/audio/driver/
Daudio_hw.c82 static uint32_t out_get_sample_rate(const struct audio_stream *stream) { in out_get_sample_rate()
87 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) { in out_set_sample_rate()
91 static size_t out_get_buffer_size(const struct audio_stream *stream) { in out_get_buffer_size()
99 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) { in out_get_channels()
104 static audio_format_t out_get_format(const struct audio_stream *stream) { in out_get_format()
109 static int out_set_format(struct audio_stream *stream, audio_format_t format) { in out_set_format()
113 static int out_dump(const struct audio_stream *stream, int fd) { in out_dump()
139 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) { in out_set_parameters()
171 static char *out_get_parameters(const struct audio_stream *stream, const char *keys) { in out_get_parameters()
194 static uint32_t out_get_latency(const struct audio_stream_out *stream) { in out_get_latency()
[all …]
/device/google/coral/vibrator/
DHardware.cpp85 static Enable_If_Iterable<T, true> unpack(std::istream &stream, T *value) { in unpack()
92 static Enable_If_Iterable<T, false> unpack(std::istream &stream, T *value) { in unpack()
119 bool HwApi::has(T &stream) { in has()
124 bool HwApi::get(T *value, U &stream) { in get()
138 bool HwApi::set(const T &value, U &stream) { in set()
151 void HwApi::record(const char *func, const T &value, void *stream) { in record()
161 auto &stream = entry.second; in debug() local
213 std::stringstream stream{it->second}; in get() local
223 std::ifstream stream; in debug() local
/device/linaro/dragonboard/audio/
Daudio_hw.c176 struct audio_stream_out stream; // Constant after init member
207 struct audio_stream_in stream; // Constant after init member
258 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
264 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
269 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
278 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
284 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
291 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
296 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
326 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
[all …]
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c179 struct audio_stream_out stream; // Constant after init member
210 struct audio_stream_in stream; // Constant after init member
261 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate()
267 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate()
272 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size()
281 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels()
287 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format()
294 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format()
299 static int out_dump(const struct audio_stream *stream, int fd) in out_dump()
329 static int out_set_parameters(struct audio_stream *stream, const char *kvpairs) in out_set_parameters()
[all …]
/device/google/contexthub/firmware/os/platform/stm32/
Ddma.c162 uint8_t stream) in dmaGetStreamState()
168 uint8_t stream) in dmaGetStreamRegs()
175 static inline uint8_t dmaGetIsr(uint8_t busId, uint8_t stream) in dmaGetIsr()
184 static inline void dmaClearIsr(uint8_t busId, uint8_t stream, uint8_t mask) in dmaClearIsr()
193 static void dmaIsrTeif(uint8_t busId, uint8_t stream) in dmaIsrTeif()
206 static void dmaIsrTcif(uint8_t busId, uint8_t stream) in dmaIsrTcif()
219 static void dmaIsr(uint8_t busId, uint8_t stream) in dmaIsr()
238 int dmaStart(uint8_t busId, uint8_t stream, const void *buf, uint16_t size, in dmaStart()
277 uint16_t dmaBytesLeft(uint8_t busId, uint8_t stream) in dmaBytesLeft()
283 void dmaStop(uint8_t busId, uint8_t stream) in dmaStop()
[all …]
/device/generic/goldfish-opengl/android-emu/android/base/
DAndroidSubAllocator.cpp59 bool save(Stream* stream) { in save()
62 Stream* stream = reinterpret_cast<Stream*>(context); in save() local
69 Stream* stream = reinterpret_cast<Stream*>(context); in save() local
86 bool load(Stream* stream) { in load()
90 Stream* stream = reinterpret_cast<Stream*>(context); in load() local
97 Stream* stream = reinterpret_cast<Stream*>(context); in load() local
206 bool SubAllocator::save(Stream* stream) { in save()
210 bool SubAllocator::load(Stream* stream) { in load()
/device/generic/goldfish-opengl/fuchsia/
Dfuchsia_stdio.cc35 int fprintf(FILE *stream, const char *format, ...) in fprintf()
48 static inline fx_log_severity_t severity(FILE *stream) in severity()
53 int fputs(const char *s, FILE *stream) in fputs()
63 int vfprintf(FILE *stream, const char *format, va_list ap) in vfprintf()
73 size_t fwrite(const void *ptr, size_t size, size_t nitems, FILE *stream) in fwrite()
/device/generic/goldfish-opengl/system/GLESv1_enc/
Dgl_enc.cpp26 IOStream *stream = ctx->m_stream; in glAlphaFunc_enc() local
52 IOStream *stream = ctx->m_stream; in glClearColor_enc() local
80 IOStream *stream = ctx->m_stream; in glClearDepthf_enc() local
105 IOStream *stream = ctx->m_stream; in glClipPlanef_enc() local
133 IOStream *stream = ctx->m_stream; in glColor4f_enc() local
161 IOStream *stream = ctx->m_stream; in glDepthRangef_enc() local
187 IOStream *stream = ctx->m_stream; in glFogf_enc() local
213 IOStream *stream = ctx->m_stream; in glFogfv_enc() local
241 IOStream *stream = ctx->m_stream; in glFrustumf_enc() local
271 IOStream *stream = ctx->m_stream; in glGetClipPlanef_enc() local
[all …]
/device/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_enc.cpp26 IOStream *stream = ctx->m_stream; in glActiveTexture_enc() local
51 IOStream *stream = ctx->m_stream; in glAttachShader_enc() local
77 IOStream *stream = ctx->m_stream; in glBindAttribLocation_enc() local
106 IOStream *stream = ctx->m_stream; in glBindBuffer_enc() local
132 IOStream *stream = ctx->m_stream; in glBindFramebuffer_enc() local
158 IOStream *stream = ctx->m_stream; in glBindRenderbuffer_enc() local
184 IOStream *stream = ctx->m_stream; in glBindTexture_enc() local
210 IOStream *stream = ctx->m_stream; in glBlendColor_enc() local
238 IOStream *stream = ctx->m_stream; in glBlendEquation_enc() local
263 IOStream *stream = ctx->m_stream; in glBlendEquationSeparate_enc() local
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_enc.cpp26 IOStream *stream = ctx->m_stream; in rcGetRendererVersion_enc() local
65 IOStream *stream = ctx->m_stream; in rcGetEGLVersion_enc() local
112 IOStream *stream = ctx->m_stream; in rcQueryEGLString_enc() local
157 IOStream *stream = ctx->m_stream; in rcGetGLString_enc() local
202 IOStream *stream = ctx->m_stream; in rcGetNumConfigs_enc() local
245 IOStream *stream = ctx->m_stream; in rcGetConfigs_enc() local
289 IOStream *stream = ctx->m_stream; in rcChooseConfig_enc() local
339 IOStream *stream = ctx->m_stream; in rcGetFBParam_enc() local
379 IOStream *stream = ctx->m_stream; in rcCreateContext_enc() local
421 IOStream *stream = ctx->m_stream; in rcDestroyContext_enc() local
[all …]
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_enc.cpp26 IOStream *stream = ctx->m_stream; in fooAlphaFunc_enc() local
52 IOStream *stream = ctx->m_stream; in fooIsBuffer_enc() local
94 IOStream *stream = ctx->m_stream; in fooDoEncoderFlush_enc() local
120 IOStream *stream = ctx->m_stream; in fooTakeConstVoidPtrConstPtr_enc() local
147 IOStream *stream = ctx->m_stream; in fooSetComplexStruct_enc() local
174 IOStream *stream = ctx->m_stream; in fooGetComplexStruct_enc() local
212 IOStream *stream = ctx->m_stream; in fooInout_enc() local
249 foo_encoder_context_t::foo_encoder_context_t(IOStream *stream, ChecksumCalculator *checksumCalculat… in foo_encoder_context_t()
/device/generic/goldfish-opengl/system/vulkan_enc/
DVkEncoder.cpp64 Impl(IOStream* stream) : m_stream(stream), m_logEncodes(false) { in Impl()
75 VulkanStreamGuest* stream() { return &m_stream; } in stream() function in goldfish_vk::VkEncoder::Impl
147 VkEncoder::VkEncoder(IOStream *stream) : in VkEncoder()
179 auto stream = mImpl->stream(); in vkCreateInstance() local
263 auto stream = mImpl->stream(); in vkDestroyInstance() local
327 auto stream = mImpl->stream(); in vkEnumeratePhysicalDevices() local
438 auto stream = mImpl->stream(); in vkGetPhysicalDeviceFeatures() local
482 auto stream = mImpl->stream(); in vkGetPhysicalDeviceFormatProperties() local
534 auto stream = mImpl->stream(); in vkGetPhysicalDeviceImageFormatProperties() local
600 auto stream = mImpl->stream(); in vkGetPhysicalDeviceProperties() local
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-libril/
Dsap_service.cpp214 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in connectReq() local
255 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in disconnectReq() local
308 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in apduReq() local
350 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in transferAtrReq() local
392 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in powerReq() local
433 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in resetSimReq() local
476 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in transferCardReaderStatusReq() local
520 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in setTransferProtocolReq() local
537 pb_istream_t stream; in sapDecodeMessage() local
/device/google/cuttlefish/guest/hals/ril/libril/
Dsap_service.cpp214 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in connectReq() local
255 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in disconnectReq() local
308 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in apduReq() local
350 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in transferAtrReq() local
392 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in powerReq() local
433 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in resetSimReq() local
476 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in transferCardReaderStatusReq() local
520 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in setTransferProtocolReq() local
537 pb_istream_t stream; in sapDecodeMessage() local
/device/generic/goldfish/radio/libril/
Dsap_service.cpp214 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in connectReq() local
255 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in disconnectReq() local
308 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in apduReq() local
350 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in transferAtrReq() local
392 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in powerReq() local
433 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in resetSimReq() local
476 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in transferCardReaderStatusReq() local
520 pb_ostream_t stream = pb_ostream_from_buffer(buffer, encodedSize); in setTransferProtocolReq() local
537 pb_istream_t stream; in sapDecodeMessage() local
/device/google/crosshatch/health/
DHealthService.cpp73 std::ifstream stream(path); in assert_open() local
82 auto stream = assert_open(path); in read_value_from_file() local
142 auto stream = assert_open(kDiskStatsFile); in get_disk_stats() local
/device/google/bonito/health/
DHealthService.cpp76 std::ifstream stream(path); in assert_open() local
85 auto stream = assert_open(path); in read_value_from_file() local
139 auto stream = assert_open(kDiskStatsFile); in get_disk_stats() local
/device/google/coral/health/
DHealth.cpp85 std::ifstream stream(path); in assert_open() local
94 auto stream = assert_open(path); in read_value_from_file() local
144 auto stream = assert_open(kDiskStatsFile); in private_get_disk_stats() local
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.h119 bool BuildParameter(std::stringstream* stream, T t) { in BuildParameter()
126 bool BuildParameter(std::stringstream* stream, T t, Args... args) { in BuildParameter()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DHostConnection.cpp387 auto stream = std::unique_ptr<AddressSpaceStream>( in connect() local
401 auto stream = std::make_unique<QemuPipeStream>(STREAM_BUFFER_SIZE); in connect() local
443 auto stream = std::make_unique<VirtioGpuStream>(STREAM_BUFFER_SIZE); in connect() local
465 auto stream = in connect() local
500 auto stream = std::unique_ptr<AddressSpaceStream>( in connect() local

123