/foundation/communication/bluetooth/frameworks/js/napi/src/pan/ |
H A D | napi_bluetooth_pan.cpp | 47 void NapiBluetoothPan::DefinePanJSClass(napi_env env, napi_value exports) in DefinePanJSClass() argument 71 DefineCreateProfile(env, exports); in DefinePanJSClass() 84 napi_value NapiBluetoothPan::DefineCreateProfile(napi_env env, napi_value exports) in DefineCreateProfile() argument 90 napi_define_properties(env, exports, sizeof(properties) / sizeof(properties[0]), properties); in DefineCreateProfile() 91 return exports; in DefineCreateProfile()
|
/foundation/communication/bluetooth/frameworks/js/napi/src/socket/ |
H A D | napi_bluetooth_spp_server.cpp | 28 void DefineSppFunctions(napi_env env, napi_value exports) in DefineSppFunctions() argument 30 SppPropertyValueInit(env, exports); in DefineSppFunctions() 44 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc); in DefineSppFunctions() 66 void SppPropertyValueInit(napi_env env, napi_value exports) in SppPropertyValueInit() argument 73 napi_define_properties(env, exports, sizeof(exportFuncs) / sizeof(*exportFuncs), exportFuncs); in SppPropertyValueInit()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/ui_effect/src/ |
H A D | filter_napi.cpp | 71 napi_value FilterNapi::Init(napi_env env, napi_value exports) in Init() argument 98 status = napi_set_named_property(env, exports, CLASS_NAME.c_str(), constructor); in Init() 101 status = napi_define_properties(env, exports, UIEFFECT_ARRAY_SIZE(static_prop), static_prop); in Init() 105 napi_set_named_property(env, exports, "TileMode", tileModeFormat); in Init() 106 return exports; in Init()
|
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/selectors/ |
H A D | container.js | 3 exports.__esModule = true; 4 exports["default"] = void 0; 307 exports["default"] = Container; 308 module.exports = exports.default
|
/commonlibrary/ets_utils/js_sys_module/process/ |
H A D | native_module_process.cpp | 656 static napi_value ProcessInit(napi_env env, napi_value exports)
in ProcessInit() argument 675 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc);
in ProcessInit() 676 return exports;
in ProcessInit() 678 static napi_value Init(napi_env env, napi_value exports)
in Init() argument 709 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc));
in Init() 710 ProcessInit(env, exports);
in Init() 723 NAPI_CALL(env, napi_set_named_property(env, exports, "obj", obj));
in Init() 725 return exports;
in Init()
|
/commonlibrary/utils_lite/js/builtin/deviceinfokit/src/ |
H A D | nativeapi_deviceinfo.cpp | 67 void InitDeviceModule(JSIValue exports)
in InitDeviceModule() argument 69 JSI::SetModuleAPI(exports, "getInfo", NativeapiDeviceInfo::GetDeviceInfo);
in InitDeviceModule()
|
/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/ |
H A D | feature_ability.h | 28 * @param exports An empty object via the exports parameter as a convenience. 30 * @return The return value from Init is treated as the exports object for the module. 32 napi_value FeatureAbilityInit(napi_env env, napi_value exports); 247 napi_value JsFeatureAbilityInit(napi_env env, napi_value exports);
|
/foundation/communication/bluetooth/frameworks/js/napi/src/audio_manager/ |
H A D | napi_bluetooth_audio_manager.cpp | 37 void NapiBluetoothAudioManager::DefineSystemWearDetectionInterface(napi_env env, napi_value exports)
in DefineSystemWearDetectionInterface() argument 46 napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc);
in DefineSystemWearDetectionInterface()
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_watcher/ |
H A D | watcher_n_exporter.cpp | 139 WatcherNExporter::WatcherNExporter(napi_env env, napi_value exports) : NExporter(env, exports) {} in WatcherNExporter() argument
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_readeriterator/ |
H A D | readeriterator_n_exporter.cpp | 118 ReaderIteratorNExporter::ReaderIteratorNExporter(napi_env env, napi_value exports) : NExporter(env, exports) {} in ReaderIteratorNExporter() argument
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_tasksignal/ |
H A D | task_signal_n_exporter.cpp | 28 TaskSignalNExporter::TaskSignalNExporter(napi_env env, napi_value exports) : NExporter(env, exports) {} in TaskSignalNExporter() argument
|
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_file/ |
H A D | file_n_exporter.cpp | 110 FileNExporter::FileNExporter(napi_env env, napi_value exports) : NExporter(env, exports) {} in FileNExporter() argument
|
/third_party/node/lib/internal/modules/esm/ |
H A D | load.js | 42 const { readFile: readFileAsync } = require('internal/fs/promises').exports; 172 module.exports = {
|
/third_party/node/test/js-native-api/test_conversions/ |
H A D | test_null.c | 74 void init_test_null(napi_env env, napi_value exports) { 101 napi_define_properties(env, exports, 1, &test_null_set));
|
/third_party/node/test/addons/new-isolate-addon/ |
H A D | binding.cc | 70 void Initialize(Local<Object> exports, in Initialize() argument 73 NODE_SET_METHOD(exports, "runInSeparateIsolate", RunInSeparateIsolate); in Initialize()
|
/third_party/node/benchmark/napi/define_properties/ |
H A D | binding.c | 102 env, exports, sizeof(props) / sizeof(*props), props)); in NAPI_MODULE_INIT() 103 return exports; in NAPI_MODULE_INIT()
|
/third_party/node/deps/npm/node_modules/negotiator/lib/ |
H A D | encoding.js | 12 * Module exports. 16 module.exports = preferredEncodings; 17 module.exports.preferredEncodings = preferredEncodings;
|
H A D | language.js | 12 * Module exports. 16 module.exports = preferredLanguages; 17 module.exports.preferredLanguages = preferredLanguages;
|
H A D | charset.js | 12 * Module exports. 16 module.exports = preferredCharsets; 17 module.exports.preferredCharsets = preferredCharsets;
|
/third_party/node/deps/npm/node_modules/diff/lib/patch/ |
H A D | parse.js | 4 Object.defineProperty(exports, "__esModule", { 7 exports.parsePatch = parsePatch;
|
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
H A D | node-gyp.js | 187 module.exports = () => new Gyp() 188 module.exports.Gyp = Gyp
|
/third_party/typescript/tests/baselines/reference/tsc/incremental/ |
H A D | change-to-modifier-of-class-expression-field-with-declaration-emit-enabled.js | 50 exports.__esModule = true;
68 exports.__esModule = true;
|
H A D | change-to-modifier-of-class-expression-field.js | 46 exports.__esModule = true;
54 exports.__esModule = true;
|
/third_party/typescript/tests/baselines/reference/ |
H A D | importCallExpressionNestedCJS2.js | 13 Object.defineProperty(exports, "__esModule", { value: true });
14 exports.default = "./foo";
|
H A D | tsxStatelessFunctionComponentOverload4.js | 41 define(["require", "exports", "react"], function (require, exports, React) {
43 exports.__esModule = true;
|