Home
last modified time | relevance | path

Searched refs:doesNotThrow (Results 1 – 25 of 40) sorted by relevance

12

/third_party/node/deps/npm/node_modules/is-core-module/test/
Dindex.js35 st.doesNotThrow(requireFunc, mod + ' supported; requiring does not throw');
52 st.doesNotThrow(
58 st.doesNotThrow(
94 st.doesNotThrow(
100 st.doesNotThrow(
/third_party/node/test/parallel/
Dtest-assert.js145 a.doesNotThrow(() => thrower(TypeError), a.AssertionError);
157 a.doesNotThrow(() => thrower(TypeError), TypeError);
167 () => a.doesNotThrow(() => thrower(Error), 'user message'),
178 () => a.doesNotThrow(() => thrower(Error)),
186 () => a.doesNotThrow(() => thrower(Error), /\[[a-z]{6}\s[A-z]{6}\]/g, 'user message'),
397 a.doesNotThrow(() => {
424 testBlockTypeError(assert.doesNotThrow, 'string');
426 testBlockTypeError(assert.doesNotThrow, 1);
428 testBlockTypeError(assert.doesNotThrow, true);
430 testBlockTypeError(assert.doesNotThrow, false);
[all …]
/third_party/node/benchmark/assert/
Dthrows.js4 const { throws, doesNotThrow } = require('assert');
21 doesNotThrow(doNotThrowError);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DEscapeEnumerator.cpp52 if (F.doesNotThrow()) in Next()
60 if (!CI->doesNotThrow()) in Next()
DInlineFunction.cpp533 if (!CI || CI->doesNotThrow() || isa<InlineAsm>(CI->getCalledValue())) in HandleCallsInBlockInlinedThroughInvoke()
1598 bool MarkNoUnwind = CS.doesNotThrow(); in InlineFunction()
2088 if (CalledFn && CalledFn->isIntrinsic() && CS.doesNotThrow()) in InlineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPruneEH.cpp93 SCCMightUnwind |= !F->doesNotThrow(); in runImpl()
96 bool CheckUnwind = !SCCMightUnwind && !F->doesNotThrow(); in runImpl()
193 if (II->doesNotThrow() && canSimplifyInvokeNoUnwind(F)) { in SimplifyFunction()
DFunctionAttrs.cpp703 if (F->onlyReadsMemory() && F->doesNotThrow() && in addArgumentAttrs()
1307 [](const Function &F) { return F.doesNotThrow(); }, in inferAttrsFromFunctionBodies()
/third_party/typescript/src/testRunner/unittests/
Dfactory.ts97 assert.doesNotThrow(() => factory.createConstructorDeclaration(
109 assert.doesNotThrow(() => factory.updateConstructorDeclaration(
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DStatepoint.h150 bool doesNotThrow() const { in doesNotThrow() function
152 return getCall()->doesNotThrow() || (F ? F->doesNotThrow() : false); in doesNotThrow()
DFunction.h544 bool doesNotThrow() const { in doesNotThrow() function
606 return hasUWTable() || !doesNotThrow() || hasPersonalityFn(); in needsUnwindTableEntry()
DCallSite.h518 bool doesNotThrow() const { in doesNotThrow() function
519 CALLSITE_DELEGATE_GETTER(doesNotThrow()); in doesNotThrow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyUtilities.cpp71 if (F->doesNotThrow()) in mayThrow()
DWebAssemblyRegStackify.cpp151 if (!F->doesNotThrow()) in queryCallee()
DWebAssemblyLowerEmscriptenEHSjLj.cpp307 return !F->doesNotThrow(); in canThrow()
/third_party/node/deps/npm/test/lib/utils/
Dlog-shim.js97 t.doesNotThrow(() => shim[k]('test'))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DFunction.h366 bool doesNotThrow() const { in doesNotThrow() function
412 return hasUWTable() || !doesNotThrow(); in needsUnwindTableEntry()
/third_party/node/lib/
Dassert.js921 assert.doesNotThrow = function doesNotThrow(fn, ...args) { function
922 expectsNoError(doesNotThrow, getActual(fn), ...args);
/third_party/node/deps/npm/node_modules/events/tests/
Dremove-all-listeners.js107 assert.doesNotThrow(function () { ee.removeAllListeners(ee, 'foo') });
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DMustExecute.cpp511 F.doesNotThrow(); in findForwardJoinPoint()
589 if (!F.hasFnAttribute(Attribute::WillReturn) || !F.doesNotThrow()) { in findForwardJoinPoint()
DCaptureTracking.cpp261 if (Call->onlyReadsMemory() && Call->doesNotThrow() && in PointerMayBeCaptured()
/third_party/parse5/packages/parse5/lib/parser/
Dparser-location-info.test.ts70 assert.doesNotThrow(() => {
/third_party/node/doc/api/
Dassert.md1058 [`assert.doesNotThrow()`][].
1102 ## `assert.doesNotThrow(fn[, error][, message])`
1123 Using `assert.doesNotThrow()` is actually not useful because there
1128 When `assert.doesNotThrow()` is called, it will immediately call the `fn`
1145 assert.doesNotThrow(
1156 assert.doesNotThrow(
1170 assert.doesNotThrow(
1181 assert.doesNotThrow(
1196 assert.doesNotThrow(
1209 assert.doesNotThrow(
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DEHStreamer.cpp193 MarkedNoUnwind = F->doesNotThrow(); in callToNoUnwindFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp595 return !CI->doesNotThrow(); in mayThrow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp630 return !CS.doesNotThrow(); in isStateStoreNeeded()

12