Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/base/powermgr/battery_manager/services/native/test/unittest/src/
Dbattery_dump_test.cpp41 int32_t fd = 1; variable
56 int32_t fd = 1; variable
71 int32_t fd = 1; variable
86 int32_t fd = 1; variable
101 int32_t fd = 1; variable
116 int32_t fd = 1; variable
131 int32_t fd = 1; variable
145 int32_t fd = 1; variable
159 int32_t fd = 1; variable
175 int32_t fd = 1; variable
[all …]
/base/hiviewdfx/hidumper_lite/
Dhidumper.c85 static void ExecAction(int fd, unsigned int cmd) in ExecAction()
98 static void DumpALLInfo(int fd) in DumpALLInfo()
103 static void DumpCpuUsage(int fd) in DumpCpuUsage()
108 static void DumpMemUsage(int fd) in DumpMemUsage()
113 static void DumpTaskInfo(int fd) in DumpTaskInfo()
118 static void DumpMemData(int fd, struct MemDumpParam *param) in DumpMemData()
132 static void InjectKernelCrash(int fd) in InjectKernelCrash()
142 static void DumpFaultLog(int fd) in DumpFaultLog()
156 int ParameterMatching(int argc, const char *argv[], int fd) in ParameterMatching()
207 int fd = -1; in main() local
/base/startup/init/services/param/liteos/
Dparam_hal.c50 static int ParamFileClose(int fd) in ParamFileClose()
59 static int ParamFileRead(int fd, char* buf, unsigned int len) in ParamFileRead()
68 static int ParamFileWrite(int fd, const char* buf, unsigned int len) in ParamFileWrite()
89 int fd = open(path, O_RDONLY); in ParamFileStat() local
124 int fd = -1; in LoadPersistParam() local
169 static int PersistWrite(int fd, const char *name, const char *value) in PersistWrite()
194 int fd = ParamFileOpen(PARAM_PERSIST_SAVE_PATH, MODE_APPEND, 0); in SavePersistParam() local
210 int fd = ParamFileOpen(PARAM_PERSIST_SAVE_PATH, MODE_CREATE, 0); in BatchSavePersistParamBegin() local
222 int fd = (int)handle; in BatchSavePersistParam() local
232 int fd = (int)handle; in BatchSavePersistParamEnd() local
/base/powermgr/battery_manager/services/native/src/
Dbattery_dump.cpp30 bool BatteryDump::DumpBatteryHelp(int32_t fd, const std::vector<std::u16string> &args) in DumpBatteryHelp()
40 void BatteryDump::DumpHelp(int32_t fd) in DumpHelp()
50 void BatteryDump::DumpCurrentTime(int32_t fd) in DumpCurrentTime()
65 bool BatteryDump::GetBatteryInfo(int32_t fd, sptr<BatteryService> &service, const std::vector<std::… in GetBatteryInfo()
103 bool BatteryDump::MockUnplugged(int32_t fd, sptr<BatteryService>& service, const std::vector<std::u… in MockUnplugged()
114 bool BatteryDump::ResetPlugged(int32_t fd, sptr<BatteryService>& service, const std::vector<std::u1… in ResetPlugged()
/base/telephony/core_service/services/sim/src/
Dsim_file.cpp283 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessSpnGeneral() local
319 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessSpnCphs() local
348 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessSpnShortCphs() local
479 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessObtainLiLanguage() local
500 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessObtainPlLanguage() local
533 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessObtainGid1Done() local
560 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessObtainGid2Done() local
587 …std::unique_ptr<DiallingNumbersHandlerResult> fd = event->GetUniqueObject<DiallingNumbersHandlerRe… in ProcessGetMsisdnDone() local
609 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessSetMsisdnDone() local
630 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessGetSpdiDone() local
[all …]
/base/security/device_security_level/services/dfx/
Ddslm_hidumper.c160 static void PrintBanner(int fd) in PrintBanner()
168 static void DumpDeviceDetails(const DslmDeviceInfo *info, int32_t fd) in DumpDeviceDetails()
202 static void DumpHistoryCalls(const DslmDeviceInfo *info, int32_t fd) in DumpHistoryCalls()
230 static void DumpOneDevice(const DslmDeviceInfo *info, int32_t fd) in DumpOneDevice()
242 static void PrintAllDevices(int fd) in PrintAllDevices()
247 static void PrintDefaultStatus(int fd) in PrintDefaultStatus()
267 void DslmDumper(int fd) in DslmDumper()
/base/sensors/medical_sensor/services/medical_sensor/src/
Dmedical_dump.cpp46 bool MedicalSensorDump::DumpSensorHelp(int32_t fd, const std::vector<std::u16string> &args) in DumpSensorHelp()
56 void MedicalSensorDump::DumpHelp(int32_t fd) in DumpHelp()
66 bool MedicalSensorDump::DumpSensorList(int32_t fd, in DumpSensorList()
87 bool MedicalSensorDump::DumpSensorChannel(int32_t fd, ClientInfo &clientInfo, const std::vector<std… in DumpSensorChannel()
113 bool MedicalSensorDump::DumpOpeningSensor(int32_t fd, const std::vector<MedicalSensor> &sensors, in DumpOpeningSensor()
131 bool MedicalSensorDump::DumpSensorData(int32_t fd, ClientInfo &clientInfo, const std::vector<std::u… in DumpSensorData()
160 void MedicalSensorDump::DumpCurrentTime(int32_t fd) in DumpCurrentTime()
195 int32_t MedicalSensorDump::Dump(int32_t fd, const std::vector<std::u16string> &args, in Dump()
/base/startup/init/services/loopevent/socket/
Dle_socket.c62 int fd = socket(PF_UNIX, SOCK_STREAM, 0); in CreatePipeSocket_() local
120 int fd = socket(AF_INET, SOCK_STREAM, 0); in CreateTcpSocket_() local
141 int fd = accept(serverFd, (struct sockaddr *)&clientAddr, &addrlen); in AcceptPipeSocket_() local
152 int fd = accept(serverFd, (struct sockaddr *)&clientAddr, &addrlen); in AcceptTcpSocket_() local
160 int fd = -1; in CreateSocket() local
183 int AcceptSocket(int fd, int flags) in AcceptSocket()
/base/hiviewdfx/hiview/service/
Dhiview_service.cpp39 void HiviewService::DumpRequestDispatcher(int fd, const std::vector<std::string> &cmds) in DumpRequestDispatcher()
67 void HiviewService::DumpPluginInfo(int fd, const std::vector<std::string> &cmds) const in DumpPluginInfo()
98 void HiviewService::DumpDetailedInfo(int fd) in DumpDetailedInfo()
134 void HiviewService::DumpPluginUsageInfo(int fd) in DumpPluginUsageInfo()
145 void HiviewService::DumpPluginUsageInfo(int fd, const std::string &pluginName) const in DumpPluginUsageInfo()
172 void HiviewService::DumpThreadUsageInfo(int fd, const std::string &threadName) const in DumpThreadUsageInfo()
195 void HiviewService::DumpPipelineUsageInfo(int fd, const std::string &pipelineName) const in DumpPipelineUsageInfo()
/base/startup/init/services/init/
Dinit_service_file.c47 int fd = open(path, file->flags | O_CREAT, file->perm); in CreateFile() local
57 static int SetFileEnv(int fd, const char *pathName) in SetFileEnv()
78 int fd = CreateFile(tmpFile); in CreateServiceFile() local
/base/hiviewdfx/hiview/plugins/eventservice/service/
Dsys_event_stat.cpp98 void SysEventStat::StatSummary(int fd) in StatSummary()
105 void SysEventStat::StatDetail(int fd) in StatDetail()
112 void SysEventStat::StatInvalidDetail(int fd) in StatInvalidDetail()
119 void SysEventStat::Clear(int fd) in Clear()
129 BaseStat::BaseStat(int fd, int64_t validNum, int64_t inValidNum): fd_(fd), validNum_(validNum), inV… in BaseStat()
153 SysEventSummaryStat::SysEventSummaryStat(int fd, int64_t validNum, int64_t inValidNum, in SysEventSummaryStat()
177 void SysEventSummaryStat::StatDomainEvent(int fd, std::map<std::string, int64_t> &events) const in StatDomainEvent()
191 SysEventDetailStat::SysEventDetailStat(int fd, int64_t validNum, int64_t inValidNum, in SysEventDetailStat()
207 void SysEventDetailStat::StatDomainEvent(int fd, std::map<std::string, int64_t> &events) const in StatDomainEvent()
217 SysEventInvalidStat::SysEventInvalidStat(int fd, int64_t validNum, int64_t inValidNum, in SysEventInvalidStat()
/base/inputmethod/imf/services/dfx/src/
Dinputmethod_dump.cpp54 bool InputmethodDump::Dump(int fd, const std::vector<std::string> &args) in Dump()
77 void InputmethodDump::ShowHelp(int fd) in ShowHelp()
87 void InputmethodDump::ShowIllealInfomation(int fd) in ShowIllealInfomation()
/base/security/access_token/interfaces/innerkits/token_setproc/src/
Dtoken_setproc.c53 int fd = open(TOKENID_DEVNODE, O_RDWR); in GetSelfTokenID() local
69 int fd = open(TOKENID_DEVNODE, O_RDWR); in SetSelfTokenID() local
86 int fd = open(TOKENID_DEVNODE, O_RDWR); in GetFirstCallerTokenID() local
103 int fd = open(TOKENID_DEVNODE, O_RDWR); in SetFirstCallerTokenID() local
/base/update/updater/test/unittest/utils/
Dutils_unittest.cpp101 auto fd = open(path.c_str(), O_RDWR | O_CREAT, 0777); variable
116 auto fd = open(path.c_str(), O_RDWR | O_CREAT, 0777); variable
134 auto fd = open(path.c_str(), O_RDWR | O_CREAT, 0777); variable
153 auto fd = open(path.c_str(), O_RDWR | O_CREAT, 0777); variable
173 auto fd = open(src.c_str(), O_RDWR | O_CREAT, 0777); variable
184 auto fd = open(path.c_str(), O_RDWR | O_CREAT, 0777); variable
/base/update/updater/services/applypatch/
Dpartition_record.cpp40 int fd = open(realPath, O_RDONLY | O_EXCL | O_CLOEXEC | O_BINARY); in IsPartitionUpdated() local
81 int fd = open(realPath, O_RDWR | O_EXCL | O_CLOEXEC | O_BINARY); in RecordPartitionUpdateStatus() local
126 int fd = open(miscBlockDevice.c_str(), O_RDWR | O_EXCL | O_CLOEXEC | O_BINARY); in ClearRecordPartitionOffset() local
Dtransfer_manager.cpp53 bool TransferManager::CommandsParser(int fd, const std::vector<std::string> &context) in CommandsParser()
114 int fd = open(path.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in RegisterForRetry() local
136 int fd = open(path.c_str(), O_RDONLY); in ReloadForRetry() local
/base/startup/init/services/begetctl/
Dmisc_daemon.cpp40 static void ClearLogo(int fd) in ClearLogo()
57 static void WriteLogoContent(int fd, const std::string &logoPath, uint32_t size) in WriteLogoContent()
89 static int WriteLogo(int fd, const std::string &logoPath) in WriteLogo()
149 int fd = open(MISC_DEVICE_NODE, O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in WriteLogoToMisc() local
/base/startup/init/services/loopevent/loop/
Dle_epoll.c24 static void GetEpollEvent_(int fd, int op, struct epoll_event *event) in GetEpollEvent_()
51 int fd = GetSocketFd((const TaskHandle)task); in AddEvent_() local
67 int fd = GetSocketFd((const TaskHandle)task); in ModEvent_() local
76 static LE_STATUS DelEvent_(const EventLoop *loop, int fd, int op) in DelEvent_()
/base/update/updater/test/unittest/applypatch_test/
Dall_cmd_unittest.cpp67 int fd = open(transferFile.c_str(), O_RDONLY | O_CLOEXEC); in GetTransferContents() local
77 bool AllCmdUnitTest::WriteTestBin(int fd, const uint8_t &data, size_t size) const in WriteTestBin()
107 int fd = open(filename, O_RDWR); variable
131 int AllCmdUnitTest::AllCmdUnitTestMove(int &fd, std::vector<std::string> &allCmd, TransferManager &… in AllCmdUnitTestMove()
178 int fd = open(filePath.c_str(), O_RDWR | O_CREAT, dirMode); variable
/base/startup/init/interfaces/innerkits/fs_manager/libfs_dm/
Dfs_dm.c81 static int CreateDmDevice(int fd, const char *devName) in CreateDmDevice()
100 static int LoadDmDeviceTable(int fd, const char *devName, in LoadDmDeviceTable()
169 static int ActiveDmDevice(int fd, const char *devName) in ActiveDmDevice()
190 int GetDmDevPath(int fd, char **dmDevPath, const char *devName) in GetDmDevPath()
233 int fd = -1; in FsDmCreateDevice() local
/base/sensors/sensor/services/sensor/src/
Dsensor_dump.cpp98 void SensorDump::ParseCommand(int32_t fd, const std::vector<std::string> &args, const std::vector<S… in ParseCommand()
181 void SensorDump::DumpHelp(int32_t fd) in DumpHelp()
191 bool SensorDump::DumpSensorList(int32_t fd, const std::vector<Sensor> &sensors) in DumpSensorList()
207 bool SensorDump::DumpSensorChannel(int32_t fd, ClientInfo &clientInfo) in DumpSensorChannel()
224 bool SensorDump::DumpOpeningSensor(int32_t fd, const std::vector<Sensor> &sensors, ClientInfo &clie… in DumpOpeningSensor()
238 bool SensorDump::DumpSensorData(int32_t fd, ClientInfo &clientInfo) in DumpSensorData()
261 void SensorDump::DumpCurrentTime(int32_t fd) in DumpCurrentTime()
/base/time/time_service/services/dfx/src/
Dtime_cmd_dispatcher.cpp24 bool TimeCmdDispatcher::Dispatch(int fd, const std::vector<std::string> &args) in Dispatch()
47 std::string TimeCmdDispatcher::getCmdTitle(int fd, const std::vector<std::string> &args) in getCmdTitle()
/base/powermgr/powermgr_lite/services/src/power/small/
Drunning_lock_handler.c32 int32_t fd = open(path, O_RDWR); in OpenLockFile() local
39 static int32_t WriteLock(int32_t fd, const char *name) in WriteLock()
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
Devent_logger_catcher_test.cpp90 int EventloggerCatcherTest::GetFdSize(int32_t fd) in GetFdSize()
156 auto fd = open(logPath.c_str(), O_CREAT | O_WRONLY | O_TRUNC, defaultLogFileMode); in StartCreate() local
200 auto fd = JudgmentsFileSize(minQuantity, "EventloggerCatcherTest001"); variable
269 auto fd = JudgmentsFileSize(minQuantity, "EventloggerCatcherTest002"); variable
336 auto fd = JudgmentsFileSize(minQuantity, "EventloggerCatcherTest003"); variable
/base/startup/init/interfaces/innerkits/socket/
Dinit_socket.c34 int fd = strtol(val, NULL, N_DEC); in GetControlFromEnv() local
46 int fd = GetControlFromEnv(path, MAX_SOCKET_ENV_PREFIX_LEN); in GetControlSocket() local

12345678910>>...14