Home
last modified time | relevance | path

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

123456

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DBitSetTest.java33 BitSet bs = new BitSet(); in test_Constructor() local
46 BitSet bs = new BitSet(128); in test_ConstructorI() local
78 BitSet bs; in test_clone() local
89 BitSet bs; in test_equalsLjava_lang_Object() local
112 BitSet bs = (BitSet) eightbs.clone(); in test_hashCode() local
131 BitSet bs = new BitSet(3400); in test_clear() local
165 BitSet bs = new BitSet(0); in test_clearI() local
214 BitSet bs = new BitSet(16); in test_clearII() local
404 BitSet bs = new BitSet(); in test_getI() local
452 BitSet bs, resultbs, correctbs; in test_getII() local
[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()
23 public static void intToBigEndian(int n, byte[] bs, int off) in intToBigEndian()
31 public static void intToBigEndian(int[] ns, byte[] bs, int off) in intToBigEndian()
40 public static long bigEndianToLong(byte[] bs, int off) in bigEndianToLong()
47 public static void longToBigEndian(long n, byte[] bs, int off) in longToBigEndian()
53 public static int littleEndianToInt(byte[] bs, int off) in littleEndianToInt()
62 public static void littleEndianToInt(byte[] bs, int off, int[] ns) in littleEndianToInt()
71 public static void intToLittleEndian(int n, byte[] bs, int off) in intToLittleEndian()
79 public static void intToLittleEndian(int[] ns, byte[] bs, int off) in intToLittleEndian()
[all …]
/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 …]
Dcow.c60 static int cow_open(BlockDriverState *bs, int flags) in cow_open()
96 static inline int cow_set_bit(BlockDriverState *bs, int64_t bitnum) in cow_set_bit()
116 static inline int is_bit_set(BlockDriverState *bs, int64_t bitnum) in is_bit_set()
133 static int cow_is_allocated(BlockDriverState *bs, int64_t sector_num, in cow_is_allocated()
156 static int cow_update_bitmap(BlockDriverState *bs, int64_t sector_num, in cow_update_bitmap()
172 static int cow_read(BlockDriverState *bs, int64_t sector_num, in cow_read()
202 static int cow_write(BlockDriverState *bs, int64_t sector_num, in cow_write()
216 static void cow_close(BlockDriverState *bs) in cow_close()
285 static void cow_flush(BlockDriverState *bs) in cow_flush()
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-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 …]
Dnbd.c42 static int nbd_open(BlockDriverState *bs, const char* filename, int flags) in nbd_open()
96 static int nbd_read(BlockDriverState *bs, int64_t sector_num, in nbd_read()
126 static int nbd_write(BlockDriverState *bs, int64_t sector_num, in nbd_write()
156 static void nbd_close(BlockDriverState *bs) in nbd_close()
170 static int64_t nbd_getlength(BlockDriverState *bs) in nbd_getlength()
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 …]
Ddmg.c59 static off_t read_off(BlockDriverState *bs, int64_t offset) in read_off()
67 static off_t read_uint32(BlockDriverState *bs, int64_t offset) in read_uint32()
75 static int dmg_open(BlockDriverState *bs, int flags) in dmg_open()
211 static inline int dmg_read_chunk(BlockDriverState *bs, int sector_num) in dmg_read_chunk()
267 static int dmg_read(BlockDriverState *bs, int64_t sector_num, in dmg_read()
283 static void dmg_close(BlockDriverState *bs) in dmg_close()
Dqcow.c93 static int qcow_open(BlockDriverState *bs, int flags) in qcow_open()
172 static int qcow_set_key(BlockDriverState *bs, const char *key) in qcow_set_key()
252 static uint64_t get_cluster_offset(BlockDriverState *bs, in get_cluster_offset()
379 static int qcow_is_allocated(BlockDriverState *bs, int64_t sector_num, in qcow_is_allocated()
422 static int decompress_cluster(BlockDriverState *bs, uint64_t cluster_offset) in decompress_cluster()
517 static QCowAIOCB *qcow_aio_setup(BlockDriverState *bs, in qcow_aio_setup()
545 BlockDriverState *bs = acb->common.bs; in qcow_aio_read_cb() local
633 static BlockDriverAIOCB *qcow_aio_readv(BlockDriverState *bs, in qcow_aio_readv()
650 BlockDriverState *bs = acb->common.bs; in qcow_aio_write_cb() local
715 static BlockDriverAIOCB *qcow_aio_writev(BlockDriverState *bs, in qcow_aio_writev()
[all …]
Dcloop.c53 static int cloop_open(BlockDriverState *bs, int flags) in cloop_open()
102 static inline int cloop_read_block(BlockDriverState *bs, int block_num) in cloop_read_block()
131 static int cloop_read(BlockDriverState *bs, int64_t sector_num, in cloop_read()
147 static void cloop_close(BlockDriverState *bs) in cloop_close()
Dparallels.c70 static int parallels_open(BlockDriverState *bs, int flags) in parallels_open()
105 static int64_t seek_to_sector(BlockDriverState *bs, int64_t sector_num) in seek_to_sector()
119 static int parallels_read(BlockDriverState *bs, int64_t sector_num, in parallels_read()
137 static void parallels_close(BlockDriverState *bs) in parallels_close()
Dvmdk.c109 static uint32_t vmdk_read_cid(BlockDriverState *bs, int parent) in vmdk_read_cid()
136 static int vmdk_write_cid(BlockDriverState *bs, uint32_t cid) in vmdk_write_cid()
158 static int vmdk_is_cid_valid(BlockDriverState *bs) in vmdk_is_cid_valid()
338 static int vmdk_parent_open(BlockDriverState *bs) in vmdk_parent_open()
362 static int vmdk_open(BlockDriverState *bs, int flags) in vmdk_open()
439 static int get_whole_cluster(BlockDriverState *bs, uint64_t cluster_offset, in get_whole_cluster()
469 static int vmdk_L2update(BlockDriverState *bs, VmdkMetaData *m_data) in vmdk_L2update()
488 static uint64_t get_cluster_offset(BlockDriverState *bs, VmdkMetaData *m_data, in get_cluster_offset()
570 static int vmdk_is_allocated(BlockDriverState *bs, int64_t sector_num, in vmdk_is_allocated()
586 static int vmdk_read(BlockDriverState *bs, int64_t sector_num, in vmdk_read()
[all …]
/external/qemu/
Dblock.c157 BlockDriverState *bs; in bdrv_new() local
338 BlockDriverState *bs; in find_image_format() local
385 static int refresh_total_sectors(BlockDriverState *bs, int64_t hint) in refresh_total_sectors()
409 static int bdrv_open_common(BlockDriverState *bs, const char *filename, in bdrv_open_common()
499 BlockDriverState *bs; in bdrv_file_open() local
522 int bdrv_open(BlockDriverState *bs, const char *filename, int flags, in bdrv_open()
647 void bdrv_close(BlockDriverState *bs) in bdrv_close()
680 BlockDriverState *bs; in bdrv_close_all() local
687 void bdrv_delete(BlockDriverState *bs) in bdrv_delete()
705 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
573 BlockDriverState *bs; in do_change_block() 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/aac/libMpegTPDec/src/
Dtpdec_latm.cpp100 UINT CLatmDemux_GetValue(HANDLE_FDK_BITSTREAM bs) in CLatmDemux_GetValue()
119 HANDLE_FDK_BITSTREAM bs, in CLatmDemux_ReadAudioMuxElement()
152 HANDLE_FDK_BITSTREAM bs, in CLatmDemux_Read()
205 HANDLE_FDK_BITSTREAM bs, in CLatmDemux_ReadStreamMuxConfig()
353 TRANSPORTDEC_ERROR CLatmDemux_ReadPayloadLengthInfo(HANDLE_FDK_BITSTREAM bs, CLatmDemux *pLatmDemux) in CLatmDemux_ReadPayloadLengthInfo()
386 int CLatmDemux_ReadAuChunkLengthInfo(HANDLE_FDK_BITSTREAM bs) in CLatmDemux_ReadAuChunkLengthInfo()
Dtpdec_asc.cpp116 HANDLE_FDK_BITSTREAM bs, in CProgramConfig_Read()
485 static AUDIO_OBJECT_TYPE getAOT(HANDLE_FDK_BITSTREAM bs) in getAOT()
498 static INT getSampleRate(HANDLE_FDK_BITSTREAM bs, UCHAR *index, int nBits) in getSampleRate()
522 HANDLE_FDK_BITSTREAM bs, in GaSpecificConfig_Parse()
713 HANDLE_FDK_BITSTREAM bs, in AudioSpecificConfig_Parse()
/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/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()
Dchannelinfo.cpp98 HANDLE_FDK_BITSTREAM bs, in IcsReadMaxSfb()
124 AAC_DECODER_ERROR IcsRead(HANDLE_FDK_BITSTREAM bs, in IcsRead()
/external/openssl/crypto/asn1/
Dt_bitst.c64 int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, in ASN1_BIT_STRING_name_print()
81 int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, in ASN1_BIT_STRING_set_asc()

123456