Home
last modified time | relevance | path

Searched refs:isLiteral (Results 1 – 25 of 60) sorted by relevance

123

/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dprefer-for-of.ts37 function isLiteral(node: TSESTree.Expression, value: number): boolean { function
42 return node.init !== null && isLiteral(node.init, 0);
83 return isLiteral(node.right, 1);
91 isLiteral(expr.right, 1)) ||
92 (isLiteral(expr.left, 1) &&
Dno-inferrable-types.ts66 function isLiteral(init: TSESTree.Expression, typeName: string): boolean { function
134 isLiteral(init, 'boolean')
145 isLiteral(unwrappedInit, 'number')
156 isLiteral(init, 'string') ||
Dno-unnecessary-condition.ts57 const isLiteral = (type: ts.Type): boolean => constant
318 if (isLiteral(leftType) && isLiteral(rightType)) {
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dutil.cpp299 UBool isLiteral, in appendToRule() argument
305 if (isLiteral || in appendToRule()
388 UBool isLiteral, in appendToRule() argument
392 appendToRule(rule, text[i], isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
Dutil.h225 UBool isLiteral,
231 UBool isLiteral,
/third_party/node/deps/icu-small/source/common/
Dutil.cpp323 UBool isLiteral, in appendToRule() argument
329 if (isLiteral || in appendToRule()
412 UBool isLiteral, in appendToRule() argument
416 appendToRule(rule, text[i], isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
Dutil.h244 UBool isLiteral,
250 UBool isLiteral,
/third_party/skia/third_party/externals/icu/source/common/
Dutil.cpp309 UBool isLiteral, in appendToRule() argument
315 if (isLiteral || in appendToRule()
398 UBool isLiteral, in appendToRule() argument
402 appendToRule(rule, text[i], isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
Dutil.h234 UBool isLiteral,
240 UBool isLiteral,
/third_party/icu/icu4c/source/common/
Dutil.cpp309 UBool isLiteral, in appendToRule() argument
315 if (isLiteral || in appendToRule()
398 UBool isLiteral, in appendToRule() argument
402 appendToRule(rule, text[i], isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
Dutil.h234 UBool isLiteral,
240 UBool isLiteral,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamWriter.h259 assert(Op.isLiteral() && "Not a literal"); in EmitAbbreviatedLiteral()
270 assert(!Op.isLiteral() && "Literals should use EmitAbbreviatedLiteral!"); in EmitAbbreviatedField()
311 if (Op.isLiteral()) in EmitRecordWithAbbrevImpl()
324 if (Op.isLiteral()) { in EmitRecordWithAbbrevImpl()
477 Emit(Op.isLiteral(), 1); in EncodeAbbrev()
478 if (Op.isLiteral()) { in EncodeAbbrev()
DBitCodes.h112 bool isLiteral() const { return IsLiteral; } in isLiteral() function
116 uint64_t getLiteralValue() const { assert(isLiteral()); return Val; } in getLiteralValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Bitstream/Reader/
DBitstreamReader.cpp69 assert(!Op.isLiteral() && "Not to be used with literals!"); in readAbbreviatedField()
114 if (CodeOp.isLiteral()) in skipRecord()
130 if (Op.isLiteral()) in skipRecord()
232 if (CodeOp.isLiteral()) in readRecord()
246 if (Op.isLiteral()) { in readRecord()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUtilityExtensions.java29 boolean isLiteral, in appendToRule() argument
34 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
DUtility.java1557 boolean isLiteral,
1563 if (isLiteral ||
1649 boolean isLiteral,
1654 appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf);
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/
DUtilityExtensions.java27 boolean isLiteral, in appendToRule() argument
32 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
/third_party/skia/src/sksl/ir/
DSkSLPrefixExpression.cpp206 if (baseType.isLiteral()) { in Convert()
249 SkASSERT(!base->type().isLiteral()); in Make()
DSkSLVariable.cpp68 if (type->isLiteral()) { in MakeScratchVariable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DMetaRenamer.cpp117 if (STy->isLiteral() || STy->getName().empty()) continue; in runOnModule()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUtility.java1554 boolean isLiteral,
1560 if (isLiteral ||
1646 boolean isLiteral,
1651 appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf);
/third_party/mesa3d/src/amd/compiler/
Daco_ir.cpp210 if (instr->operands[i].isLiteral()) in can_use_SDWA()
221 if (instr->operands[0].isLiteral()) in can_use_SDWA()
302 if (instr->operands.size() && instr->operands[0].isLiteral()) in can_use_DPP()
Daco_optimizer.cpp200 if (chip >= GFX8 && !op16.isLiteral() && op16.constantValue64() == constant) in set_constant()
203 if (!op32.isLiteral()) in set_constant()
486 if (instr->operands.size() && instr->operands[0].isLiteral() && ctx.program->chip_class < GFX10) in can_use_VOP3()
681 } else if (op.isLiteral()) { in check_vop3_operands()
2406 if (instr->operands[!i].isLiteral() && op2_instr->operands[0].isLiteral() && in combine_salu_n2()
2447 if (instr->operands[!i].isLiteral() && op2_instr->operands[0].isLiteral() && in combine_salu_lshl_add()
2482 (instr->operands[!i].isConstant() && !instr->operands[!i].isLiteral())) { in combine_add_sub_b2i()
2706 if (instr->operands[i].isLiteral()) in apply_sgprs()
2979 (instr->operands[!i].isConstant() && !instr->operands[!i].isLiteral())) { in combine_and_subbrev()
3309 if (mul_instr->operands[0].isLiteral()) in combine_instruction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitCodes.h141 bool isLiteral() const { return Enc == Literal; } in isLiteral() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DStripSymbols.cpp181 if (STy->isLiteral() || STy->getName().empty()) continue; in StripTypeNames()

123