Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 25 of 2665) sorted by relevance

12345678910>>...107

/ohos5.0/foundation/resourceschedule/qos_manager/services/src/
H A Dqos_interface.cpp37 return fd; in TrivalOpenRtgNode()
48 return fd; in TrivalOpenAuthCtrlNode()
89 int fd; in AuthEnable() local
116 int fd; in AuthSwitch() local
143 int fd; in AuthDelete() local
167 int fd; in AuthPause() local
194 int fd; in AuthGet() local
244 int fd; in QosApplyForOther() local
268 int fd; in QosLeave() local
290 int fd; in QosLeaveForOther() local
[all …]
/ohos5.0/foundation/resourceschedule/ffrt/src/eu/
H A Dqos_interface.cpp44 return fd; in TrivalOpenRtgNode()
97 int fd; in FFRTAuthEnable() local
122 int fd; in FFRTAuthSwitch() local
147 int fd; in FFRTAuthDelete() local
169 int fd; in FFRTAuthPause() local
194 int fd; in FFRTAuthGet() local
229 int fd; in FFRTQosApplyForOther() local
253 int fd; in FFRTQosLeave() local
276 int fd; in FFRTQosLeaveForOther() local
297 int fd; in QosPolicy() local
[all …]
H A Drtg_perf_ctrl.cpp33 int fd = -1; in OpenPerfCtrl() local
40 if (fd < 0) { in OpenPerfCtrl()
45 return fd; in OpenPerfCtrl()
52 if (fd < 0) { in SetTaskRtg()
61 close(fd); in SetTaskRtg()
67 if (fd < 0) { in SetRtgStatus()
76 close(fd); in SetRtgStatus()
82 if (fd < 0) { in SetRtgQos()
91 close(fd); in SetRtgQos()
114 close(fd); in SetRtgLoadMode()
[all …]
/ohos5.0/foundation/multimodalinput/input/service/event_dump/src/
H A Devent_dump.cpp61 void ChkConfig(int32_t fd) in ChkConfig() argument
63 mprintf(fd, "ChkMMIConfig: "); in ChkConfig()
88 CheckCount(fd, args, count); in ParseCommand()
137 DumpEventHelp(fd, args); in ParseCommand()
149 WIN_MGR->Dump(fd, args); in ParseCommand()
155 udsServer->Dump(fd, args); in ParseCommand()
219 keyHandler->Dump(fd, args); in ParseCommand()
227 DumpHelp(fd); in ParseCommand()
243 DumpHelp(fd); in DumpEventHelp()
246 void EventDump::DumpHelp(int32_t fd) in DumpHelp() argument
[all …]
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_audio_recorder_fast_prepare.h45 int32_t fd; in FIXTURE() local
74 ASSERT_TRUE(fd >= 0); in FIXTURE()
90 ASSERT_TRUE(fd >= 0); in FIXTURE()
108 ASSERT_TRUE(fd >= 0); in FIXTURE()
116 ASSERT_TRUE(fd >= 0); in FIXTURE()
133 ASSERT_TRUE(fd >= 0); in FIXTURE()
143 ASSERT_TRUE(fd >= 0); in FIXTURE()
160 ASSERT_TRUE(fd >= 0); in FIXTURE()
171 ASSERT_TRUE(fd >= 0); in FIXTURE()
188 ASSERT_TRUE(fd >= 0); in FIXTURE()
[all …]
H A Dtest_single_audio_recorder_fast_start_pause.h45 int32_t fd; in FIXTURE() local
67 ASSERT_TRUE(fd >= 0); in FIXTURE()
85 ASSERT_TRUE(fd >= 0); in FIXTURE()
105 ASSERT_TRUE(fd >= 0); in FIXTURE()
126 ASSERT_TRUE(fd >= 0); in FIXTURE()
146 ASSERT_TRUE(fd >= 0); in FIXTURE()
166 ASSERT_TRUE(fd >= 0); in FIXTURE()
177 ASSERT_TRUE(fd >= 0); in FIXTURE()
187 ASSERT_TRUE(fd >= 0); in FIXTURE()
205 ASSERT_TRUE(fd >= 0); in FIXTURE()
[all …]
H A Dtest_single_audio_recorder_fast_stop_reset.h45 int32_t fd; in FIXTURE() local
114 ASSERT_TRUE(fd >= 0); in FIXTURE()
132 ASSERT_TRUE(fd >= 0); in FIXTURE()
151 ASSERT_TRUE(fd >= 0); in FIXTURE()
171 ASSERT_TRUE(fd >= 0); in FIXTURE()
192 ASSERT_TRUE(fd >= 0); in FIXTURE()
212 ASSERT_TRUE(fd >= 0); in FIXTURE()
221 ASSERT_TRUE(fd >= 0); in FIXTURE()
238 ASSERT_TRUE(fd >= 0); in FIXTURE()
260 ASSERT_TRUE(fd >= 0); in FIXTURE()
[all …]
H A Dtest_single_audio_recorder_fast_audio_function.h45 int32_t fd; in FIXTURE() local
106 ASSERT_TRUE(fd >= 0); in FIXTURE()
125 ASSERT_TRUE(fd >= 0); in FIXTURE()
145 ASSERT_TRUE(fd >= 0); in FIXTURE()
166 ASSERT_TRUE(fd >= 0); in FIXTURE()
175 ASSERT_TRUE(fd >= 0); in FIXTURE()
187 ASSERT_TRUE(fd >= 0); in FIXTURE()
208 ASSERT_TRUE(fd >= 0); in FIXTURE()
218 ASSERT_TRUE(fd >= 0); in FIXTURE()
230 ASSERT_TRUE(fd >= 0); in FIXTURE()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_tcp_socket.c143 SetSendBuf(fd); in SetServerOption()
144 SetRecvBuf(fd); in SetServerOption()
151 SetNoDelay(fd, 1); in SetClientOption()
156 SetSendBuf(fd); in SetClientOption()
157 SetRecvBuf(fd); in SetClientOption()
209 int fd; in OpenTcpServerSocket() local
232 return fd; in OpenTcpServerSocket()
292 int32_t fd = -1; in OpenTcpClientSocket() local
331 return fd; in OpenTcpClientSocket()
386 if (fd < 0) { in ConnSetTcpUserTimeOut()
[all …]
/ohos5.0/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/src/
H A Dv4l2_dev.cpp43 int fd; in start() local
63 if (fd < 0) { in start()
82 int fd; in stop() local
127 int rc, fd; in ReqBuffers() local
154 int rc, fd; in CreatBuffer() local
186 int rc, fd; in QueueBuffer() local
210 int fd; in ReleaseBuffers() local
284 epollevent.data.fd = fd; in CreateEpoll()
305 epollevent.data.fd = fd; in CreateEpoll()
324 if (event.data.fd == fd) { in EraseEpoll()
[all …]
H A Dv4l2_control.cpp30 ret = ioctl(fd, VIDIOC_S_CTRL, &ctrl); in V4L2VidiocSCtrl()
144 rc = ioctl(fd, VIDIOC_G_CTRL, &ctrl); in V4L2GetCtrl()
165 rc = ioctl(fd, VIDIOC_S_CTRL, &ctrl); in V4L2SetCtrl()
184 ret = ioctl(fd, VIDIOC_QUERYCTRL, ctrl); in ExtControl()
213 rc = V4L2GetCtrl(fd, qCtrl.id, value); in V4L2SetValue()
255 while (!ExtControl(fd, &qCtrl)) { in V4L2EnumExtControls()
263 V4L2EnumExtControl(fd, qCtrl, ctrl); in V4L2EnumExtControls()
345 if (fd < 0) { in V4L2GetControls()
351 rc = ExtControl(fd, &qCtrl); in V4L2GetControls()
354 V4L2EnumControls(fd, control); in V4L2GetControls()
[all …]
/ohos5.0/base/powermgr/battery_manager/services/native/src/
H A Dbattery_dump.cpp34 void BatteryDump::DumpBatteryHelp(int32_t fd) in DumpBatteryHelp() argument
36 dprintf(fd, "Usage:\n"); in DumpBatteryHelp()
37 dprintf(fd, " -h: dump help\n"); in DumpBatteryHelp()
38 dprintf(fd, " -i: dump battery info\n"); in DumpBatteryHelp()
47 void BatteryDump::DumpCurrentTime(int32_t fd) in DumpCurrentTime() argument
68 DumpCurrentTime(fd); in GetBatteryInfo()
70 dprintf(fd, "capacity: %u \n", capacity); in GetBatteryInfo()
80 dprintf(fd, "voltage: %d \n", voltage); in GetBatteryInfo()
82 dprintf(fd, "present: %d \n", present); in GetBatteryInfo()
125 dprintf(fd, "reset battery state \n"); in Reset()
[all …]
/ohos5.0/base/security/device_security_level/services/dfx/
H A Ddslm_hidumper.c162 static void PrintBanner(int fd) in PrintBanner() argument
173 dprintf(fd, END_LINE); in DumpDeviceDetails()
183 dprintf(fd, END_LINE); in DumpDeviceDetails()
189 dprintf(fd, END_LINE); in DumpDeviceDetails()
200 dprintf(fd, END_LINE); in DumpDeviceDetails()
238 DumpDeviceDetails(info, fd); in DumpOneDevice()
239 DumpHistoryCalls(info, fd); in DumpOneDevice()
268 void DslmDumper(int fd) in DslmDumper() argument
270 PrintBanner(fd); in DslmDumper()
271 PrintDefaultStatus(fd); in DslmDumper()
[all …]
/ohos5.0/base/hiviewdfx/hidumper_lite/lite/
H A Dhidumper.c87 if (fd < 0) { in ExecAction()
126 (void)fd; in DumpMemData()
137 (void)fd; in InjectKernelCrash()
160 DumpALLInfo(fd); in ParameterMatching()
162 DumpCpuUsage(fd); in ParameterMatching()
164 DumpFaultLog(fd); in ParameterMatching()
166 DumpMemUsage(fd); in ParameterMatching()
168 DumpTaskInfo(fd); in ParameterMatching()
207 int fd = -1; in main() local
209 if (fd < 0) { in main()
[all …]
/ohos5.0/base/startup/init/services/param/liteos/
H A Dparam_hal.c53 return close(fd); in ParamFileClose()
90 if (fd < 0) { in ParamFileStat()
94 lseek(fd, 0, SEEK_SET); in ParamFileStat()
95 close(fd); in ParamFileStat()
125 int fd = -1; in LoadPersistParam() local
129 if (fd < 0) { in LoadPersistParam()
160 if (fd > 0) { in LoadPersistParam()
196 if (fd > 0) { in SavePersistParam()
212 if (fd < 0) { in BatchSavePersistParamBegin()
223 int fd = (int)handle; in BatchSavePersistParam() local
[all …]
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
H A Devent_logger_catcher_test.cpp80 if (fd < 0) {
89 close(fd);
118 close(fd);
144 close(fd);
197 close(fd);
217 close(fd);
240 close(fd);
287 close(fd);
311 close(fd);
342 close(fd);
[all …]
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/
H A Ddump_command_dispatcher.h36 #define CHECK_SIZE(container, len, fd, actionIfFailed) \ argument
50 void ShowHelpInfo(const int fd) in ShowHelpInfo() argument
52 dprintf(fd, "Usage:\n"); in ShowHelpInfo()
79 void PrintOntrimError(const int fd) in PrintOntrimError() argument
88 void PrintReclaimError(const int fd) in PrintReclaimError() argument
109 PrintOntrimError(fd); in DispatchTriggerMemLevel()
128 PrintOntrimError(fd); in DispatchTriggerMemLevel()
228 PrintReclaimError(fd); in PurgeableMemoryDump()
251 ShowHelpInfo(fd); in DispatchDumpCommand()
255 MemMgrEventCenter::GetInstance().Dump(fd); in DispatchDumpCommand()
[all …]
/ohos5.0/base/startup/init/services/loopevent/socket/
H A Dle_socket.c84 LE_CHECK(fd > 0, return fd, "Failed to create socket"); in CreatePipeSocket_()
85 SetNoBlock(fd); in CreatePipeSocket_()
107 return fd; in CreatePipeSocket_()
149 LE_CHECK(fd > 0, return fd, "Failed to create socket"); in CreateTcpSocket_()
164 return fd; in CreateTcpSocket_()
173 LE_CHECK(fd >= 0, return fd, "Failed to accept socket"); in AcceptPipeSocket_()
175 return fd; in AcceptPipeSocket_()
184 LE_CHECK(fd >= 0, return fd, "Failed to accept socket"); in AcceptTcpSocket_()
186 return fd; in AcceptTcpSocket_()
191 int fd = -1; in CreateSocket() local
[all …]
/ohos5.0/foundation/multimodalinput/input/service/module_loader/src/
H A Duds_server.cpp81 if (fd < 0) { in SendMsg()
194 mprintf(fd, in Dump()
230 DelSession(fd); in ReleaseSession()
260 if (fd < 0) { in OnEpollRecv()
295 auto fd = ev.data.fd; in OnEpollEvent() local
296 if (fd < 0) { in OnEpollEvent()
345 if (fd <= 0) { in GetSessionByPid()
352 return GetSession(fd); in GetSessionByPid()
360 if (fd < 0) { in AddSession()
369 idxPidMap_[pid] = fd; in AddSession()
[all …]
/ohos5.0/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_dumper_test.cpp62 int fd = 1; variable
75 int fd = 1; variable
89 int fd = 1; variable
103 int fd = 1; variable
151 fd = 1;
157 fd = 1;
163 fd = 1;
169 fd = 1;
175 fd = 1;
181 fd = 1;
[all …]
/ohos5.0/base/update/updater/services/applypatch/
H A Dpartition_record.cpp42 if (fd < 0) { in IsPartitionUpdated()
48 close(fd); in IsPartitionUpdated()
53 close(fd); in IsPartitionUpdated()
65 fsync(fd); in IsPartitionUpdated()
66 close(fd); in IsPartitionUpdated()
126 if (fd < 0) { in RecordPartitionUpdateStatus()
146 fsync(fd); in RecordPartitionUpdateStatus()
147 close(fd); in RecordPartitionUpdateStatus()
157 if (fd < 0) { in ClearRecordPartitionOffset()
173 fsync(fd); in ClearRecordPartitionOffset()
[all …]
/ohos5.0/base/sensors/miscdevice/test/unittest/vibrator/capi/
H A Dvibrator_test.cpp161 .fd = fileDescriptor.fd,
184 .fd = fileDescriptor.fd,
204 .fd = fileDescriptor.fd,
224 .fd = fileDescriptor.fd,
244 .fd = fileDescriptor.fd,
264 .fd = fileDescriptor.fd,
284 .fd = fileDescriptor.fd,
304 .fd = fileDescriptor.fd,
323 .fd = fileDescriptor.fd,
369 .fd = fileDescriptor.fd,
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_stream_installer_proxy.cpp43 return fd; in CreateStream()
48 return fd; in CreateStream()
52 return fd; in CreateStream()
58 return fd; in CreateStream()
64 return fd; in CreateStream()
71 return fd; in CreateStream()
81 return fd; in CreateSignatureFileStream()
86 return fd; in CreateSignatureFileStream()
112 return fd; in CreateSignatureFileStream()
153 return fd; in CreateSharedBundleStream()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/hidumper_adapter/
H A Dsoftbus_hidumper_stats.c38 if (fd < 0 || argc != 1 || argv == NULL) { in SoftBusStatsDumpHander()
44 SOFTBUS_DPRINTF(fd, "SoftBusStatsDumpHander result malloc fail!\n"); in SoftBusStatsDumpHander()
51 SOFTBUS_DPRINTF(fd, "SoftBusStatsDumpHander query fail!\n"); in SoftBusStatsDumpHander()
55 SOFTBUS_DPRINTF(fd, "SoftBus 15min Statistics:\n"); in SoftBusStatsDumpHander()
56 SOFTBUS_DPRINTF(fd, "BT traffic = NA\n"); in SoftBusStatsDumpHander()
67 SOFTBUS_DPRINTF(fd, "SoftBusStatsDumpHander query fail!\n"); in SoftBusStatsDumpHander()
70 SOFTBUS_DPRINTF(fd, "SoftBus 24h Statistics:\n"); in SoftBusStatsDumpHander()
71 SOFTBUS_DPRINTF(fd, "BT traffic = NA\n"); in SoftBusStatsDumpHander()
73 SOFTBUS_DPRINTF(fd, "Act rate = NA\n"); in SoftBusStatsDumpHander()
77 SOFTBUS_DPRINTF(fd, "Keepalive detection times = NA\n"); in SoftBusStatsDumpHander()
[all …]
/ohos5.0/base/security/access_token/interfaces/innerkits/token_setproc/src/
H A Dtoken_setproc.c40 if (fd < 0) { in GetSelfTokenID()
45 close(fd); in GetSelfTokenID()
49 close(fd); in GetSelfTokenID()
56 if (fd < 0) { in SetSelfTokenID()
61 close(fd); in SetSelfTokenID()
65 close(fd); in SetSelfTokenID()
73 if (fd < 0) { in GetFirstCallerTokenID()
78 close(fd); in GetFirstCallerTokenID()
82 close(fd); in GetFirstCallerTokenID()
89 if (fd < 0) { in SetFirstCallerTokenID()
[all …]

12345678910>>...107