Home
last modified time | relevance | path

Searched refs:open (Results 3626 - 3650 of 10188) sorted by relevance

1...<<141142143144145146147148149150>>...408

/drivers/hdf_core/adapter/khdf/liteos/osal/src/
H A Dosal_firmware.c71 fd = open(path, O_RDONLY, S_IREAD); in OsalRequestFirmware()
73 HDF_LOGE("%s open file fail %d", __func__, errno); in OsalRequestFirmware()
131 HDF_LOGE("%s file do not open", __func__); in OsalReadFirmware()
/drivers/hdf_core/framework/sample/platform/uart/src/
H A Duart_dev_sample.c33 HDF_LOGI("%s: open uart%d success", __func__, host->num); in UartSampleDevOpen()
139 .open = UartSampleDevOpen,
/drivers/hdf_core/framework/support/platform/include/regulator/
H A Dregulator_core.h100 int32_t (*open)(struct RegulatorNode *node); member
/drivers/hdf_core/framework/tools/hc-gen/src/
H A Ddecompile_gen.cpp27 file_.open(outPutFileName_, std::ostream::out | std::ostream::binary); in Init()
29 Logger().Error() << "Failed to open decompile output file: " << outPutFileName_; in Init()
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_dot_config_file.py39 with open(self.file_path, 'r+', newline='\n') as file_read:
/drivers/peripheral/power/test/unittest/src/
H A Dhdf_power_hdi_test.cpp51 ifs.open(file); in ReadFile()
/foundation/ability/dmsfwk_lite/source/
H A Ddmslite_permission.c122 int32_t fd = open(filePath, O_RDONLY, S_IRUSR); in GetBundleInfoFromFile()
124 HILOGE("[open file failed]"); in GetBundleInfoFromFile()
/foundation/CastEngine/castengine_wifi_display/tests/demo/codec/
H A Dvideo_sink_decoder_demo.cpp41 file_->open("/data/public_file/640x480.h264", std::ios::in | std::ios::binary); in ReadOnePacket()
/foundation/arkui/ui_lite/tools/server/
H A Dtcp_server.py148 with open(filename, 'r') as json_file:
/foundation/arkui/ace_engine/test/unittest/scripts/
H A Drun.py125 with os.fdopen(os.open(json_file_path, flags, mode), 'w') as json_file:
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
H A Dbundle_file_utils.cpp161 int32_t fp = open(file, O_RDWR | O_CREAT | O_TRUNC, S_IREAD | S_IWUSR | S_IRGRP | S_IROTH); in WriteFile()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/
H A Drs_profiler_utils_test.cpp54 // open not existing file in HWTEST_F()
61 fd = Utils::FileOpen("file.json", "invalid open options"); in HWTEST_F()
68 auto createdFile = open(name.data(), O_CREAT, S_IRUSR | S_IWUSR); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_source_gif_test.cpp158 fs->open("/data/local/tmp/image/test.gif", std::fstream::binary | std::fstream::in); in HWTEST_F()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/jpeg_hw_decode/common/
H A Dmock_jpeg_hw_decode_flow.cpp106 dumpOutFile.open(std::string(outputFilePath), std::ios_base::binary | std::ios_base::trunc); in DumpDecodeResult()
/foundation/multimedia/av_codec/test/nativedemo/avmuxer/
H A Davmuxer_demo.cpp56 outFd_ = open(outFileName.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in DoRunMuxer()
61 std::cout<<"==== open success! =====\noutputFileName: "<<outFileName<<"\n============"<<std::endl; in DoRunMuxer()
H A Davmuxer_engine_demo.cpp55 outFd_ = open(outFileName.c_str(), O_CREAT | O_WRONLY | O_TRUNC, S_IRUSR | S_IWUSR); in DoRunMuxer()
60 std::cout<<"==== open success! =====\noutputFileName: "<<outFileName<<"\n============"<<std::endl; in DoRunMuxer()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/src/command/
H A Drecv_command_v10.cpp61 auto wfd = open(wFilePath.c_str(), O_CREAT | O_WRONLY | O_CLOEXEC, OPEN_MODE); in RecvFile()
63 printf("%s open file failed. errno:%d, fileName:%s\n", STR_FAIL.c_str(), errno, wFilePath.c_str()); in RecvFile()
68 printf("%s open failed. uri:%s\n", STR_FAIL.c_str(), fileAsset.GetUri().c_str()); in RecvFile()
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatastub_fuzzer/
H A Davmetadatastub_fuzzer.cpp52 int32_t fileDes = open(VIDEO_PATH, O_RDONLY); in SetSourceLocalFd()
/foundation/multimodalinput/input/service/module_loader/src/
H A Dwatchdog_task.cpp111 fin.open("/proc/self/comm", std::ifstream::in); in GetSelfProcName()
/foundation/resourceschedule/memmgr/services/memmgrservice/src/event/
H A Dmemory_pressure_observer.cpp99 // open file in CreateLevelFileFd()
101 fd = open(MEMORY_PRESSURE_FILE, O_WRONLY | O_CLOEXEC); in CreateLevelFileFd()
/foundation/resourceschedule/resource_schedule_service/ressched_executor/plugins/socperf_executor_plugin/framework/src/
H A Dsocperf_executor_wirte_node.cpp20 #include <unistd.h> // for open, write
132 int32_t fd = open(path, O_RDWR | O_CLOEXEC); in GetFdForFilePath()
/foundation/communication/dsoftbus/tests/core/common/security/permission/common/unittest/
H A Dpermission_entry_mock_test.cpp159 "ACTIONS": "open" in HWTEST_F()
/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dtraffic_manager.cpp50 NETNATIVE_LOGE("GetInterfaceList open %{private}s failed", INTERFACE_LIST_DIR); in GetInterfaceList()
80 int fd = open(tmpPath, 0, 0666); in GetInterfaceTrafficByType()
82 NETNATIVE_LOGE("GetInterfaceTrafficByType open %{private}s failed", INTERFACE_LIST_DIR); in GetInterfaceTrafficByType()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/
H A Dkernel_talker.cpp177 cmdFd = open(realPath, O_RDWR); in PollRun()
/kernel/linux/linux-5.10/drivers/char/
H A Dttyprintk.c88 * TTY operations open function.
172 .open = tpk_open,

Completed in 14 milliseconds

1...<<141142143144145146147148149150>>...408