/external/chromium_org/tools/relocation_packer/src/ |
H A D | leb128.cc | 50 size_t shift = 0; local 56 value |= static_cast<ELF::Xword>(byte & 127) << shift; 57 shift += 7;
|
H A D | sleb128.cc | 71 size_t shift = 0; local 77 value |= (static_cast<ELF::Sxword>(byte & 127) << shift); 78 shift += 7; 82 // Sign extend if value is -ve and we did not shift all of it. 83 if (shift < size && (byte & 64)) 84 value |= -(static_cast<ELF::Sxword>(1) << shift);
|
/external/chromium_org/ui/aura/test/ |
H A D | ui_controls_factory_aurawin.cc | 36 bool shift, 43 window, key, control, shift, alt, base::Closure()); 48 bool shift, 55 return SendKeyPressImpl(window, key, control, shift, alt, task); 33 SendKeyPress(gfx::NativeWindow native_window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command) argument 45 SendKeyPressNotifyWhenDone(gfx::NativeWindow native_window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, const base::Closure& task) argument
|
/external/chromium_org/ui/base/test/ |
H A D | ui_controls_aura.cc | 23 bool shift, 28 window, key, control, shift, alt, command); 35 bool shift, 41 window, key, control, shift, alt, command, task); 20 SendKeyPress(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command) argument 32 SendKeyPressNotifyWhenDone(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, const base::Closure& task) argument
|
H A D | ui_controls_internal_win.cc | 172 bool shift, 211 if (shift) { 237 if (shift) { 169 SendKeyPressImpl(HWND window, ui::KeyboardCode key, bool control, bool shift, bool alt, const base::Closure& task) argument
|
H A D | ui_controls_win.cc | 22 bool shift, 27 return internal::SendKeyPressImpl(window, key, control, shift, alt, 34 bool shift, 40 return internal::SendKeyPressImpl(window, key, control, shift, alt, task); 19 SendKeyPress(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command) argument 31 SendKeyPressNotifyWhenDone(gfx::NativeWindow window, ui::KeyboardCode key, bool control, bool shift, bool alt, bool command, const base::Closure& task) argument
|
/external/chromium_org/ui/events/ |
H A D | event_utils.cc | 67 base::char16 GetControlCharacterForKeycode(int windows_key_code, bool shift) { argument 73 if (shift) { 74 // following graphics chars require shift key to input.
|
/external/chromium_org/ui/events/keycodes/ |
H A D | keyboard_code_conversion.cc | 13 const bool shift = (flags & EF_SHIFT_DOWN) != 0; local 14 const bool upper = shift ^ ((flags & EF_CAPS_LOCK_DOWN) != 0); 22 if (shift) { 23 // following graphics chars require shift key to input. 65 return shift ? ")!@#$%^&*("[key_code - VKEY_0] : 89 return shift ? ':' : ';'; 91 return shift ? '+' : '='; 93 return shift ? '<' : ','; 95 return shift ? '_' : '-'; 97 return shift [all...] |
H A D | keyboard_code_conversion_x.cc | 36 // ch1: the keysym with shift state. 490 // XLookupKeysym does not take into consideration the state of the lock/shift 1033 int XKeysymForWindowsKeyCode(KeyboardCode keycode, bool shift) { argument 1069 return shift ? XK_ISO_Left_Tab : XK_Tab; 1136 return shift ? XK_parenright : XK_0; 1138 return shift ? XK_exclam : XK_1; 1140 return shift ? XK_at : XK_2; 1142 return shift ? XK_numbersign : XK_3; 1144 return shift ? XK_dollar : XK_4; 1146 return shift [all...] |
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
H A D | image_util.js | 181 Rect.prototype.shift = function(dx, dy) {
|
/external/chromium_org/ui/gfx/ |
H A D | color_utils.cc | 184 SkColor HSLShift(SkColor color, const HSL& shift) { argument 190 if (shift.h >= 0) 191 hsl.h = shift.h; 194 if (shift.s >= 0) { 195 if (shift.s <= 0.5) 196 hsl.s *= shift.s * 2.0; 198 hsl.s += (1.0 - hsl.s) * ((shift.s - 0.5) * 2.0); 203 if (shift.l < 0) 211 if (shift.l <= 0.5) { 212 r *= (shift [all...] |
/external/chromium_org/ui/views/controls/textfield/ |
H A D | textfield.cc | 83 const bool shift = event.IsShiftDown(); local 88 if (control && !shift && !alt) 90 return (control && shift && !alt) ? IDS_APP_REDO : kNoCommand; 105 if (!shift) 113 if (!shift) 118 return shift ? IDS_MOVE_TO_BEGINNING_OF_LINE_AND_MODIFY_SELECTION : 121 return shift ? IDS_MOVE_TO_END_OF_LINE_AND_MODIFY_SELECTION : 128 if (shift) 134 return (shift && has_selection) ? IDS_APP_CUT : IDS_DELETE_FORWARD; 137 if (shift) [all...] |
H A D | textfield_unittest.cc | 243 bool shift, 247 (shift ? ui::EF_SHIFT_DOWN : 0) | 254 void SendKeyEvent(ui::KeyboardCode key_code, bool shift, bool control) { argument 255 SendKeyEvent(key_code, false, shift, control, false); 411 // Event flags: key, alt, shift, ctrl, caps-lock. 427 SendKeyEvent(ui::VKEY_HOME, false /* shift */, false /* control */); 241 SendKeyEvent(ui::KeyboardCode key_code, bool alt, bool shift, bool control, bool caps_lock) argument
|
/external/chromium_org/v8/include/ |
H A D | v8.h | 5739 // Throw away top 32 bits and shift down (requires >> to be sign extending). 5890 V8_INLINE static uint8_t GetNodeFlag(internal::Object** obj, int shift) { argument 5892 return *addr & static_cast<uint8_t>(1U << shift); 5896 bool value, int shift) { 5898 uint8_t mask = static_cast<uint8_t>(1U << shift); 5899 *addr = static_cast<uint8_t>((*addr & ~mask) | (value << shift)); 5895 UpdateNodeFlag(internal::Object** obj, bool value, int shift) argument
|
/external/chromium_org/v8/src/arm/ |
H A D | disasm-arm.cc | 181 // These shift names are defined in a way to match the native disassembler 188 // Print the register shift operands for the instruction. Generally used for 191 ShiftOp shift = instr->ShiftField(); 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)) { 234 // Print the optional shift and immediate used by saturating instructions. 236 int shift = instr->Bits(11, 7); local 237 if (shift > [all...] |
H A D | lithium-codegen-arm.cc | 1338 int32_t shift = WhichPowerOf2Abs(divisor); 1339 if (shift == 0) { 1341 } else if (shift == 1) { 1345 __ add(result, dividend, Operand(result, LSR, 32 - shift)); 1347 if (shift > 0) __ mov(result, Operand(result, ASR, shift)); 1480 // can simply do an arithmetic right shift. 1481 int32_t shift = WhichPowerOf2Abs(divisor); local 1483 __ mov(result, Operand(dividend, ASR, shift)); 1503 __ mov(result, Operand(result, ASR, shift)); 1670 int32_t shift = WhichPowerOf2(constant_abs); local 1675 int32_t shift = WhichPowerOf2(constant_abs - 1); local 1680 int32_t shift = WhichPowerOf2(constant_abs + 1); local [all...] |
H A D | macro-assembler-arm.h | 1383 static const int shift = Field::kShift; local 1384 static const int mask = Field::kMask >> shift << kSmiTagSize; 1387 if (shift < kSmiTagSize) { 1388 mov(dst, Operand(src, LSL, kSmiTagSize - shift)); 1390 } else if (shift > kSmiTagSize) { 1391 mov(dst, Operand(src, LSR, shift - kSmiTagSize));
|
H A D | simulator-arm.cc | 1349 ShiftOp shift = instr->ShiftField(); local 1354 if ((shift == ROR) && (shift_amount == 0)) { 1357 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) { 1360 switch (shift) { 1424 switch (shift) { 2578 int32_t shift = instr->Bits(11, 7); local 2579 rm_val <<= shift; local 2585 int32_t shift = instr->Bits(11, 7); local 2586 if (shift 2589 rm_val >>= shift; local 2606 int32_t shift = instr->Bits(11, 7); local 2610 rm_val <<= shift; local 2612 rm_val >>= shift; local [all...] |
/external/chromium_org/v8/src/arm64/ |
H A D | assembler-arm64-inl.h | 338 Operand::Operand(Register reg, Shift shift, unsigned shift_amount) 341 shift_(shift), 414 Shift Operand::shift() const { 484 Shift shift, 487 shift_(shift), extend_(NO_EXTEND), shift_amount_(shift_amount) { 490 DCHECK(shift == LSL); 506 shift_= offset.shift(); 558 return Operand(regoffset(), shift(), shift_amount()); 1043 // Subtract five from the shift offset, as we need bit 5 from bit_pos. 1059 if (is_uint12(imm)) { // No shift require 1116 ShiftDP(Shift shift) argument 1218 ShiftMoveWide(int64_t shift) argument [all...] |
H A D | assembler-arm64.cc | 2106 int shift, 2117 if (shift >= 0) { 2118 // Explicit shift specified. 2119 DCHECK((shift == 0) || (shift == 16) || (shift == 32) || (shift == 48)); 2120 DCHECK(rd.Is64Bits() || (shift == 0) || (shift == 16)); 2121 shift / 2104 MoveWide(const Register& rd, uint64_t imm, int shift, MoveWideImmediateOp mov_op) argument 2362 EmitShift(const Register& rd, const Register& rn, Shift shift, unsigned shift_amount) argument 2475 Shift shift = addr.shift(); local [all...] |
H A D | disasm-arm64.cc | 728 // Print the shift separately for movk, to make it clear which half word will 730 // shift calculation. 1656 unsigned shift = instr->ImmShiftLS(); local 1667 // Extend mode UXTX is an alias for shift mode LSL here. 1668 if (!((ext == UXTX) && (shift == 0))) { 1670 if (shift != 0) {
|
H A D | lithium-arm64.cc | 2126 HBitwiseBinaryOperation* shift = NULL; local 2127 // TODO(aleram): We will miss situations where a shift operation is used by 2131 shift = HBitwiseBinaryOperation::cast(hright); 2138 shift = HBitwiseBinaryOperation::cast(hleft); 2146 if ((JSShiftAmountFromHConstant(shift->right()) == 0) && shift->IsShr()) { 2151 return shift; 2155 bool LChunkBuilder::ShiftCanBeOptimizedAway(HBitwiseBinaryOperation* shift) { argument 2156 if (!shift->representation().IsInteger32()) { 2159 for (HUseIterator it(shift 2171 HBitwiseBinaryOperation* shift = CanTransformToShiftedOp(instr, &left); 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) { 612 Shift shift() const { return shift_; } 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) { 795 Shift shift() const { return shift_; } function in class:v8::internal::FINAL 2747 DECLARE_CONCRETE_INSTRUCTION(ShiftI, "shift-i") 2768 DECLARE_CONCRETE_INSTRUCTION(ShiftS, "shift-s") 2842 LSubI(LOperand* left, LOperand* right, Shift shift, LOperand* shift_amount) argument 2843 : shift_(shift), shift_amount 2851 Shift shift() const { return shift_; } function in class:v8::internal::FINAL [all...] |
H A D | lithium-codegen-arm64.cc | 1308 if (shift_info->shift() == NO_SHIFT) { 1313 shift_info->shift(), 2726 int32_t shift = WhichPowerOf2Abs(divisor); 2727 if (shift == 0) { 2729 } else if (shift == 1) { 2733 __ Add(result, dividend, Operand(result, LSR, 32 - shift)); 2735 if (shift > 0) __ Mov(result, Operand(result, ASR, shift)); 3912 // can simply do an arithmetic right shift. 3913 int32_t shift local [all...] |
H A D | macro-assembler-arm64-inl.h | 315 unsigned shift) { 318 asr(rd, rn, shift); 890 unsigned shift) { 893 lsl(rd, rn, shift); 908 unsigned shift) { 911 lsr(rd, rn, shift); 955 void MacroAssembler::Movk(const Register& rd, uint64_t imm, int shift) { argument 958 movk(rd, imm, shift); 1032 unsigned shift) { 1035 ror(rd, rs, shift); 313 Asr(const Register& rd, const Register& rn, unsigned shift) argument 888 Lsl(const Register& rd, const Register& rn, unsigned shift) argument 906 Lsr(const Register& rd, const Register& rn, unsigned shift) argument 1030 Ror(const Register& rd, const Register& rs, unsigned shift) argument 1526 const int shift = CountTrailingZeros(unit_size, kXRegSizeInBits); local 1543 const int shift = CountTrailingZeros(unit_size, kXRegSizeInBits) - kSmiShift; local 1584 const int shift = CountTrailingZeros(unit_size, kXRegSizeInBits); local 1604 const int shift = CountTrailingZeros(unit_size, kXRegSizeInBits) - kSmiShift; local [all...] |