Home
last modified time | relevance | path

Searched refs:create (Results 1 - 25 of 32) sorted by relevance

12

/base/msdp/device_status/libs/interface/
H A Ddevicestatus_msdp_interface.h48 IMsdp* (*create)(); member
51 MsdpAlgoHandle() : handle(nullptr), create(nullptr), destroy(nullptr), pAlgorithm(nullptr) {} in MsdpAlgoHandle()
56 create = nullptr; in Clear()
/base/powermgr/battery_manager/charger/src/dev/
H A Ddrm_driver.cpp53 struct drm_mode_create_dumb create = {}; in ModesetCreateFb() local
60 /* create a dumb-buffer, the pixel format is XRGB888 */ in ModesetCreateFb()
62 create.width = bo->width; in ModesetCreateFb()
63 create.height = bo->height; in ModesetCreateFb()
64 create.bpp = pixelDepth; in ModesetCreateFb()
65 drmIoctl(fd_, DRM_IOCTL_MODE_CREATE_DUMB, &create); in ModesetCreateFb()
68 bo->pitch = create.pitch; in ModesetCreateFb()
69 bo->size = create.size; in ModesetCreateFb()
70 bo->handle = create.handle; in ModesetCreateFb()
83 map.handle = create in ModesetCreateFb()
[all...]
/base/update/updater/services/ui/driver/
H A Ddrm_driver.cpp51 struct drm_mode_create_dumb create = {}; in ModesetCreateFb() local
58 /* create a dumb-buffer, the pixel format is XRGB888 */ in ModesetCreateFb()
60 create.width = bo->width; in ModesetCreateFb()
61 create.height = bo->height; in ModesetCreateFb()
62 create.bpp = pixelDepth; in ModesetCreateFb()
63 drmIoctl(fd_, DRM_IOCTL_MODE_CREATE_DUMB, &create); in ModesetCreateFb()
66 bo->pitch = create.pitch; in ModesetCreateFb()
67 bo->size = create.size; in ModesetCreateFb()
68 bo->handle = create.handle; in ModesetCreateFb()
80 map.handle = create in ModesetCreateFb()
[all...]
/base/security/access_token/services/common/libraryloader/src/
H A Dlibraryloader.cpp69 void* (*create)(void) = reinterpret_cast<FUNC_CREATE>(dlsym(handle_, "Create")); in Create()
73 instance_ = create(); in Create()
/base/inputmethod/imf/frameworks/js/napi/inputmethodlist/
H A Dinputmethodlist.js471 Column.create();
478 Text.create(t1);
493 If.create();
497 Divider.create();
512 Column.create();
521 If.create();
525 Text.create({
557 Divider.create();
568 Scroll.create();
574 Column.create();
[all...]
/base/request/request/services/src/manage/
H A Dnotifier.rs138 let file = File::create(file_path).unwrap(); in ut_notify_progress()
148 let task_id = manager.create(config).unwrap(); in ut_notify_progress()
194 let file = File::create(file_path).unwrap(); in ut_notify_pause_resume()
204 let task_id = manager.create(config).unwrap(); in ut_notify_pause_resume()
246 let file = File::create(file_path).unwrap(); in ut_notify_remove()
256 let task_id = manager.create(config).unwrap(); in ut_notify_remove()
283 let file = File::create(file_path).unwrap(); in ut_notify_completed()
293 let task_id = manager.create(config).unwrap(); in ut_notify_completed()
321 let file = File::create(file_path).unwrap(); in ut_notify_failed()
331 let task_id = manager.create(confi in ut_notify_failed()
[all...]
H A Dmod.rs87 let file = File::create(file_path).unwrap(); in ut_manager_task_state_and_reason()
97 let task_id = manager.create(config).unwrap(); in ut_manager_task_state_and_reason()
204 let file = File::create(file_path).unwrap(); in ut_manager_state_change_error()
216 let task_id = manager.create(config.clone()).unwrap(); in ut_manager_state_change_error()
231 let task_id = manager.create(config.clone()).unwrap(); in ut_manager_state_change_error()
242 let task_id = manager.create(config.clone()).unwrap(); in ut_manager_state_change_error()
255 let task_id = manager.create(config.clone()).unwrap(); in ut_manager_state_change_error()
270 let task_id = manager.create(config.clone()).unwrap(); in ut_manager_state_change_error()
292 let file = File::create(file_path).unwrap(); in ut_manager_reschedule()
302 let task_id = manager.create(confi in ut_manager_reschedule()
[all...]
/base/msdp/device_status/intention/scheduler/plugin_manager/include/
H A Dplugin_manager.h102 CreatePlugin<IPlugin> create = reinterpret_cast<CreatePlugin<IPlugin>>(::dlsym(handle_, "CreateInstance")); in GetInstance() local
103 if (create != nullptr) { in GetInstance()
104 instance_ = create(context_); in GetInstance()
/base/sensors/miscdevice/frameworks/native/vibrator/include/
H A Dvibrator_service_client.h36 IVibratorDecoder *(*create)(const JsonParser &); member
40 create(nullptr), destroy(nullptr) {} in VibratorDecodeHandle()
49 create = nullptr; in Free()
/base/security/asset/services/db_operator/src/test/
H A Dtest_table.rs41 assert!(table.create(columns).is_ok()); in create_delete_table()
57 .create(&[ColumnInfo { name: "Id", data_type: DataType::Number, is_primary_key: true, not_null: true }]) in table_restore()
95 table.create(columns).unwrap(); in insert_test_data()
163 table.create(columns).unwrap(); in single_data()
196 table.create(columns).unwrap(); in multiple_data()
239 table.create(columns).unwrap(); in insert_query_row()
269 table.create(columns).unwrap(); in update_delete_row()
297 table.create(columns).unwrap(); in upgrade_table()
337 table.create(columns).unwrap(); in replace_datas()
/base/security/certificate_framework/frameworks/core/cert/src/
H A Dcf_cert_ability.c25 .create = CfCertCreate,
/base/security/certificate_framework/frameworks/core/extension/src/
H A Dcf_extension_ability.c25 .create = CfExtensionCreate,
/base/security/certificate_framework/frameworks/core/life/inc/
H A Dcf_object_ability_define.h23 int32_t (*create)(const CfEncodingBlob *in, CfBase **obj); member
/base/request/request/services/src/task/
H A Ddownload.rs327 let file = File::create(file_path).unwrap(); in ut_download_basic()
349 let mut file = File::create(file_path).unwrap(); in ut_download_resume()
372 let file = File::create(file_path).unwrap(); in ut_download_not_support_range()
396 let file = File::create(file_path).unwrap(); in ut_download_resume_not_support_range()
430 let mut file = File::create(file_path).unwrap(); in ut_download_not_support_range_resume()
454 let file = File::create(file_path).unwrap(); in ut_download_range_0()
477 let file = File::create(file_path).unwrap(); in ut_download_range_1()
499 let mut file = File::create(file_path).unwrap(); in ut_download_range_resume_0()
521 let file = File::create(file_path).unwrap(); in ut_download_range_resume_1()
551 let file = File::create(file_pat in ut_download_invalid_task()
[all...]
/base/request/request/services/tests/
H A Dstart.rs26 let file = File::create(file_path).unwrap(); in sdv_start_basic()
H A Dresume.rs26 let file = File::create(file_path).unwrap(); in sdv_start_resume()
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth_icon/
H A Duser_auth_icon.js179 Row.create();
182 Column.create();
185 SymbolGlyph.create({ 'id': -1, 'type': -1, params: [this.imageSource], 'bundleName': '__harDefaultBundleName__', 'moduleName': '__harDefaultModuleName__' });
/base/msdp/device_status/services/native/src/
H A Ddevicestatus_msdp_client_impl.cpp366 FI_HILOGI("Start create pointer"); in LoadMockLibrary()
367 mock_.create = reinterpret_cast<LoadMockLibraryFunc>(dlsym(mock_.handle, "Create")); in LoadMockLibrary()
370 if ((mock_.create == nullptr) || (mock_.destroy == nullptr)) { in LoadMockLibrary()
404 mock_.pAlgorithm = mock_.create(); in GetMockInst()
429 FI_HILOGI("Start create pointer"); in LoadAlgoLibrary()
430 algo_.create = reinterpret_cast<LoadMockLibraryFunc>(dlsym(algo_.handle, "Create")); in LoadAlgoLibrary()
433 if ((algo_.create == nullptr) || (algo_.destroy == nullptr)) { in LoadAlgoLibrary()
467 algo_.pAlgorithm = algo_.create(); in GetAlgoInst()
/base/hiviewdfx/faultloggerd/test/unittest/stacktrace_rust/
H A Dmain.rs55 let output = match File::create(path) { in test_print_trace()
56 Err(why) => panic!("couldn't create {}: {:?}", display, why), in test_print_trace()
/base/request/request/services/src/manage/events/
H A Dconstruct.rs30 pub(crate) fn create(&mut self, mut config: TaskConfig) -> Result<u32, ErrorCode> {
H A Dmod.rs257 let file = File::create(file_path).unwrap(); in ut_task_manager_construct()
275 let file = File::create(file_path).unwrap(); in ut_task_manager_start()
300 let file = File::create(file_path).unwrap(); in ut_task_manager_pause_resume()
327 let file = File::create(file_path).unwrap(); in ut_task_manager_stop_resume()
/base/security/code_signature/services/key_enable/src/
H A Dfile_utils.rs55 /// create file path with path name
63 let mut file = File::create(filename)?; in write_bytes_to_file()
/base/security/certificate_framework/frameworks/core/life/
H A Dcf_api.c73 CF_LOG_I("enter: create object [%d]", objType); in CfCreate()
91 int32_t ret = func->create(in, &tmp->base); in CfCreate()
93 CF_LOG_E("create object resource failed, ret = %d", ret); in CfCreate()
/base/tee/tee_client/services/teecd/include/
H A Dfs_work_agent.h133 } create; member
/base/msdp/device_status/test/unittest/libs/src/
H A Ddevice_status_mock_test.cpp106 mockHandler->create = reinterpret_cast<IMsdp* (*)()>(dlsym(mockHandler->handle, "Create")); in LoadMockLibrary()
108 if (mockHandler->create == nullptr || mockHandler->destroy == nullptr) { in LoadMockLibrary()
109 FI_HILOGE("%{public}s dlsym create or destroy failed", dlName.c_str()); in LoadMockLibrary()
405 mock->pAlgorithm = mock->create(); in HWTEST_F()

Completed in 10 milliseconds

12