/third_party/node/deps/v8/third_party/wasm-api/example/ |
H A D | table.c | 21 wasm_table_t* get_export_table(const wasm_extern_vec_t* exports, size_t i) { in get_export_table() argument 22 if (exports->size <= i || !wasm_extern_as_table(exports->data[i])) { in get_export_table() 26 return wasm_extern_as_table(exports->data[i]); in get_export_table() 29 wasm_func_t* get_export_func(const wasm_extern_vec_t* exports, size_t i) { in get_export_func() argument 30 if (exports->size <= i || !wasm_extern_as_func(exports->data[i])) { in get_export_func() 34 return wasm_extern_as_func(exports->data[i]); in get_export_func() 121 printf("Extracting exports...\n"); in main() 122 own wasm_extern_vec_t exports; in main() local [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/ |
H A D | sigstore_trustroot.js | 2 Object.defineProperty(exports, "__esModule", { value: true }); 3 exports.TrustedRoot = exports.CertificateAuthority = exports.TransparencyLogInstance = void 0; 9 exports.TransparencyLogInstance = { 31 exports.CertificateAuthority = { 55 exports.TrustedRoot = { 59 tlogs: Array.isArray(object?.tlogs) ? object.tlogs.map((e) => exports.TransparencyLogInstance.fromJSON(e)) : [], 61 ? object.certificateAuthorities.map((e) => exports.CertificateAuthority.fromJSON(e)) 64 ? object.ctlogs.map((e) => exports [all...] |
H A D | sigstore_rekor.js | 2 Object.defineProperty(exports, "__esModule", { value: true }); 3 exports.TransparencyLogEntry = exports.InclusionPromise = exports.InclusionProof = exports.Checkpoint = exports.KindVersion = void 0; 9 exports.KindVersion = { 26 exports.Checkpoint = { 39 exports.InclusionProof = { 46 checkpoint: isSet(object.checkpoint) ? exports [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | shorthandOfExportedEntity01_targetES2015_CommonJS.js | 11 Object.defineProperty(exports, "__esModule", { value: true });
12 exports.foo = exports.test = void 0;
13 exports.test = "test";
15 const x = { test: exports.test };
17 exports.foo = foo;
|
H A D | shorthandOfExportedEntity02_targetES5_CommonJS.js | 11 Object.defineProperty(exports, "__esModule", { value: true });
12 exports.foo = exports.test = void 0;
13 exports.test = "test";
15 var x = { test: exports.test };
17 exports.foo = foo;
|
H A D | exportObjectRest(module=amd,target=es5).js | 5 define(["require", "exports"], function (require, exports) {
8 Object.defineProperty(exports, "__esModule", { value: true });
9 exports.rest = exports.x = void 0;
10 exports.x = (_a = { x: 'x', y: 'y' }, _a).x, exports.rest = __rest(_a, ["x"]);
|
H A D | exportObjectRest(module=amd,target=esnext).js | 5 define(["require", "exports"], function (require, exports) {
8 Object.defineProperty(exports, "__esModule", { value: true });
9 exports.rest = exports.x = void 0;
10 _a = { x: 'x', y: 'y' }, exports.x = _a.x, exports.rest = __rest(_a, ["x"]);
|
H A D | globalThisDeclarationEmit.js | 12 exports.__esModule = true;
13 exports.variable = void 0;
14 exports.variable = globalThis;
17 exports.__esModule = true;
18 exports.globalThis = void 0;
20 exports.globalThis = variable_1.variable;
|
H A D | commonJSImportNotAsPrimaryExpression.js | 36 exports.__esModule = true;
37 exports.E1 = exports.C1 = void 0;
45 exports.C1 = C1;
51 })(E1 = exports.E1 || (exports.E1 = {}));
54 exports.__esModule = true;
|
H A D | declarationEmitRetainsJsdocyComments.js | 49 exports.__esModule = true;
50 exports.someMethod = exports.Foo = exports.foo = void 0;
69 exports.foo = foo;
81 exports.Foo = Foo;
85 exports.someMethod = null.someMethod;
|
H A D | nodeModulesAllowJsImportHelpersCollisions3(module=node16).js | 35 Object.defineProperty(exports, "__esModule", { value: true });
36 exports.baz = exports.foo = exports.default = void 0;
39 Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(fs_1).default; } });
41 Object.defineProperty(exports, "foo", { enumerable: true, get: function () { return __importDefault(fs_2).default; } });
43 Object.defineProperty(exports, "baz", { enumerable: true, get: function () { return fs_3.bar; } });
|
H A D | nodeModulesAllowJsImportHelpersCollisions3(module=nodenext).js | 35 Object.defineProperty(exports, "__esModule", { value: true });
36 exports.baz = exports.foo = exports.default = void 0;
39 Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(fs_1).default; } });
41 Object.defineProperty(exports, "foo", { enumerable: true, get: function () { return __importDefault(fs_2).default; } });
43 Object.defineProperty(exports, "baz", { enumerable: true, get: function () { return fs_3.bar; } });
|
H A D | internalAliasEnumInsideLocalModuleWithExport.js | 18 exports.__esModule = true;
19 exports.c = exports.a = void 0;
28 })(a = exports.a || (exports.a = {}));
33 })(c = exports.c || (exports.c = {}));
|
H A D | internalAliasEnumInsideLocalModuleWithoutExport.js | 18 exports.__esModule = true;
19 exports.c = exports.a = void 0;
28 })(a = exports.a || (exports.a = {}));
33 })(c = exports.c || (exports.c = {}));
|
H A D | internalAliasFunctionInsideLocalModuleWithExport.js | 17 exports.__esModule = true;
18 exports.c = exports.a = void 0;
25 })(a = exports.a || (exports.a = {}));
31 })(c = exports.c || (exports.c = {}));
|
H A D | internalAliasInitializedModuleInsideLocalModuleWithoutExport.js | 16 exports.__esModule = true;
17 exports.c = exports.a = void 0;
29 })(a = exports.a || (exports.a = {}));
34 })(c = exports.c || (exports.c = {}));
|
H A D | unionWithIndexSignature.js | 32 exports.__esModule = true;
33 exports.flatten = exports.isTypedArray = exports.foo = void 0;
37 exports.foo = foo;
41 exports.isTypedArray = isTypedArray;
47 exports.flatten = flatten;
|
H A D | declFileAliasUseBeforeDeclaration.js | 12 exports.__esModule = true;
13 exports.Foo = void 0;
19 exports.Foo = Foo;
22 exports.__esModule = true;
23 exports.bar = void 0;
25 exports.bar = bar;
|
/foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
H A D | init.cpp | 41 napi_value InitApi(napi_env env, napi_value exports) in InitApi() argument 53 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in InitApi() 56 InitNetworkType(env, exports); in InitApi() 57 InitChargingType(env, exports); in InitApi() 58 InitBatteryStatus(env, exports); in InitApi() 59 InitStorageRequest(env, exports); in InitApi() 61 return exports; in InitApi() 64 napi_value InitNetworkType(napi_env env, napi_value exports) in InitNetworkType() argument 100 napi_set_named_property(env, exports, "NetworkType", result); in InitNetworkType() 101 return exports; in InitNetworkType() 119 InitChargingType(napi_env env, napi_value exports) InitChargingType() argument 166 InitBatteryStatus(napi_env env, napi_value exports) InitBatteryStatus() argument 208 InitStorageRequest(napi_env env, napi_value exports) InitStorageRequest() argument [all...] |
/third_party/node/lib/ |
H A D | domain.js | 156 if (exports.active && domain) 171 exports._stack = stack; 209 exports.active = process.domain = null; 227 exports.Domain = Domain; 229 exports.create = exports.createDomain = function createDomain() { 234 exports.active = null; 255 while (exports.active === this) { 302 exports.active = process.domain = stack[stack.length - 1]; 323 exports [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/ |
H A D | entry_point.cpp | 26 static napi_value Init(napi_env env, napi_value exports) in Init() argument 31 napi_status status = napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in Init() 34 status = napi_set_named_property(env, exports, "FieldNode", JsFieldNode::Constructor(env)); in Init() 37 status = napi_set_named_property(env, exports, "Schema", JsSchema::Constructor(env)); in Init() 40 status = napi_set_named_property(env, exports, "Query", JsQuery::Constructor(env)); in Init() 43 status = InitConstProperties(env, exports); in Init() 45 return exports; in Init()
|
/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A D | entry_point.cpp | 26 static napi_value Init(napi_env env, napi_value exports) in Init() argument 31 napi_status status = napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in Init() 34 status = napi_set_named_property(env, exports, "FieldNode", JsFieldNode::Constructor(env)); in Init() 37 status = napi_set_named_property(env, exports, "Schema", JsSchema::Constructor(env)); in Init() 40 status = napi_set_named_property(env, exports, "Query", JsQuery::Constructor(env)); in Init() 43 status = InitConstProperties(env, exports); in Init() 45 return exports; in Init()
|
/foundation/communication/netstack/frameworks/js/napi/http/http_module/src/ |
H A D | http_module.cpp | 53 napi_value HttpModuleExports::InitHttpModule(napi_env env, napi_value exports) in InitHttpModule() argument 55 DefineHttpRequestClass(env, exports); in InitHttpModule() 56 DefineHttpResponseCacheClass(env, exports); in InitHttpModule() 57 InitHttpProperties(env, exports); in InitHttpModule() 66 return exports; in InitHttpModule() 97 void HttpModuleExports::DefineHttpRequestClass(napi_env env, napi_value exports) 107 ModuleTemplate::DefineClass(env, exports, properties, INTERFACE_HTTP_REQUEST); 110 void HttpModuleExports::DefineHttpResponseCacheClass(napi_env env, napi_value exports) 116 ModuleTemplate::DefineClass(env, exports, properties, INTERFACE_HTTP_RESPONSE_CACHE); 119 void HttpModuleExports::InitHttpProperties(napi_env env, napi_value exports) [all...] |
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/ |
H A D | cloud_sync_n_exporter.h | 22 void InitCloudSyncState(napi_env env, napi_value exports); 23 void InitFileSyncState(napi_env env, napi_value exports); 24 void InitErrorType(napi_env env, napi_value exports); 25 void InitDownloadErrorType(napi_env env, napi_value exports); 26 void InitNotifyType(napi_env env, napi_value exports); 27 void InitCloudSyncFuncs(napi_env env, napi_value exports);
|
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_share/ |
H A D | fileshare_n_exporter.h | 23 void InitOperationMode(napi_env env, napi_value exports); 24 void InitPolicyFlag(napi_env env, napi_value exports); 25 void InitPolicyInfo(napi_env env, napi_value exports); 26 void InitPolicyErrorResult(napi_env env, napi_value exports); 27 void InitPolicyErrorCode(napi_env env, napi_value exports); 28 napi_value FileShareExport(napi_env env, napi_value exports);
|