Home
last modified time | relevance | path

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

12345678910>>...77

/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_unique_fd_test.cpp61 int fd = open("NOTHISFILE", O_RDWR, 0666); variable
76 int fd = open(testfilename, O_RDWR, 0666); variable
84 int fd = open(testfilename, O_RDWR, 0666); variable
92 int fd = open(testfilename, O_RDWR, 0666); variable
100 int fd = open(testfilename, O_RDWR, 0666); variable
108 int fd = open(testfilename, O_RDWR, 0666); variable
116 int fd = open(testfilename, O_RDWR, 0666); variable
125 static void Close(int fd) in Close()
137 int fd = open(testfilename, O_RDWR); variable
151 int fd = open(testfilename, O_RDWR); variable
/ohos5.0/base/powermgr/battery_manager/test/unittest/src/
H A Dbattery_dump_test.cpp48 int32_t fd = 1; variable
63 int32_t fd = 1; variable
78 int32_t fd = 1; variable
93 int32_t fd = 1; variable
108 int32_t fd = 1; variable
123 int32_t fd = 1; variable
137 int32_t fd = 1; variable
151 int32_t fd = 1; variable
165 int32_t fd = 1; variable
178 int32_t fd = 1; variable
[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
117 int fd = -1; variable
131 int fd = -1; variable
145 int fd = 1; variable
201 int fd = 1; variable
216 int fd = 1; variable
231 int fd = 1; variable
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_tcp_socket.c33 static int SetReusePort(int fd, int on) in SetReusePort()
44 static int SetReuseAddr(int fd, int on) in SetReuseAddr()
54 static int SetNoDelay(int fd, int on) in SetNoDelay()
91 static int SetRcvBufFix(int fd, int val) in SetRcvBufFix()
102 static int SetSendBuf(int fd) in SetSendBuf()
119 static int SetRecvBuf(int fd) in SetRecvBuf()
136 static void SetServerOption(int fd) in SetServerOption()
148 static void SetClientOption(int fd) in SetClientOption()
184 int32_t SetIpTos(int fd, uint32_t tos) in SetIpTos()
209 int fd; in OpenTcpServerSocket() local
[all …]
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dfunc2_test.cpp133 int fd = open(file, O_RDONLY); variable
181 int fd = open(file, O_RDONLY); variable
238 int fd = open(file, O_RDONLY); variable
294 int fd = open(file, O_RDONLY); variable
347 int fd = open(file, O_RDONLY); variable
387 int fd = open(file, O_RDONLY); variable
426 int fd = open(file, O_RDONLY); variable
455 int fd = open(file, O_RDONLY); variable
495 int fd = open(file, O_RDONLY); variable
519 int fd = open(file, O_RDONLY); variable
[all …]
H A Dfunc_test.cpp201 int fd = open(file, O_RDONLY); variable
220 int fd = open(file, O_RDONLY); variable
240 int fd = open(file, O_RDONLY); variable
291 int fd = open(file, O_RDONLY); variable
350 int fd = open(file, O_RDONLY); variable
408 int fd = open(file, O_RDONLY); variable
466 int fd = open(file, O_RDONLY); variable
517 int fd = open(file, O_RDONLY); variable
566 int fd = open(file, O_RDONLY); variable
615 int fd = open(file, O_RDONLY); variable
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
H A Dlnn_socket_mock.cpp53 ssize_t ConnSendSocketData(int32_t fd, const char *buf, size_t len, int32_t timeout) in ConnSendSocketData()
58 void ConnShutdownSocket(int32_t fd) in ConnShutdownSocket()
63 int32_t ConnSetTcpKeepalive(int32_t fd, int32_t seconds, int32_t keepAliveIntvl, int32_t keepAliveC… in ConnSetTcpKeepalive()
68 int32_t ConnSetTcpUserTimeOut(int32_t fd, uint32_t millSec) in ConnSetTcpUserTimeOut()
73 int32_t ConnToggleNonBlockMode(int32_t fd, bool isNonBlock) in ConnToggleNonBlockMode()
78 int32_t ConnGetSocketError(int32_t fd) in ConnGetSocketError()
83 int32_t ConnGetLocalSocketPort(int32_t fd) in ConnGetLocalSocketPort()
88 int32_t ConnGetPeerSocketAddr(int32_t fd, SocketAddr *socketAddr) in ConnGetPeerSocketAddr()
/ohos5.0/foundation/resourceschedule/qos_manager/services/src/
H A Dqos_interface.cpp71 int fd = TrivalOpenRtgNode(); in EnableRtg() local
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
311 int fd; in QosPolicySet() local
[all …]
/ohos5.0/foundation/resourceschedule/ffrt/src/eu/
H A Drtg_perf_ctrl.cpp33 int fd = -1; in OpenPerfCtrl() local
51 int fd = OpenPerfCtrl(); in SetTaskRtg() local
66 int fd = OpenPerfCtrl(); in SetRtgStatus() local
81 int fd = OpenPerfCtrl(); in SetRtgQos() local
103 int fd = OpenPerfCtrl(); in SetRtgLoadMode() local
120 int fd = OpenPerfCtrl(); in set_task_min_util() local
H A Dqos_interface.cpp79 int fd = TrivalOpenRtgNode(); in FFRTEnableRtg() local
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 …]
/ohos5.0/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/
H A Devent_logger_catcher_test.cpp79 auto fd = open("/data/test/catcherFile", O_CREAT | O_WRONLY | O_TRUNC, DEFAULT_MODE); variable
99 auto fd = open("/data/test/testFile", O_CREAT | O_WRONLY | O_TRUNC, DEFAULT_MODE); variable
128 auto fd = open("/data/test/testFile", O_CREAT | O_WRONLY | O_TRUNC, DEFAULT_MODE); variable
154 auto fd = open("/data/test/testFile", O_CREAT | O_WRONLY | O_TRUNC, DEFAULT_MODE); variable
210 auto fd = open("/data/test/catcherFile", O_CREAT | O_WRONLY | O_TRUNC, DEFAULT_MODE); variable
230 auto fd = open("/data/test/catcherFile", O_CREAT | O_WRONLY | O_TRUNC, DEFAULT_MODE); variable
321 auto fd = open("/data/test/catcherFile", O_CREAT | O_WRONLY | O_TRUNC, DEFAULT_MODE); variable
352 auto fd = open("/data/test/catcherFile", O_CREAT | O_WRONLY | O_TRUNC, DEFAULT_MODE); variable
372 auto fd = open("/data/test/catcherFile", O_CREAT | O_WRONLY | O_TRUNC, DEFAULT_MODE); variable
525 auto fd = open("/data/test/peerFile", O_CREAT | O_WRONLY | O_TRUNC, DEFAULT_MODE); variable
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/ipc_framework/cRPC/unittest/
H A Dserver_test.cpp53 int fd = 0; variable
63 int fd = 0; variable
72 int fd = 0; variable
84 int fd = 0; variable
97 int fd = 1; variable
110 int fd = 0; variable
119 int fd = 0; variable
126 int fd = 0; variable
138 int fd = 0; variable
150 int fd = 0; variable
H A Dnet_test.cpp28 int fd = 0; variable
38 int fd = 0; variable
48 int fd = CreateUnixServer("./rpc_test.sock", 1); variable
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_base/
H A Dserver_test.cpp53 int fd = 0; variable
63 int fd = 0; variable
72 int fd = 0; variable
84 int fd = 0; variable
97 int fd = 1; variable
110 int fd = 0; variable
119 int fd = 0; variable
126 int fd = 0; variable
138 int fd = 0; variable
150 int fd = 0; variable
/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
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
344 int rc, fd; in StartStream() local
488 int32_t fd; in UpdateSetting() local
516 int32_t fd; in QuerySetting() local
551 int32_t fd; in GetNumberCtrls() local
[all …]
H A Dv4l2_fileformat.cpp24 void HosFileFormat::V4L2GetCurrentFormat(int fd, std::vector<DeviceFormat>& fmtDesc, in V4L2GetCurrentFormat()
53 RetCode HosFileFormat::V4L2SearchFormat(int fd, std::vector<DeviceFormat>& fmtDesc) in V4L2SearchFormat()
94 RetCode HosFileFormat::V4L2GetFmtDescs(int fd, std::vector<DeviceFormat>& fmtDesc) in V4L2GetFmtDescs()
151 RetCode HosFileFormat::V4L2GetFmt(int fd, DeviceFormat& format) in V4L2GetFmt()
185 RetCode HosFileFormat::V4L2SetFmt(int fd, DeviceFormat& format) in V4L2SetFmt()
219 RetCode HosFileFormat::V4L2GetCrop(int fd, DeviceFormat& format) in V4L2GetCrop()
246 RetCode HosFileFormat::V4L2SetCrop(int fd, DeviceFormat& format) in V4L2SetCrop()
273 RetCode HosFileFormat::V4L2GetCropCap(int fd, DeviceFormat& format) in V4L2GetCropCap()
330 void HosFileFormat::V4L2CloseDevice(int fd) in V4L2CloseDevice()
340 int fd = 0; in V4L2MatchDevice() local
[all …]
H A Dv4l2_control.cpp22 void HosV4L2Control::V4L2VidiocSCtrl (int fd, int ret, struct v4l2_ext_control* cList, int count) in V4L2VidiocSCtrl()
75 void HosV4L2Control::V4L2VidiocGExtCtrls (int fd, int ret, int &count, in V4L2VidiocGExtCtrls()
136 RetCode HosV4L2Control::V4L2GetCtrl(int fd, unsigned int id, int& value) in V4L2GetCtrl()
155 RetCode HosV4L2Control::V4L2SetCtrl(int fd, unsigned int id, int value) in V4L2SetCtrl()
174 int HosV4L2Control::ExtControl(int fd, struct v4l2_queryctrl *ctrl) in ExtControl()
191 void HosV4L2Control::V4L2SetValue(int fd, std::vector<DeviceControl>& control, in V4L2SetValue()
224 void HosV4L2Control::V4L2EnumExtControl(int fd, v4l2_queryctrl &qCtrl, DeviceControl &ctrl) in V4L2EnumExtControl()
248 void HosV4L2Control::V4L2EnumExtControls(int fd, std::vector<DeviceControl>& control) in V4L2EnumExtControls()
270 int HosV4L2Control::V4L2GetControl(int fd, std::vector<DeviceControl>& control, unsigned int id) in V4L2GetControl()
317 void HosV4L2Control::V4L2EnumControls(int fd, std::vector<DeviceControl>& control) in V4L2EnumControls()
[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()
79 void PrintOntrimError(const int fd) in PrintOntrimError()
88 void PrintReclaimError(const int fd) in PrintReclaimError()
100 void DispatchTriggerMemLevel(const int fd, std::map<std::string, std::vector<std::string>> &keyValu… in DispatchTriggerMemLevel()
134 void ParseForceReclaimType(const int fd, std::map<std::string, std::vector<std::string>> &keyValues… in ParseForceReclaimType()
167 bool ParseForceReclaimId(const int fd, std::map<std::string, std::vector<std::string>> &keyValuesMa… in ParseForceReclaimId()
209 bool PurgeableMemoryDump(int fd, std::map<std::string, std::vector<std::string>> &keyValuesMapping) in PurgeableMemoryDump()
248 void DispatchDumpCommand(const int fd, std::map<std::string, std::vector<std::string>> &keyValuesMa… in DispatchDumpCommand()
/ohos5.0/base/hiviewdfx/hidumper_lite/lite/
H A 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
/ohos5.0/base/startup/init/services/param/liteos/
H A 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
125 int fd = -1; in LoadPersistParam() local
170 static int PersistWrite(int fd, const char *name, const char *value) in PersistWrite()
195 int fd = ParamFileOpen(PARAM_PERSIST_SAVE_PATH, MODE_APPEND, 0); in SavePersistParam() local
211 int fd = ParamFileOpen(PARAM_PERSIST_SAVE_PATH, MODE_CREATE, 0); in BatchSavePersistParamBegin() local
223 int fd = (int)handle; in BatchSavePersistParam() local
233 int fd = (int)handle; in BatchSavePersistParamEnd() local
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/src/
H A Dclient_trans_tcp_direct_listener.c63 static int32_t ClientTdcOnDataEvent(ListenerModule module, int events, int32_t fd) in ClientTdcOnDataEvent()
92 int32_t TransTdcCreateListener(int32_t fd) in TransTdcCreateListener()
119 int32_t TransTdcCreateListenerWithoutAddTrigger(int32_t fd) in TransTdcCreateListenerWithoutAddTrigger()
145 void TransTdcCloseFd(int32_t fd) in TransTdcCloseFd()
155 void TransTdcReleaseFd(int32_t fd) in TransTdcReleaseFd()
165 int32_t TransTdcStopRead(int32_t fd) in TransTdcStopRead()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/
H A Dapi.c63 FILLP_INT fd, in FtBind()
92 FILLP_INT fd, in FtConnect()
111 FILLP_ULLONG DLL_API FtGetRtt(FILLP_INT fd) in FtGetRtt()
198 FILLP_INT DLL_API FtClose(FILLP_INT fd) in FtClose()
209 FILLP_INT DLL_API FtShutDown(FILLP_INT fd, FILLP_INT how) in FtShutDown()
1004 FILLP_INT fd, in FtGetSockName()
1020 FILLP_INT fd, in FtGetPeerName()
1041 FILLP_INT fd, in FtGetSockOpt()
1064 FILLP_INT fd, in FtSetSockOpt()
1110 IN FILLP_INT fd, in FtFillpStatsGet()
[all …]
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_ashmem_test/
H A Dfms_form_ashmem_test.cpp72 int32_t fd = -1; variable
136 int32_t fd = -1; variable
153 int32_t fd = -1; variable
227 int32_t fd = -1; variable
247 int32_t fd = -1; variable
267 int32_t fd = -1; variable
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/muxer/InnerAPI/
H A DInnerAVMuxerParamCheckTest.cpp53 int32_t fd = -1; variable
75 int32_t fd = muxerDemo->InnerGetFdByMode(format); variable
105 int32_t fd = muxerDemo->InnerGetFdByMode(format); variable
151 int32_t fd = muxerDemo->InnerGetFdByMode(format); variable
198 int32_t fd = muxerDemo->InnerGetFdByMode(format); variable
234 int32_t fd = muxerDemo->InnerGetFdByMode(format); variable
269 int32_t fd = muxerDemo->InnerGetFdByMode(format); variable
317 int32_t fd = muxerDemo->InnerGetFdByMode(format); variable
353 int32_t fd = muxerDemo->InnerGetFdByMode(format); variable
389 int32_t fd = muxerDemo->InnerGetFdByMode(format); variable
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/unique_fd_benchmark_test/
H A Dunique_fd_benchmark_test.cpp75 int fd = open("NOTHISFILE", O_RDWR, FILE_PERMISSION_READ_WRITE); in BENCHMARK_F() local
98 int fd = open(TEST_FILE_NAME, O_RDWR, FILE_PERMISSION_READ_WRITE); in BENCHMARK_F() local
110 int fd = open(TEST_FILE_NAME, O_RDWR, FILE_PERMISSION_READ_WRITE); in BENCHMARK_F() local
122 int fd = open(TEST_FILE_NAME, O_RDWR, FILE_PERMISSION_READ_WRITE); in BENCHMARK_F() local
134 int fd = open(TEST_FILE_NAME, O_RDWR, FILE_PERMISSION_READ_WRITE); in BENCHMARK_F() local
169 static void Close(int fd) in Close()
188 int fd = open(TEST_FILE_NAME, O_RDWR); in BENCHMARK_F() local
208 int fd = open(TEST_FILE_NAME, O_RDWR); in BENCHMARK_F() local
229 int fd = ufd.Release(); in BENCHMARK_F() local
244 int fd = ufd; in BENCHMARK_F() local
[all …]

12345678910>>...77