Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:g_mutex
(Results
1 - 25
of
43
) sorted by relevance
1
2
/base/security/device_security_level/services/msg/
H
A
D
dslm_messenger_wrapper.c
27
static Mutex
g_mutex
= INITED_MUTEX;
variable
45
InitMutex(&
g_mutex
);
in InitMessenger()
46
LockMutex(&
g_mutex
);
in InitMessenger()
48
UnlockMutex(&
g_mutex
);
in InitMessenger()
58
LockMutex(&
g_mutex
);
in DeinitMessenger()
60
UnlockMutex(&
g_mutex
);
in DeinitMessenger()
64
UnlockMutex(&
g_mutex
);
in DeinitMessenger()
70
LockMutex(&
g_mutex
);
in GetMessengerStatus()
72
UnlockMutex(&
g_mutex
);
in GetMessengerStatus()
76
UnlockMutex(&
g_mutex
);
in GetMessengerStatus()
[all...]
/base/security/device_auth/test/unittest/tdd_framework/tdd_helper/exception_controller/src/
H
A
D
exception_controller.c
25
static HcMutex *
g_mutex
= NULL;
variable
61
(void)LockHcMutex(
g_mutex
);
in AddCallNum()
63
UnlockHcMutex(
g_mutex
);
in AddCallNum()
82
(void)LockHcMutex(
g_mutex
);
in SetThrowExceptionIndex()
85
UnlockHcMutex(
g_mutex
);
in SetThrowExceptionIndex()
97
g_mutex
= (HcMutex *)malloc(sizeof(HcMutex));
in InitExceptionController()
98
InitHcMutex(
g_mutex
);
in InitExceptionController()
107
(void)LockHcMutex(
g_mutex
);
in DestroyExceptionController()
111
UnlockHcMutex(
g_mutex
);
in DestroyExceptionController()
112
DestroyHcMutex(
g_mutex
);
in DestroyExceptionController()
[all...]
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/src/
H
A
D
dlp_fuse_fd.c
28
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
35
pthread_mutex_lock(&
g_mutex
);
in GetDlpFuseFd()
37
pthread_cond_timedwait(&g_cond, &
g_mutex
, &ts);
in GetDlpFuseFd()
39
pthread_mutex_unlock(&
g_mutex
);
in GetDlpFuseFd()
46
pthread_mutex_lock(&
g_mutex
);
in SetDlpFuseFd()
54
pthread_mutex_unlock(&
g_mutex
);
in SetDlpFuseFd()
59
pthread_mutex_lock(&
g_mutex
);
in CloseDlpFuseFd()
66
pthread_mutex_unlock(&
g_mutex
);
in CloseDlpFuseFd()
/base/security/device_auth/test/unittest/tdd_framework/tdd_helper/memory_monitor/src/
H
A
D
memory_monitor.cpp
58
static HcMutex *
g_mutex
= NULL;
variable
65
(void)LockHcMutex(
g_mutex
);
in HcMonitorMalloc()
77
UnlockHcMutex(
g_mutex
);
in HcMonitorMalloc()
92
UnlockHcMutex(
g_mutex
);
in HcMonitorMalloc()
100
(void)LockHcMutex(
g_mutex
);
in HcMonitorFree()
108
UnlockHcMutex(
g_mutex
);
in HcMonitorFree()
116
(void)LockHcMutex(
g_mutex
);
in ReportMonitor()
125
UnlockHcMutex(
g_mutex
);
in ReportMonitor()
139
g_mutex
= static_cast<HcMutex *>(malloc(sizeof(HcMutex)));
in HcInitMallocMonitor()
140
InitHcMutex(
g_mutex
);
in HcInitMallocMonitor()
[all...]
/base/security/dataclassification/frameworks/datatransmitmgr/
H
A
D
dev_slinfo_list.c
22
pthread_mutex_t
g_mutex
;
variable
26
(void)pthread_mutex_lock(&
g_mutex
);
in InitList()
29
(void)pthread_mutex_unlock(&
g_mutex
);
in InitList()
35
(void)pthread_mutex_unlock(&
g_mutex
);
in InitList()
50
(void)pthread_mutex_lock(&
g_mutex
);
in PushListNode()
53
(void)pthread_mutex_unlock(&
g_mutex
);
in PushListNode()
59
(void)pthread_mutex_unlock(&
g_mutex
);
in PushListNode()
65
(void)pthread_mutex_lock(&
g_mutex
);
in RemoveListNode()
79
(void)pthread_mutex_unlock(&
g_mutex
);
in RemoveListNode()
84
(void)pthread_mutex_lock(&
g_mutex
);
in ClearList()
[all...]
/base/powermgr/powermgr_lite/services/src/power/
H
A
D
auto_suspend.c
25
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
39
pthread_mutex_lock(&
g_mutex
);
in WaitingSuspendCondition()
41
pthread_cond_wait(&g_cond, &
g_mutex
);
in WaitingSuspendCondition()
43
pthread_mutex_unlock(&
g_mutex
);
in WaitingSuspendCondition()
80
pthread_mutex_lock(&
g_mutex
);
in IncSuspendBlockCounter()
83
pthread_mutex_unlock(&
g_mutex
);
in IncSuspendBlockCounter()
88
pthread_mutex_lock(&
g_mutex
);
in DecSuspendBlockCounter()
94
pthread_mutex_unlock(&
g_mutex
);
in DecSuspendBlockCounter()
H
A
D
suspend_controller.c
24
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
44
pthread_mutex_lock(&
g_mutex
);
in EnableSuspend()
49
pthread_mutex_unlock(&
g_mutex
);
in EnableSuspend()
55
pthread_mutex_lock(&
g_mutex
);
in DisableSuspend()
60
pthread_mutex_unlock(&
g_mutex
);
in DisableSuspend()
/base/security/device_auth/services/privacy_enhancement/src/
H
A
D
pseudonym_manager.c
53
static HcMutex *
g_mutex
= NULL;
variable
418
(void)LockHcMutex(
g_mutex
);
in OnOsAccountUnlocked()
420
UnlockHcMutex(
g_mutex
);
in OnOsAccountUnlocked()
440
(void)LockHcMutex(
g_mutex
);
in OnOsAccountRemoved()
442
UnlockHcMutex(
g_mutex
);
in OnOsAccountRemoved()
492
(void)LockHcMutex(
g_mutex
);
in SaveOsAccountPseudonymDb()
496
UnlockHcMutex(
g_mutex
);
in SaveOsAccountPseudonymDb()
502
UnlockHcMutex(
g_mutex
);
in SaveOsAccountPseudonymDb()
505
UnlockHcMutex(
g_mutex
);
in SaveOsAccountPseudonymDb()
514
(void)LockHcMutex(
g_mutex
);
in DeletePseudonymInner()
[all...]
/base/startup/init/interfaces/innerkits/token/src/token_impl_posix/
H
A
D
token.c
25
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
53
pthread_mutex_lock(&
g_mutex
);
in ReadToken()
55
pthread_mutex_unlock(&
g_mutex
);
in ReadToken()
73
pthread_mutex_lock(&
g_mutex
);
in WriteToken()
75
pthread_mutex_unlock(&
g_mutex
);
in WriteToken()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
H
A
D
hiappevent_userinfo.cpp
39
std::mutex
g_mutex
;
member
74
std::lock_guard<std::mutex> lockGuard(
g_mutex
);
in SetUserId()
85
std::lock_guard<std::mutex> lockGuard(
g_mutex
);
in GetUserId()
103
std::lock_guard<std::mutex> lockGuard(
g_mutex
);
in RemoveUserId()
132
std::lock_guard<std::mutex> lockGuard(
g_mutex
);
in SetUserProperty()
143
std::lock_guard<std::mutex> lockGuard(
g_mutex
);
in GetUserProperty()
161
std::lock_guard<std::mutex> lockGuard(
g_mutex
);
in RemoveUserProperty()
190
std::lock_guard<std::mutex> lockGuard(
g_mutex
);
in GetUserIds()
203
std::lock_guard<std::mutex> lockGuard(
g_mutex
);
in GetUserProperties()
216
std::lock_guard<std::mutex> lockGuard(
g_mutex
);
in GetUserIdVersion()
[all...]
H
A
D
hiappevent_config.cpp
49
ffrt::mutex
g_mutex
;
member
167
std::lock_guard<ffrt::mutex> lockGuard(
g_mutex
);
in SetDisable()
173
std::lock_guard<ffrt::mutex> lockGuard(
g_mutex
);
in SetMaxStorageSize()
184
std::lock_guard<ffrt::mutex> lockGuard(
g_mutex
);
in GetDisable()
190
std::lock_guard<ffrt::mutex> lockGuard(
g_mutex
);
in GetMaxStorageSize()
196
std::lock_guard<ffrt::mutex> lockGuard(
g_mutex
);
in GetStorageDir()
217
std::lock_guard<ffrt::mutex> lockGuard(
g_mutex
);
in GetRunningId()
H
A
D
hiappevent_write.cpp
41
ffrt::mutex
g_mutex
;
member
78
std::lock_guard<ffrt::mutex> lockGuard(
g_mutex
);
in WriteEvent()
/base/powermgr/powermgr_lite/frameworks/src/
H
A
D
running_lock.c
30
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
36
pthread_mutex_lock(&
g_mutex
);
in AddRunningLock()
44
pthread_mutex_unlock(&
g_mutex
);
in AddRunningLock()
48
pthread_mutex_unlock(&
g_mutex
);
in AddRunningLock()
54
pthread_mutex_lock(&
g_mutex
);
in RemoveRunningLock()
58
pthread_mutex_unlock(&
g_mutex
);
in RemoveRunningLock()
63
pthread_mutex_unlock(&
g_mutex
);
in RemoveRunningLock()
73
pthread_mutex_lock(&
g_mutex
);
in IsRunningLockExisted()
75
pthread_mutex_unlock(&
g_mutex
);
in IsRunningLockExisted()
/base/powermgr/powermgr_lite/services/src/
H
A
D
running_lock_mgr.c
27
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
115
pthread_mutex_lock(&
g_mutex
);
in RunningLockMgrAcquireEntry()
119
pthread_mutex_unlock(&
g_mutex
);
in RunningLockMgrAcquireEntry()
130
pthread_mutex_lock(&
g_mutex
);
in RunningLockMgrReleaseEntry()
134
pthread_mutex_unlock(&
g_mutex
);
in RunningLockMgrReleaseEntry()
142
pthread_mutex_lock(&
g_mutex
);
in RunningLockMgrGetLockCount()
144
pthread_mutex_unlock(&
g_mutex
);
in RunningLockMgrGetLockCount()
152
pthread_mutex_lock(&
g_mutex
);
in RunningLockMgrGetTotalLockCount()
156
pthread_mutex_unlock(&
g_mutex
);
in RunningLockMgrGetTotalLockCount()
/base/security/selinux_adapter/framework/policycoreutils/src/
H
A
D
selinux_parameter.c
26
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
48
pthread_mutex_lock(&
g_mutex
);
in InitParamSelinux()
50
pthread_mutex_unlock(&
g_mutex
);
in InitParamSelinux()
54
pthread_mutex_unlock(&
g_mutex
);
in InitParamSelinux()
/base/powermgr/powermgr_lite/frameworks/src/small/
H
A
D
power_screen_saver.c
36
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
73
pthread_mutex_lock(&
g_mutex
);
in GetScreenSaverProxyInterface()
75
pthread_mutex_unlock(&
g_mutex
);
in GetScreenSaverProxyInterface()
84
pthread_mutex_unlock(&
g_mutex
);
in GetScreenSaverProxyInterface()
91
pthread_mutex_unlock(&
g_mutex
);
in GetScreenSaverProxyInterface()
94
pthread_mutex_unlock(&
g_mutex
);
in GetScreenSaverProxyInterface()
H
A
D
power_manage.c
37
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
84
pthread_mutex_lock(&
g_mutex
);
in GetPowerManageProxyInterface()
86
pthread_mutex_unlock(&
g_mutex
);
in GetPowerManageProxyInterface()
95
pthread_mutex_unlock(&
g_mutex
);
in GetPowerManageProxyInterface()
102
pthread_mutex_unlock(&
g_mutex
);
in GetPowerManageProxyInterface()
105
pthread_mutex_unlock(&
g_mutex
);
in GetPowerManageProxyInterface()
/base/powermgr/powermgr_lite/frameworks/src/mini/
H
A
D
power_manage.c
26
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
34
pthread_mutex_lock(&
g_mutex
);
in GetPowerManageInterface()
36
pthread_mutex_unlock(&
g_mutex
);
in GetPowerManageInterface()
42
pthread_mutex_unlock(&
g_mutex
);
in GetPowerManageInterface()
49
pthread_mutex_unlock(&
g_mutex
);
in GetPowerManageInterface()
52
pthread_mutex_unlock(&
g_mutex
);
in GetPowerManageInterface()
/base/powermgr/battery_lite/frameworks/native/src/mini/
H
A
D
battery_framework.c
22
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
27
pthread_mutex_lock(&
g_mutex
);
in GetBatteryInterface()
29
pthread_mutex_unlock(&
g_mutex
);
in GetBatteryInterface()
34
pthread_mutex_unlock(&
g_mutex
);
in GetBatteryInterface()
40
pthread_mutex_unlock(&
g_mutex
);
in GetBatteryInterface()
43
pthread_mutex_unlock(&
g_mutex
);
in GetBatteryInterface()
/base/startup/appspawn/interfaces/innerkits/permission/
H
A
D
appspawn_mount_permission.c
36
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
variable
150
pthread_mutex_lock(&
g_mutex
);
in LoadPermission()
153
pthread_mutex_unlock(&
g_mutex
);
in LoadPermission()
158
pthread_mutex_unlock(&
g_mutex
);
in LoadPermission()
168
pthread_mutex_unlock(&
g_mutex
);
in LoadPermission()
174
pthread_mutex_lock(&
g_mutex
);
in DeletePermission()
177
pthread_mutex_unlock(&
g_mutex
);
in DeletePermission()
183
pthread_mutex_unlock(&
g_mutex
);
in DeletePermission()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H
A
D
dfx_ark.cpp
39
pthread_mutex_t
g_mutex
;
member
67
pthread_mutex_lock(&
g_mutex
); \
81
pthread_mutex_unlock(&
g_mutex
); \
124
pthread_mutex_lock(&
g_mutex
);
in ArkDestoryLocal()
126
pthread_mutex_unlock(&
g_mutex
);
in ArkDestoryLocal()
130
pthread_mutex_unlock(&
g_mutex
);
in ArkDestoryLocal()
/base/startup/init/test/moduletest/
H
A
D
hookmgr_moduletest.cpp
28
mutex
g_mutex
;
member
52
lock_guard<std::mutex> lg(
g_mutex
);
in OhosTestHookMultiThread()
59
lock_guard<std::mutex> lg(
g_mutex
);
in OhosTestHookMultiThreadAnother()
/base/hiviewdfx/faultloggerd/test/unittest/backtrace/
H
A
D
backtrace_local_test.cpp
116
std::mutex
g_mutex
;
member
120
g_mutex
.lock();
in Test002()
121
g_mutex
.unlock();
in Test002()
139
g_mutex
.lock();
in HWTEST_F()
161
g_mutex
.unlock();
in HWTEST_F()
177
g_mutex
.lock();
in HWTEST_F()
193
g_mutex
.unlock();
in HWTEST_F()
209
g_mutex
.lock();
in HWTEST_F()
227
g_mutex
.unlock();
in HWTEST_F()
/base/sensors/sensor/frameworks/native/src/
H
A
D
geomagnetic_field.cpp
99
std::mutex
g_mutex
;
member
118
std::lock_guard<std::mutex> geomagneticLock(
g_mutex
);
in GeomagneticField()
260
std::lock_guard<std::mutex> geomagneticLock(
g_mutex
);
in ObtainX()
266
std::lock_guard<std::mutex> geomagneticLock(
g_mutex
);
in ObtainY()
272
std::lock_guard<std::mutex> geomagneticLock(
g_mutex
);
in ObtainZ()
278
std::lock_guard<std::mutex> geomagneticLock(
g_mutex
);
in ObtainGeomagneticDip()
295
std::lock_guard<std::mutex> geomagneticLock(
g_mutex
);
in ObtainDeflectionAngle()
301
std::lock_guard<std::mutex> geomagneticLock(
g_mutex
);
in ObtainLevelIntensity()
308
std::lock_guard<std::mutex> geomagneticLock(
g_mutex
);
in ObtainTotalIntensity()
/base/powermgr/battery_lite/frameworks/native/src/small/
H
A
D
battery_framework.c
217
static pthread_mutex_t
g_mutex
= PTHREAD_MUTEX_INITIALIZER;
in GetBatteryInterface()
local
220
pthread_mutex_lock(&
g_mutex
);
in GetBatteryInterface()
222
pthread_mutex_unlock(&
g_mutex
);
in GetBatteryInterface()
229
pthread_mutex_unlock(&
g_mutex
);
in GetBatteryInterface()
235
pthread_mutex_unlock(&
g_mutex
);
in GetBatteryInterface()
238
pthread_mutex_unlock(&
g_mutex
);
in GetBatteryInterface()
Completed in 11 milliseconds
1
2