/external/adhd/cras/src/server/ |
D | cras_hfp_info.c | 98 size_t format_bytes; in hfp_buf_acquire() local 100 format_bytes = cras_get_format_bytes(dev->format); in hfp_buf_acquire() 102 *count *= format_bytes; in hfp_buf_acquire() 111 *count /= format_bytes; in hfp_buf_acquire() 122 size_t format_bytes; in hfp_buf_release() local 123 format_bytes = cras_get_format_bytes(dev->format); in hfp_buf_release() 125 written_frames *= format_bytes; in hfp_buf_release() 135 size_t format_bytes; in hfp_buf_queued() local 136 format_bytes = cras_get_format_bytes(dev->format); in hfp_buf_queued() 139 return buf_queued(info->playback_buf) / format_bytes; in hfp_buf_queued() [all …]
|
D | linear_resampler.c | 22 unsigned int format_bytes; member 31 unsigned int format_bytes, in linear_resampler_create() argument 41 lr->format_bytes = format_bytes; in linear_resampler_create() 145 in = (int16_t *)(src + src_idx * lr->format_bytes); in linear_resampler_resample() 146 out = (int16_t *)(dst + dst_idx * lr->format_bytes); in linear_resampler_resample()
|
D | cras_a2dp_iodev.c | 267 size_t format_bytes; in flush_data() local 274 format_bytes = cras_get_format_bytes(iodev->format); in flush_data() 288 format_bytes, in flush_data() 332 queued_frames = buf_queued(a2dpio->pcm_buf) / format_bytes; in flush_data() 356 size_t format_bytes; in get_buffer() local 361 format_bytes = cras_get_format_bytes(iodev->format); in get_buffer() 367 format_bytes); in get_buffer() 379 size_t format_bytes; in put_buffer() local 382 format_bytes = cras_get_format_bytes(iodev->format); in put_buffer() 383 written_bytes = nwritten * format_bytes; in put_buffer()
|
D | cras_a2dp_info.c | 151 int format_bytes, size_t link_mtu) in a2dp_encode() argument 174 a2dp->samples += processed / format_bytes; in a2dp_encode() 175 a2dp->nsamples += processed / format_bytes; in a2dp_encode()
|
D | dev_stream.c | 381 unsigned int format_bytes, fr_to_capture; in dev_stream_capture() local 386 format_bytes = cras_get_format_bytes( in dev_stream_capture() 390 area->channels[0].buf + area_offset * format_bytes, in dev_stream_capture() 469 unsigned int format_bytes; in dev_stream_capture_avail() local 483 format_bytes = cras_get_format_bytes( in dev_stream_capture_avail() 489 format_bytes; in dev_stream_capture_avail() 497 format_bytes); in dev_stream_capture_avail()
|
D | linear_resampler.h | 20 unsigned int format_bytes,
|
D | cras_a2dp_info.h | 78 int format_bytes, size_t link_mtu);
|
D | cras_alsa_helpers.h | 207 int cras_alsa_mmap_begin(snd_pcm_t *handle, unsigned int format_bytes,
|
D | cras_alsa_io.c | 504 size_t format_bytes; in get_buffer() local 508 format_bytes = cras_get_format_bytes(iodev->format); in get_buffer() 511 format_bytes, in get_buffer() 1720 size_t format_bytes; in fill_whole_buffer_with_zeros() local 1731 format_bytes = cras_get_format_bytes(iodev->format); in fill_whole_buffer_with_zeros() 1732 memset(dst, 0, iodev->buffer_size * format_bytes); in fill_whole_buffer_with_zeros()
|
D | cras_alsa_helpers.c | 791 int cras_alsa_mmap_begin(snd_pcm_t *handle, unsigned int format_bytes, in cras_alsa_mmap_begin() argument 825 *dst = (uint8_t *)my_areas[0].addr + (*offset) * format_bytes; in cras_alsa_mmap_begin()
|
/external/adhd/cras/src/tests/ |
D | cras_client_unittest.cc | 174 size_t format_bytes; in StreamConnected() local 185 format_bytes = cras_get_format_bytes(&server_format); in StreamConnected() 187 area.config.frame_bytes = format_bytes; in StreamConnected() 188 area.config.used_size = shm_writable_frames_ * format_bytes; in StreamConnected() 227 size_t format_bytes; in StreamConnectedFail() local 244 format_bytes = cras_get_format_bytes(&server_format); in StreamConnectedFail() 246 area.config.frame_bytes = format_bytes; in StreamConnectedFail() 247 area.config.used_size = shm_writable_frames_ * format_bytes; in StreamConnectedFail()
|
D | a2dp_iodev_unittest.cc | 534 int format_bytes, size_t link_mtu) { in a2dp_encode() argument
|
D | fmt_conv_unittest.cc | 1539 unsigned int format_bytes, in linear_resampler_create() argument 1543 linear_resampler_format_bytes = format_bytes; in linear_resampler_create()
|
D | alsa_io_unittest.cc | 2405 int cras_alsa_mmap_begin(snd_pcm_t *handle, unsigned int format_bytes, in cras_alsa_mmap_begin() argument
|
/external/swiftshader/third_party/subzero/bloat/ |
D | bloat.py | 27 def format_bytes(bytes): function 281 'name': key + ' ' + format_bytes(size), 295 'name': name + ' ' + format_bytes(total), 337 'name': section + ' ' + format_bytes(size), 345 'name': name + ' ' + format_bytes(total), 357 'name': 'top ' + format_bytes(size), 427 print '%6s %s (%s) %s' % (format_bytes(size), sym, 430 print '%6s %s' % (format_bytes(total), 'total'),
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_rast_priv.h | 172 pixel_offset = px * task->scene->cbufs[buf].format_bytes + in lp_rast_get_color_block_pointer() 206 pixel_offset = px * task->scene->zsbuf.format_bytes + in lp_rast_get_depth_block_pointer()
|
D | lp_scene.c | 177 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization() 186 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization() 199 scene->zsbuf.format_bytes = util_format_get_blocksize(zsbuf->format); in lp_scene_begin_rasterization()
|
D | lp_scene.h | 145 unsigned format_bytes; member
|
D | lp_rast.c | 116 scene->cbufs[i].format_bytes * task->x; in lp_rast_tile_begin() 122 scene->zsbuf.format_bytes * task->x; in lp_rast_tile_begin()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | ScopedPrinter.cpp | 42 OS << " (" << format_bytes(Data, None, Data.size(), 1, 0, true) << ")\n"; in printBinaryImpl()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Format.h | 230 format_bytes(ArrayRef<uint8_t> Bytes, Optional<uint64_t> FirstByteOffset = None,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | Format.h | 239 format_bytes(ArrayRef<uint8_t> Bytes, Optional<uint64_t> FirstByteOffset = None,
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | raw_ostream_test.cpp | 196 Str << format_bytes(Bytes, Offset, NumPerLine, ByteGroupSize); in formatted_bytes_str()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFFormValue.cpp | 374 OS << format_bytes(ArrayRef<uint8_t>(Value.data, 16), None, 16, 16); in dump()
|
/external/ImageMagick/MagickCore/ |
D | profile.c | 2044 format_bytes[] = {0, 1, 1, 2, 4, 8, 1, 1, 2, 4, 8, 4, 8}; in SyncExifProfile() local 2144 number_bytes=(size_t) components*format_bytes[format]; in SyncExifProfile()
|