Home
last modified time | relevance | path

Searched defs:assert (Results 1 – 25 of 3448) sorted by relevance

12345678910>>...138

/third_party/typescript/tests/baselines/reference/
DnodeModulesImportTypeModeDeclarationEmitErrors1(module=node16).js18 & import("pkg", { assert: {"resolution-mode": "foobar"} }).RequireInterface property
19 & import("pkg", { assert: {"resolution-mode": "import"} }).ImportInterface; property
34 & import("pkg", { assert: {"bad": "require"} }).RequireInterface property
35 & import("pkg", { assert: {"bad": "import"} }).ImportInterface; property
49 type Asserts1 = { assert: {"resolution-mode": "require"} }; property
50 type Asserts2 = { assert: {"resolution-mode": "import"} }; property
60 & import("pkg", { assert: {} }).RequireInterface property
61 & import("pkg", { assert: {} }).ImportInterface; property
123 export type LocalInterface = import("pkg", { assert: {} }); property
127 export type LocalInterface = import("pkg", { assert: { "bad": "require" } }).RequireInterface & imp… property
[all …]
DnodeModulesImportTypeModeDeclarationEmitErrors1(module=nodenext).js18 & import("pkg", { assert: {"resolution-mode": "foobar"} }).RequireInterface property
19 & import("pkg", { assert: {"resolution-mode": "import"} }).ImportInterface; property
34 & import("pkg", { assert: {"bad": "require"} }).RequireInterface property
35 & import("pkg", { assert: {"bad": "import"} }).ImportInterface; property
49 type Asserts1 = { assert: {"resolution-mode": "require"} }; property
50 type Asserts2 = { assert: {"resolution-mode": "import"} }; property
60 & import("pkg", { assert: {} }).RequireInterface property
61 & import("pkg", { assert: {} }).ImportInterface; property
123 export type LocalInterface = import("pkg", { assert: {} }); property
127 export type LocalInterface = import("pkg", { assert: { "bad": "require" } }).RequireInterface & imp… property
[all …]
DimportAssertion1(module=es2015).js26 const b = import('./0', { assert: { type: "json" } }) property
27 const c = import('./0', { assert: { type: "json", ttype: "typo" } }) property
28 const d = import('./0', { assert: {} }) property
34 const h = import('./0', { assert: { type: "json" }},) property
58 const b = import('./0', { assert: { type: "json" } }); property
59 const c = import('./0', { assert: { type: "json", ttype: "typo" } }); property
60 const d = import('./0', { assert: {} }); property
65 const h = import('./0', { assert: { type: "json" } }); property
DimportAssertion1(module=esnext).js26 const b = import('./0', { assert: { type: "json" } }) property
27 const c = import('./0', { assert: { type: "json", ttype: "typo" } }) property
28 const d = import('./0', { assert: {} }) property
34 const h = import('./0', { assert: { type: "json" }},) property
58 const b = import('./0', { assert: { type: "json" } }); property
59 const c = import('./0', { assert: { type: "json", ttype: "typo" } }); property
60 const d = import('./0', { assert: {} }); property
65 const h = import('./0', { assert: { type: "json" } }); property
DparseAssertEntriesError.js18 & import("pkg", { assert: {1234, "resolution-mode": "require"} }).RequireInterface property
19 & import("pkg", { assert: {1234, "resolution-mode": "import"} }).ImportInterface; property
32 & import("pkg", { assert: { 1234: , "resolution-mode": "import" } }).ImportInterface; property
46 export type LocalInterface = import("pkg", { assert: {} }); property
DimportAssertion1(module=commonjs).js26 const b = import('./0', { assert: { type: "json" } }) property
27 const c = import('./0', { assert: { type: "json", ttype: "typo" } }) property
28 const d = import('./0', { assert: {} }) property
34 const h = import('./0', { assert: { type: "json" }},) property
DnodeModulesImportAssertions(module=nodenext).js7 const json2 = import("./package.json", { assert: { type: "json" } }); // should be fine property
20 const json2 = import("./package.json", { assert: { type: "json" } }); // should be fine property
DnodeModulesImportAssertions(module=node16).js7 const json2 = import("./package.json", { assert: { type: "json" } }); // should be fine property
20 const json2 = import("./package.json", { assert: { type: "json" } }); // should be fine property
DnodeModulesImportTypeModeDeclarationEmit1(module=nodenext).js18 & import("pkg", { assert: {"resolution-mode": "require"} }).RequireInterface property
19 & import("pkg", { assert: {"resolution-mode": "import"} }).ImportInterface; property
DnodeModulesImportTypeModeDeclarationEmit1(module=node16).js18 & import("pkg", { assert: {"resolution-mode": "require"} }).RequireInterface property
19 & import("pkg", { assert: {"resolution-mode": "import"} }).ImportInterface; property
/third_party/node/test/es-module/
Dtest-esm-assertionless-json-import.js12 { assert: { type: 'json' } } property
27 { assert: { type: 'json' } } property
42 { assert: { type: 'json' } } property
57 { assert: { type: 'json' } } property
72 { assert: { type: 'json' } } property
Dtest-esm-import-assertion-errors.mjs18 import('data:text/css,', { assert: { type: 'css' } }), property
28 import(jsModuleDataUrl, { assert: { type: 'json' } }), property
33 import(import.meta.url, { assert: { type: 'unsupported' } }), property
43 import(jsonModuleDataUrl, { assert: {} }), property
48 import(jsonModuleDataUrl, { assert: { foo: 'bar' } }), property
53 import(jsonModuleDataUrl, { assert: { type: 'unsupported' }}), property
Dtest-esm-dynamic-import-assertion.js8 import('../fixtures/empty.js', { assert: { type: 'json' } }), property
19 import('../fixtures/empty.js', { assert: { type: 'json' } }), property
28 import('../fixtures/empty.json', { assert: { type: 'json' } }), property
39 import('../fixtures/empty.json', { assert: { type: 'json' } }), property
Dtest-esm-import-assertion-errors.js17 import('data:text/css,', { assert: { type: 'css' } }), property
27 import(jsModuleDataUrl, { assert: { type: 'json' } }), property
32 import(jsModuleDataUrl, { assert: { type: 'unsupported' } }), property
42 import(jsonModuleDataUrl, { assert: {} }), property
47 import(jsonModuleDataUrl, { assert: { foo: 'bar' } }), property
52 import(jsonModuleDataUrl, { assert: { type: 'unsupported' }}), property
Dtest-esm-dynamic-import-assertion.mjs6 import('../fixtures/empty.js', { assert: { type: 'json' } }), property
17 import('../fixtures/empty.js', { assert: { type: 'json' } }), property
26 import('../fixtures/empty.json', { assert: { type: 'json' } }), property
37 import('../fixtures/empty.json', { assert: { type: 'json' } }), property
Dtest-esm-data-urls.js4 const assert = require('assert'); constant
63 { assert: { type: 'json' } }); property
70 },0`, { assert: { type: 'json' } }); property
77 { assert: { type: 'json' } }), { property
85 const ns = await import(plainESMURL, { assert: { type: 'json' } }); property
92 const ns = await import(plainESMURL, { assert: { type: 'json' } }); property
/third_party/rust/crates/bindgen/bindgen-integration/cpp/
DTest.cc48 First::assert(unsigned char first, in assert() function in bitfields::First
58 Second::assert(int first, bool second) in assert() function in bitfields::Second
64 Third::assert(int first, bool second, ItemKind third) in assert() function in bitfields::Third
72 Fourth::assert(MyEnum tag, unsigned long ptr) in assert() function in bitfields::Fourth
78 Date2::assert(unsigned short nWeekDay, in assert() function in bitfields::Date2
92 Fifth::assert(unsigned short nWeekDay, in assert() function in bitfields::Fifth
106 Sixth::assert(unsigned char byte, in assert() function in bitfields::Sixth
117 Seventh::assert(bool first, in assert() function in bitfields::Seventh
/third_party/node/test/addons/non-node-context/
Dtest-perf-hooks-timerify.js4 const assert = require('assert'); constant
16 `, { performance, assert }); field
/third_party/musl/ndk_musl_include/
Dassert.h6 #define assert(x) (void)0 macro
8 #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) macro
/third_party/musl/porting/uniproton/kernel/include/
Dassert.h6 #define assert(x) (void)0 macro
8 #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) macro
/third_party/musl/porting/liteos_m/kernel/include/
Dassert.h6 #define assert(x) (void)0 macro
8 #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) macro
/third_party/musl/include/
Dassert.h6 #define assert(x) (void)0 macro
8 #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) macro
/third_party/musl/porting/liteos_a/kernel/include/
Dassert.h6 #define assert(x) (void)0 macro
8 #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0))) macro
/third_party/node/test/parallel/
Dtest-async-local-storage-contexts.js4 const assert = require('assert'); constant
12 assert field
/third_party/typescript/tests/cases/conformance/controlFlow/
DassertionTypePredicates1.ts76 export declare function assert(value: unknown, message?: string): asserts value; function
100 assert(value: unknown): asserts value { method in Debug.Test
173 const assert = (value: unknown): asserts value => {} constant

12345678910>>...138