/third_party/jerryscript/jerry-core/jrt/ |
H A D | jrt-bit-fields.h | 24 * @param lsb least significant bit of the value to be extracted 28 #define JRT_EXTRACT_BIT_FIELD(type, container, lsb, width) \ 29 (((container) >> lsb) & ((((type) 1) << (width)) - 1)) 37 * @param lsb least significant bit of the value to be inserted 41 #define JRT_SET_BIT_FIELD_VALUE(type, container, new_bit_field_value, lsb, width) \ 42 (((container) & ~(((((type) 1) << (width)) - 1) << (lsb))) | (((type) new_bit_field_value) << (lsb)))
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/subsetter/ |
H A D | HorizontalMetricsTableBuilder.java | 39 public int lsb; field in HorizontalMetricsTableBuilder.LongHorMetric 41 public LongHorMetric(int advanceWidth, int lsb) { in LongHorMetric() argument 43 this.lsb = lsb; in LongHorMetric() 73 index += data.writeShort(index, metrics.get(i).lsb); in build() 76 index += data.writeShort(index, metrics.get(i).lsb); in build()
|
H A D | HorizontalMetricsTableSubsetter.java | 50 int lsb = origMetrics.leftSideBearing(origGlyphId); in subset() 51 metrics.add(new HorizontalMetricsTableBuilder.LongHorMetric(advanceWidth, lsb)); in subset()
|
/third_party/mesa3d/src/amd/addrlib/src/r800/ |
H A D | ciaddrlib.cpp | 95 * Gets bits within a range of [msb, lsb] 103 UINT_32 lsb) ///< Least signicant bit in GetBits() 107 if (msb >= lsb) in GetBits() 109 ret = (bits >> lsb) & (Mask(1 + msb - lsb)); in GetBits() 119 * Removes bits within the range of [msb, lsb] 127 UINT_32 lsb) ///< Least signicant bit in RemoveBits() 131 if (msb >= lsb) in RemoveBits() 133 ret = GetBits(bits, lsb - 1, 0) // low bits in RemoveBits() 134 | (GetBits(bits, 8 * sizeof(bits) - 1, msb + 1) << lsb); //hig in RemoveBits() 100 GetBits( UINT_64 bits, UINT_32 msb, UINT_32 lsb) GetBits() argument 124 RemoveBits( UINT_64 bits, UINT_32 msb, UINT_32 lsb) RemoveBits() argument 149 InsertBits( UINT_64 bits, UINT_64 newBits, UINT_32 msb, UINT_32 lsb) InsertBits() argument 2007 UINT_32 lsb = pipeBits + pipeInterleaveBits; HwlComputeMetadataNibbleAddress() local [all...] |
/third_party/vixl/src/aarch64/ |
H A D | instructions-aarch64.h | 245 uint32_t ExtractBits(int msb, int lsb) const { in ExtractBits() 246 return ExtractUnsignedBitfield32(msb, lsb, GetInstructionBits()); in ExtractBits() 248 VIXL_DEPRECATED("ExtractBits", uint32_t Bits(int msb, int lsb) const) { 249 return ExtractBits(msb, lsb); 293 int32_t ExtractSignedBits(int msb, int lsb) const { in ExtractSignedBits() 295 return ExtractSignedBitfield32(msb, lsb, bits); in ExtractSignedBits() 298 int32_t SignedBits(int msb, int lsb) const) { 299 return ExtractSignedBits(msb, lsb); 313 template <int msb, int lsb> 317 VIXL_ASSERT((msb - lsb in GetRx() [all...] |
H A D | cpu-aarch64.h | 65 explicit constexpr Field(int lsb, in Field() argument 68 : lsb_(lsb), bitWidth_(bitWidth), type_(type) {} in Field()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A D | verify_hmtx.cc | 31 HmtxEntry(int32_t advance_width, int32_t lsb) in HmtxEntry() 32 : advance_width_(advance_width), lsb_(lsb) {} in HmtxEntry()
|
/third_party/vixl/src/ |
H A D | utils-vixl.h | 338 inline uint64_t ExtractUnsignedBitfield64(int msb, int lsb, uint64_t x) { in ExtractUnsignedBitfield64() argument 339 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) && in ExtractUnsignedBitfield64() 340 (msb >= lsb)); in ExtractUnsignedBitfield64() 341 if ((msb == 63) && (lsb == 0)) return x; in ExtractUnsignedBitfield64() 342 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1); in ExtractUnsignedBitfield64() 346 inline uint32_t ExtractUnsignedBitfield32(int msb, int lsb, uint64_t x) { in ExtractUnsignedBitfield32() argument 347 VIXL_ASSERT((static_cast<size_t>(msb) < sizeof(x) * 8) && (lsb >= 0) && in ExtractUnsignedBitfield32() 348 (msb >= lsb)); in ExtractUnsignedBitfield32() 349 return TruncateToUint32(ExtractUnsignedBitfield64(msb, lsb, in ExtractUnsignedBitfield32() 353 ExtractSignedBitfield64(int msb, int lsb, uint64_t x) ExtractSignedBitfield64() argument 366 ExtractSignedBitfield32(int msb, int lsb, uint64_t x) ExtractSignedBitfield32() argument [all...] |
/third_party/node/deps/v8/src/codegen/arm64/ |
H A D | assembler-arm64.h | 603 void bfi(const Register& rd, const Register& rn, int lsb, int width) { in bfi() argument 605 DCHECK(lsb + width <= rn.SizeInBits()); in bfi() 606 bfm(rd, rn, (rd.SizeInBits() - lsb) & (rd.SizeInBits() - 1), width - 1); in bfi() 610 void bfxil(const Register& rd, const Register& rn, int lsb, int width) { in bfxil() argument 612 DCHECK(lsb + width <= rn.SizeInBits()); in bfxil() 613 bfm(rd, rn, lsb, lsb + width - 1); in bfxil() 624 void sbfiz(const Register& rd, const Register& rn, int lsb, int width) { 626 DCHECK(lsb + width <= rn.SizeInBits()); 627 sbfm(rd, rn, (rd.SizeInBits() - lsb) [all...] |
H A D | macro-assembler-arm64-inl.h | 298 void TurboAssembler::Bfi(const Register& rd, const Register& rn, unsigned lsb, in Bfi() argument 302 bfi(rd, rn, lsb, width); in Bfi() 305 void MacroAssembler::Bfxil(const Register& rd, const Register& rn, unsigned lsb, in Bfxil() argument 309 bfxil(rd, rn, lsb, width); in Bfxil() 510 const Register& rm, unsigned lsb) { in Extr() 513 extr(rd, rn, rm, lsb); in Extr() 897 void MacroAssembler::Sbfiz(const Register& rd, const Register& rn, unsigned lsb, in Sbfiz() argument 901 sbfiz(rd, rn, lsb, width); in Sbfiz() 904 void TurboAssembler::Sbfx(const Register& rd, const Register& rn, unsigned lsb, in Sbfx() argument 908 sbfx(rd, rn, lsb, widt in Sbfx() 509 Extr(const Register& rd, const Register& rn, const Register& rm, unsigned lsb) Extr() argument 977 Ubfiz(const Register& rd, const Register& rn, unsigned lsb, unsigned width) Ubfiz() argument 984 Ubfx(const Register& rd, const Register& rn, unsigned lsb, unsigned width) Ubfx() argument [all...] |
H A D | instructions-arm64.h | 97 uint32_t Bits(int msb, int lsb) const { in Bits() 98 return unsigned_bitextract_32(msb, lsb, InstructionBits()); in Bits() 101 int32_t SignedBits(int msb, int lsb) const { in SignedBits() 105 return signed_bitextract_32(msb, lsb, bits); in SignedBits()
|
/third_party/node/deps/v8/src/utils/ |
H A D | utils.h | 385 inline uint32_t unsigned_bitextract_32(int msb, int lsb, uint32_t x) { in unsigned_bitextract_32() argument 386 return (x >> lsb) & ((1 << (1 + msb - lsb)) - 1); in unsigned_bitextract_32() 389 inline uint64_t unsigned_bitextract_64(int msb, int lsb, uint64_t x) { in unsigned_bitextract_64() argument 390 return (x >> lsb) & ((static_cast<uint64_t>(1) << (1 + msb - lsb)) - 1); in unsigned_bitextract_64() 393 inline int32_t signed_bitextract_32(int msb, int lsb, uint32_t x) { in signed_bitextract_32() argument 394 return static_cast<int32_t>(x << (31 - msb)) >> (lsb + 31 - msb); in signed_bitextract_32()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/ |
H A D | func_integer.hpp | 54 /// result. The 32 least-significant bits are returned in lsb. 66 vecType<uint, P> & lsb); 69 /// result. The 32 least-significant bits are returned in lsb. 81 vecType<int, P> & lsb);
|
/third_party/vixl/tools/ |
H A D | verify_assembler_traces.py | 269 lsb = imm & -imm 270 if (imm >> 8) < lsb:
|
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | tinjpage.c | 132 int lsb = ((struct my_siginfo *)si)->si_addr_lsb; in sighandler() local 134 if (lsb != ilog2(HPS)) { in sighandler() 135 printf("LATER: Unexpected addr lsb in siginfo %d\n", lsb); in sighandler() 138 if (lsb != ilog2(sysconf(_SC_PAGE_SIZE))) { in sighandler() 139 printf("LATER: Unexpected addr lsb in siginfo %d\n", lsb); in sighandler()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | tinjpage.c | 132 int lsb = ((struct my_siginfo *)si)->si_addr_lsb; in sighandler() local 134 if (lsb != ilog2(HPS)) { in sighandler() 135 printf("LATER: Unexpected addr lsb in siginfo %d\n", lsb); in sighandler() 138 if (lsb != ilog2(sysconf(_SC_PAGE_SIZE))) { in sighandler() 139 printf("LATER: Unexpected addr lsb in siginfo %d\n", lsb); in sighandler()
|
/third_party/vixl/src/aarch32/ |
H A D | instructions-aarch32.cc | 654 uint32_t lsb = imm & UnsignedNegate(imm); in IsImmediateT32() 655 /* if imm is less than lsb*256 then it fits, but instead we test imm/256 to in IsImmediateT32() 657 return ((imm >> 8) < lsb); in IsImmediateT32() 705 uint32_t lsb = imm & UnsignedNegate(imm); in IsImmediateA32() local 706 /* if imm is less than lsb*256 then it fits, but instead we test imm/256 to in IsImmediateA32() 708 return ((imm >> 8) < lsb); in IsImmediateA32()
|
/third_party/libsnd/src/ |
H A D | ogg_opus.c | 271 int lsb ; member 1101 if (oopus->u.encode.lsb != oopus->u.encode.lsb_last) in ogg_opus_write_out() 1102 opus_multistream_encoder_ctl (oopus->u.encode.state, OPUS_SET_LSB_DEPTH (oopus->u.encode.lsb)) ; in ogg_opus_write_out() 1143 oopus->u.encode.lsb_last = oopus->u.encode.lsb ; in ogg_opus_write_out() 1144 oopus->u.encode.lsb = 0 ; in ogg_opus_write_out() 1283 if (oopus->u.encode.lsb < 16) in ogg_opus_write_s() 1284 oopus->u.encode.lsb = 16 ; in ogg_opus_write_s() 1315 if (oopus->u.encode.lsb < 24) in ogg_opus_write_i() 1316 oopus->u.encode.lsb = 24 ; in ogg_opus_write_i() 1346 if (oopus->u.encode.lsb < 2 in ogg_opus_write_f() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_etc_decode.c | 314 nir_ssa_def *lsb = nir_iand_imm(&b, nir_ushr(&b, color_x, linear_pixel), 1); in build_shader() local 355 nir_ssa_def *index = nir_ior(&b, lsb, msb); in build_shader() 359 nir_ieq_imm(&b, nir_iadd(&b, lsb, msb), 2)), in build_shader() 398 nir_imul(&b, dist, nir_isub_imm(&b, 1, nir_imul_imm(&b, lsb, 2)))); in build_shader() 402 nir_ieq_imm(&b, nir_iadd(&b, lsb, msb), 2)), in build_shader() 463 sgn = nir_bcsel(&b, nir_load_var(&b, punchthrough), nir_imul(&b, sgn, lsb), sgn); in build_shader() 466 nir_ieq_imm(&b, nir_iadd(&b, lsb, msb), 2)), in build_shader() 469 nir_imul(&b, etc1_color_modifier_lookup(&b, etc1_table_index, lsb), sgn); in build_shader()
|
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttgload.h | 39 FT_Short* lsb,
|
/third_party/node/deps/v8/src/codegen/arm/ |
H A D | macro-assembler-arm.cc | 575 void MacroAssembler::Ubfx(Register dst, Register src1, int lsb, int width, in Ubfx() argument 577 DCHECK_LT(lsb, 32); in Ubfx() 579 int mask = (1u << (width + lsb)) - 1u - ((1u << lsb) - 1u); in Ubfx() 581 if (lsb != 0) { in Ubfx() 582 mov(dst, Operand(dst, LSR, lsb), LeaveCC, cond); in Ubfx() 586 ubfx(dst, src1, lsb, width, cond); in Ubfx() 590 void MacroAssembler::Sbfx(Register dst, Register src1, int lsb, int width, in Sbfx() argument 592 DCHECK_LT(lsb, 32); in Sbfx() 594 int mask = (1 << (width + lsb)) in Sbfx() 610 Bfc(Register dst, Register src, int lsb, int width, Condition cond) Bfc() argument [all...] |
/third_party/gn/src/base/strings/ |
H A D | string_number_conversions.cc | 448 uint8_t lsb = 0; // least significant 4 bits in HexStringToBytes() local 450 !CharToDigit<16>(input[i * 2 + 1], &lsb)) { in HexStringToBytes() 453 output->push_back((msb << 4) | lsb); in HexStringToBytes()
|
/third_party/alsa-lib/test/ |
H A D | playmidi1.c | 313 static void do_pitchbend(int chan, int lsb, int msb) in do_pitchbend() argument 314 { /* !@#$% lsb & msb are in the wrong order in docs */ in do_pitchbend() 318 printf("%lu: Pitchbend (%d) %d %d\n", Mf_currtime, chan, lsb, msb); in do_pitchbend() 320 snd_seq_ev_set_pitchbend(&ev, chan, (lsb + (msb << 7)) - 8192); in do_pitchbend()
|
/third_party/node/deps/brotli/c/common/ |
H A D | platform.h | 537 uint32_t lsb; 538 _BitScanForward64(&lsb, x); 539 return lsb;
|
/third_party/skia/third_party/externals/brotli/c/common/ |
H A D | platform.h | 537 uint32_t lsb; 538 _BitScanForward64(&lsb, x); 539 return lsb;
|