Home
last modified time | relevance | path

Searched refs:isSymbol (Results 1 – 25 of 38) sorted by relevance

12

/third_party/node/deps/npm/node_modules/is-symbol/test/
Dindex.js4 var isSymbol = require('../index'); variable
36 t.equal(false, isSymbol(nonSymbol), debug(nonSymbol, 'is not a symbol'));
44 st.equal(false, isSymbol(fakeSymbol), 'object with valueOf returning a symbol is not a symbol');
51 …st.equal(false, isSymbol(fakeSymbol), 'object with fake Symbol @@toStringTag and valueOf returning…
54 …st.equal(false, isSymbol(notSoFakeSymbol), 'object with fake Symbol @@toStringTag and valueOf not …
59 …t.equal(false, isSymbol(fakeSymbolString), 'object with toString returning Symbol(foo) is not a sy…
72 st.equal(true, isSymbol(sym), debug(sym, ' is a symbol'));
85 st.equal(true, isSymbol(sym), debug(sym, ' is a symbol'));
/third_party/node/deps/npm/node_modules/is-symbol/
DREADME.md18 var isSymbol = require('is-symbol');
19 assert(!isSymbol(function () {}));
20 assert(!isSymbol(null));
21 assert(!isSymbol(function* () { yield 42; return Infinity; });
23 assert(isSymbol(Symbol.iterator));
24 assert(isSymbol(Symbol('foo')));
25 assert(isSymbol(Symbol.for('foo')));
26 assert(isSymbol(Object(Symbol('foo'))));
Dindex.js16 module.exports = function isSymbol(value) { function
31 module.exports = function isSymbol(value) {
/third_party/node/deps/npm/node_modules/core-util-is/
Dtest.js30 assert.equal(t.isSymbol(null), false);
31 assert.equal(t.isSymbol('1'), false);
32 assert.equal(t.isSymbol(1), false);
33 assert.equal(t.isSymbol(Symbol()), true);
/third_party/node/deps/npm/node_modules/core-util-is/lib/
Dutil.js58 function isSymbol(arg) { function
61 exports.isSymbol = isSymbol;
/third_party/node/deps/npm/node_modules/es-to-primitive/
Des2015.js8 var isSymbol = require('is-symbol'); variable
60 } else if (isSymbol(input)) {
71 if (hint === 'default' && (isDate(input) || isSymbol(input))) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyUtilities.cpp53 assert(MO.isGlobal() || MO.isSymbol()); in mayThrow()
55 if (MO.isSymbol()) { in mayThrow()
DWebAssemblyPeephole.cpp155 if (Op1.isSymbol()) { in runOnMachineFunction()
DWebAssemblyMemIntrinsicResults.cpp155 if (!Op1.isSymbol()) in optimizeCall()
/third_party/node/test/parallel/
Dtest-util.js142 assert.strictEqual(util.isSymbol(Symbol()), true);
143 assert.strictEqual(util.isSymbol(), false);
144 assert.strictEqual(util.isSymbol('string'), false);
/third_party/node/lib/
Dutil.js118 function isSymbol(arg) { function
352 isSymbol, property
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineOperand.h339 bool isSymbol() const { return OpKind == MO_ExternalSymbol; } in isSymbol() function
599 assert((isGlobal() || isSymbol() || isMCSymbol() || isCPI() || in getOffset()
607 assert(isSymbol() && "Wrong MachineOperand accessor"); in getSymbolName()
669 assert((isGlobal() || isSymbol() || isMCSymbol() || isCPI() || in setOffset()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64CleanupLocalDynamicTLSPass.cpp72 if (!I->getOperand(0).isSymbol() || in VisitNode()
DAArch64MCInstLower.cpp130 assert(MO.isSymbol() && in lowerSymbolOperandELF()
DAArch64ExpandPseudoInsts.cpp493 } else if (MO1.isSymbol()) { in expandMI()
527 } else if (MO1.isSymbol()) { in expandMI()
DAArch64FalkorHWPFFix.cpp666 else if (LI.OffsetOpnd->isGlobal() || LI.OffsetOpnd->isSymbol() || in getTag()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DRegUsageInfoPropagate.cpp94 if (MO.isSymbol()) in findCalledFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp209 return MO.isImm() || MO.isCPI() || MO.isJTI() || MO.isSymbol() || in isValidDispOp()
221 (MO1.isSymbol() && MO2.isSymbol() && in isSimilarDispOp()
DX86ExpandPseudo.cpp250 assert(JumpTarget.isSymbol()); in ExpandMI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXReplaceImageHandles.cpp153 assert(TexHandleDef.getOperand(6).isSymbol() && "Load is not a symbol!"); in findIndexForHandle()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp52 assert(MO.isSymbol() && "Isn't a symbol reference"); in GetSymbolFromOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DRDFGraph.cpp233 return Op.isMBB() || Op.isGlobal() || Op.isSymbol(); in operator <<()
241 else if (T->isSymbol()) in operator <<()
624 if (O.isGlobal() || O.isSymbol()) in isFixedReg()
1257 if (Op.isGlobal() || Op.isSymbol()) in buildStmt()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcAsmPrinter.cpp299 if (MO.isGlobal() || MO.isSymbol() || MO.isCPI()) { in printOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp503 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?"); in EmitInlineAsm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsCallLowering.cpp616 Info.Callee.isSymbol() ? Info.Callee.getSymbolName() : nullptr; in lowerCall()

12