Home
last modified time | relevance | path

Searched refs:isInt (Results 1 – 25 of 107) sorted by relevance

12345

/external/chromium_org/chrome/common/extensions/docs/examples/api/tabs/inspector/
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(retval.width))
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonOperands.td71 return isInt<32>(v);
100 return isInt<16>(v);
108 return isInt<13>(v);
116 return isInt<12>(v);
123 return isInt<11>(v);
155 return isInt<10>(v);
163 return isInt<9>(v);
170 return isInt<9>(v) && (v != -256);
177 return isInt<8>(v);
185 return isInt<8>(v);
[all …]
DHexagonCopyToCombine.cpp135 (ShouldCombineAggressively || isInt<8>(MI->getOperand(1).getImm())); in isCombinableInstType()
162 !isInt<8>(I->getOperand(1).getImm()); in isGreaterThan8BitTFRI()
581 if (!isInt<8>(HiOperand.getImm())) { in emitCombineII()
582 assert(isInt<8>(LoOperand.getImm())); in emitCombineII()
590 assert(isInt<8>(HiOperand.getImm())); in emitCombineII()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp53 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); } in isZero()
63 bool isOne() const { return isInt() && IntVal == 1; } in isOne()
64 bool isTwo() const { return isInt() && IntVal == 2; } in isTwo()
65 bool isMinusOne() const { return isInt() && IntVal == -1; } in isMinusOne()
66 bool isMinusTwo() const { return isInt() && IntVal == -2; } in isMinusTwo()
85 bool isInt() const { return !IsFp; } in isInt() function in __anone749529f0111::FAddendCoef
212 if (isInt()) { in set()
223 if (!isInt()) in convertToFpType()
247 if (That.isInt()) in operator =()
255 if (isInt() == That.isInt()) { in operator +=()
[all …]
/external/llvm/lib/Target/Sparc/
DSparcJITInfo.cpp128 if (isInt<13>(Addr)) { in emitInstrForIndirectJump()
146 if (Addr < 0 && isInt<33>(Addr)) { in emitInstrForIndirectJump()
198 if (isInt<22>(diff)) { in SparcCompilationCallbackC()
241 if (isInt<22>(diff)) { in emitFunctionStub()
DSparcISelDAGToDAG.cpp89 if (isInt<13>(CN->getSExtValue())) { in SelectADDRri()
127 if (isInt<13>(CN->getSExtValue())) in SelectADDRrr()
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
DCSSParserValues.h142 bool isInt; member
262 isInt = false; in setFromNumber()
275 isInt = false; in setFromFunction()
283 isInt = false; in setFromValueList()
DCSSGrammar.y136 v.isInt = false; in makeOperatorValue()
146 v.isInt = false; in makeIdentValue()
1617 …| STRING maybe_space { $$.id = CSSValueInvalid; $$.isInt = false; $$.string = $1; $$.unit = CSSPri…
1620 …| DIMEN maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.isInt = false; $$.unit = CSSPrim…
1621 …| unary_operator DIMEN maybe_space { $$.id = CSSValueInvalid; $$.string = $2; $$.isInt = false; $$…
1622 …| URI maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.isInt = false; $$.unit = CSSPrimit…
1623 …| UNICODERANGE maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.isInt = false; $$.unit = …
1624 …| HEX maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.isInt = false; $$.unit = CSSPrimit…
1625 …| '#' maybe_space { $$.id = CSSValueInvalid; $$.string = CSSParserString(); $$.isInt = false; $$.u…
1630 $$.id = CSSValueInvalid; $$.isInt = false; $$.unit = 0;
[all …]
DMediaQueryParser.cpp243 value.isInt = (token.numericValueType() == IntegerValueType); in addParserValue()
248 value.isInt = false; in addParserValue()
/external/llvm/lib/Target/SystemZ/InstPrinter/
DSystemZInstPrinter.cpp71 assert(isInt<8>(Value) && "Invalid s8imm argument"); in printS8ImmOperand()
85 assert(isInt<16>(Value) && "Invalid s16imm argument"); in printS16ImmOperand()
99 assert(isInt<32>(Value) && "Invalid s32imm argument"); in printS32ImmOperand()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp152 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost()
155 if (isInt<32>(Imm.getSExtValue())) { in getIntImmCost()
184 if ((Idx == 1) && Imm.getBitWidth() <= 64 && isInt<16>(Imm.getSExtValue())) in getIntImmCost()
248 if (isInt<16>(Imm.getSExtValue())) in getIntImmCost()
/external/llvm/lib/Target/Mips/
DMips16InstrInfo.cpp219 if (isInt<16>(-Remainder)) in makeFrame()
245 if (isInt<16>(Remainder)) in restoreFrame()
300 if (isInt<16>(Amount)) // need to change to addiu sp, ....and isInt<16> in adjustStackPtr()
476 return isInt<16>(Amount); in validImmediate()
479 return isInt<16>(Amount); in validImmediate()
480 return isInt<15>(Amount); in validImmediate()
DMipsSERegisterInfo.cpp161 if (OffsetBitSize < 16 && isInt<16>(Offset) && in eliminateFI()
181 } else if (!isInt<16>(Offset)) { in eliminateFI()
DMips16InstrInfo.h94 return ((offset & 7) == 0) && isInt<11>(offset); in validSpImm8()
/external/llvm/include/llvm/Support/
DMathExtras.h272 inline bool isInt(int64_t x) { in isInt() function
277 inline bool isInt<8>(int64_t x) {
281 inline bool isInt<16>(int64_t x) {
285 inline bool isInt<32>(int64_t x) {
293 return isInt<N+S>(x) && (x % (1<<S) == 0); in isShiftedInt()
/external/chromium_org/third_party/WebKit/Source/core/css/
DMediaQueryExp.cpp128 if (!value->isInt || value->fValue < 0) in featureWithPositiveInteger()
155 if (!value->isInt || !(value->fValue == 1 || !value->fValue)) in featureWithZeroOrOne()
273 … if (i != 1 && value->unit == CSSPrimitiveValue::CSS_NUMBER && value->fValue > 0 && value->isInt) { in createIfValid()
/external/deqp/framework/opengl/
DgluTextureUtil.cpp51 bool isInt = false; in getTransferFormat() local
62 isInt = true; in getTransferFormat()
66 isInt = false; in getTransferFormat()
75 case TextureFormat::R: format = isInt ? GL_RED_INTEGER : GL_RED; break; in getTransferFormat()
76 case TextureFormat::RG: format = isInt ? GL_RG_INTEGER : GL_RG; break; in getTransferFormat()
77 case TextureFormat::RGB: format = isInt ? GL_RGB_INTEGER : GL_RGB; break; in getTransferFormat()
78 case TextureFormat::RGBA: format = isInt ? GL_RGBA_INTEGER : GL_RGBA; break; in getTransferFormat()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelDAGToDAG.cpp340 if (isInt<8>(OffsetNode->getZExtValue() >> 2)) { in SelectADDR8BitOffset()
362 && isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ()
369 && isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DAMDILISelDAGToDAG.cpp340 if (isInt<8>(OffsetNode->getZExtValue() >> 2)) { in SelectADDR8BitOffset()
362 && isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ()
369 && isInt<16>(IMMOffset->getZExtValue())) { in SelectADDRVTX_READ()
/external/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.cpp757 isInt<8>(MI->getOperand(2).getImm()) && in foldMemoryOperandImpl()
778 isInt<8>(MI->getOperand(2).getImm())) { in foldMemoryOperandImpl()
1135 if (isInt<20>(Offset) && isInt<20>(Offset2)) { in getOpcodeForOffset()
1214 return MI && isInt<8>(MI->getOperand(1).getImm()) ? SystemZ::CIJ : 0; in getCompareAndBranch()
1216 return MI && isInt<8>(MI->getOperand(1).getImm()) ? SystemZ::CGIJ : 0; in getCompareAndBranch()
1235 if (isInt<16>(Value)) in loadImmediate()
1243 assert(isInt<32>(Value) && "Huge values not handled yet"); in loadImmediate()
DSystemZOperands.td238 return isInt<8>(N->getSExtValue());
248 return isInt<16>(N->getSExtValue());
327 return isInt<8>(N->getSExtValue());
335 return isInt<16>(N->getSExtValue());
343 return isInt<32>(N->getSExtValue());
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCCodeEmitter.cpp143 assert(isUInt<4>(Base) && isInt<20>(Disp)); in getBDAddr20Encoding()
165 assert(isUInt<4>(Base) && isInt<20>(Disp) && isUInt<4>(Index)); in getBDXAddr20Encoding()
/external/clang/include/clang/AST/
DAPValue.h182 bool isInt() const { return Kind == Int; } in isInt() function
201 assert(isInt() && "Invalid accessor"); in getInt()
348 assert(isInt() && "Invalid accessor"); in setInt()
/external/clang/test/PCH/
Dcxx-templates.h88 bool isInt(int x);
90 template<> bool isInt<8>(int x) {
/external/llvm/lib/CodeGen/AsmPrinter/
DDebugLocEntry.h80 bool isInt() const { return EntryKind == E_Integer; } in isInt() function

12345