Home
last modified time | relevance | path

Searched defs:bs (Results 1 – 25 of 209) sorted by relevance

123456789

/external/qemu/block/
Draw.c6 static int raw_open(BlockDriverState *bs, int flags) in raw_open()
15 static int check_for_block_signature(BlockDriverState *bs, const uint8_t *buf) in check_for_block_signature()
35 static int check_write_unsafe(BlockDriverState *bs, int64_t sector_num, in check_write_unsafe()
51 static int raw_read(BlockDriverState *bs, int64_t sector_num, in raw_read()
57 static int raw_write_scrubbed_bootsect(BlockDriverState *bs, in raw_write_scrubbed_bootsect()
69 static int raw_write(BlockDriverState *bs, int64_t sector_num, in raw_write()
91 static BlockDriverAIOCB *raw_aio_readv(BlockDriverState *bs, in raw_aio_readv()
119 static BlockDriverAIOCB *raw_aio_writev(BlockDriverState *bs, in raw_aio_writev()
168 static void raw_close(BlockDriverState *bs) in raw_close()
172 static void raw_flush(BlockDriverState *bs) in raw_flush()
[all …]
Draw-posix.c130 static int raw_open_common(BlockDriverState *bs, const char *filename, in raw_open_common()
201 static int raw_open(BlockDriverState *bs, const char *filename, int flags) in raw_open()
233 static int raw_pread_aligned(BlockDriverState *bs, int64_t offset, in raw_pread_aligned()
286 static int raw_pwrite_aligned(BlockDriverState *bs, int64_t offset, in raw_pwrite_aligned()
314 static int raw_pread(BlockDriverState *bs, int64_t offset, in raw_pread()
385 static int raw_read(BlockDriverState *bs, int64_t sector_num, in raw_read()
402 static int raw_pwrite(BlockDriverState *bs, int64_t offset, in raw_pwrite()
475 static int raw_write(BlockDriverState *bs, int64_t sector_num, in raw_write()
502 static BlockDriverAIOCB *raw_aio_submit(BlockDriverState *bs, in raw_aio_submit()
531 static BlockDriverAIOCB *raw_aio_readv(BlockDriverState *bs, in raw_aio_readv()
[all …]
Dqcow2-snapshot.c49 void qcow2_free_snapshots(BlockDriverState *bs) in qcow2_free_snapshots()
63 int qcow2_read_snapshots(BlockDriverState *bs) in qcow2_read_snapshots()
119 static int qcow_write_snapshots(BlockDriverState *bs) in qcow_write_snapshots()
191 static void find_new_snapshot_id(BlockDriverState *bs, in find_new_snapshot_id()
207 static int find_snapshot_by_id(BlockDriverState *bs, const char *id_str) in find_snapshot_by_id()
219 static int find_snapshot_by_id_or_name(BlockDriverState *bs, const char *name) in find_snapshot_by_id_or_name()
235 int qcow2_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info) in qcow2_snapshot_create()
314 int qcow2_snapshot_goto(BlockDriverState *bs, const char *snapshot_id) in qcow2_snapshot_goto()
355 int qcow2_snapshot_delete(BlockDriverState *bs, const char *snapshot_id) in qcow2_snapshot_delete()
390 int qcow2_snapshot_list(BlockDriverState *bs, QEMUSnapshotInfo **psn_tab) in qcow2_snapshot_list()
Dqcow2.c75 static int qcow_read_extensions(BlockDriverState *bs, uint64_t start_offset, in qcow_read_extensions()
139 static int qcow_open(BlockDriverState *bs, int flags) in qcow_open()
254 static int qcow_set_key(BlockDriverState *bs, const char *key) in qcow_set_key()
296 static int qcow_is_allocated(BlockDriverState *bs, int64_t sector_num, in qcow_is_allocated()
314 int qcow2_backing_read1(BlockDriverState *bs, in qcow2_backing_read1()
385 BlockDriverState *bs = acb->common.bs; in qcow_aio_read_cb() local
492 static QCowAIOCB *qcow_aio_setup(BlockDriverState *bs, in qcow_aio_setup()
519 static BlockDriverAIOCB *qcow_aio_readv(BlockDriverState *bs, in qcow_aio_readv()
557 BlockDriverState *bs = acb->common.bs; in qcow_aio_write_cb() local
644 static BlockDriverAIOCB *qcow_aio_writev(BlockDriverState *bs, in qcow_aio_writev()
[all …]
Dqcow2-refcount.c37 static int write_refcount_block(BlockDriverState *bs) in write_refcount_block()
59 int qcow2_refcount_init(BlockDriverState *bs) in qcow2_refcount_init()
81 void qcow2_refcount_close(BlockDriverState *bs) in qcow2_refcount_close()
89 static int load_refcount_block(BlockDriverState *bs, in load_refcount_block()
118 static int get_refcount(BlockDriverState *bs, int64_t cluster_index) in get_refcount()
178 static int64_t alloc_refcount_block(BlockDriverState *bs, int64_t cluster_index) in alloc_refcount_block()
425 static int write_refcount_block_entries(BlockDriverState *bs, in write_refcount_block_entries()
458 static int QEMU_WARN_UNUSED_RESULT update_refcount(BlockDriverState *bs, in update_refcount()
564 static int update_cluster_refcount(BlockDriverState *bs, in update_cluster_refcount()
587 static int64_t alloc_clusters_noref(BlockDriverState *bs, int64_t size) in alloc_clusters_noref()
[all …]
Draw-win32.c76 static int raw_open(BlockDriverState *bs, const char *filename, int flags) in raw_open()
108 static int raw_read(BlockDriverState *bs, int64_t sector_num, in raw_read()
129 static int raw_write(BlockDriverState *bs, int64_t sector_num, in raw_write()
150 static void raw_flush(BlockDriverState *bs) in raw_flush()
156 static void raw_close(BlockDriverState *bs) in raw_close()
162 static int raw_truncate(BlockDriverState *bs, int64_t offset) in raw_truncate()
176 static int64_t raw_getlength(BlockDriverState *bs) in raw_getlength()
280 static int find_device_type(BlockDriverState *bs, const char *filename) in find_device_type()
315 static int hdev_open(BlockDriverState *bs, const char *filename, int flags) in hdev_open()
397 static int hdev_has_zero_init(BlockDriverState *bs) in hdev_has_zero_init()
Dqcow2-cluster.c31 int qcow2_grow_l1_table(BlockDriverState *bs, int min_size) in qcow2_grow_l1_table()
93 void qcow2_l2_cache_reset(BlockDriverState *bs) in qcow2_l2_cache_reset()
102 static inline int l2_cache_new_entry(BlockDriverState *bs) in l2_cache_new_entry()
160 static int l2_load(BlockDriverState *bs, uint64_t l2_offset, in l2_load()
197 static int write_l1_entry(BlockDriverState *bs, int l1_index) in write_l1_entry()
229 static int l2_allocate(BlockDriverState *bs, int l1_index, uint64_t **table) in l2_allocate()
345 static int qcow_read(BlockDriverState *bs, int64_t sector_num, in qcow_read()
396 static int copy_sectors(BlockDriverState *bs, uint64_t start_sect, in copy_sectors()
440 int qcow2_get_cluster_offset(BlockDriverState *bs, uint64_t offset, in qcow2_get_cluster_offset()
530 static int get_cluster_table(BlockDriverState *bs, uint64_t offset, in get_cluster_table()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPack.java5 public static int bigEndianToInt(byte[] bs, int off) in bigEndianToInt()
14 public static void bigEndianToInt(byte[] bs, int off, int[] ns) in bigEndianToInt()
30 public static void intToBigEndian(int n, byte[] bs, int off) in intToBigEndian()
45 public static void intToBigEndian(int[] ns, byte[] bs, int off) in intToBigEndian()
54 public static long bigEndianToLong(byte[] bs, int off) in bigEndianToLong()
61 public static void bigEndianToLong(byte[] bs, int off, long[] ns) in bigEndianToLong()
77 public static void longToBigEndian(long n, byte[] bs, int off) in longToBigEndian()
90 public static void longToBigEndian(long[] ns, byte[] bs, int off) in longToBigEndian()
99 public static int littleEndianToInt(byte[] bs, int off) in littleEndianToInt()
108 public static void littleEndianToInt(byte[] bs, int off, int[] ns) in littleEndianToInt()
[all …]
/external/qemu/
Dblock.c159 BlockDriverState *bs; in bdrv_new() local
340 BlockDriverState *bs; in find_image_format() local
387 static int refresh_total_sectors(BlockDriverState *bs, int64_t hint) in refresh_total_sectors()
411 static int bdrv_open_common(BlockDriverState *bs, const char *filename, in bdrv_open_common()
501 BlockDriverState *bs; in bdrv_file_open() local
524 int bdrv_open(BlockDriverState *bs, const char *filename, int flags, in bdrv_open()
649 void bdrv_close(BlockDriverState *bs) in bdrv_close()
682 BlockDriverState *bs; in bdrv_close_all() local
689 void bdrv_delete(BlockDriverState *bs) in bdrv_delete()
707 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev) in bdrv_attach()
[all …]
Dblockdev.c27 void blockdev_mark_auto_del(BlockDriverState *bs) in blockdev_mark_auto_del()
34 void blockdev_auto_del(BlockDriverState *bs) in blockdev_auto_del()
92 DriveInfo *drive_get_by_blockdev(BlockDriverState *bs) in drive_get_by_blockdev()
501 BlockDriverState *bs; in do_commit() local
515 static int eject_device(Monitor *mon, BlockDriverState *bs, int force) in eject_device()
534 BlockDriverState *bs; in do_eject() local
549 BlockDriverState *bs; in do_block_set_passwd() local
575 BlockDriverState *bs; in do_change_block() local
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
Dbitstream-decode.c40 PRIVATE void OI_BITSTREAM_ReadInit(OI_BITSTREAM *bs, in OI_BITSTREAM_ReadInit()
48 PRIVATE OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits) in OI_BITSTREAM_ReadUINT()
57 PRIVATE OI_UINT8 OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM *bs) in OI_BITSTREAM_ReadUINT4Aligned()
77 PRIVATE OI_UINT8 OI_BITSTREAM_ReadUINT8Aligned(OI_BITSTREAM *bs) in OI_BITSTREAM_ReadUINT8Aligned()
/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.buffer/
Doverflow.pass.cpp44 std::ofstream bs("overflow.dat"); in main() local
55 std::ifstream bs("overflow.dat"); in main() local
61 std::ofstream bs("overflow.dat"); in main() local
73 std::ifstream bs("overflow.dat"); in main() local
79 std::ofstream bs("overflow.dat"); in main() local
Dunderflow.pass.cpp44 std::ifstream bs("underflow.dat"); in main() local
56 std::ifstream bs("underflow.dat"); in main() local
77 std::ifstream bs("underflow_utf8.dat"); in main() local
/external/clang/test/CodeGenCXX/
Ddefault-arguments.cpp37 B bs[2]; in f1() local
41 B bs[2]; member
63 B *bs = new B[2]; in f3() local
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
Dvp9_denoiser.c37 static int absdiff_thresh(BLOCK_SIZE bs, int increase_denoising) { in absdiff_thresh()
42 static int delta_thresh(BLOCK_SIZE bs, int increase_denoising) { in delta_thresh()
48 static int noise_motion_thresh(BLOCK_SIZE bs, int increase_denoising) { in noise_motion_thresh()
54 static unsigned int sse_thresh(BLOCK_SIZE bs, int increase_denoising) { in sse_thresh()
58 static int sse_diff_thresh(BLOCK_SIZE bs, int increase_denoising, in sse_diff_thresh()
68 static int total_adj_strong_thresh(BLOCK_SIZE bs, int increase_denoising) { in total_adj_strong_thresh()
72 static int total_adj_weak_thresh(BLOCK_SIZE bs, int increase_denoising) { in total_adj_weak_thresh()
81 BLOCK_SIZE bs, in denoiser_filter()
194 const uint8_t *src, int src_stride, BLOCK_SIZE bs) { in copy_block()
205 BLOCK_SIZE bs, in perform_motion_compensation()
[all …]
/external/aac/libMpegTPDec/src/
Dtpdec_latm.cpp100 UINT CLatmDemux_GetValue(HANDLE_FDK_BITSTREAM bs) in CLatmDemux_GetValue()
119 HANDLE_FDK_BITSTREAM bs, in CLatmDemux_ReadAudioMuxElement()
158 HANDLE_FDK_BITSTREAM bs, in CLatmDemux_Read()
212 HANDLE_FDK_BITSTREAM bs, in CLatmDemux_ReadStreamMuxConfig()
363 TRANSPORTDEC_ERROR CLatmDemux_ReadPayloadLengthInfo(HANDLE_FDK_BITSTREAM bs, CLatmDemux *pLatmDemux) in CLatmDemux_ReadPayloadLengthInfo()
396 int CLatmDemux_ReadAuChunkLengthInfo(HANDLE_FDK_BITSTREAM bs) in CLatmDemux_ReadAuChunkLengthInfo()
/external/libyuv/files/include/libyuv/
Dformat_conversion.h51 #define BayerRGBToI420(b, bs, f, y, ys, u, us, v, vs, w, h) \ argument
92 #define I420ToBayerRGB(y, ys, u, us, v, vs, b, bs, f, w, h) \ argument
125 #define BayerRGBToARGB(b, bs, f, a, as, w, h) BayerToARGB(b, bs, a, as, w, h, f) argument
155 #define ARGBToBayerRGB(a, as, b, bs, f, w, h) ARGBToBayer(b, bs, a, as, w, h, f) argument
/external/chromium_org/third_party/libyuv/include/libyuv/
Dformat_conversion.h51 #define BayerRGBToI420(b, bs, f, y, ys, u, us, v, vs, w, h) \ argument
92 #define I420ToBayerRGB(y, ys, u, us, v, vs, b, bs, f, w, h) \ argument
125 #define BayerRGBToARGB(b, bs, f, a, as, w, h) BayerToARGB(b, bs, a, as, w, h, f) argument
155 #define ARGBToBayerRGB(a, as, b, bs, f, w, h) ARGBToBayer(b, bs, a, as, w, h, f) argument
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/include/libyuv/
Dformat_conversion.h51 #define BayerRGBToI420(b, bs, f, y, ys, u, us, v, vs, w, h) \ argument
92 #define I420ToBayerRGB(y, ys, u, us, v, vs, b, bs, f, w, h) \ argument
125 #define BayerRGBToARGB(b, bs, f, a, as, w, h) BayerToARGB(b, bs, a, as, w, h, f) argument
155 #define ARGBToBayerRGB(a, as, b, bs, f, w, h) ARGBToBayer(b, bs, a, as, w, h, f) argument
/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/
Dctor_err_string.pass.cpp50 std::string bs = myconv.to_bytes(L"\xDA83"); in main() local
63 std::string bs = myconv.to_bytes(L"\xDA83"); in main() local
/external/bzip2/
Dbzip2recover.c156 BitStream *bs = malloc ( sizeof(BitStream) ); in bsOpenReadStream() local
169 BitStream *bs = malloc ( sizeof(BitStream) ); in bsOpenWriteStream() local
180 static void bsPutBit ( BitStream* bs, Int32 bit ) in bsPutBit()
199 static Int32 bsGetBit ( BitStream* bs ) in bsGetBit()
218 static void bsClose ( BitStream* bs ) in bsClose()
242 static void bsPutUChar ( BitStream* bs, UChar c ) in bsPutUChar()
251 static void bsPutUInt32 ( BitStream* bs, UInt32 c ) in bsPutUInt32()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_bitstream.c627 motion_vector(struct vl_mpg12_bs *bs, int r, int s, int dmv, short delta[2], short dmvector[2]) in motion_vector()
662 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) in motion_vector_frame()
686 motion_vector_field(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) in motion_vector_field()
705 reset_predictor(struct vl_mpg12_bs *bs) { in reset_predictor()
710 decode_dct(struct vl_mpg12_bs *bs, struct pipe_mpeg12_macroblock *mb, int scale) in decode_dct()
790 decode_slice(struct vl_mpg12_bs *bs, struct pipe_video_buffer *target) in decode_slice()
939 vl_mpg12_bs_init(struct vl_mpg12_bs *bs, struct pipe_video_decoder *decoder) in vl_mpg12_bs_init()
956 vl_mpg12_bs_decode(struct vl_mpg12_bs *bs, in vl_mpg12_bs_decode()
/external/aac/libAACdec/src/
Drvlc.cpp116 HANDLE_FDK_BITSTREAM bs) in rvlcInit()
226 HANDLE_FDK_BITSTREAM bs) in rvlcDecodeEscapeWord()
302 HANDLE_FDK_BITSTREAM bs) in rvlcDecodeEscapes()
344 SCHAR decodeRVLCodeword (HANDLE_FDK_BITSTREAM bs, CErRvlcInfo *pRvlc) in decodeRVLCodeword()
417 HANDLE_FDK_BITSTREAM bs) in rvlcDecodeForward()
608 HANDLE_FDK_BITSTREAM bs) in rvlcDecodeBackward()
1054 HANDLE_FDK_BITSTREAM bs) in CRvlc_Read()
1129 HANDLE_FDK_BITSTREAM bs in CRvlc_Decode()
/external/ceres-solver/internal/ceres/
Dpartitioned_matrix_view_impl.h52 const CompressedRowBlockStructure* bs = matrix_.block_structure(); in PartitionedMatrixView() local
100 const CompressedRowBlockStructure* bs = matrix_.block_structure(); in RightMultiplyE() local
123 const CompressedRowBlockStructure* bs = matrix_.block_structure(); in RightMultiplyF() local
166 const CompressedRowBlockStructure* bs = matrix_.block_structure(); in LeftMultiplyE() local
189 const CompressedRowBlockStructure* bs = matrix_.block_structure(); in LeftMultiplyF() local
237 const CompressedRowBlockStructure* bs = matrix_.block_structure(); in CreateBlockDiagonalMatrixLayout() local
302 const CompressedRowBlockStructure* bs = matrix_.block_structure(); in UpdateBlockDiagonalEtE() local
334 const CompressedRowBlockStructure* bs = matrix_.block_structure(); in UpdateBlockDiagonalFtF() local
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_mpeg12_bitstream.c627 motion_vector(struct vl_mpg12_bs *bs, int r, int s, int dmv, short delta[2], short dmvector[2]) in motion_vector()
662 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) in motion_vector_frame()
686 motion_vector_field(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) in motion_vector_field()
705 reset_predictor(struct vl_mpg12_bs *bs) { in reset_predictor()
710 decode_dct(struct vl_mpg12_bs *bs, struct pipe_mpeg12_macroblock *mb, int scale) in decode_dct()
790 decode_slice(struct vl_mpg12_bs *bs, struct pipe_video_buffer *target) in decode_slice()
939 vl_mpg12_bs_init(struct vl_mpg12_bs *bs, struct pipe_video_decoder *decoder) in vl_mpg12_bs_init()
956 vl_mpg12_bs_decode(struct vl_mpg12_bs *bs, in vl_mpg12_bs_decode()

123456789