Searched refs:bs (Results 1 - 25 of 337) sorted by relevance

1234567891011>>

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
H A DPack.java5 public static int bigEndianToInt(byte[] bs, int off) argument
7 int n = bs[ off] << 24;
8 n |= (bs[++off] & 0xff) << 16;
9 n |= (bs[++off] & 0xff) << 8;
10 n |= (bs[++off] & 0xff);
14 public static void bigEndianToInt(byte[] bs, int off, int[] ns) argument
18 ns[i] = bigEndianToInt(bs, off);
25 byte[] bs = new byte[4];
26 intToBigEndian(n, bs, 0);
27 return bs;
30 intToBigEndian(int n, byte[] bs, int off) argument
45 intToBigEndian(int[] ns, byte[] bs, int off) argument
54 bigEndianToLong(byte[] bs, int off) argument
61 bigEndianToLong(byte[] bs, int off, long[] ns) argument
77 longToBigEndian(long n, byte[] bs, int off) argument
90 longToBigEndian(long[] ns, byte[] bs, int off) argument
99 littleEndianToInt(byte[] bs, int off) argument
108 littleEndianToInt(byte[] bs, int off, int[] ns) argument
124 intToLittleEndian(int n, byte[] bs, int off) argument
139 intToLittleEndian(int[] ns, byte[] bs, int off) argument
148 littleEndianToLong(byte[] bs, int off) argument
155 littleEndianToLong(byte[] bs, int off, long[] ns) argument
171 longToLittleEndian(long n, byte[] bs, int off) argument
184 longToLittleEndian(long[] ns, byte[] bs, int off) argument
[all...]
/external/aac/libMpegTPDec/src/
H A Dtpdec_adif.cpp100 HANDLE_FDK_BITSTREAM bs
105 UINT startAnchor = FDKgetValidBits(bs);
111 if (FDKreadBits(bs,8) != 'A') {
114 if (FDKreadBits(bs,8) != 'D') {
117 if (FDKreadBits(bs,8) != 'I') {
120 if (FDKreadBits(bs,8) != 'F') {
124 if ( (pAdifHeader->CopyrightIdPresent = FDKreadBits(bs,1)) != 0 )
125 FDKpushBiDirectional(bs,72); /* CopyrightId */
128 pAdifHeader->OriginalCopy = FDKreadBits(bs,1);
129 pAdifHeader->Home = FDKreadBits(bs,
[all...]
H A Dtpdec_adts.cpp109 if (pAdts->bs.protection_absent) {
123 if (pAdts->bs.protection_absent == 0)
134 if (pAdts->bs.protection_absent)
178 STRUCT_ADTS_BS bs; local
190 bs.mpeg_id = FDKreadBits(hBs, Adts_Length_Id);
191 bs.layer = FDKreadBits(hBs, Adts_Length_Layer);
192 bs.protection_absent = FDKreadBits(hBs, Adts_Length_ProtectionAbsent);
193 bs.profile = FDKreadBits(hBs, Adts_Length_Profile);
194 bs.sample_freq_index = FDKreadBits(hBs, Adts_Length_SamplingFrequencyIndex);
195 bs
[all...]
H A Dtpdec_latm.cpp100 UINT CLatmDemux_GetValue(HANDLE_FDK_BITSTREAM bs) argument
105 bytesForValue = (UCHAR) FDKreadBits(bs,2);
109 tmp = (UCHAR) FDKreadBits(bs,8);
119 HANDLE_FDK_BITSTREAM bs,
130 pLatmDemux->m_useSameStreamMux = FDKreadBits(bs,1);
133 if ((ErrorStatus = CLatmDemux_ReadStreamMuxConfig(bs, pLatmDemux, pTpDecCallbacks, pAsc, pfConfigFound))) {
146 if ((ErrorStatus = CLatmDemux_ReadPayloadLengthInfo(bs,pLatmDemux))) {
158 HANDLE_FDK_BITSTREAM bs,
172 cntBits = FDKgetValidBits(bs);
178 if ((ErrorStatus = CLatmDemux_ReadAudioMuxElement(bs, pLatmDemu
118 CLatmDemux_ReadAudioMuxElement( HANDLE_FDK_BITSTREAM bs, CLatmDemux *pLatmDemux, int m_muxConfigPresent, CSTpCallBacks *pTpDecCallbacks, CSAudioSpecificConfig *pAsc, int *pfConfigFound ) argument
157 CLatmDemux_Read( HANDLE_FDK_BITSTREAM bs, CLatmDemux *pLatmDemux, TRANSPORT_TYPE tt, CSTpCallBacks *pTpDecCallbacks, CSAudioSpecificConfig *pAsc, int *pfConfigFound, const INT ignoreBufferFullness ) argument
211 CLatmDemux_ReadStreamMuxConfig( HANDLE_FDK_BITSTREAM bs, CLatmDemux *pLatmDemux, CSTpCallBacks *pTpDecCallbacks, CSAudioSpecificConfig *pAsc, int * pfConfigFound ) argument
363 CLatmDemux_ReadPayloadLengthInfo(HANDLE_FDK_BITSTREAM bs, CLatmDemux *pLatmDemux) argument
396 CLatmDemux_ReadAuChunkLengthInfo(HANDLE_FDK_BITSTREAM bs) argument
[all...]
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
H A Dbitstream-decode.c40 PRIVATE void OI_BITSTREAM_ReadInit(OI_BITSTREAM *bs, argument
43 bs->value = ((OI_INT32)buffer[0] << 16) | ((OI_INT32)buffer[1] << 8) | (buffer[2]);
44 bs->ptr.r = buffer + 3;
45 bs->bitPtr = 8;
48 PRIVATE OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits) argument
52 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr);
57 PRIVATE OI_UINT8 OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM *bs) argument
61 OI_ASSERT(bs
77 OI_BITSTREAM_ReadUINT8Aligned(OI_BITSTREAM *bs) argument
[all...]
/external/aac/libAACdec/src/
H A Drvlcbit.cpp106 UCHAR rvlcReadBitFromBitstream (HANDLE_FDK_BITSTREAM bs, argument
111 INT readBitOffset = *pPosition-FDKgetBitCnt(bs);
114 FDKpushBiDirectional(bs, readBitOffset);
118 bit = FDKreadBits(bs, 1);
123 bit = FDKreadBits(bs, 1);
124 FDKpushBack(bs, 2);
H A Daacdec_hcr_bit.cpp124 UINT HcrGetABitFromBitstream(HANDLE_FDK_BITSTREAM bs, argument
133 readBitOffset = *pLeftStartOfSegment-FDKgetBitCnt(bs);
135 FDKpushBiDirectional(bs, readBitOffset);
138 bit = FDKreadBits(bs, 1);
143 readBitOffset = *pRightStartOfSegment-FDKgetBitCnt(bs);
145 FDKpushBiDirectional(bs, readBitOffset);
149 bit = FDKreadBits(bs, 1);
150 FDKpushBack(bs, 2);
H A Drvlcbit.h98 UCHAR rvlcReadBitFromBitstream (HANDLE_FDK_BITSTREAM bs,
/external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/
H A Dto_bytes.pass.cpp28 std::string bs = myconv.to_bytes(ws[0]); local
29 assert(bs == "\xF1\x80\x80\x83");
30 bs = myconv.to_bytes(ws.c_str());
31 assert(bs == "\xF1\x80\x80\x83");
32 bs = myconv.to_bytes(ws);
33 assert(bs == "\xF1\x80\x80\x83");
34 bs = myconv.to_bytes(ws.data(), ws.data() + ws.size());
35 assert(bs == "\xF1\x80\x80\x83");
36 bs = myconv.to_bytes(L"");
37 assert(bs
[all...]
H A Dfrom_bytes.pass.cpp27 std::string bs("\xF1\x80\x80\x83");
30 ws = myconv.from_bytes(bs.c_str());
32 ws = myconv.from_bytes(bs);
34 ws = myconv.from_bytes(bs.data(), bs.data() + bs.size());
/external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
H A DBitSet.pm14 ok my $bs = $class->new();
15 isa_ok $bs, $class;
20 my $bs = $self->class->new({ bits => '001' });
21 ok !$bs->member(0);
22 ok !$bs->member(1);
23 ok $bs->member(2);
24 ok !$bs->member(3);
25 is "$bs", '{2}';
30 my $bs = $self->class->new({ number => 0x10 });
31 ok $bs
[all...]
/external/qemu/include/block/
H A Dblock.h69 void bdrv_delete(BlockDriverState *bs);
71 int bdrv_open(BlockDriverState *bs, const char *filename, int flags,
73 void bdrv_close(BlockDriverState *bs);
74 int bdrv_attach(BlockDriverState *bs, DeviceState *qdev);
75 void bdrv_detach(BlockDriverState *bs, DeviceState *qdev);
76 DeviceState *bdrv_get_attached(BlockDriverState *bs);
77 int bdrv_read(BlockDriverState *bs, int64_t sector_num,
79 int bdrv_write(BlockDriverState *bs, int64_t sector_num,
81 int bdrv_pread(BlockDriverState *bs, int64_t offset,
83 int bdrv_pwrite(BlockDriverState *bs, int64_
[all...]
H A Dblock_int.h54 int (*bdrv_open)(BlockDriverState *bs, int flags);
55 int (*bdrv_file_open)(BlockDriverState *bs, const char *filename, int flags);
56 int (*bdrv_read)(BlockDriverState *bs, int64_t sector_num,
58 int (*bdrv_write)(BlockDriverState *bs, int64_t sector_num,
60 void (*bdrv_close)(BlockDriverState *bs);
62 void (*bdrv_flush)(BlockDriverState *bs);
63 int (*bdrv_is_allocated)(BlockDriverState *bs, int64_t sector_num,
65 int (*bdrv_set_key)(BlockDriverState *bs, const char *key);
66 int (*bdrv_make_empty)(BlockDriverState *bs);
68 BlockDriverAIOCB *(*bdrv_aio_readv)(BlockDriverState *bs,
205 BlockDriverState *bs; member in struct:BlockDriverAIOCB
224 BlockDriverState *bs; member in struct:BlockConf
[all...]
/external/qemu/
H A Dblock.c47 static BlockDriverAIOCB *bdrv_aio_readv_em(BlockDriverState *bs,
50 static BlockDriverAIOCB *bdrv_aio_writev_em(BlockDriverState *bs,
53 static BlockDriverAIOCB *bdrv_aio_flush_em(BlockDriverState *bs,
55 static BlockDriverAIOCB *bdrv_aio_noop_em(BlockDriverState *bs,
57 static int bdrv_read_em(BlockDriverState *bs, int64_t sector_num,
59 static int bdrv_write_em(BlockDriverState *bs, int64_t sector_num,
159 BlockDriverState *bs; local
161 bs = g_malloc0(sizeof(BlockDriverState));
162 pstrcpy(bs->device_name, sizeof(bs
340 BlockDriverState *bs; local
387 refresh_total_sectors(BlockDriverState *bs, int64_t hint) argument
411 bdrv_open_common(BlockDriverState *bs, const char *filename, int flags, BlockDriver *drv) argument
501 BlockDriverState *bs; local
524 bdrv_open(BlockDriverState *bs, const char *filename, int flags, BlockDriver *drv) argument
649 bdrv_close(BlockDriverState *bs) argument
682 BlockDriverState *bs; local
689 bdrv_delete(BlockDriverState *bs) argument
707 bdrv_attach(BlockDriverState *bs, DeviceState *qdev) argument
716 bdrv_detach(BlockDriverState *bs, DeviceState *qdev) argument
722 bdrv_get_attached(BlockDriverState *bs) argument
734 bdrv_check(BlockDriverState *bs, BdrvCheckResult *res) argument
747 bdrv_commit(BlockDriverState *bs) argument
849 BlockDriverState *bs; local
864 bdrv_change_backing_file(BlockDriverState *bs, const char *backing_file, const char *backing_fmt) argument
876 bdrv_check_byte_request(BlockDriverState *bs, int64_t offset, size_t size) argument
898 bdrv_check_request(BlockDriverState *bs, int64_t sector_num, int nb_sectors) argument
906 bdrv_read(BlockDriverState *bs, int64_t sector_num, uint8_t *buf, int nb_sectors) argument
919 set_dirty_bitmap(BlockDriverState *bs, int64_t sector_num, int nb_sectors, int dirty) argument
953 bdrv_write(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors) argument
975 bdrv_pread(BlockDriverState *bs, int64_t offset, void *buf, int count1) argument
1020 bdrv_pwrite(BlockDriverState *bs, int64_t offset, const void *buf, int count1) argument
1075 bdrv_pwrite_sync(BlockDriverState *bs, int64_t offset, const void *buf, int count) argument
1099 bdrv_write_sync(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors) argument
1109 bdrv_truncate(BlockDriverState *bs, int64_t offset) argument
1129 bdrv_getlength(BlockDriverState *bs) argument
1146 bdrv_get_geometry(BlockDriverState *bs, uint64_t *nb_sectors_ptr) argument
1171 guess_disk_lchs(BlockDriverState *bs, int *pcylinders, int *pheads, int *psectors) argument
1214 bdrv_guess_geometry(BlockDriverState *bs, int *pcyls, int *pheads, int *psecs) argument
1273 bdrv_set_geometry_hint(BlockDriverState *bs, int cyls, int heads, int secs) argument
1281 bdrv_set_type_hint(BlockDriverState *bs, int type) argument
1288 bdrv_set_translation_hint(BlockDriverState *bs, int translation) argument
1293 bdrv_get_geometry_hint(BlockDriverState *bs, int *pcyls, int *pheads, int *psecs) argument
1301 bdrv_get_type_hint(BlockDriverState *bs) argument
1306 bdrv_get_translation_hint(BlockDriverState *bs) argument
1311 bdrv_set_on_error(BlockDriverState *bs, BlockErrorAction on_read_error, BlockErrorAction on_write_error) argument
1318 bdrv_get_on_error(BlockDriverState *bs, int is_read) argument
1323 bdrv_set_removable(BlockDriverState *bs, int removable) argument
1331 bdrv_is_removable(BlockDriverState *bs) argument
1336 bdrv_is_read_only(BlockDriverState *bs) argument
1341 bdrv_is_sg(BlockDriverState *bs) argument
1346 bdrv_enable_write_cache(BlockDriverState *bs) argument
1352 bdrv_set_change_cb(BlockDriverState *bs, void (*change_cb)(void *opaque), void *opaque) argument
1359 bdrv_is_encrypted(BlockDriverState *bs) argument
1366 bdrv_key_required(BlockDriverState *bs) argument
1375 bdrv_set_key(BlockDriverState *bs, const char *key) argument
1403 bdrv_get_format(BlockDriverState *bs, char *buf, int buf_size) argument
1424 BlockDriverState *bs; local
1434 bdrv_next(BlockDriverState *bs) argument
1442 bdrv_iterate(void (*it)(void *opaque, BlockDriverState *bs), void *opaque) argument
1444 BlockDriverState *bs; local
1451 bdrv_get_device_name(BlockDriverState *bs) argument
1456 bdrv_flush(BlockDriverState *bs) argument
1468 BlockDriverState *bs; local
1478 bdrv_has_zero_init(BlockDriverState *bs) argument
1500 bdrv_is_allocated(BlockDriverState *bs, int64_t sector_num, int nb_sectors, int *pnum) argument
1589 BlockDriverState *bs; local
1662 bdrv_info_stats_bs(BlockDriverState *bs) argument
1696 BlockDriverState *bs; local
1708 bdrv_get_encrypted_filename(BlockDriverState *bs) argument
1718 bdrv_get_backing_filename(BlockDriverState *bs, char *filename, int filename_size) argument
1728 bdrv_write_compressed(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors) argument
1746 bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi) argument
1757 bdrv_save_vmstate(BlockDriverState *bs, const uint8_t *buf, int64_t pos, int size) argument
1770 bdrv_load_vmstate(BlockDriverState *bs, uint8_t *buf, int64_t pos, int size) argument
1783 bdrv_debug_event(BlockDriverState *bs, BlkDebugEvent event) argument
1798 bdrv_can_snapshot(BlockDriverState *bs) argument
1815 bdrv_is_snapshot(BlockDriverState *bs) argument
1822 BlockDriverState *bs; local
1838 bdrv_snapshot_create(BlockDriverState *bs, QEMUSnapshotInfo *sn_info) argument
1851 bdrv_snapshot_goto(BlockDriverState *bs, const char *snapshot_id) argument
1877 bdrv_snapshot_delete(BlockDriverState *bs, const char *snapshot_id) argument
1889 bdrv_snapshot_list(BlockDriverState *bs, QEMUSnapshotInfo **psn_info) argument
1979 bdrv_aio_readv(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument
2003 bdrv_aio_writev(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument
2099 multiwrite_merge(BlockDriverState *bs, BlockRequest *reqs, int num_reqs, MultiwriteCB *mcb) argument
2184 bdrv_aio_multiwrite(BlockDriverState *bs, BlockRequest *reqs, int num_reqs) argument
2259 bdrv_aio_flush(BlockDriverState *bs, BlockDriverCompletionFunc *cb, void *opaque) argument
2319 bdrv_aio_rw_vector(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque, int is_write) argument
2350 bdrv_aio_readv_em(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument
2357 bdrv_aio_writev_em(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument
2364 bdrv_aio_flush_em(BlockDriverState *bs, BlockDriverCompletionFunc *cb, void *opaque) argument
2383 bdrv_aio_noop_em(BlockDriverState *bs, BlockDriverCompletionFunc *cb, void *opaque) argument
2412 bdrv_read_em(BlockDriverState *bs, int64_t sector_num, uint8_t *buf, int nb_sectors) argument
2443 bdrv_write_em(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors) argument
2483 qemu_aio_get(AIOPool *pool, BlockDriverState *bs, BlockDriverCompletionFunc *cb, void *opaque) argument
2515 bdrv_is_inserted(BlockDriverState *bs) argument
2531 bdrv_media_changed(BlockDriverState *bs) argument
2549 bdrv_eject(BlockDriverState *bs, int eject_flag) argument
2573 bdrv_is_locked(BlockDriverState *bs) argument
2582 bdrv_set_locked(BlockDriverState *bs, int locked) argument
2594 bdrv_ioctl(BlockDriverState *bs, unsigned long int req, void *buf) argument
2603 bdrv_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockDriverCompletionFunc *cb, void *opaque) argument
2616 qemu_blockalign(BlockDriverState *bs, size_t size) argument
2621 bdrv_set_dirty_tracking(BlockDriverState *bs, int enable) argument
2642 bdrv_get_dirty(BlockDriverState *bs, int64_t sector) argument
2655 bdrv_reset_dirty(BlockDriverState *bs, int64_t cur_sector, int nr_sectors) argument
2661 bdrv_get_dirty_count(BlockDriverState *bs) argument
[all...]
/external/bluetooth/bluedroid/embdrv/sbc/decoder/include/
H A Doi_bitstream.h43 INLINE void OI_BITSTREAM_ReadInit(OI_BITSTREAM *bs, const OI_BYTE *buffer);
45 INLINE void OI_BITSTREAM_WriteInit(OI_BITSTREAM *bs, OI_BYTE *buffer);
47 INLINE OI_UINT32 OI_BITSTREAM_ReadUINT(OI_BITSTREAM *bs, OI_UINT bits);
49 INLINE OI_UINT8 OI_BITSTREAM_ReadUINT4Aligned(OI_BITSTREAM *bs);
51 INLINE OI_UINT8 OI_BITSTREAM_ReadUINT8Aligned(OI_BITSTREAM *bs);
53 INLINE void OI_BITSTREAM_WriteUINT(OI_BITSTREAM *bs,
60 PRIVATE void OI_BITSTREAM_WriteUINT8Aligned(OI_BITSTREAM *bs,
66 PRIVATE void OI_BITSTREAM_Write2xUINT4Aligned(OI_BITSTREAM *bs,
74 #define OI_BITSTREAM_GetWritePtr(bs) ((bs)
[all...]
/external/qemu/block/
H A Draw.c6 static int raw_open(BlockDriverState *bs, int flags) argument
8 bs->sg = bs->file->sg;
15 static int check_for_block_signature(BlockDriverState *bs, const uint8_t *buf) argument
35 static int check_write_unsafe(BlockDriverState *bs, int64_t sector_num, argument
40 if (!bs->probed) {
45 return check_for_block_signature(bs, buf);
51 static int raw_read(BlockDriverState *bs, int64_t sector_num, argument
54 return bdrv_read(bs->file, sector_num, buf, nb_sectors);
57 static int raw_write_scrubbed_bootsect(BlockDriverState *bs, argument
69 raw_write(BlockDriverState *bs, int64_t sector_num, const uint8_t *buf, int nb_sectors) argument
91 raw_aio_readv(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument
119 raw_aio_writev(BlockDriverState *bs, int64_t sector_num, QEMUIOVector *qiov, int nb_sectors, BlockDriverCompletionFunc *cb, void *opaque) argument
168 raw_close(BlockDriverState *bs) argument
172 raw_flush(BlockDriverState *bs) argument
177 raw_aio_flush(BlockDriverState *bs, BlockDriverCompletionFunc *cb, void *opaque) argument
183 raw_getlength(BlockDriverState *bs) argument
188 raw_truncate(BlockDriverState *bs, int64_t offset) argument
198 raw_is_inserted(BlockDriverState *bs) argument
203 raw_eject(BlockDriverState *bs, int eject_flag) argument
208 raw_set_locked(BlockDriverState *bs, int locked) argument
214 raw_ioctl(BlockDriverState *bs, unsigned long int req, void *buf) argument
219 raw_aio_ioctl(BlockDriverState *bs, unsigned long int req, void *buf, BlockDriverCompletionFunc *cb, void *opaque) argument
240 raw_has_zero_init(BlockDriverState *bs) argument
[all...]
/external/libvpx/libvpx/vp9/common/
H A Dvp9_reconintra.c48 static INLINE void d207_predictor(uint8_t *dst, ptrdiff_t stride, int bs, argument
53 for (r = 0; r < bs - 1; ++r)
55 dst[(bs - 1) * stride] = left[bs - 1];
59 for (r = 0; r < bs - 2; ++r)
62 dst[(bs - 2) * stride] = ROUND_POWER_OF_TWO(left[bs - 2] +
63 left[bs - 1] * 3, 2);
64 dst[(bs - 1) * stride] = left[bs
77 d63_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
92 d45_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
106 d117_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
136 d135_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
157 d153_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
184 v_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
195 h_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
206 tm_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
219 dc_128_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
230 dc_left_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
246 dc_top_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
261 dc_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
323 const int bs = 4 << tx_size; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_reconintra.c71 static INLINE void high_d207_predictor(uint16_t *dst, ptrdiff_t stride, int bs, argument
79 for (r = 0; r < bs - 1; ++r) {
82 dst[(bs - 1) * stride] = left[bs - 1];
86 for (r = 0; r < bs - 2; ++r) {
90 dst[(bs - 2) * stride] = ROUND_POWER_OF_TWO(left[bs - 2] +
91 left[bs - 1] * 3, 2);
92 dst[(bs - 1) * stride] = left[bs
105 high_d63_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
123 high_d45_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
140 high_d117_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
171 high_d135_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
193 high_d153_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
221 high_v_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
233 high_h_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
245 high_tm_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
259 high_dc_128_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
272 high_dc_left_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
289 high_dc_top_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
306 high_dc_predictor(uint16_t *dst, ptrdiff_t stride, int bs, const uint16_t *above, const uint16_t *left, int bd) argument
327 d207_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
356 d63_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
372 d45_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
387 d117_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
417 d135_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
438 d153_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
465 v_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
477 h_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
489 tm_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
502 dc_128_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
515 dc_left_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
532 dc_top_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
548 dc_predictor(uint8_t *dst, ptrdiff_t stride, int bs, const uint8_t *above, const uint8_t *left) argument
644 const int bs = 4 << tx_size; local
773 const int bs = 4 << tx_size; local
[all...]
/external/ceres-solver/internal/ceres/
H A Ddetect_structure.h54 void DetectStructure(const CompressedRowBlockStructure& bs,
H A Dpartitioned_matrix_view_impl.h52 const CompressedRowBlockStructure* bs = matrix_.block_structure(); local
53 CHECK_NOTNULL(bs);
55 num_col_blocks_f_ = bs->cols.size() - num_col_blocks_e_;
63 for (int r = 0; r < bs->rows.size(); ++r) {
64 const vector<Cell>& cells = bs->rows[r].cells;
74 for (int c = 0; c < bs->cols.size(); ++c) {
75 const Block& block = bs->cols[c];
100 const CompressedRowBlockStructure* bs = matrix_.block_structure(); local
106 const Cell& cell = bs->rows[r].cells[0];
107 const int row_block_pos = bs
123 const CompressedRowBlockStructure* bs = matrix_.block_structure(); local
166 const CompressedRowBlockStructure* bs = matrix_.block_structure(); local
189 const CompressedRowBlockStructure* bs = matrix_.block_structure(); local
237 const CompressedRowBlockStructure* bs = matrix_.block_structure(); local
302 const CompressedRowBlockStructure* bs = matrix_.block_structure(); local
334 const CompressedRowBlockStructure* bs = matrix_.block_structure(); local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/memory_manager/
H A Dhmm_shrink.c40 U(size_bau) bs = BLOCK_BAUS(last_block);
49 (PREV_BLOCK_BAUS(last_block) && (n_baus_to_shrink == bs)) ||
50 (n_baus_to_shrink <= (U(size_bau))(bs - MIN_BLOCK_BAUS));
55 (U(size_bau))(bs + DUMMY_END_BLOCK_BAUS)))) {
59 bs -= n_baus_to_shrink;
61 if (bs) {
65 last_block->block_size = bs;
70 (head_record *) BAUS_FORWARD(last_block, bs);
71 dummy_end_block->previous_block_size = bs;
/external/clang/test/CodeGenCXX/
H A Ddefault-arguments.cpp37 B bs[2]; local
41 B bs[2]; member in struct:C
63 B *bs = new B[2]; local
64 delete bs;
/external/libvpx/libvpx/vpx_mem/memory_manager/
H A Dhmm_shrink.c40 U(size_bau) bs = BLOCK_BAUS(last_block);
49 (PREV_BLOCK_BAUS(last_block) && (n_baus_to_shrink == bs)) ||
50 (n_baus_to_shrink <= (U(size_bau))(bs - MIN_BLOCK_BAUS));
55 (U(size_bau))(bs + DUMMY_END_BLOCK_BAUS)))) {
59 bs -= n_baus_to_shrink;
61 if (bs) {
65 last_block->block_size = bs;
70 (head_record *) BAUS_FORWARD(last_block, bs);
71 dummy_end_block->previous_block_size = bs;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
H A DStreams.java15 byte[] bs = new byte[BUFFER_SIZE];
16 while (inStr.read(bs, 0, bs.length) >= 0)
62 byte[] bs = new byte[BUFFER_SIZE];
64 while ((numRead = inStr.read(bs, 0, bs.length)) >= 0)
66 outStr.write(bs, 0, numRead);
74 byte[] bs = new byte[BUFFER_SIZE];
76 while ((numRead = inStr.read(bs, 0, bs
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_mpeg12_bitstream.h46 vl_mpg12_bs_init(struct vl_mpg12_bs *bs, struct pipe_video_decoder *decoder);
49 vl_mpg12_bs_decode(struct vl_mpg12_bs *bs,

Completed in 722 milliseconds

1234567891011>>