/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
H A D | js_ability_stage_context.cpp | 34 napi_set_named_property(env, objValue, "config", in CreateJsAbilityStageContext() 41 const std::shared_ptr<AppExecFwk::Configuration> &config) in ConfigurationUpdated() 44 if (!jsContext || !config) { in ConfigurationUpdated() 45 TAG_LOGE(AAFwkTag::ABILITY_SIM, "null jsContext/config"); in ConfigurationUpdated() 62 napi_value argv[] = { CreateJsConfiguration(env, *config) }; in ConfigurationUpdated() 40 ConfigurationUpdated(napi_env env, std::shared_ptr<NativeReference> &jsContext, const std::shared_ptr<AppExecFwk::Configuration> &config) ConfigurationUpdated() argument
|
/foundation/ability/ability_runtime/test/fuzztest/getconfiguration_fuzzer/ |
H A D | getconfiguration_fuzzer.cpp | 43 Configuration config; in DoSomethingInterestingWithMyAPI() local 44 if (!config.AddItem(AAFwk::GlobalConfigurationKey::SYSTEM_LANGUAGE, reinterpret_cast<const char*>(data))) { in DoSomethingInterestingWithMyAPI() 48 if (appMgrClient->GetConfiguration(config) != 0) { in DoSomethingInterestingWithMyAPI()
|
/foundation/arkui/ace_engine/frameworks/core/common/recorder/ |
H A D | event_controller.h | 31 EventConfig config; member 38 void Register(const std::string& config, const std::shared_ptr<UIEventObserver>& observer); 52 void ApplyExposureCfgInner(const std::shared_ptr<Config>& config) const;
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_accessibility.cpp | 63 auto &config = OHOS::AccessibilityConfig::AccessibilityConfig::GetInstance(); in ListenHighContrast() local 64 config.InitializeContext(); in ListenHighContrast() 65 config.SubscribeConfigObserver(CONFIG_ID::CONFIG_HIGH_CONTRAST_TEXT, observer_); in ListenHighContrast()
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/ |
H A D | wifi_mock_p2p_service.h | 40 ErrCode CreateGroup(const WifiP2pConfig &config); 43 ErrCode P2pConnect(const WifiP2pConfig &config); 54 ErrCode CreateRptGroup(const WifiP2pConfig &config);
|
/foundation/window/window_manager_lite/test/ |
H A D | sample_ui.cpp | 37 WindowConfig config = {}; in TestAPP() local 38 config.rect.SetRect(0, 0, Screen::GetInstance().GetWidth() - 1, Screen::GetInstance().GetHeight() - 1); in TestAPP() 39 Window* window = Window::CreateWindow(config); in TestAPP()
|
/third_party/astc-encoder/Source/UnitTest/ |
H A D | test_decode.cpp | 35 astcenc_config config; in TEST() local 53 astcenc_config_init(ASTCENC_PRF_LDR, 12, 12, 1, ASTCENC_PRE_MEDIUM, 0, &config); in TEST() 55 status = astcenc_context_alloc(&config, 1, &context); in TEST()
|
/third_party/lwip/src/include/lwip/ |
H A D | altcp_tls.h | 71 err_t altcp_tls_config_server_add_privkey_cert(struct altcp_tls_config *config, 116 struct altcp_pcb *altcp_tls_wrap(struct altcp_tls_config *config, struct altcp_pcb *inner_pcb); 121 struct altcp_pcb *altcp_tls_new(struct altcp_tls_config *config, u8_t ip_type);
|
/third_party/node/deps/openssl/openssl/util/ |
H A D | dofile.pl | 12 # that holds configuration data in %config 26 if !exists($config{target}); 75 use lib '$config{builddir}'; 85 HASH => { config => \%config,
|
/third_party/libcoap/scripts/ |
H A D | dist.sh | 51 config() { function 53 ./configure $* || cat config.log 57 config "$WITH_TESTS $SILENT --enable-documentation --enable-examples --disable-dtls" && make dist
|
/third_party/openssl/util/ |
H A D | dofile.pl | 12 # that holds configuration data in %config 26 if !exists($config{target}); 75 use lib '$config{builddir}'; 85 HASH => { config => \%config,
|
/third_party/rust/crates/clap/examples/tutorial_derive/ |
H A D | 04_03_relations.rs | 36 config: Option<String>, 65 if let Some(config) = cli.config.as_deref() { in main() 70 println!("Doing work using input {input} and config {config}"); in main()
|
/third_party/vk-gl-cts/framework/egl/ |
H A D | egluConfigFilter.hpp | 46 CandidateConfig (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLConfig config); 82 eglw::EGLConfig config; member 99 bool match (const eglw::Library& egl, eglw::EGLDisplay display, eglw::EGLConfig config) const;
|
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluRenderConfig.hpp | 115 void parseRenderConfig (RenderConfig* config, const tcu::CommandLine& cmdLine); 119 T getValueOrDefault (const RenderConfig& config, const T RenderConfig::*field, T defaultValue) in getValueOrDefault() argument 121 T value = config.*field; in getValueOrDefault()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_common.c | 534 DFINDER_LOGE(TAG, "config discovery settings failed"); in DeviceDiscoverInnerConfigurable() 545 DFINDER_LOGE(TAG, "business type is different, config: %hhu, local: %hhu", in DiscConfig() 557 DFINDER_LOGE(TAG, "config for discover failed"); in DiscConfig() 729 DFINDER_LOGE(TAG, "disc config passed in is null"); in CheckDiscConfig() 754 DFINDER_LOGI(TAG, "dfinder start disc with config"); in NSTACKX_StartDeviceDiscoveryWithConfig() 764 DFINDER_LOGE(TAG, "malloc for duplicate disc config failed"); in NSTACKX_StartDeviceDiscoveryWithConfig() 1828 static int32_t CheckNotificationConfig(const NSTACKX_NotificationConfig *config) in CheckNotificationConfig() argument 1830 if (config == NULL) { in CheckNotificationConfig() 1831 DFINDER_LOGE(TAG, "notification config passed in is null"); in CheckNotificationConfig() 1834 if (config in CheckNotificationConfig() 1890 NSTACKX_NotificationConfig *config = (NSTACKX_NotificationConfig *)argument; NotificationInner() local 1903 NSTACKX_SendNotification(const NSTACKX_NotificationConfig *config) NSTACKX_SendNotification() argument [all...] |
/third_party/mesa3d/src/gallium/frontends/glx/xlib/ |
H A D | glx_api.c | 43 #include "main/config.h" 961 return NULL; /* invalid config option */ in choose_visual() 1777 glXGetFBConfigAttrib(Display *dpy, GLXFBConfig config, in glXGetFBConfigAttrib() argument 1780 XMesaVisual v = (XMesaVisual) config; in glXGetFBConfigAttrib() 1782 (void) config; in glXGetFBConfigAttrib() 1784 if (!dpy || !config || !value) in glXGetFBConfigAttrib() 1836 GLXFBConfig *config = malloc(sizeof(XMesaVisual)); in glXChooseFBConfig() local 1837 if (!config) { in glXChooseFBConfig() 1842 config[0] = (GLXFBConfig) xmvis; in glXChooseFBConfig() 1843 return (GLXFBConfig *) config; in glXChooseFBConfig() 1875 glXCreateWindow(Display *dpy, GLXFBConfig config, Window win, const int *attribList) glXCreateWindow() argument 1906 glXCreatePixmap(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attribList) glXCreatePixmap() argument 2026 glXCreatePbuffer(Display *dpy, GLXFBConfig config, const int *attribList) glXCreatePbuffer() argument 2145 glXCreateNewContext( Display *dpy, GLXFBConfig config, int renderType, GLXContext shareCtx, Bool direct ) glXCreateNewContext() argument 2330 glXGetFBConfigAttribSGIX(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value) glXGetFBConfigAttribSGIX() argument 2346 glXCreateGLXPixmapWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap) glXCreateGLXPixmapWithConfigSGIX() argument 2356 glXCreateContextWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config, int renderType, GLXContext shareCtx, Bool direct) glXCreateContextWithConfigSGIX() argument 2374 glXGetVisualFromFBConfigSGIX(Display *dpy, GLXFBConfigSGIX config) glXGetVisualFromFBConfigSGIX() argument 2397 glXCreateGLXPbufferSGIX(Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attribList) glXCreateGLXPbufferSGIX() argument 2656 glXCreateContextAttribsARB(Display *dpy, GLXFBConfig config, GLXContext shareCtx, Bool direct, const int *attrib_list) glXCreateContextAttribsARB() argument [all...] |
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | hdi_device_v1_0.cpp | 241 const ModelConfig& config, std::shared_ptr<PreparedModel>& preparedModel) in PrepareModel() 267 iModelConfig.enableFloat16 = config.enableFloat16; in PrepareModel() 268 iModelConfig.mode = TransPerformanceMode(config.mode); in PrepareModel() 269 iModelConfig.priority = TransPriority(config.priority); in PrepareModel() 295 const ModelConfig& config, in PrepareModel() 302 const ModelConfig& config, std::shared_ptr<PreparedModel>& preparedModel, bool& isUpdatable) in PrepareModelFromModelCache() 319 iModelConfig.enableFloat16 = config.enableFloat16; in PrepareModelFromModelCache() 320 iModelConfig.mode = TransPerformanceMode(config.mode); in PrepareModelFromModelCache() 321 iModelConfig.priority = TransPriority(config.priority); in PrepareModelFromModelCache() 448 const ModelConfig& config, in PrepareOfflineModel() 240 PrepareModel(std::shared_ptr<const mindspore::lite::LiteGraph> model, const ModelConfig& config, std::shared_ptr<PreparedModel>& preparedModel) PrepareModel() argument 294 PrepareModel(const void* metaGraph, const ModelConfig& config, std::shared_ptr<PreparedModel>& preparedModel) PrepareModel() argument 301 PrepareModelFromModelCache(const std::vector<Buffer>& modelCache, const ModelConfig& config, std::shared_ptr<PreparedModel>& preparedModel, bool& isUpdatable) PrepareModelFromModelCache() argument 447 PrepareOfflineModel(std::shared_ptr<const mindspore::lite::LiteGraph> model, const ModelConfig& config, std::shared_ptr<PreparedModel>& preparedModel) PrepareOfflineModel() argument [all...] |
/foundation/graphic/graphic_surface/surface/include/ |
H A D | buffer_queue.h | 52 BufferRequestConfig config; member 82 GSError RequestBuffer(const BufferRequestConfig &config, sptr<BufferExtraData> &bedata, 85 GSError ReuseBuffer(const BufferRequestConfig &config, sptr<BufferExtraData> &bedata, 91 sptr<SyncFence> fence, const BufferFlushConfigWithDamages &config); 94 sptr<SyncFence> fence, const BufferFlushConfigWithDamages &config); 204 GSError AllocBuffer(sptr<SurfaceBuffer>& buffer, const BufferRequestConfig &config); 210 GSError PopFromFreeListLocked(sptr<SurfaceBuffer>& buffer, const BufferRequestConfig &config); 213 GSError CheckRequestConfig(const BufferRequestConfig &config); 214 GSError CheckFlushConfig(const BufferFlushConfigWithDamages &config); 225 GSError ReallocBufferLocked(const BufferRequestConfig &config, [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_asset_rdbstore.cpp | 145 NativeRdb::RdbStoreConfig config {""};
in TryGetRdbStore() 146 config.SetName(name);
in TryGetRdbStore() 147 config.SetVisitorDir(dbPath);
in TryGetRdbStore() 148 config.SetBundleName(context->GetBundleName());
in TryGetRdbStore() 149 config.SetArea(context->GetArea());
in TryGetRdbStore() 150 config.SetSecurityLevel(SecurityLevel::S3);
in TryGetRdbStore() 151 config.SetRoleType(RoleType::VISITOR);
in TryGetRdbStore() 152 config.SetScalarFunction("cloud_sync_func", 0, CloudSyncTriggerFunc);
in TryGetRdbStore() 153 config.SetScalarFunction("is_caller_self_func", 0, IsCallerSelfFunc);
in TryGetRdbStore() 156 rdbStore_ = RdbHelper::GetRdbStore(config, MEDIA_RDB_VERSIO in TryGetRdbStore() [all...] |
/foundation/communication/wifi/wifi/interfaces/inner_api/ |
H A D | wifi_p2p_msg.h | 350 WifiP2pConfig(const WifiP2pConfig &config) in WifiP2pConfig() argument 351 : mDeviceAddress(config.GetDeviceAddress()), in WifiP2pConfig() 352 deviceAddressType(config.GetDeviceAddressType()), in WifiP2pConfig() 353 goBand(config.GetGoBand()), in WifiP2pConfig() 354 netId(config.GetNetId()), in WifiP2pConfig() 355 passphrase(config.GetPassphrase()), in WifiP2pConfig() 356 groupOwnerIntent(config.GetGroupOwnerIntent()), in WifiP2pConfig() 357 groupName(config.GetGroupName()) in WifiP2pConfig() 392 explicit WifiP2pConfigInternal(WifiP2pConfig config): WifiP2pConfig(config) in WifiP2pConfigInternal() argument [all...] |
/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifiscanserver_fuzzer/ |
H A D | wifiscanserver_fuzzer.cpp | 160 StoreScanConfig config; in StoreRequestScanConfigFuzzTest() local 161 config.ssid = std::string(reinterpret_cast<const char*>(data), size); in StoreRequestScanConfigFuzzTest() 162 config.bssid = std::string(reinterpret_cast<const char*>(data), size); in StoreRequestScanConfigFuzzTest() 163 config.fullScanFlag = (static_cast<int>(data[0]) % TWO) ? true : false; in StoreRequestScanConfigFuzzTest() 179 pScanService->StoreFullScanInfo(config, infoList); in StoreRequestScanConfigFuzzTest() 186 pScanService->IsPackageInTrustList(config.ssid, appId, config.bssid); in StoreRequestScanConfigFuzzTest() 207 pScanService->IsPackageInTrustList(config.ssid, appId, config.bssid); in StoreRequestScanConfigFuzzTest() 250 pScanService->StoreUserScanInfo(config, infoLis in StoreRequestScanConfigFuzzTest() [all...] |
/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_open_callback_test.cpp | 152 RdbStoreConfig config(RdbOpenCallbackTest::DATABASE_NAME); in HWTEST_F() 156 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); in HWTEST_F() 195 RdbStoreConfig config(RdbOpenCallbackTest::DATABASE_NAME); in HWTEST_F() 197 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 2, helper, errCode); in HWTEST_F() 251 RdbStoreConfig config(RdbOpenCallbackTest::DATABASE_NAME); in HWTEST_F() 253 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 1, helper, errCode); in HWTEST_F() 314 RdbStoreConfig config(RdbOpenCallbackTest::DATABASE_NAME); in HWTEST_F() 316 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, 2, helper, errCode); in HWTEST_F() 370 RdbStoreConfig config(RdbOpenCallbackTest::DATABASE_NAME); in HWTEST_F() 372 std::shared_ptr<RdbStore> store = RdbHelper::GetRdbStore(config, in HWTEST_F() [all...] |
/test/testfwk/arkxtest/jsunit/src/ |
H A D | service.js | 19 import { NestFilter } from './module/config/Filter'; 151 const config = coreContext.getDefaultService('config'); 152 config.setSupportAsync(true); 153 const timeout = + (config.timeout === undefined ? 5000 : config.timeout); 154 const isStressTest = (coreContext.getServices('dataDriver') !== undefined || config.getStress() > 1); 199 const configService = this.coreContext.getDefaultService('config'); 237 const configService = this.coreContext.getDefaultService('config'); 406 const configService = this.coreContext.getDefaultService('config'); [all...] |
/third_party/eudev/src/udev/ |
H A D | udev-builtin-net_id.c | 43 * [P<domain>]p<bus>s<slot>[f<function>][u<port>][..][c<config>][i<interface>] 172 uint8_t config[64]; in is_pci_multifunction() local 174 filename = strjoina(udev_device_get_syspath(dev), "/config"); in is_pci_multifunction() 178 if (read(fd, &config, sizeof(config)) != sizeof(config)) in is_pci_multifunction() 182 if ((config[PCI_HEADER_TYPE] & 0x80) != 0) in is_pci_multifunction() 300 char *config; in names_usb() local 320 config = s+1; in names_usb() 322 s = strchr(config, ' in names_usb() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
H A D | esextcTextureCubeMapArrayGenerateMipMap.cpp | 200 /* Make sure the storage config container is empty */ in initTest() 261 /* Generate and configure a texture object for each storage config. */ in initTest() 264 StorageConfig& config = m_storage_configs[n_storage_config]; in initTest() local 266 gl.genTextures(1, &config.m_to_id); in initTest() 269 gl.bindTexture(GL_TEXTURE_CUBE_MAP_ARRAY, config.m_to_id); in initTest() 279 GL_RGBA8, config.m_width, config.m_height, config.m_depth, 0, /* border */ in initTest() 288 gl.texStorage3D(GL_TEXTURE_CUBE_MAP_ARRAY, config.m_levels, GL_RGBA8, config in initTest() [all...] |