Searched refs:isInt (Results 1 - 25 of 74) sorted by relevance

123

/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/inspector/
H A Dtabs_api.js21 function isInt(i) { function
89 if (!isInt(args.windowId))
91 if (!isInt(args.index))
223 if (!isInt(args.left))
225 if (!isInt(args.top))
227 if (!isInt(args.width))
229 if (!isInt(args.height))
262 if (!isInt(retval.left))
264 if (!isInt(retval.top))
266 if (!isInt(retva
[all...]
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp51 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); }
61 bool isOne() const { return isInt() && IntVal == 1; }
62 bool isTwo() const { return isInt() && IntVal == 2; }
63 bool isMinusOne() const { return isInt() && IntVal == -1; }
64 bool isMinusTwo() const { return isInt() && IntVal == -2; }
83 bool isInt() const { return !IsFp; } function in class:__anon21586::FAddendCoef
210 if (isInt()) {
221 if (!isInt())
245 if (That.isInt())
253 if (isInt()
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCFastISel.cpp164 if (isInt<16>(Imm))
195 if (!isInt<32>(Imm)) {
199 if (isInt<32>(ImmSh))
256 if (isInt<16>(CI->getSExtValue())) {
H A DPPCFrameLowering.cpp368 if (!isInt<32>(NegFrameSize))
496 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) &&
504 if (isInt<16>(NegFrameSize)) {
522 } else if (isInt<16>(NegFrameSize)) {
547 assert(isPowerOf2_32(MaxAlign) && isInt<16>(MaxAlign) &&
554 if (isInt<16>(NegFrameSize)) {
572 } else if (isInt<16>(NegFrameSize)) {
784 if (FI->hasFastCall() && isInt<16>(FrameSize)) {
798 } else if (isInt<16>(FrameSize) &&
808 if (FI->hasFastCall() && isInt<1
[all...]
H A DPPCBranchSelector.cpp149 if (isInt<16>(BranchSize)) {
/external/llvm/lib/Target/SystemZ/InstPrinter/
H A DSystemZInstPrinter.cpp71 assert(isInt<8>(Value) && "Invalid s8imm argument");
85 assert(isInt<16>(Value) && "Invalid s16imm argument");
99 assert(isInt<32>(Value) && "Invalid s32imm argument");
/external/llvm/include/llvm/Support/
H A DMathExtras.h260 /// isInt - Checks if an integer fits into the given bit width.
262 inline bool isInt(int64_t x) { function in namespace:llvm
267 inline bool isInt<8>(int64_t x) { function in namespace:llvm
271 inline bool isInt<16>(int64_t x) { function in namespace:llvm
275 inline bool isInt<32>(int64_t x) { function in namespace:llvm
283 return isInt<N+S>(x) && (x % (1<<S) == 0);
/external/llvm/lib/Target/Mips/
H A DMips16InstrInfo.cpp186 if (isInt<16>(-Remainder))
227 if (isInt<16>(Remainder))
300 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16>
490 return isInt<16>(Amount);
493 return isInt<16>(Amount);
494 return isInt<15>(Amount);
H A DMips16InstrInfo.h99 return ((offset & 7) == 0) && isInt<11>(offset);
H A DMipsSERegisterInfo.cpp116 if (!MI.isDebugValue() && !isInt<16>(Offset)) {
H A DMipsAnalyzeImmediate.cpp96 if (!isInt<16>(ShiftedImm))
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DMediaQueryExp.cpp111 if (!value->isInt || value->fValue < 0)
141 if (!value->isInt || !(value->fValue == 1 || !value->fValue))
248 if (i != 1 && value->unit == CSSPrimitiveValue::CSS_NUMBER && value->fValue > 0 && value->isInt) {
H A DCSSCalculationValue.h106 bool isInt() const { return m_expression->isInteger(); } function in class:WebCore::CSSCalcValue
H A DCSSParserValues.h138 bool isInt;
256 isInt = false;
H A DCSSParserValues.cpp86 return CSSPrimitiveValue::create(fValue, isInt ? CSSPrimitiveValue::CSS_PARSER_INTEGER : CSSPrimitiveValue::CSS_NUMBER);
/external/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp134 if (isInt<10>(BranchSize)) {
/external/clang/test/PCH/
H A Dcxx-templates.h88 bool isInt(int x);
90 template<> bool isInt<8>(int x) { function
/external/llvm/lib/Target/Sparc/
H A DSparcISelDAGToDAG.cpp88 if (isInt<13>(CN->getSExtValue())) {
125 if (isInt<13>(CN->getSExtValue()))
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCCodeEmitter.cpp137 assert(isUInt<4>(Base) && isInt<20>(Disp));
157 assert(isUInt<4>(Base) && isInt<20>(Disp) && isUInt<4>(Index));
/external/llvm/lib/Target/Hexagon/
H A DHexagonCopyToCombine.cpp136 (ShouldCombineAggressively || isInt<8>(MI->getOperand(1).getImm()));
163 !isInt<8>(I->getOperand(1).getImm());
582 if (!isInt<8>(HiOperand.getImm())) {
583 assert(isInt<8>(LoOperand.getImm()));
591 assert(isInt<8>(HiOperand.getImm()));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A DAMDILISelDAGToDAG.cpp340 if (isInt<8>(OffsetNode->getZExtValue() >> 2)) {
362 && isInt<16>(IMMOffset->getZExtValue())) {
369 && isInt<16>(IMMOffset->getZExtValue())) {
/external/clang/include/clang/AST/
H A DAPValue.h183 bool isInt() const { return Kind == Int; } function in class:clang::APValue
202 assert(isInt() && "Invalid accessor");
349 assert(isInt() && "Invalid accessor");
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDILISelDAGToDAG.cpp340 if (isInt<8>(OffsetNode->getZExtValue() >> 2)) {
362 && isInt<16>(IMMOffset->getZExtValue())) {
369 && isInt<16>(IMMOffset->getZExtValue())) {
/external/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp320 return isInt<20>(Val);
323 return isInt<20>(Val) && isInt<20>(Val + 8);
456 if (!isInt<16>(Disp))
996 if (!SystemZ::isImmLF(Val) && !SystemZ::isImmHF(Val) && !isInt<32>(Val))
1007 if (VT == MVT::i32 || isInt<32>(Value)) {
H A DSystemZInstrInfo.cpp751 if (isInt<20>(Offset) && isInt<20>(Offset2)) {
830 return MI && isInt<8>(MI->getOperand(1).getImm()) ? SystemZ::CIJ : 0;
832 return MI && isInt<8>(MI->getOperand(1).getImm()) ? SystemZ::CGIJ : 0;
843 if (isInt<16>(Value))
851 assert(isInt<32>(Value) && "Huge values not handled yet");

Completed in 1826 milliseconds

123