/external/chromium_org/base/i18n/ |
H A D | streaming_utf8_validator.cc | 36 const uint8 shift_amount = StateTableLookup(state); local 37 const uint8 shifted_char = (*p & 0x7F) >> shift_amount;
|
/external/valgrind/main/memcheck/tests/vbit-test/ |
H A D | binary.c | 93 unsigned shift_amount = opnd2->value.u8; local 95 expected_vbits = shl_vbits(opnd1->vbits, shift_amount); 106 unsigned shift_amount = opnd2->value.u8; local 108 expected_vbits = shr_vbits(opnd1->vbits, shift_amount); 119 unsigned shift_amount = opnd2->value.u8; local 121 expected_vbits = sar_vbits(opnd1->vbits, shift_amount);
|
H A D | vbits.c | 663 shl_vbits(vbits_t v, unsigned shift_amount) argument 665 assert(shift_amount < v.num_bits); 670 case 8: new.bits.u8 <<= shift_amount; break; 671 case 16: new.bits.u16 <<= shift_amount; break; 672 case 32: new.bits.u32 <<= shift_amount; break; 673 case 64: new.bits.u64 <<= shift_amount; break; 685 shr_vbits(vbits_t v, unsigned shift_amount) argument 687 assert(shift_amount < v.num_bits); 692 case 8: new.bits.u8 >>= shift_amount; break; 693 case 16: new.bits.u16 >>= shift_amount; brea 707 sar_vbits(vbits_t v, unsigned shift_amount) argument [all...] |
/external/webrtc/src/common_audio/signal_processing/ |
H A D | signal_processing_unittest.cc | 87 int shift_amount = 1; // Workaround compiler warning using variable here. local 89 EXPECT_EQ(32766, WEBRTC_SPL_SHIFT_W16(a, shift_amount)); 90 EXPECT_EQ(32766, WEBRTC_SPL_SHIFT_W32(a, shift_amount));
|
/external/chromium_org/third_party/WebKit/Source/wtf/dtoa/ |
H A D | bignum.cc | 242 void Bignum::ShiftLeft(int shift_amount) { argument 244 exponent_ += shift_amount / kBigitSize; 245 int local_shift = shift_amount % kBigitSize; 723 void Bignum::BigitsShiftLeft(int shift_amount) { 724 ASSERT(shift_amount < kBigitSize); 725 ASSERT(shift_amount >= 0); 728 Chunk new_carry = bigits_[i] >> (kBigitSize - shift_amount); 729 bigits_[i] = ((bigits_[i] << shift_amount) + carry) & kBigitMask;
|
H A D | fixed-dtoa.cc | 63 void Shift(int shift_amount) { argument 64 ASSERT(-64 <= shift_amount && shift_amount <= 64); 65 if (shift_amount == 0) { 67 } else if (shift_amount == -64) { 70 } else if (shift_amount == 64) { 73 } else if (shift_amount <= 0) { 74 high_bits_ <<= -shift_amount; 75 high_bits_ += low_bits_ >> (64 + shift_amount); 76 low_bits_ <<= -shift_amount; 78 low_bits_ >>= shift_amount; local 80 high_bits_ >>= shift_amount; local [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | common.h | 194 const int shift_amount = big ? 7 : 3; local 195 return (s + add_amount) >> shift_amount;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
H A D | common.h | 177 const int shift_amount = big ? 7 : 3; local 178 return (s + add_amount) >> shift_amount;
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
H A D | signal_processing_unittest.cc | 63 int shift_amount = 1; // Workaround compiler warning using variable here. local 65 EXPECT_EQ(32766, WEBRTC_SPL_SHIFT_W32(a, shift_amount));
|
/external/chromium_org/v8/src/ |
H A D | bignum.cc | 219 void Bignum::ShiftLeft(int shift_amount) { argument 221 exponent_ += shift_amount / kBigitSize; 222 int local_shift = shift_amount % kBigitSize; 700 void Bignum::BigitsShiftLeft(int shift_amount) { 701 DCHECK(shift_amount < kBigitSize); 702 DCHECK(shift_amount >= 0); 705 Chunk new_carry = bigits_[i] >> (kBigitSize - shift_amount); 706 bigits_[i] = ((bigits_[i] << shift_amount) + carry) & kBigitMask;
|
H A D | fixed-dtoa.cc | 41 void Shift(int shift_amount) { argument 42 DCHECK(-64 <= shift_amount && shift_amount <= 64); 43 if (shift_amount == 0) { 45 } else if (shift_amount == -64) { 48 } else if (shift_amount == 64) { 51 } else if (shift_amount <= 0) { 52 high_bits_ <<= -shift_amount; 53 high_bits_ += low_bits_ >> (64 + shift_amount); 54 low_bits_ <<= -shift_amount; 56 low_bits_ >>= shift_amount; local 58 high_bits_ >>= shift_amount; local [all...] |
/external/lldb/source/Utility/ |
H A D | StringExtractor.cpp | 192 uint32_t shift_amount = 0; local 209 result |= ((uint32_t)nibble_hi << (shift_amount + 4)); 210 result |= ((uint32_t)nibble_lo << shift_amount); 212 shift_amount += 8; 216 result |= ((uint32_t)nibble_hi << shift_amount); 218 shift_amount += 4; 254 uint32_t shift_amount = 0; local 271 result |= ((uint64_t)nibble_hi << (shift_amount + 4)); 272 result |= ((uint64_t)nibble_lo << shift_amount); 274 shift_amount 342 uint32_t shift_amount; local [all...] |
/external/chromium_org/v8/src/compiler/ |
H A D | simplified-lowering.cc | 807 Node* shift_amount = jsgraph()->Int32Constant(kSmiTagSize + kSmiShiftSize); local 808 return graph()->NewNode(machine()->WordSar(), node, shift_amount); 814 Node* shift_amount = jsgraph()->Int32Constant(kSmiTagSize + kSmiShiftSize); local 815 return graph()->NewNode(machine()->WordShl(), node, shift_amount);
|
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/ |
H A D | gki_ulinux.c | 1289 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument 1292 register UINT8 *pd = ps + shift_amount;
|
/external/libnfc-nci/src/gki/ulinux/ |
H A D | gki_ulinux.c | 1266 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument 1269 register UINT8 *pd = ps + shift_amount;
|
/external/libnfc-nci/src/nfc/ndef/ |
H A D | ndef_utils.c | 43 static void shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument 46 register UINT8 *pd = ps + shift_amount;
|
/external/chromium_org/v8/src/arm/ |
H A D | disasm-arm.cc | 193 int shift_amount = instr->ShiftAmountValue(); local 198 if ((instr->RegShiftValue() == 0) && (shift == LSL) && (shift_amount == 0)) { 204 if ((shift == ROR) && (shift_amount == 0)) { 207 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) { 208 shift_amount = 32; 213 shift_amount);
|
H A D | simulator-arm.cc | 1350 int shift_amount = instr->ShiftAmountValue(); local 1354 if ((shift == ROR) && (shift_amount == 0)) { 1357 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) { 1358 shift_amount = 32; 1362 if (shift_amount == 0) { 1371 result >>= (shift_amount - 1); 1379 if (shift_amount == 0) { 1382 result <<= (shift_amount - 1); 1390 if (shift_amount == 0) { 1395 uresult >>= (shift_amount [all...] |
/external/chromium_org/v8/src/arm64/ |
H A D | assembler-arm64-inl.h | 338 Operand::Operand(Register reg, Shift shift, unsigned shift_amount) 343 shift_amount_(shift_amount) { 344 DCHECK(reg.Is64Bits() || (shift_amount < kWRegSizeInBits)); 345 DCHECK(reg.Is32Bits() || (shift_amount < kXRegSizeInBits)); 350 Operand::Operand(Register reg, Extend extend, unsigned shift_amount) 355 shift_amount_(shift_amount) { 357 DCHECK(shift_amount <= 4); 426 unsigned Operand::shift_amount() const { 470 unsigned shift_amount) 472 shift_(NO_SHIFT), extend_(extend), shift_amount_(shift_amount) { 1170 ImmShiftLS(unsigned shift_amount) argument [all...] |
H A D | lithium-arm64.cc | 2188 LOperand* shift_amount = UseConstant(hshift->right()); local 2198 res = new(zone()) LBitI(left, right, shift_op, shift_amount); 2200 res = new(zone()) LAddI(left, right, shift_op, shift_amount); 2203 res = new(zone()) LSubI(left, right, shift_op, shift_amount);
|
H A D | assembler-arm64.cc | 2194 DCHECK(operand.IsShiftedRegister() && (operand.shift_amount() == 0)); 2320 DCHECK(operand.IsShiftedRegister() && (operand.shift_amount() == 0)); 2365 unsigned shift_amount) { 2368 lsl(rd, rn, shift_amount); 2371 lsr(rd, rn, shift_amount); 2374 asr(rd, rn, shift_amount); 2377 ror(rd, rn, shift_amount); 2428 DCHECK(rn.Is64Bits() || (rn.Is32Bits() && is_uint5(operand.shift_amount()))); 2431 ShiftDP(operand.shift()) | ImmDPShift(operand.shift_amount()) | 2444 ExtendMode(operand.extend()) | ImmExtendShift(operand.shift_amount()) | 2362 EmitShift(const Register& rd, const Register& rn, Shift shift, unsigned shift_amount) argument 2476 unsigned shift_amount = addr.shift_amount(); local [all...] |
H A D | lithium-arm64.h | 603 LAddI(LOperand* left, LOperand* right, Shift shift, LOperand* shift_amount) argument 604 : shift_(shift), shift_amount_(shift_amount) { 613 LOperand* shift_amount() const { return shift_amount_; } function in class:v8::internal::FINAL 786 LBitI(LOperand* left, LOperand* right, Shift shift, LOperand* shift_amount) argument 787 : shift_(shift), shift_amount_(shift_amount) { 796 LOperand* shift_amount() const { return shift_amount_; } function in class:v8::internal::FINAL 2842 LSubI(LOperand* left, LOperand* right, Shift shift, LOperand* shift_amount) argument 2843 : shift_(shift), shift_amount_(shift_amount) { 2852 LOperand* shift_amount() const { return shift_amount_; } function in class:v8::internal::FINAL
|
/external/vixl/src/a64/ |
H A D | simulator-a64.cc | 667 unsigned shift_amount = instr->ImmDPShift(); local 669 shift_amount); 765 unsigned shift_amount = instr->ImmShiftLS() * instr->SizeLS(); local 768 shift_amount);
|
H A D | assembler-a64.cc | 214 Operand::Operand(Register reg, Shift shift, unsigned shift_amount) 218 shift_amount_(shift_amount) { 219 VIXL_ASSERT(reg.Is64Bits() || (shift_amount < kWRegSize)); 220 VIXL_ASSERT(reg.Is32Bits() || (shift_amount < kXRegSize)); 225 Operand::Operand(Register reg, Extend extend, unsigned shift_amount) 229 shift_amount_(shift_amount) { 231 VIXL_ASSERT(shift_amount <= 4); 280 unsigned shift_amount) 282 shift_(NO_SHIFT), extend_(extend), shift_amount_(shift_amount) { 295 unsigned shift_amount) 1747 EmitShift(const Register& rd, const Register& rn, Shift shift, unsigned shift_amount) argument 1860 unsigned shift_amount = addr.shift_amount(); local [all...] |
/external/chromium_org/v8/src/x64/ |
H A D | assembler-x64.cc | 601 Immediate shift_amount, 605 DCHECK(size == kInt64Size ? is_uint6(shift_amount.value_) 606 : is_uint5(shift_amount.value_)); 607 if (shift_amount.value_ == 1) { 615 emit(shift_amount.value_); 600 shift(Register dst, Immediate shift_amount, int subcode, int size) argument
|