Searched defs:shift_amount (Results 1 - 20 of 20) sorted by relevance

/external/webrtc/src/common_audio/signal_processing/
H A Dsignal_processing_unittest.cc87 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 Dbignum.cc242 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 Dfixed-dtoa.cc63 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 Dcommon.h194 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 Dcommon.h177 const int shift_amount = big ? 7 : 3; local
178 return (s + add_amount) >> shift_amount;
/external/chromium_org/v8/src/
H A Dbignum.cc241 void Bignum::ShiftLeft(int shift_amount) { argument
243 exponent_ += shift_amount / kBigitSize;
244 int local_shift = shift_amount % kBigitSize;
722 void Bignum::BigitsShiftLeft(int shift_amount) {
723 ASSERT(shift_amount < kBigitSize);
724 ASSERT(shift_amount >= 0);
727 Chunk new_carry = bigits_[i] >> (kBigitSize - shift_amount);
728 bigits_[i] = ((bigits_[i] << shift_amount) + carry) & kBigitMask;
H A Dfixed-dtoa.cc64 void Shift(int shift_amount) { argument
65 ASSERT(-64 <= shift_amount && shift_amount <= 64);
66 if (shift_amount == 0) {
68 } else if (shift_amount == -64) {
71 } else if (shift_amount == 64) {
74 } else if (shift_amount <= 0) {
75 high_bits_ <<= -shift_amount;
76 high_bits_ += low_bits_ >> (64 + shift_amount);
77 low_bits_ <<= -shift_amount;
79 low_bits_ >>= shift_amount; local
81 high_bits_ >>= shift_amount; local
[all...]
H A Dhydrogen.cc8638 HValue** shift_amount) {
8657 *shift_amount = shr->right();
8886 HValue* operand, *shift_amount; local
8889 MatchRotateRight(left, right, &operand, &shift_amount)) {
8890 instr = AddUncasted<HRor>(operand, shift_amount);
8635 MatchRotateRight(HValue* left, HValue* right, HValue** operand, HValue** shift_amount) argument
/external/v8/src/
H A Dbignum.cc240 void Bignum::ShiftLeft(int shift_amount) { argument
242 exponent_ += shift_amount / kBigitSize;
243 int local_shift = shift_amount % kBigitSize;
721 void Bignum::BigitsShiftLeft(int shift_amount) {
722 ASSERT(shift_amount < kBigitSize);
723 ASSERT(shift_amount >= 0);
726 Chunk new_carry = bigits_[i] >> (kBigitSize - shift_amount);
727 bigits_[i] = ((bigits_[i] << shift_amount) + carry) & kBigitMask;
H A Dfixed-dtoa.cc64 void Shift(int shift_amount) { argument
65 ASSERT(-64 <= shift_amount && shift_amount <= 64);
66 if (shift_amount == 0) {
68 } else if (shift_amount == -64) {
71 } else if (shift_amount == 64) {
74 } else if (shift_amount <= 0) {
75 high_bits_ <<= -shift_amount;
76 high_bits_ += low_bits_ >> (64 + shift_amount);
77 low_bits_ <<= -shift_amount;
79 low_bits_ >>= shift_amount; local
81 high_bits_ >>= shift_amount; local
[all...]
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/
H A Dgki_ulinux.c1288 void GKI_shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument
1291 register UINT8 *pd = ps + shift_amount;
/external/libnfc-nci/src/gki/ulinux/
H A Dgki_ulinux.c1266 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 Dndef_utils.c43 static void shiftdown (UINT8 *p_mem, UINT32 len, UINT32 shift_amount) argument
46 register UINT8 *pd = ps + shift_amount;
/external/v8/src/arm/
H A Ddisasm-arm.cc213 int shift_amount = instr->ShiftAmountValue(); local
218 if ((instr->RegShiftValue() == 0) && (shift == LSL) && (shift_amount == 0)) {
224 if ((shift == ROR) && (shift_amount == 0)) {
227 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) {
228 shift_amount = 32;
233 shift_amount);
H A Dsimulator-arm.cc1417 int shift_amount = instr->ShiftAmountValue(); local
1421 if ((shift == ROR) && (shift_amount == 0)) {
1424 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) {
1425 shift_amount = 32;
1429 if (shift_amount == 0) {
1438 result >>= (shift_amount - 1);
1446 if (shift_amount == 0) {
1449 result <<= (shift_amount - 1);
1457 if (shift_amount == 0) {
1462 uresult >>= (shift_amount
[all...]
/external/chromium_org/v8/src/arm/
H A Ddisasm-arm.cc216 int shift_amount = instr->ShiftAmountValue(); local
221 if ((instr->RegShiftValue() == 0) && (shift == LSL) && (shift_amount == 0)) {
227 if ((shift == ROR) && (shift_amount == 0)) {
230 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) {
231 shift_amount = 32;
236 shift_amount);
H A Dsimulator-arm.cc1361 int shift_amount = instr->ShiftAmountValue(); local
1365 if ((shift == ROR) && (shift_amount == 0)) {
1368 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) {
1369 shift_amount = 32;
1373 if (shift_amount == 0) {
1382 result >>= (shift_amount - 1);
1390 if (shift_amount == 0) {
1393 result <<= (shift_amount - 1);
1401 if (shift_amount == 0) {
1406 uresult >>= (shift_amount
[all...]
/external/chromium_org/v8/src/x64/
H A Dassembler-x64.cc687 void Assembler::shift(Register dst, Immediate shift_amount, int subcode) { argument
689 ASSERT(is_uint6(shift_amount.value_)); // illegal shift count
690 if (shift_amount.value_ == 1) {
698 emit(shift_amount.value_);
719 void Assembler::shift_32(Register dst, Immediate shift_amount, int subcode) { argument
721 ASSERT(is_uint5(shift_amount.value_)); // illegal shift count
722 if (shift_amount.value_ == 1) {
730 emit(shift_amount.value_);
/external/v8/src/x64/
H A Dassembler-x64.cc789 void Assembler::shift(Register dst, Immediate shift_amount, int subcode) { argument
791 ASSERT(is_uint6(shift_amount.value_)); // illegal shift count
792 if (shift_amount.value_ == 1) {
800 emit(shift_amount.value_);
821 void Assembler::shift_32(Register dst, Immediate shift_amount, int subcode) { argument
823 ASSERT(is_uint5(shift_amount.value_)); // illegal shift count
824 if (shift_amount.value_ == 1) {
832 emit(shift_amount.value_);
/external/valgrind/main/VEX/priv/
H A Dguest_s390_toIR.c6888 IRTemp shift_amount = newTemp(Ity_I64); local
6895 assign(shift_amount, binop(Iop_And64, mkexpr(op2addr), mkU64(63)));
6897 unop(Iop_64to8, mkexpr(shift_amount))), mkU64(~sign_mask)),
6901 s390_cc_thunk_putZZ(S390_CC_OP_SHIFT_LEFT_64, op, shift_amount);
6930 IRTemp shift_amount = newTemp(Ity_I64); local
6936 assign(shift_amount, binop(Iop_And64, mkexpr(op2addr), mkU64(63)));
6938 unop(Iop_64to8, mkexpr(shift_amount))), mkU32(~sign_mask)),
6941 s390_cc_thunk_putZZ(S390_CC_OP_SHIFT_LEFT_32, op, shift_amount);
6952 IRTemp shift_amount = newTemp(Ity_I64); local
6958 assign(shift_amount, bino
6974 IRTemp shift_amount = newTemp(Ity_I64); local
10708 IRTemp shift_amount = newTemp(Ity_I8); local
[all...]

Completed in 538 milliseconds