/external/fio/examples/ |
H A D | rbd.fio | 20 bs=4k
|
H A D | enospc-pressure.fio | 25 bs=128k 34 bs=4k 49 bs=4k
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_mpeg12_bitstream.h | 46 vl_mpg12_bs_init(struct vl_mpg12_bs *bs, struct pipe_video_decoder *decoder); 49 vl_mpg12_bs_decode(struct vl_mpg12_bs *bs,
|
H A D | vl_mpeg12_bitstream.c | 627 motion_vector(struct vl_mpg12_bs *bs, int r, int s, int dmv, short delta[2], short dmvector[2]) argument 632 int r_size = bs->desc->f_code[s][t]; 634 vl_vlc_fillbits(&bs->vlc); 635 motion_code = vl_vlc_get_vlclbf(&bs->vlc, tbl_B10, 11); 639 int residual = vl_vlc_get_uimsbf(&bs->vlc, r_size) + 1; 646 dmvector[t] = vl_vlc_get_vlclbf(&bs->vlc, tbl_B11, 2); 662 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) argument 668 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; 669 motion_vector(bs, 0, s, dmv, delta, dmvector); 670 mb->PMV[0][s][0] = wrap(mb->PMV[0][s][0] + delta[0], bs 686 motion_vector_field(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) argument 705 reset_predictor(struct vl_mpg12_bs *bs) argument 710 decode_dct(struct vl_mpg12_bs *bs, struct pipe_mpeg12_macroblock *mb, int scale) argument 790 decode_slice(struct vl_mpg12_bs *bs, struct pipe_video_buffer *target) argument 939 vl_mpg12_bs_init(struct vl_mpg12_bs *bs, struct pipe_video_decoder *decoder) argument 956 vl_mpg12_bs_decode(struct vl_mpg12_bs *bs, struct pipe_video_buffer *target, struct pipe_mpeg12_picture_desc *picture, unsigned num_buffers, const void * const *buffers, const unsigned *sizes) argument [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
H A D | t_bitst.c | 64 int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, argument 71 if(ASN1_BIT_STRING_get_bit(bs, bnam->bitnum)) { 81 int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, argument 87 if(bs) { 88 if(!ASN1_BIT_STRING_set_bit(bs, bitnum, value))
|
/external/openssl/crypto/asn1/ |
H A D | t_bitst.c | 64 int ASN1_BIT_STRING_name_print(BIO *out, ASN1_BIT_STRING *bs, argument 71 if(ASN1_BIT_STRING_get_bit(bs, bnam->bitnum)) { 81 int ASN1_BIT_STRING_set_asc(ASN1_BIT_STRING *bs, char *name, int value, argument 87 if(bs) { 88 if(!ASN1_BIT_STRING_set_bit(bs, bitnum, value))
|
/external/qemu/block/ |
H A D | raw-posix.c | 123 static int fd_open(BlockDriverState *bs); 124 static int64_t raw_getlength(BlockDriverState *bs); 127 static int cdrom_reopen(BlockDriverState *bs); 130 static int raw_open_common(BlockDriverState *bs, const char *filename, argument 133 BDRVRawState *s = bs->opaque; 163 s->aligned_buf = qemu_blockalign(bs, ALIGNED_BUFFER_SIZE); 201 static int raw_open(BlockDriverState *bs, const char *filename, int flags) argument 203 BDRVRawState *s = bs->opaque; 206 return raw_open_common(bs, filename, flags, 0); 233 static int raw_pread_aligned(BlockDriverState *bs, int64_ argument 286 raw_pwrite_aligned(BlockDriverState *bs, int64_t offset, const uint8_t *buf, int count) argument 314 raw_pread(BlockDriverState *bs, int64_t offset, uint8_t *buf, int count) argument 385 raw_read(BlockDriverState *bs, int64_t sector_num, uint8_t *buf, int nb_sectors) argument 402 raw_pwrite(BlockDriverState *bs, int64_t offset, const uint8_t *buf, int count) argument 475 raw_write(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors) argument 502 raw_aio_submit(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque, int type) argument 531 raw_aio_readv(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument 539 raw_aio_writev(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument 547 raw_aio_flush(BlockDriverState *bs, BlockDriverCompletionFunc *cb, void *opaque) argument 558 raw_close(BlockDriverState *bs) argument 569 raw_truncate(BlockDriverState *bs, int64_t offset) argument 580 raw_getlength(BlockDriverState *bs) argument 599 raw_getlength(BlockDriverState *bs) argument 625 raw_getlength(BlockDriverState *bs) argument 680 raw_getlength(BlockDriverState *bs) argument 723 raw_flush(BlockDriverState *bs) argument 838 hdev_open(BlockDriverState *bs, const char *filename, int flags) argument 883 fd_open(BlockDriverState *bs) argument 929 hdev_ioctl(BlockDriverState *bs, unsigned long int req, void *buf) argument 936 hdev_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockDriverCompletionFunc *cb, void *opaque) argument 948 fd_open(BlockDriverState *bs) argument 959 fd_open(BlockDriverState *bs) argument 996 hdev_has_zero_init(BlockDriverState *bs) argument 1029 floppy_open(BlockDriverState *bs, const char *filename, int flags) argument 1074 floppy_is_inserted(BlockDriverState *bs) argument 1079 floppy_media_changed(BlockDriverState *bs) argument 1097 floppy_eject(BlockDriverState *bs, int eject_flag) argument 1142 cdrom_open(BlockDriverState *bs, const char *filename, int flags) argument 1175 cdrom_is_inserted(BlockDriverState *bs) argument 1186 cdrom_eject(BlockDriverState *bs, int eject_flag) argument 1201 cdrom_set_locked(BlockDriverState *bs, int locked) argument 1248 cdrom_open(BlockDriverState *bs, const char *filename, int flags) argument 1272 cdrom_reopen(BlockDriverState *bs) argument 1295 cdrom_is_inserted(BlockDriverState *bs) argument 1300 cdrom_eject(BlockDriverState *bs, int eject_flag) argument 1322 cdrom_set_locked(BlockDriverState *bs, int locked) argument [all...] |
H A D | qcow2-snapshot.c | 49 void qcow2_free_snapshots(BlockDriverState *bs) argument 51 BDRVQcowState *s = bs->opaque; 63 int qcow2_read_snapshots(BlockDriverState *bs) argument 65 BDRVQcowState *s = bs->opaque; 82 if (bdrv_pread(bs->file, offset, &h, sizeof(h)) != sizeof(h)) 100 if (bdrv_pread(bs->file, offset, sn->id_str, id_str_size) != id_str_size) 106 if (bdrv_pread(bs->file, offset, sn->name, name_size) != name_size) 114 qcow2_free_snapshots(bs); 119 static int qcow_write_snapshots(BlockDriverState *bs) argument 121 BDRVQcowState *s = bs 191 find_new_snapshot_id(BlockDriverState *bs, char *id_str, int id_str_size) argument 207 find_snapshot_by_id(BlockDriverState *bs, const char *id_str) argument 219 find_snapshot_by_id_or_name(BlockDriverState *bs, const char *name) argument 235 qcow2_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info) argument 314 qcow2_snapshot_goto(BlockDriverState *bs, const char *snapshot_id) argument 355 qcow2_snapshot_delete(BlockDriverState *bs, const char *snapshot_id) argument 390 qcow2_snapshot_list(BlockDriverState *bs, QEMUSnapshotInfo **psn_tab) argument [all...] |
H A D | qcow2-refcount.c | 29 static int64_t alloc_clusters_noref(BlockDriverState *bs, int64_t size); 30 static int QEMU_WARN_UNUSED_RESULT update_refcount(BlockDriverState *bs, 37 static int write_refcount_block(BlockDriverState *bs) argument 39 BDRVQcowState *s = bs->opaque; 46 BLKDBG_EVENT(bs->file, BLKDBG_REFBLOCK_UPDATE); 47 if (bdrv_pwrite_sync(bs->file, s->refcount_block_cache_offset, 59 int qcow2_refcount_init(BlockDriverState *bs) argument 61 BDRVQcowState *s = bs->opaque; 68 BLKDBG_EVENT(bs->file, BLKDBG_REFTABLE_LOAD); 69 ret = bdrv_pread(bs 81 qcow2_refcount_close(BlockDriverState *bs) argument 89 load_refcount_block(BlockDriverState *bs, int64_t refcount_block_offset) argument 118 get_refcount(BlockDriverState *bs, int64_t cluster_index) argument 178 alloc_refcount_block(BlockDriverState *bs, int64_t cluster_index) argument 425 write_refcount_block_entries(BlockDriverState *bs, int64_t refcount_block_offset, int first_index, int last_index) argument 458 update_refcount(BlockDriverState *bs, int64_t offset, int64_t length, int addend) argument 564 update_cluster_refcount(BlockDriverState *bs, int64_t cluster_index, int addend) argument 587 alloc_clusters_noref(BlockDriverState *bs, int64_t size) argument 612 qcow2_alloc_clusters(BlockDriverState *bs, int64_t size) argument 632 qcow2_alloc_bytes(BlockDriverState *bs, int size) argument 677 qcow2_free_clusters(BlockDriverState *bs, int64_t offset, int64_t size) argument 697 qcow2_free_any_clusters(BlockDriverState *bs, uint64_t cluster_offset, int nb_clusters) argument 745 qcow2_update_snapshot_refcount(BlockDriverState *bs, int64_t l1_table_offset, int l1_size, int addend) argument 889 inc_refcounts(BlockDriverState *bs, BdrvCheckResult *res, uint16_t *refcount_table, int refcount_table_size, int64_t offset, int64_t size) argument 934 check_refcounts_l2(BlockDriverState *bs, BdrvCheckResult *res, uint16_t *refcount_table, int refcount_table_size, int64_t l2_offset, int check_copied) argument 1019 check_refcounts_l1(BlockDriverState *bs, BdrvCheckResult *res, uint16_t *refcount_table, int refcount_table_size, int64_t l1_table_offset, int l1_size, int check_copied) argument 1104 qcow2_check_refcounts(BlockDriverState *bs, BdrvCheckResult *res) argument [all...] |
H A D | qcow2.c | 69 * read qcow2 extension and fill bs 75 static int qcow_read_extensions(BlockDriverState *bs, uint64_t start_offset, argument 95 if (bdrv_pread(bs->file, offset, &ext, sizeof(ext)) != sizeof(ext)) { 112 if (ext.len >= sizeof(bs->backing_format)) { 115 ext.len, sizeof(bs->backing_format)); 118 if (bdrv_pread(bs->file, offset , bs->backing_format, 121 bs->backing_format[ext.len] = '\0'; 123 printf("Qcow2: Got format extension %s\n", bs->backing_format); 139 static int qcow_open(BlockDriverState *bs, in argument 254 qcow_set_key(BlockDriverState *bs, const char *key) argument 296 qcow_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, int *pnum) argument 314 qcow2_backing_read1(BlockDriverState *bs, int64_t sector_num, uint8_t *buf, int nb_sectors) argument 385 BlockDriverState *bs = acb->common.bs; local 492 qcow_aio_setup(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque, int is_write) argument 519 qcow_aio_readv(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument 557 BlockDriverState *bs = acb->common.bs; local 644 qcow_aio_writev(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument 661 qcow_close(BlockDriverState *bs) argument 679 qcow2_update_ext_header(BlockDriverState *bs, const char *backing_file, const char *backing_fmt) argument 764 qcow2_change_backing_file(BlockDriverState *bs, const char *backing_file, const char *backing_fmt) argument 792 preallocate(BlockDriverState *bs) argument 1032 BlockDriverState *bs; local 1090 qcow_make_empty(BlockDriverState *bs) argument 1110 qcow2_truncate(BlockDriverState *bs, int64_t offset) argument 1149 qcow_write_compressed(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors) argument 1217 qcow_flush(BlockDriverState *bs) argument 1222 qcow_aio_flush(BlockDriverState *bs, BlockDriverCompletionFunc *cb, void *opaque) argument 1233 qcow_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) argument 1242 qcow_check(BlockDriverState *bs, BdrvCheckResult *result) argument 1268 qcow_save_vmstate(BlockDriverState *bs, const uint8_t *buf, int64_t pos, int size) argument 1283 qcow_load_vmstate(BlockDriverState *bs, uint8_t *buf, int64_t pos, int size) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
H A D | vl_mpeg12_bitstream.c | 627 motion_vector(struct vl_mpg12_bs *bs, int r, int s, int dmv, short delta[2], short dmvector[2]) argument 632 int r_size = bs->desc->f_code[s][t]; 634 vl_vlc_fillbits(&bs->vlc); 635 motion_code = vl_vlc_get_vlclbf(&bs->vlc, tbl_B10, 11); 639 int residual = vl_vlc_get_uimsbf(&bs->vlc, r_size) + 1; 646 dmvector[t] = vl_vlc_get_vlclbf(&bs->vlc, tbl_B11, 2); 662 motion_vector_frame(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) argument 668 mb->motion_vertical_field_select |= vl_vlc_get_uimsbf(&bs->vlc, 1) << s; 669 motion_vector(bs, 0, s, dmv, delta, dmvector); 670 mb->PMV[0][s][0] = wrap(mb->PMV[0][s][0] + delta[0], bs 686 motion_vector_field(struct vl_mpg12_bs *bs, int s, struct pipe_mpeg12_macroblock *mb) argument 705 reset_predictor(struct vl_mpg12_bs *bs) argument 710 decode_dct(struct vl_mpg12_bs *bs, struct pipe_mpeg12_macroblock *mb, int scale) argument 790 decode_slice(struct vl_mpg12_bs *bs, struct pipe_video_buffer *target) argument 939 vl_mpg12_bs_init(struct vl_mpg12_bs *bs, struct pipe_video_decoder *decoder) argument 956 vl_mpg12_bs_decode(struct vl_mpg12_bs *bs, struct pipe_video_buffer *target, struct pipe_mpeg12_picture_desc *picture, unsigned num_buffers, const void * const *buffers, const unsigned *sizes) argument [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | detect_structure.cc | 38 void DetectStructure(const CompressedRowBlockStructure& bs, argument 43 const int num_row_blocks = bs.rows.size(); 51 const CompressedRow& row = bs.rows[r]; 71 *e_block_size = bs.cols[e_block_id].size; 73 *e_block_size != bs.cols[e_block_id].size) { 76 << bs.cols[e_block_id].size; 83 *f_block_size = bs.cols[f_block_id].size; 87 if (*f_block_size != bs.cols[row.cells[c].block_id].size) { 90 << bs.cols[row.cells[c].block_id].size;
|
/external/aac/libAACdec/src/ |
H A D | aacdec_hcr.h | 105 HANDLE_FDK_BITSTREAM bs); 109 HANDLE_FDK_BITSTREAM bs); 117 void CHcr_Read (HANDLE_FDK_BITSTREAM bs,
|
H A D | aacdec_hcr_bit.h | 100 UINT HcrGetABitFromBitstream(HANDLE_FDK_BITSTREAM bs,
|
H A D | stereo.h | 117 \param bs bit stream handle data source. 126 HANDLE_FDK_BITSTREAM bs,
|
H A D | rvlc.h | 112 HANDLE_FDK_BITSTREAM bs); 116 HANDLE_FDK_BITSTREAM bs);
|
H A D | pulsedata.cpp | 98 HANDLE_FDK_BITSTREAM bs, 111 if ((PulseData->PulseDataPresent = (UCHAR) FDKreadBit(bs)) != 0) { 116 PulseData->NumberPulse = (UCHAR) FDKreadBits(bs,2); 117 PulseData->PulseStartBand = (UCHAR) FDKreadBits(bs,6); 126 PulseData->PulseOffset[i] = (UCHAR) FDKreadBits(bs,5); 127 PulseData->PulseAmp[i] = (UCHAR) FDKreadBits(bs,4); 97 CPulseData_Read( HANDLE_FDK_BITSTREAM bs, CPulseData *const PulseData, const SHORT *sfb_startlines, const void *pIcsInfo, const SHORT frame_length ) argument
|
/external/bzip2/ |
H A D | bzip2recover.c | 156 BitStream *bs = malloc ( sizeof(BitStream) ); local 157 if (bs == NULL) mallocFail ( sizeof(BitStream) ); 158 bs->handle = stream; 159 bs->buffer = 0; 160 bs->buffLive = 0; 161 bs->mode = 'r'; 162 return bs; 169 BitStream *bs = malloc ( sizeof(BitStream) ); local 170 if (bs == NULL) mallocFail ( sizeof(BitStream) ); 171 bs 180 bsPutBit( BitStream* bs, Int32 bit ) argument 242 bsPutUChar( BitStream* bs, UChar c ) argument 251 bsPutUInt32( BitStream* bs, UInt32 c ) argument [all...] |
/external/e2fsprogs/util/ |
H A D | copy_sparse.c | 93 long lb, i, fd, ofd, bs, block, numblocks; local 115 if (ioctl(fd, FIGETBSZ, &bs) < 0) { 120 if (bs < 0) { 121 printf("%s: Invalid block size: %ld\n", src, bs); 125 printf("Blocksize of file %s is %ld\n", src, bs); 126 numblocks = (fileinfo.st_size + (bs-1)) / bs; 132 bs = 1024; 141 buf = malloc(bs); 152 should_be = ((off64_t) lb) * bs; [all...] |
/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/ |
H A D | ctor_err_string.pass.cpp | 50 std::string bs = myconv.to_bytes(L"\xDA83"); local 51 assert(bs == "byte error"); 63 std::string bs = myconv.to_bytes(L"\xDA83"); local 64 assert(bs == "byte error");
|
H A D | converted.pass.cpp | 26 std::string bs = myconv.to_bytes(L"\x40003"); local 28 bs = myconv.to_bytes(L"\x40003\x65");
|
/external/libcxx/test/utilities/template.bitset/bitset.hash/ |
H A D | bitset.pass.cpp | 34 T bs(static_cast<unsigned long long>(N)); 35 assert(h(bs) == N);
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
H A D | v3_bitst.c | 109 ASN1_BIT_STRING *bs; local 112 if(!(bs = M_ASN1_BIT_STRING_new())) { 121 if(!ASN1_BIT_STRING_set_bit(bs, bnam->bitnum, 1)) { 124 M_ASN1_BIT_STRING_free(bs); 134 M_ASN1_BIT_STRING_free(bs); 138 return bs;
|
/external/openssl/crypto/x509v3/ |
H A D | v3_bitst.c | 109 ASN1_BIT_STRING *bs; local 112 if(!(bs = M_ASN1_BIT_STRING_new())) { 121 if(!ASN1_BIT_STRING_set_bit(bs, bnam->bitnum, 1)) { 124 M_ASN1_BIT_STRING_free(bs); 134 M_ASN1_BIT_STRING_free(bs); 138 return bs;
|
/external/smack/src/org/xbill/DNS/utils/ |
H A D | base16.java | 47 ByteArrayOutputStream bs = new ByteArrayOutputStream(); 51 bs.write(raw[i]); 53 byte [] in = bs.toByteArray(); 58 bs.reset(); 59 DataOutputStream ds = new DataOutputStream(bs); 70 return bs.toByteArray();
|