Home
last modified time | relevance | path

Searched refs:pid (Results 151 - 175 of 8429) sorted by relevance

12345678910>>...338

/base/request/request/services/src/service/client/
H A Dmanager.rs53 // map from pid to client and fd
83 ClientEvent::OpenChannel(pid, tx) => self.handle_open_channel(pid, tx),
84 ClientEvent::Subscribe(tid, pid, uid, token_id, tx) => {
85 self.handle_subscribe(tid, pid, uid, token_id, tx)
89 ClientEvent::Terminate(pid, tx) => self.handle_process_terminated(pid, tx),
91 if let Some(&pid) = self.pid_map.get(&tid) {
92 if let Some((tx, _fd)) = self.clients.get_mut(&pid) {
106 debug!("response pid no
[all...]
/foundation/resourceschedule/qos_manager/test/unittest/phone/
H A Dqos_interface_test.cpp83 unsigned int pid = getpid(); in HWTEST_F() local
86 int ret = AuthEnable(pid, uaFlag, status); in HWTEST_F()
97 unsigned int pid = getpid(); in HWTEST_F() local
101 AuthEnable(pid, rtgFlag, status); in HWTEST_F()
103 int ret = AuthSwitch(pid, rtgFlag, qosFlag, status); in HWTEST_F()
114 unsigned int pid = getpid(); in HWTEST_F() local
117 AuthEnable(pid, uaFlag, status); in HWTEST_F()
118 int ret = AuthDelete(pid); in HWTEST_F()
120 AuthEnable(pid, uaFlag, status); in HWTEST_F()
130 unsigned int pid in HWTEST_F() local
163 unsigned int pid = getpid(); HWTEST_F() local
185 unsigned int pid = getpid(); HWTEST_F() local
274 unsigned int pid = getpid(); HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/drivers/media/common/b2c2/
H A Dflexcop-hw-filter.c4 * flexcop-hw-filter.c - pid and mac address filtering and control functions
47 u16 pid, u16 mask) in flexcop_pid_group_filter()
51 v30c.pid_filter_30c_ext_ind_0_7.Group_PID = pid; in flexcop_pid_group_filter()
68 vpid.vregname.field = onoff ? pid : 0x1fff; \
75 u16 pid, int onoff) in flexcop_pid_Stream1_PID_ctrl()
82 u16 pid, int onoff) in flexcop_pid_Stream2_PID_ctrl()
89 u16 pid, int onoff) in flexcop_pid_PCR_PID_ctrl()
95 u16 pid, int onoff) in flexcop_pid_PMT_PID_ctrl()
101 u16 pid, int onoff) in flexcop_pid_EMM_PID_ctrl()
107 u16 pid, in in flexcop_pid_ECM_PID_ctrl()
46 flexcop_pid_group_filter(struct flexcop_device *fc, u16 pid, u16 mask) flexcop_pid_group_filter() argument
74 flexcop_pid_Stream1_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_Stream1_PID_ctrl() argument
81 flexcop_pid_Stream2_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_Stream2_PID_ctrl() argument
88 flexcop_pid_PCR_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_PCR_PID_ctrl() argument
94 flexcop_pid_PMT_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_PMT_PID_ctrl() argument
100 flexcop_pid_EMM_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_EMM_PID_ctrl() argument
106 flexcop_pid_ECM_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_ECM_PID_ctrl() argument
112 flexcop_pid_control(struct flexcop_device *fc, int index, u16 pid, int onoff) flexcop_pid_control() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/common/b2c2/
H A Dflexcop-hw-filter.c4 * flexcop-hw-filter.c - pid and mac address filtering and control functions
47 u16 pid, u16 mask) in flexcop_pid_group_filter()
51 v30c.pid_filter_30c_ext_ind_0_7.Group_PID = pid; in flexcop_pid_group_filter()
68 vpid.vregname.field = onoff ? pid : 0x1fff; \
75 u16 pid, int onoff) in flexcop_pid_Stream1_PID_ctrl()
82 u16 pid, int onoff) in flexcop_pid_Stream2_PID_ctrl()
89 u16 pid, int onoff) in flexcop_pid_PCR_PID_ctrl()
95 u16 pid, int onoff) in flexcop_pid_PMT_PID_ctrl()
101 u16 pid, int onoff) in flexcop_pid_EMM_PID_ctrl()
107 u16 pid, in in flexcop_pid_ECM_PID_ctrl()
46 flexcop_pid_group_filter(struct flexcop_device *fc, u16 pid, u16 mask) flexcop_pid_group_filter() argument
74 flexcop_pid_Stream1_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_Stream1_PID_ctrl() argument
81 flexcop_pid_Stream2_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_Stream2_PID_ctrl() argument
88 flexcop_pid_PCR_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_PCR_PID_ctrl() argument
94 flexcop_pid_PMT_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_PMT_PID_ctrl() argument
100 flexcop_pid_EMM_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_EMM_PID_ctrl() argument
106 flexcop_pid_ECM_PID_ctrl(struct flexcop_device *fc, u16 pid, int onoff) flexcop_pid_ECM_PID_ctrl() argument
112 flexcop_pid_control(struct flexcop_device *fc, int index, u16 pid, int onoff) flexcop_pid_control() argument
[all...]
/third_party/mbedtls/programs/ssl/
H A Dssl_fork_server.c74 int ret = 1, len, cnt = 0, pid; in main() local
218 pid = fork(); in main()
220 if (pid < 0) { in main()
221 mbedtls_printf(" failed! fork returned %d\n\n", pid); in main()
225 if (pid != 0) { in main()
241 pid = getpid(); in main()
246 mbedtls_printf("pid %d: Setting up the SSL data.\n", pid); in main()
253 "pid %d: SSL setup failed! mbedtls_ctr_drbg_reseed returned %d\n\n", in main()
254 pid, re in main()
[all...]
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
H A Dcpuset_load_balance_test.sh87 pid=$!
97 cpuset_set_opt "$g_path" "tasks" "$pid" 2> $CPUSET_TMP/stderr
102 /bin/kill -s SIGKILL $pid
108 /bin/kill -s SIGUSR1 $pid 2> $CPUSET_TMP/stderr
113 /bin/kill -s SIGKILL $pid
125 /bin/kill -s SIGUSR1 $pid 2> $CPUSET_TMP/stderr
130 /bin/kill -s SIGUSR2 $pid
135 /bin/kill -s SIGUSR2 $pid 2> $CPUSET_TMP/stderr
143 wait $pid
168 local pid
[all...]
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/
H A Dprocess_state_info_collector.cpp58 std::shared_ptr<ProcessCpuData> ProcessStatInfoCollector::FetchProcessCpuData(int32_t pid) in FetchProcessCpuData() argument
64 return (pid == INVALID_PID) in FetchProcessCpuData()
66 : deviceClient_->FetchProcessCpuData(pid); in FetchProcessCpuData()
78 lastProcCpuTimeInfos_[procCpuItem->pid] = { in UpdateLastProcCpuTimeInfo()
154 if (lastProcCpuTimeInfos_.find(procCpuItem->pid) == lastProcCpuTimeInfos_.end()) { in CalculateProcessCpuStatInfo()
155 HIVIEW_LOGD("lastProcCpuTimeInfos do not have pid:%{public}d", procCpuItem->pid); in CalculateProcessCpuStatInfo()
161 processCpuStatInfo.pid = procCpuItem->pid; in CalculateProcessCpuStatInfo()
164 processCpuStatInfo.procName = ProcessStatus::GetInstance().GetProcessName(procCpuItem->pid); in CalculateProcessCpuStatInfo()
195 CollectProcessCpuStatInfo(int32_t pid, bool isNeedUpdate) CollectProcessCpuStatInfo() argument
227 InitCalculationTimeInfo(int32_t pid) InitCalculationTimeInfo() argument
242 TryToDeleteDeadProcessInfoByPid(int32_t pid) TryToDeleteDeadProcessInfoByPid() argument
[all...]
/third_party/musl/libc-test/src/functionalext/fortify/
H A Dstdio.c115 int pid = fork(); in stdio_dynamic_chk_003() local
116 switch (pid) { in stdio_dynamic_chk_003()
124 waitpid(pid, &status, WUNTRACED); in stdio_dynamic_chk_003()
128 kill(pid, SIGCONT); in stdio_dynamic_chk_003()
154 int pid = fork(); in stdio_dynamic_chk_004() local
155 switch (pid) { in stdio_dynamic_chk_004()
163 waitpid(pid, &status, WUNTRACED); in stdio_dynamic_chk_004()
167 kill(pid, SIGCONT); in stdio_dynamic_chk_004()
242 int pid = fork(); in stdio_dynamic_chk_007() local
243 switch (pid) { in stdio_dynamic_chk_007()
308 int pid = fork(); stdio_dynamic_chk_010() local
345 int pid = fork(); stdio_dynamic_chk_011() local
401 int pid = fork(); stdio_dynamic_chk_012() local
433 int pid = fork(); stdio_dynamic_chk_013() local
[all...]
/test/xts/acts/kernel_lite/ipc_posix/signal/
H A DSignalTest.cpp90 pid_t pid = fork(); in HWTEST_P() local
91 ASSERT_TRUE(pid >= 0) << "======== Fork Error! ========="; in HWTEST_P()
92 if (pid == 0) { // child in HWTEST_P()
103 WaitProcExitedOK(pid); in HWTEST_P()
116 pid_t pid = fork(); in HWTEST_F() local
117 ASSERT_TRUE(pid >= 0) << "======== Fork Error! ========="; in HWTEST_F()
118 if (pid > 0) { // parent in HWTEST_F()
122 kill(pid, SIGKILL); in HWTEST_F()
124 WaitProcKilled(pid, SIGKILL); in HWTEST_F()
145 pid_t pid in HWTEST_F() local
187 pid_t pid = fork(); HWTEST_F() local
239 pid_t pid = fork(); HWTEST_F() local
270 pid_t pid = fork(); HWTEST_F() local
310 pid_t pid = fork(); HWTEST_F() local
346 pid_t pid = fork(); HWTEST_F() local
403 pid_t pid = fork(); HWTEST_F() local
441 pid_t pid = fork(); HWTEST_F() local
506 pid_t pid = fork(); HWTEST_F() local
553 pid_t pid = fork(); HWTEST_F() local
591 pid_t pid = fork(); HWTEST_F() local
646 pid_t pid = fork(); HWTEST_F() local
692 pid_t pid = fork(); HWTEST_F() local
774 pid_t pid = fork(); HWTEST_F() local
835 pid_t pid = fork(); HWTEST_F() local
1006 pid_t pid = fork(); HWTEST_F() local
1042 pid_t pid = fork(); HWTEST_F() local
1070 pid_t pid = fork(); HWTEST_F() local
1100 pid_t pid = fork(); HWTEST_F() local
1143 pid_t pid = fork(); HWTEST_F() local
1228 pid_t pid = fork(); HWTEST_F() local
1721 pid_t pid = fork(); HWTEST_F() local
1745 pid_t pid = fork(); HWTEST_F() local
1768 pid_t pid = fork(); HWTEST_F() local
[all...]
/base/sensors/sensor/services/include/
H A Dclient_info.h48 bool OnlyCurPidSensorEnabled(int32_t sensorId, int32_t pid);
51 sptr<SensorBasicDataChannel> GetSensorChannelByPid(int32_t pid);
52 bool UpdateSensorInfo(int32_t sensorId, int32_t pid, const SensorBasicInfo &sensorInfo);
53 void RemoveSubscriber(int32_t sensorId, uint32_t pid);
54 bool UpdateSensorChannel(int32_t pid, const sptr<SensorBasicDataChannel> &channel);
55 bool UpdateAppThreadInfo(int32_t pid, int32_t uid, AccessTokenID callerToken);
57 void ClearCurPidSensorInfo(int32_t sensorId, int32_t pid);
58 bool DestroySensorChannel(int32_t pid);
59 void DestroyAppThreadInfo(int32_t pid);
60 SensorBasicInfo GetCurPidSensorInfo(int32_t sensorId, int32_t pid);
[all...]
/base/sensors/medical_sensor/services/medical_sensor/src/
H A Dclient_info.cpp96 bool ClientInfo::OnlyCurPidSensorEnabled(uint32_t sensorId, int32_t pid) in OnlyCurPidSensorEnabled() argument
98 HiLog::Debug(LABEL, "%{public}s begin, sensorId : %{public}u, pid : %{public}d", __func__, sensorId, pid); in OnlyCurPidSensorEnabled()
99 if ((sensorId == INVALID_SENSOR_ID) || (pid <= INVALID_PID)) { in OnlyCurPidSensorEnabled()
100 HiLog::Error(LABEL, "%{public}s sensorId or pid is invalid", __func__); in OnlyCurPidSensorEnabled()
115 if (pidIt.first != pid) { in OnlyCurPidSensorEnabled()
124 bool ClientInfo::UpdateUid(int32_t pid, int32_t uid, AccessTokenID callerToken) in UpdateUid() argument
126 HiLog::Debug(LABEL, "%{public}s begin, pid : %{public}d, uid : %{public}d", __func__, pid, uid); in UpdateUid()
127 if ((uid == INVALID_UID) || (pid < in UpdateUid()
148 DestroyUid(int32_t pid) DestroyUid() argument
192 GetSensorChannelByPid(int32_t pid) GetSensorChannelByPid() argument
234 UpdateSensorInfo(uint32_t sensorId, int32_t pid, const MedicalSensorBasicInfo &sensorInfo) UpdateSensorInfo() argument
258 RemoveSubscriber(uint32_t sensorId, uint32_t pid) RemoveSubscriber() argument
272 UpdateSensorChannel(int32_t pid, const sptr<MedicalSensorBasicDataChannel> &channel) UpdateSensorChannel() argument
312 ClearCurPidSensorInfo(uint32_t sensorId, int32_t pid) ClearCurPidSensorInfo() argument
336 DestroySensorChannel(int32_t pid) DestroySensorChannel() argument
369 GetCurPidSensorInfo(uint32_t sensorId, int32_t pid) GetCurPidSensorInfo() argument
404 int32_t pid = INVALID_PID; ComputeBestPeriodCount() local
430 int32_t pid = INVALID_PID; ComputeBestFifoCount() local
500 SaveClientPid(const sptr<IRemoteObject> &sensorClient, int32_t pid) SaveClientPid() argument
559 GetSensorIdByPid(int32_t pid) GetSensorIdByPid() argument
622 GetUidByPid(int32_t pid) GetUidByPid() argument
[all...]
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_bluetooth_test.cpp40 static void WriteBluetoothEvent(int32_t pid, int32_t uid, long time) in WriteBluetoothEvent() argument
50 "PID", pid, "UID", uid, "STATE", stateOn); in WriteBluetoothEvent()
54 "PID", pid, "UID", uid, "STATE", stateOff); in WriteBluetoothEvent()
58 "PID", pid, "UID", uid); in WriteBluetoothEvent()
62 "PID", pid, "UID", uid); in WriteBluetoothEvent()
66 "PID", pid, "UID", uid, "STATE", stateOn); in WriteBluetoothEvent()
70 "PID", pid, "UID", uid, "STATE", stateOff); in WriteBluetoothEvent()
74 "PID", pid, "UID", uid, "STATE", stateScanOn); in WriteBluetoothEvent()
78 "PID", pid, "UID", uid, "STATE", stateScanOff); in WriteBluetoothEvent()
129 int32_t pid in HWTEST_F() local
164 int32_t pid = 3458; HWTEST_F() local
201 int32_t pid = 3458; HWTEST_F() local
236 int32_t pid = 3458; HWTEST_F() local
278 int32_t pid = 3458; HWTEST_F() local
324 int32_t pid = 3458; HWTEST_F() local
365 int32_t pid = 3458; HWTEST_F() local
400 int32_t pid = 3458; HWTEST_F() local
445 int32_t pid = 3458; HWTEST_F() local
479 int32_t pid = 3458; HWTEST_F() local
515 int32_t pid = 3458; HWTEST_F() local
552 int32_t pid = 3458; HWTEST_F() local
587 int32_t pid = 3458; HWTEST_F() local
629 int32_t pid = 3458; HWTEST_F() local
675 int32_t pid = 3458; HWTEST_F() local
716 int32_t pid = 3458; HWTEST_F() local
751 int32_t pid = 3458; HWTEST_F() local
796 int32_t pid = 3458; HWTEST_F() local
830 int32_t pid = 3458; HWTEST_F() local
866 int32_t pid = 3458; HWTEST_F() local
901 int32_t pid = 3458; HWTEST_F() local
938 int32_t pid = 3458; HWTEST_F() local
983 int32_t pid = 3458; HWTEST_F() local
1024 int32_t pid = 3458; HWTEST_F() local
1059 int32_t pid = 3458; HWTEST_F() local
1104 int32_t pid = 3458; HWTEST_F() local
1191 int32_t pid = 3458; HWTEST_F() local
1225 int32_t pid = 3458; HWTEST_F() local
1258 int32_t pid = 3458; HWTEST_F() local
1291 int32_t pid = 3458; HWTEST_F() local
1332 int32_t pid = 3458; HWTEST_F() local
1420 int32_t pid = 3458; HWTEST_F() local
1456 int32_t pid = 3458; HWTEST_F() local
1489 int32_t pid = 3458; HWTEST_F() local
1533 int32_t pid = 3458; HWTEST_F() local
[all...]
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/
H A Dprocess_test_031.cpp57 pid_t pid, pid1; in TestCase() local
59 pid = fork(); in TestCase()
60 ICUNIT_GOTO_WITHIN_EQUAL(pid, 0, 100000, pid, EXIT); // 100000, assert pid equal to this. in TestCase()
62 if (pid == 0) { in TestCase()
69 ret = setpgid(pid, pid); in TestCase()
77 Child2(currGid, pid); in TestCase()
83 ret = setpgid(pid1, pid); in TestCase()
[all...]
H A Dprocess_test_042.cpp80 pid_t pid, pid1; in GroupProcess() local
99 pid = fork(); in GroupProcess()
100 ICUNIT_GOTO_WITHIN_EQUAL(pid, 0, 100000, pid, EXIT); // 100000, assert pid equal to this. in GroupProcess()
101 if (pid == 0) { in GroupProcess()
108 ICUNIT_GOTO_WITHIN_EQUAL(pid1, 0, 100000, pid1, EXIT); // 100000, assert pid equal to this. in GroupProcess()
128 ret = sched_setscheduler(pid, SCHED_RR, &param); in GroupProcess()
133 ret = waitpid(pid, &status, 0); in GroupProcess()
134 ICUNIT_ASSERT_EQUAL(ret, pid, re in GroupProcess()
152 pid_t pid, pid1; TestCase() local
[all...]
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_audio_test.cpp65 int32_t pid = 3458; in HWTEST_F() local
70 HiSysEvent::EventType::BEHAVIOR, "PID", pid, "UID", uid, "STATE", stateRunning); in HWTEST_F()
73 HiSysEvent::EventType::BEHAVIOR, "PID", pid, "UID", uid, "STATE", stateStopped); in HWTEST_F()
97 int32_t pid = 3458; in HWTEST_F() local
102 HiSysEvent::EventType::BEHAVIOR, "PID", pid, "UID", uid, "STATE", stateRunning); in HWTEST_F()
105 HiSysEvent::EventType::BEHAVIOR, "PID", pid, "UID", uid, "STATE", stateStopped); in HWTEST_F()
128 int32_t pid = 3458; in HWTEST_F() local
135 HiSysEvent::EventType::BEHAVIOR, "PID", pid, "UID", uid, "STATE", stateRunning); in HWTEST_F()
138 HiSysEvent::EventType::BEHAVIOR, "PID", pid, "UID", uid, "STATE", stateStopped); in HWTEST_F()
159 int32_t pid in HWTEST_F() local
205 int32_t pid = 3458; HWTEST_F() local
245 int32_t pid = 3458; HWTEST_F() local
[all...]
H A Dstats_bluetooth_test.cpp31 static void WriteBluetoothEvent(int32_t pid, int32_t uid, long time) in WriteBluetoothEvent() argument
39 HiSysEvent::EventType::STATISTIC, "PID", pid, "UID", uid, "STATE", stateOn); in WriteBluetoothEvent()
42 HiSysEvent::EventType::STATISTIC, "PID", pid, "UID", uid, "STATE", stateOff); in WriteBluetoothEvent()
45 HiSysEvent::EventType::STATISTIC, "PID", pid, "UID", uid); in WriteBluetoothEvent()
48 HiSysEvent::EventType::STATISTIC, "PID", pid, "UID", uid); in WriteBluetoothEvent()
51 HiSysEvent::EventType::STATISTIC, "PID", pid, "UID", uid, "STATE", stateOn); in WriteBluetoothEvent()
54 HiSysEvent::EventType::STATISTIC, "PID", pid, "UID", uid, "STATE", stateOff); in WriteBluetoothEvent()
57 HiSysEvent::EventType::STATISTIC, "PID", pid, "UID", uid, "STATE", stateScanOn); in WriteBluetoothEvent()
60 HiSysEvent::EventType::STATISTIC, "PID", pid, "UID", uid, "STATE", stateScanOff); in WriteBluetoothEvent()
100 int32_t pid in HWTEST_F() local
132 int32_t pid = 3458; HWTEST_F() local
166 int32_t pid = 3458; HWTEST_F() local
198 int32_t pid = 3458; HWTEST_F() local
237 int32_t pid = 3458; HWTEST_F() local
278 int32_t pid = 3458; HWTEST_F() local
314 int32_t pid = 3458; HWTEST_F() local
346 int32_t pid = 3458; HWTEST_F() local
386 int32_t pid = 3458; HWTEST_F() local
417 int32_t pid = 3458; HWTEST_F() local
450 int32_t pid = 3458; HWTEST_F() local
484 int32_t pid = 3458; HWTEST_F() local
516 int32_t pid = 3458; HWTEST_F() local
555 int32_t pid = 3458; HWTEST_F() local
596 int32_t pid = 3458; HWTEST_F() local
632 int32_t pid = 3458; HWTEST_F() local
664 int32_t pid = 3458; HWTEST_F() local
704 int32_t pid = 3458; HWTEST_F() local
735 int32_t pid = 3458; HWTEST_F() local
768 int32_t pid = 3458; HWTEST_F() local
800 int32_t pid = 3458; HWTEST_F() local
834 int32_t pid = 3458; HWTEST_F() local
874 int32_t pid = 3458; HWTEST_F() local
910 int32_t pid = 3458; HWTEST_F() local
942 int32_t pid = 3458; HWTEST_F() local
982 int32_t pid = 3458; HWTEST_F() local
1061 int32_t pid = 3458; HWTEST_F() local
1092 int32_t pid = 3458; HWTEST_F() local
1122 int32_t pid = 3458; HWTEST_F() local
1152 int32_t pid = 3458; HWTEST_F() local
1188 int32_t pid = 3458; HWTEST_F() local
1268 int32_t pid = 3458; HWTEST_F() local
1303 int32_t pid = 3458; HWTEST_F() local
1335 int32_t pid = 3458; HWTEST_F() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dwait3.c34 pid_t pid = fork(); in wait3_0100() local
35 if (pid > 0) { in wait3_0100()
40 if (wait3_for_pind != pid) { in wait3_0100()
41 t_error("%s wait3 get pid is %d are not want %d\n", __func__, wait3_for_pind, pid); in wait3_0100()
46 } else if (pid == 0) { in wait3_0100()
61 pid_t pid = fork(); in wait3_0200() local
62 if (pid > 0) { in wait3_0200()
67 if (wait3_for_pind != pid) { in wait3_0200()
68 t_error("%s wait3 get pid i in wait3_0200()
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/process/
H A Dwait.c32 pid_t pid = fork(); in wait_0100() local
33 if (pid > 0) { in wait_0100()
36 if (wait_for_pind != pid) { in wait_0100()
37 t_error("%s wait get pid is %d are not want %d\n", __func__, wait_for_pind, pid); in wait_0100()
42 } else if (pid == 0) { in wait_0100()
57 pid_t pid = fork(); in wait_0200() local
58 if (pid > 0) { in wait_0200()
61 if (wait_for_pind != pid) { in wait_0200()
62 t_error("%s wait get pid i in wait_0200()
[all...]
/foundation/resourceschedule/memmgr/interface/innerkits/src/
H A Dmem_mgr_client.cpp24 int32_t notify_process_status(int32_t pid, int32_t type, int32_t status, int saId) in notify_process_status() argument
26 return OHOS::Memory::MemMgrClient::GetInstance().NotifyProcessStatus(pid, type, status, saId); in notify_process_status()
29 int32_t set_critical(int32_t pid, bool critical, int32_t saId) in set_critical() argument
31 return OHOS::Memory::MemMgrClient::GetInstance().SetCritical(pid, critical, saId); in set_critical()
54 int32_t MemMgrClient::NotifyDistDevStatus(int32_t pid, int32_t uid, const std::string &name, bool connected) in NotifyDistDevStatus() argument
56 HILOGI("called, pid=%{public}d, uid=%{public}d, name=%{public}s, connected=%{public}d", pid, uid, name.c_str(), in NotifyDistDevStatus()
63 return dps->NotifyDistDevStatus(pid, uid, name, connected); in NotifyDistDevStatus()
78 int32_t MemMgrClient::RegisterActiveApps(int32_t pid, int32_t uid) in RegisterActiveApps() argument
80 HILOGI("called, pid in RegisterActiveApps()
89 DeregisterActiveApps(int32_t pid, int32_t uid) DeregisterActiveApps() argument
173 RegisterActiveApps(int32_t pid, int32_t uid) RegisterActiveApps() argument
178 DeregisterActiveApps(int32_t pid, int32_t uid) DeregisterActiveApps() argument
225 GetReclaimPriorityByPid(int32_t pid, int32_t &priority) GetReclaimPriorityByPid() argument
258 NotifyProcessStatus(int32_t pid, int32_t type, int32_t status, int saId) NotifyProcessStatus() argument
269 SetCritical(int32_t pid, bool critical, int32_t saId) SetCritical() argument
[all...]
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
H A Ddbinder_service_test_helper.cpp43 pid_t pid = INVALID_PID; in GetPidByName() local
47 return pid; in GetPidByName()
75 if (sscanf_s(ptr->d_name, "%d", &pid) <= EOK) { in GetPidByName()
83 return pid; in GetPidByName()
89 DBINDER_LOGI(LOG_LABEL, "current pid %{public}d", current); in GetChildPids()
109 DBINDER_LOGI(LOG_LABEL, "child pid %{public}d", child); in GetChildPids()
123 pid_t pid = GetPidByName(name); in StartExecutable() local
124 if (pid != INVALID_PID) { in StartExecutable()
126 return pid; in StartExecutable()
141 while (pid in StartExecutable()
152 StopExecutable(pid_t pid) StopExecutable() argument
159 pid_t pid = GetPidByName(name); StopExecutable() local
188 pid_t pid = StartExecutable(DBINDER_TEST_SERVICE_NAME); StartDBinderServiceTestService() local
[all...]
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/manager/trans_channel_callback_test/
H A Dtrans_channel_callback_test.cpp57 int32_t pid = 2112; in HWTEST_F() local
62 int32_t ret = TransServerGetChannelCb()->OnChannelOpened(NULL, pid, sessionName, channel); in HWTEST_F()
64 ret = TransServerGetChannelCb()->OnChannelOpened(pkgName, pid, NULL, channel); in HWTEST_F()
66 ret = TransServerGetChannelCb()->OnChannelOpened(pkgName, pid, NULL, NULL); in HWTEST_F()
72 ret = TransServerGetChannelCb()->OnChannelOpened(pkgName, pid, sessionName, channel); in HWTEST_F()
77 ret = TransServerGetChannelCb()->OnChannelOpened(pkgName, pid, sessionName, channel); in HWTEST_F()
91 int32_t pid = 2112; in HWTEST_F() local
95 int32_t ret = TransServerGetChannelCb()->OnChannelOpenFailed(NULL, pid, channelId, channelType, errCode); in HWTEST_F()
108 int32_t pid = 2112; in HWTEST_F() local
114 int32_t ret = TransServerGetChannelCb()->OnDataReceived(NULL, pid, channelI in HWTEST_F()
180 int32_t pid = 2112; HWTEST_F() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c34 static int sys_waitid(int which, pid_t pid, siginfo_t *info, int options, in sys_waitid() argument
37 return syscall(__NR_waitid, which, pid, info, options, ru); in sys_waitid()
50 pid_t pid; in TEST() local
58 pid = sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL); in TEST()
59 ASSERT_NE(pid, 0); in TEST()
66 pid = sys_waitid(P_PIDFD, pidfd, &info, WEXITED, NULL); in TEST()
67 ASSERT_NE(pid, 0); in TEST()
71 pid = sys_clone3(&args); in TEST()
72 ASSERT_GE(pid, 0); in TEST()
74 if (pid in TEST()
99 pid_t pid; TEST() local
151 pid_t pid; TEST() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A Dproc-empty-vm.c21 * /proc/${pid}/maps
22 * /proc/${pid}/numa_maps
23 * /proc/${pid}/smaps
24 * /proc/${pid}/smaps_rollup
138 pid_t pid; in vsyscall() local
141 pid = fork(); in vsyscall()
142 if (pid < 0) { in vsyscall()
146 if (pid == 0) { in vsyscall()
171 waitpid(pid, &wstatus, 0); in vsyscall()
181 static int test_proc_pid_maps(pid_t pid) in test_proc_pid_maps() argument
203 test_proc_pid_numa_maps(pid_t pid) test_proc_pid_numa_maps() argument
226 test_proc_pid_smaps(pid_t pid) test_proc_pid_smaps() argument
282 test_proc_pid_smaps_rollup(pid_t pid) test_proc_pid_smaps_rollup() argument
331 pid_t pid = fork(); main() local
[all...]
/kernel/linux/linux-6.6/kernel/bpf/
H A Dtask_iter.c22 u32 pid; member
39 struct pid *pid; in task_group_seq_get_next() local
44 pid = find_pid_ns(common->pid, common->ns); in task_group_seq_get_next()
45 if (!pid) in task_group_seq_get_next()
48 task = get_pid_task(pid, PIDTYPE_TGID); in task_group_seq_get_next()
52 *tid = common->pid; in task_group_seq_get_next()
53 common->pid_visiting = common->pid; in task_group_seq_get_next()
63 pid in task_group_seq_get_next()
114 struct pid *pid; task_seq_get_next() local
231 struct pid *pid; bpf_iter_attach_task() local
[all...]
/foundation/distributeddatamgr/pasteboard/services/test/unittest/src/
H A Dpasteboard_deduplicate_memory_test.cpp51 pid_t pid; member
57 return lhs.pid == rhs.pid && lhs.errorCode == rhs.errorCode; in operator ==()
71 bool isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
74 isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
77 isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
92 bool isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
96 isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
100 isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
116 bool isDuplicate = reportMemory.IsDuplicate({.pid in HWTEST_F()
[all...]

Completed in 15 milliseconds

12345678910>>...338