Home
last modified time | relevance | path

Searched refs:size_in_bits (Results 1 – 25 of 35) sorted by relevance

12

/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dcpu_set.rs8 let size_in_bits = 8 * size_of_val(&cpuset.bits[0]); // 32, 64 etc in CPU_SET() localVariable
9 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits); in CPU_SET()
23 let size_in_bits = 8 * size_of_val(&cpuset.bits[0]); // 32, 64 etc in CPU_CLR() localVariable
24 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits); in CPU_CLR()
30 let size_in_bits = 8 * size_of_val(&cpuset.bits[0]); in CPU_ISSET() localVariable
31 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits); in CPU_ISSET()
/third_party/ffmpeg/libavcodec/
Ddcadec.h82 if (((p1 | p2) & 7) || p1 < 0 || p2 > s->size_in_bits || p2 - p1 < 16) in ff_dca_check_crc()
91 if (p < get_bits_count(s) || p > s->size_in_bits) in ff_dca_seek_bits()
Dput_bits.h48 int size_in_bits; member
65 s->size_in_bits = 8 * buffer_size; in init_put_bits()
96 s->size_in_bits = 8 * buffer_size; in rebase_put_bits()
380 s->size_in_bits = 8*size; in set_put_bits_buffer_size()
Dmlp_parse.c93 header_size = mlp_get_major_sync_size(gb->buffer, gb->size_in_bits >> 3); in ff_mlp_read_major_sync()
94 if (header_size < 0 || gb->size_in_bits < header_size << 3) { in ff_mlp_read_major_sync()
Dget_bits.h68 int size_in_bits; member
191 #define BITS_LEFT(name, gb) ((int)((gb)->size_in_bits - name ## _index))
617 get_bits_count(s) - 1, s->size_in_bits, msg); in check_marker()
637 s->size_in_bits = bit_size; in init_get_bits_xe()
851 return gb->size_in_bits - get_bits_count(gb); in get_bits_left()
Ddxv.c432 int64_t size_in_bits; in get_opcodes() local
441 size_in_bits = bytestream2_get_le32(gb); in get_opcodes()
442 endoffset = ((size_in_bits + 7) >> 3) - 4; in get_opcodes()
448 rshift = (((size_in_bits & 0xFF) - 1) & 7) + 15; in get_opcodes()
465 bytestream2_skip(gb, (size_in_bits + 7 >> 3) - 4); in get_opcodes()
Dxsubenc.c66 if (pb->size_in_bits - put_bits_count(pb) < 7*8) in xsub_encode_rle()
Dmpeg4videodec.c144 if (bits_count + 8 >= s->gb.size_in_bits) { in mpeg4_is_resync()
164 if (!mb_num || mb_num > s->mb_num || get_bits_count(&s->gb)+6 > s->gb.size_in_bits) in mpeg4_is_resync()
453 if (get_bits_count(&s->gb) > s->gb.size_in_bits - 20) in ff_mpeg4_decode_video_packet_header()
2681 for (i = 0; i < 255 && get_bits_count(gb) < gb->size_in_bits; i++) { in decode_user_data()
3072 gb->size_in_bits,s->progressive_sequence, s->alternate_scan, in decode_vop_header()
3245 if (get_bits_count(gb) >= gb->size_in_bits) { in ff_mpeg4_decode_picture_header()
3246 if (gb->size_in_bits == 8 && in ff_mpeg4_decode_picture_header()
3248 av_log(s->avctx, AV_LOG_VERBOSE, "frame skip %d\n", gb->size_in_bits); in ff_mpeg4_decode_picture_header()
3250 } else if (header && get_bits_count(gb) == gb->size_in_bits) { in ff_mpeg4_decode_picture_header()
Dmpegaudiodec_template.c721 if (s->in_gb.buffer && *pos >= s->gb.size_in_bits - s->extrasize * 8) { in switch_buffer()
756 int end_pos = FFMIN(end_pos2, s->gb.size_in_bits - s->extrasize * 8); in huffman_decode()
1317 if (skip >= s->gb.size_in_bits - s->extrasize * 8 && s->in_gb.buffer) { in mp_decode_layer3()
1318 skip_bits_long(&s->in_gb, skip - s->gb.size_in_bits + s->extrasize * 8); in mp_decode_layer3()
Dvc1dec.c164 if (get_bits_count(gb) >= gb->size_in_bits + in vc1_parse_sprites()
169 if (get_bits_count(gb) < gb->size_in_bits - 8) in vc1_parse_sprites()
1120 get_bits_count(&s->gb), s->gb.size_in_bits); in vc1_decode_frame()
Dvorbisenc.c158 if (pb->size_in_bits - put_bits_count(pb) < cb->lens[entry]) in put_codeword()
801 if (pb->size_in_bits - put_bits_count(pb) < 1 + 2 * ilog(range - 1)) in floor_encode()
1138 if (pb.size_in_bits - put_bits_count(&pb) < 1 + ilog(venc->nmodes - 1)) { in vorbis_encode_frame()
Ddvdec.c204 int last_index = gb->size_in_bits; in dv_decode_ac()
Dgolomb.h484 if (gb->size_in_bits <= re_index) { in get_ur_golomb_jpegls()
/third_party/libabigail/include/
Dabg-ir.h2081 size_t size_in_bits,
2135 size_t size_in_bits, size_t alignment_in_bits,
2307 pointer_type_def(const type_base_sptr& pointed_to_type, size_t size_in_bits,
2310 pointer_type_def(const environment& env, size_t size_in_bits,
2371 bool lvalue, size_t size_in_bits,
2374 reference_type_def(const environment& env, bool lvalue, size_t size_in_bits,
3284 size_t size_in_bits,
3288 size_t size_in_bits,
3292 size_t size_in_bits,
3371 size_t size_in_bits,
[all …]
/third_party/libabigail/src/
Dabg-reader.cc2495 size_t& size_in_bits, in read_size_and_alignment() argument
2502 size_in_bits = atoll(CHAR_STR(s)); in read_size_and_alignment()
3704 size_t size_in_bits= 0; in build_type_decl() local
3706 size_in_bits = atoi(CHAR_STR(s)); in build_type_decl()
3729 ABG_ASSERT(ty->get_size_in_bits() == size_in_bits); in build_type_decl()
3735 type_decl_sptr decl(new type_decl(env, name, size_in_bits, in build_type_decl()
3883 size_t size_in_bits = rdr.get_translation_unit()->get_address_size(); in build_pointer_type_def() local
3885 read_size_and_alignment(node, size_in_bits, alignment_in_bits); in build_pointer_type_def()
3895 size_in_bits, in build_pointer_type_def()
3961 size_t size_in_bits = rdr.get_translation_unit()->get_address_size(); in build_reference_type_def() local
[all …]
Dabg-ir.cc14629 {priv_->size_in_bits = s;} in set_size_in_bits()
14636 {return priv_->size_in_bits;} in get_size_in_bits()
15060 size_t size_in_bits, in type_decl() argument
15071 type_base(env, size_in_bits, alignment_in_bits) in type_decl()
15338 size_t size_in_bits, in scope_type_decl() argument
15347 type_base(env, size_in_bits, alignment_in_bits), in scope_type_decl()
16148 size_t size_in_bits, in pointer_type_def() argument
16155 type_base(pointed_to->get_environment(), size_in_bits, align_in_bits), in pointer_type_def()
16183 pointer_type_def::pointer_type_def(const environment& env, size_t size_in_bits, in pointer_type_def() argument
16190 type_base(env, size_in_bits, alignment_in_bits), in pointer_type_def()
[all …]
Dabg-ir-priv.h180 size_t size_in_bits; member
206 : size_in_bits(), in priv()
216 : size_in_bits(s), in size_in_bits() function
Dabg-writer.cc1456 size_t size_in_bits = decl->get_size_in_bits(); in write_size_and_alignment() local
1457 if (size_in_bits != default_size) in write_size_and_alignment()
1458 o << " size-in-bits='" << size_in_bits << "'"; in write_size_and_alignment()
1475 size_t size_in_bits = decl->get_size_in_bits(); in write_array_size_and_alignment() local
1476 if (size_in_bits) in write_array_size_and_alignment()
1477 o << " size-in-bits='" << size_in_bits << "'"; in write_array_size_and_alignment()
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
Dmod.rs1699 let size_in_bits localVariable
1701 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
1707 let size_in_bits localVariable
1709 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
1715 let size_in_bits = 8 * ::mem::size_of_val(&cpuset.bits[0]); localVariable
1716 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
/third_party/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs3005 let size_in_bits = 8 * ::mem::size_of_val(&_dummy.__bits[0]); localVariable
3006 ((count as ::size_t + size_in_bits - 1) / 8) as ::size_t
3016 let size_in_bits localVariable
3018 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
3024 let size_in_bits localVariable
3026 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
3032 let size_in_bits = 8 * ::mem::size_of_val(&cpuset.__bits[0]); localVariable
3033 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3616 let size_in_bits = 8 * ::mem::size_of_val(&_dummy.bits[0]); localVariable
3617 ((count as ::size_t + size_in_bits - 1) / 8) as ::size_t
3627 let size_in_bits localVariable
3629 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
3635 let size_in_bits localVariable
3637 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
3643 let size_in_bits = 8 * ::mem::size_of_val(&cpuset.bits[0]); localVariable
3644 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp681 uint32_t size_in_bits = _.GetBitWidth(instr->type_id()); in IsConstIntScalarTypeWith32Or64Bits() local
682 return size_in_bits == 32 || size_in_bits == 64; in IsConstIntScalarTypeWith32Or64Bits()
2832 Instruction* size_in_bits = in ValidateExtInst() local
2834 if (!_.IsIntScalarType(size_in_bits->type_id()) || in ValidateExtInst()
2835 (size_in_bits->word(3) != 32 && in ValidateExtInst()
2836 size_in_bits->word(3) != 64)) { in ValidateExtInst()
/third_party/spirv-tools/source/val/
Dvalidate_extensions.cpp710 uint32_t size_in_bits = _.GetBitWidth(instr->type_id()); in IsConstIntScalarTypeWith32Or64Bits() local
711 return size_in_bits == 32 || size_in_bits == 64; in IsConstIntScalarTypeWith32Or64Bits()
2942 Instruction* size_in_bits = in ValidateExtInst() local
2944 if (!_.IsIntScalarType(size_in_bits->type_id()) || in ValidateExtInst()
2945 (size_in_bits->word(3) != 32 && in ValidateExtInst()
2946 size_in_bits->word(3) != 64)) { in ValidateExtInst()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_extensions.cpp681 uint32_t size_in_bits = _.GetBitWidth(instr->type_id()); in IsConstIntScalarTypeWith32Or64Bits() local
682 return size_in_bits == 32 || size_in_bits == 64; in IsConstIntScalarTypeWith32Or64Bits()
2832 Instruction* size_in_bits = in ValidateExtInst() local
2834 if (!_.IsIntScalarType(size_in_bits->type_id()) || in ValidateExtInst()
2835 (size_in_bits->word(3) != 32 && in ValidateExtInst()
2836 size_in_bits->word(3) != 64)) { in ValidateExtInst()
/third_party/rust/crates/libc/src/fuchsia/
Dmod.rs3199 let size_in_bits localVariable
3201 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
3207 let size_in_bits localVariable
3209 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);
3215 let size_in_bits = 8 * ::mem::size_of_val(&cpuset.bits[0]); localVariable
3216 let (idx, offset) = (cpu / size_in_bits, cpu % size_in_bits);

12