Home
last modified time | relevance | path

Searched refs:env (Results 2851 - 2875 of 5070) sorted by relevance

1...<<111112113114115116117118119120>>...203

/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/
H A Dstorage_statistics_napi.cpp28 napi_value StorageStatisticsExport(napi_env env, napi_value exports) in StorageStatisticsExport() argument
42 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in StorageStatisticsExport()
H A Dvolumemanager_napi.cpp28 napi_value VolumeManagerExport(napi_env env, napi_value exports) in VolumeManagerExport() argument
40 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in VolumeManagerExport()
/foundation/multimedia/image_framework/interfaces/kits/native/include/
H A Dimage_pixel_map_napi.h124 * @param env Indicates the NAPI environment pointer.
133 int32_t OH_GetImageInfo(napi_env env, napi_value value, OhosPixelMapInfo *info);
144 * @param env Indicates the NAPI environment pointer.
152 int32_t OH_AccessPixels(napi_env env, napi_value value, void** addrPtr);
158 * @param env Indicates the NAPI environment pointer.
165 int32_t OH_UnAccessPixels(napi_env env, napi_value value);
/foundation/multimedia/media_library/interfaces/kits/js/include/
H A Dphoto_proxy_napi.h32 EXPORT static napi_value Init(napi_env env, napi_value exports);
38 static void PhotoProxyNapiDestructor(napi_env env, void* nativeObject, void* finalize_hint);
39 static napi_value PhotoProxyNapiConstructor(napi_env env, napi_callback_info info);
H A Dnapi_error.h34 EXPORT void HandleError(napi_env env, napi_value &errorObj);
35 EXPORT static void ThrowError(napi_env env, int32_t err, const std::string &errMsg = "");
36 EXPORT static void ThrowError(napi_env env, int32_t err, const char *func, int32_t line,
/foundation/multimodalinput/input/frameworks/napi/touch_event/include/
H A Djs_touch_event.h56 static napi_value Export(napi_env env, napi_value exports);
58 static napi_value GetNapiInt32(napi_env env, int32_t code);
59 static napi_value EnumClassConstructor(napi_env env, napi_callback_info info);
/foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/
H A Dbundle_state_init.h29 static napi_value BundleStateInit(napi_env env, napi_value exports);
30 static napi_value InitIntervalType(napi_env env, napi_value exports);
31 static napi_value EnumTypeConstructor(napi_env env, napi_callback_info info);
/foundation/communication/nfc/frameworks/js/napi/controller/
H A Dnfc_napi_ctrl_utils.h34 napi_value CreateUndefined(napi_env env);
38 napi_value GenerateBusinessError(const napi_env &env, int errCode, const std::string &errMessage);
40 bool CheckNfcStatusCodeAndThrow(const napi_env &env, int statusCode, const std::string funcName);
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag_mifare_ul.h30 static napi_value ReadMultiplePages(napi_env env, napi_callback_info info);
31 static napi_value WriteSinglePage(napi_env env, napi_callback_info info);
32 static napi_value GetType(napi_env env, napi_callback_info info);
/foundation/distributeddatamgr/data_share/frameworks/js/napi/dataShare/src/
H A Dnative_datashare_module.cpp27 static napi_value Init(napi_env env, napi_value exports) in Init() argument
35 napi_status status = napi_define_properties(env, exports, sizeof(desc) / sizeof(napi_property_descriptor), desc); in Init()
37 status = InitConstProperties(env, exports); in Init()
/foundation/distributeddatamgr/preferences/frameworks/js/napi/common/mock/cross_platform/src/
H A Djs_ability.cpp23 CONTEXT_MODE GetContextMode(napi_env env, napi_value value) in GetContextMode() argument
28 std::shared_ptr<JSError> GetContextInfo(napi_env env, napi_value value, in GetContextInfo() argument
34 auto stageContext = AbilityRuntime::Platform::GetStageModeContext(env, value); in GetContextInfo()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/class_file/
H A Dfile_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info cbinfo);
32 static napi_value GetFD(napi_env env, napi_callback_info cbinfo);
33 FileNExporter(napi_env env, napi_value exports);
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_readeriterator/
H A Dreaderiterator_n_exporter.h31 static napi_value Constructor(napi_env env, napi_callback_info info);
32 static napi_value Next(napi_env env, napi_callback_info info);
34 ReaderIteratorNExporter(napi_env env, napi_value exports);
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_hash/
H A Dmodule.cpp27 static napi_value Export(napi_env env, napi_value exports) in Export() argument
30 products.push_back(make_unique<HashNExporter>(env, exports)); in Export()
31 products.push_back(make_unique<HashStreamNExporter>(env, exports)); in Export()
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_uri/
H A Dmodule.cpp28 static napi_value Export(napi_env env, napi_value exports) in Export() argument
31 products.emplace_back(make_unique<FileUriNExporter>(env, exports)); in Export()
32 products.emplace_back(make_unique<PropNExporter>(env, exports)); in Export()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_securitylabel/
H A Dsecuritylabel_napi.cpp24 napi_value SecurityLabelExport(napi_env env, napi_value exports) in SecurityLabelExport() argument
32 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in SecurityLabelExport()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_statvfs/
H A Dstatvfs_napi.cpp22 napi_value StatvfsExport(napi_env env, napi_value exports) in StatvfsExport() argument
30 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in StatvfsExport()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_environment/
H A Denvironment_napi.cpp24 napi_value EnvironmentExport(napi_env env, napi_value exports) in EnvironmentExport() argument
35 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(desc[0]), desc)); in EnvironmentExport()
/foundation/communication/connected_nfc_tag/frameworks/js/napi/
H A Dnfc_napi_entry.cpp24 static napi_value InitJs(napi_env env, napi_value exports) in InitJs() argument
37 NAPI_CALL(env, napi_define_properties(env, exports, sizeof(desc) / sizeof(napi_property_descriptor), desc)); in InitJs()
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/drawing/sampling_options_napi/
H A Djs_sampling_options.h33 static napi_value Init(napi_env env, napi_value exportObj);
34 static napi_value Constructor(napi_env env, napi_callback_info info);
35 static void Destructor(napi_env env, void* nativeObject, void* finalize);
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/ui_effect/include/
H A Dui_effect_napi_utils.h36 #define UIEFFECT_JS_ARGS(env, info, status, argc, argv, thisVar) \
39 status = napi_get_cb_info(env, info, &(argc), argv, &(thisVar), nullptr); \
48 static napi_valuetype getType(napi_env env, napi_value root);
/third_party/node/test/internet/
H A Dtest-snapshot-dns-resolve.js15 const env = {
29 const { stderr, stdout } = buildSnapshot(entry, env);
34 const { stderr, stdout } = runWithSnapshot(entry, env);
H A Dtest-snapshot-dns-lookup.js15 const env = {
27 const { stderr, stdout } = buildSnapshot(entry, env);
32 const { stderr, stdout } = runWithSnapshot(entry, env);
/third_party/node/test/parallel/
H A Dtest-cluster-fork-env.js34 prop: process.env.cluster_test_prop,
35 overwrite: process.env.cluster_test_overwrite
46 // To check that the cluster extend on the process.env we will overwrite a
48 process.env.cluster_test_overwrite = 'old';
56 // Checks worker env
64 assert.ok(checks.using, 'The worker did not receive the correct env.');
H A Dtest-snapshot-dns-lookup-localhost-promise.js12 const env = {
28 const { stderr, stdout } = buildSnapshot(entry, env);
33 const { stderr, stdout } = runWithSnapshot(entry, env);

Completed in 13 milliseconds

1...<<111112113114115116117118119120>>...203