Home
last modified time | relevance | path

Searched refs:st (Results 1 - 25 of 61) sorted by relevance

123

/base/powermgr/battery_manager/test/benchmarktest/
H A Dbattery_benchmark_test.cpp44 BENCHMARK_F(BatteryBenchmarkTest, GetCapacity)(benchmark::State& st) in BENCHMARK_F()
46 for (auto _ : st) { in BENCHMARK_F()
62 BENCHMARK_F(BatteryBenchmarkTest, GetChargingStatus)(benchmark::State& st) in BENCHMARK_F()
64 for (auto _ : st) { in BENCHMARK_F()
80 BENCHMARK_F(BatteryBenchmarkTest, GetHealthStatus)(benchmark::State& st) in BENCHMARK_F()
82 for (auto _ : st) { in BENCHMARK_F()
98 BENCHMARK_F(BatteryBenchmarkTest, GetPluggedType)(benchmark::State& st) in BENCHMARK_F()
100 for (auto _ : st) { in BENCHMARK_F()
116 BENCHMARK_F(BatteryBenchmarkTest, GetVoltage)(benchmark::State& st) in BENCHMARK_F()
118 for (auto _ : st) { in BENCHMARK_F()
[all...]
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
H A Dos_account_manager_benchmark_test.cpp60 benchmark::State &st) in BENCHMARK_F()
64 for (auto _ : st) { in BENCHMARK_F()
83 benchmark::State &st) in BENCHMARK_F()
87 for (auto _ : st) { in BENCHMARK_F()
103 benchmark::State &st) in BENCHMARK_F()
107 for (auto _ : st) { in BENCHMARK_F()
124 benchmark::State &st) in BENCHMARK_F()
128 for (auto _ : st) { in BENCHMARK_F()
146 benchmark::State &st) in BENCHMARK_F()
150 for (auto _ : st) { in BENCHMARK_F()
[all...]
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
H A Dcert_manager_double_list.h43 * CM_DLIST_ITER - iterate over double list of struct st, double list should be the first member of struct st
44 * @st: the struct in the double list
47 #define CM_DLIST_ITER(st, head) \
49 for (p = (head)->next, (st) = (__typeof__(st))p; p != (head); p = p->next, (st) = (__typeof__(st))p)
51 #define CM_DLIST_SAFT_ITER(st, head) \
54 for (p = (head)->next, (st)
[all...]
/base/security/huks/utils/list/
H A Dhks_double_list.h41 * HKS_DLIST_ITER - iterate over double list of struct st, double list should be the first member of struct st
42 * @st: the struct in the double list
45 #define HKS_DLIST_ITER(st, head) \
49 (st) = (__typeof__(st))p; \
51 for (; p != NULL && p != (head); p = p->next, (st) = (__typeof__(st))p)
53 #define HKS_DLIST_SAFT_ITER(st, head) \
56 for (p = (head)->next, (st)
[all...]
/base/update/updater/utils/
H A Dutils_fs.cpp83 struct stat st {}; in GetFilesFromDirectory() struct
84 if (stat(fileName.c_str(), &st) == 0) { in GetFilesFromDirectory()
89 if (isRecursive && S_ISDIR(st.st_mode)) { in GetFilesFromDirectory()
93 totalSize += st.st_size; in GetFilesFromDirectory()
119 struct stat st {}; in RemoveDir() struct
121 stat(file_name.c_str(), &st); in RemoveDir()
122 if (S_ISDIR(st.st_mode)) { in RemoveDir()
136 struct stat st {}; in IsFileExist() struct
137 if (stat(path.c_str(), &st) == 0 && S_ISREG(st in IsFileExist()
145 struct stat st {}; IsDirExist() struct
[all...]
H A Dutils_common.cpp71 struct stat st {}; in IsUpdaterMode() struct
72 if (stat("/bin/updater", &st) == 0 && S_ISREG(st.st_mode)) { in IsUpdaterMode()
/base/security/device_security_level/baselib/utils/src/
H A Dutils_timer.cpp57 UtilsTimer &st = DelayedRefSingleton<UtilsTimer>::GetInstance(); in DslmUtilsStartPeriodicTimerTask() local
58 uint32_t timerId = st.Register([callback, context]() { DoTimerProcess(callback, context); }, interval, false); in DslmUtilsStartPeriodicTimerTask()
64 UtilsTimer &st = DelayedRefSingleton<UtilsTimer>::GetInstance(); in DslmUtilsStartOnceTimerTask() local
65 uint32_t timerId = st.Register([callback, context]() { DoTimerProcess(callback, context); }, interval, true); in DslmUtilsStartOnceTimerTask()
71 UtilsTimer &st = DelayedRefSingleton<UtilsTimer>::GetInstance(); in DslmUtilsStopTimerTask() local
72 st.Unregister(static_cast<uint32_t>(handle)); in DslmUtilsStopTimerTask()
/base/startup/init/services/modules/init_eng/
H A Dinit_eng.c34 struct stat st = {}; in IsFileExistWithType() local
35 if (lstat(file, &st) == 0) { in IsFileExistWithType()
38 if (S_ISDIR(st.st_mode)) { in IsFileExistWithType()
43 if (S_ISREG(st.st_mode)) { in IsFileExistWithType()
48 if (S_ISLNK(st.st_mode)) { in IsFileExistWithType()
165 struct stat st = {}; in DebugFilesOverlay() local
166 if (fstatat(dfd, de->d_name, &st, AT_SYMLINK_NOFOLLOW) < 0) { in DebugFilesOverlay()
169 if (S_ISDIR(st.st_mode)) { in DebugFilesOverlay()
171 } else if (S_ISREG(st.st_mode)) { in DebugFilesOverlay()
/base/telephony/core_service/frameworks/native/src/
H A Dcore_service_proxy.cpp56 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_PS_RADIO_TECH), data, reply, option); in GetPsRadioTech() local
57 if (st != ERR_NONE) { in GetPsRadioTech()
58 TELEPHONY_LOGE("GetPsRadioTech failed, error code is %{public}d ", st); in GetPsRadioTech()
83 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_CS_RADIO_TECH), data, reply, option); in GetCsRadioTech() local
84 if (st != ERR_NONE) { in GetCsRadioTech()
85 TELEPHONY_LOGE("GetCsRadioTech failed, error code is %{public}d", st); in GetCsRadioTech()
112 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_OPERATOR_NUMERIC), data, reply, option); in GetOperatorNumeric() local
113 if (st != ERR_NONE) { in GetOperatorNumeric()
114 TELEPHONY_LOGE("GetCsRadioTech failed, error code is %{public}d", st); in GetOperatorNumeric()
138 int32_t st in GetResidentNetworkNumeric() local
161 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_OPERATOR_NAME), data, reply, option); GetOperatorName() local
246 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_NETWORK_STATE), data, reply, option); GetNetworkState() local
274 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIGNAL_INFO_LIST), data, reply, option); GetSignalInfoList() local
428 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_RADIO_STATE), data, reply, option); GetRadioState() local
451 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_ISO_COUNTRY_CODE_FOR_NETWORK), data, GetIsoCountryCodeForNetwork() local
591 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::HAS_SIM_CARD), data, reply, option); HasSimCard() local
621 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_STATE), data, reply, option); GetSimState() local
648 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_DSDS_MODE), data, reply, option); GetDsdsMode() local
677 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_CARD_TYPE), data, reply, option); GetCardType() local
708 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_ISO_COUNTRY_CODE), data, reply, option); GetISOCountryCodeForSim() local
739 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_OPERATOR_NUMERIC), data, reply, option); GetSimOperatorNumeric() local
770 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SPN), data, reply, option); GetSimSpn() local
801 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_ICCID), data, reply, option); GetSimIccId() local
831 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_IMSI), data, reply, option); GetIMSI() local
861 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::IS_CT_SIM_CARD), data, reply, option); IsCTSimCard() local
893 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::IS_SIM_ACTIVE), data, reply, option); IsSimActive() local
920 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_SLOTID), data, reply, option); GetSlotId() local
947 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_SIMID), data, reply, option); GetSimId() local
976 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_NETWORK_SELECTION_MODE), data, GetNetworkSelectionMode() local
1044 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_LANGUAGE), data, reply, option); GetLocaleFromDefaultSim() local
1071 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_GID1), data, reply, option); GetSimGid1() local
1101 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_GID2), data, reply, option); GetSimGid2() local
1131 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_EONS), data, reply, option); GetSimEons() local
1158 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_SUB_INFO), data, reply, option); GetSimAccountInfo() local
1189 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::SET_DEFAULT_VOICE_SLOTID), data, reply, option); SetDefaultVoiceSlotId() local
1211 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_DEFAULT_VOICE_SLOTID), data, reply, option); GetDefaultVoiceSlotId() local
1235 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_DEFAULT_VOICE_SIMID), data, reply, option); GetDefaultVoiceSimId() local
1289 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_PRIMARY_SLOTID), data, reply, option); GetPrimarySlotId() local
1326 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::SET_SHOW_NUMBER), data, reply, option); SetShowNumber() local
1355 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SHOW_NUMBER), data, reply, option); GetShowNumber() local
1390 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::SET_SHOW_NAME), data, reply, option); SetShowName() local
1419 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SHOW_NAME), data, reply, option); GetShowName() local
1445 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_ACTIVE_ACCOUNT_INFO_LIST), data, GetActiveSimAccountInfoList() local
1489 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_OPERATOR_CONFIG), data, reply, option); GetOperatorConfigs() local
1571 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::UNLOCK_PIN), data, reply, option); UnlockPin() local
1604 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::UNLOCK_PUK), data, reply, option); UnlockPuk() local
1637 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::ALTER_PIN), data, reply, option); AlterPin() local
1668 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::UNLOCK_PIN2), data, reply, option); UnlockPin2() local
1701 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::UNLOCK_PUK2), data, reply, option); UnlockPuk2() local
1734 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::ALTER_PIN2), data, reply, option); AlterPin2() local
1767 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::SWITCH_LOCK), data, reply, option); SetLockState() local
1801 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::CHECK_LOCK), data, reply, option); GetLockState() local
1830 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::REFRESH_SIM_STATE), data, reply, option); RefreshSimState() local
1867 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::SET_SIM_ACTIVE), data, reply, option); SetActiveSim() local
2037 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_PHONE_NUMBER), data, reply, option); GetSimTelephoneNumber() local
2067 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_TELENUMBER_IDENTIFIER), data, GetSimTeleNumberIdentifier() local
2095 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_VOICE_MAIL_TAG), data, reply, option); GetVoiceMailIdentifier() local
2125 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_VOICE_MAIL_NUMBER), data, reply, option); GetVoiceMailNumber() local
2155 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_VOICE_MAIL_COUNT), data, reply, option); GetVoiceMailCount() local
2186 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::SET_VOICE_MAIL_COUNT), data, reply, option); SetVoiceMailCount() local
2214 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::SET_VOICE_CALL_FORWARDING), data, SetVoiceCallForwarding() local
2249 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::ICC_DIALLING_NUMBERS_GET), data, reply, option); QueryIccDiallingNumbers() local
2303 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::ICC_DIALLING_NUMBERS_INSERT), data, AddIccDiallingNumbers() local
2342 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::ICC_DIALLING_NUMBERS_DELETE), data, DelIccDiallingNumbers() local
2381 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::ICC_DIALLING_NUMBERS_UPDATE), data, UpdateIccDiallingNumbers() local
2424 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::SET_VOICE_MAIL), data, reply, option); SetVoiceMailInfo() local
2550 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::STK_CMD_FROM_APP_ENVELOPE), data, SendEnvelopeCmd() local
2584 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::STK_CMD_FROM_APP_TERMINAL_RESPONSE), data, SendTerminalResponseCmd() local
2612 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::STK_RESULT_FROM_APP_CALL_SETUP_REQUEST), SendCallSetupRequestResult() local
2643 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::UNLOCK_SIMLOCK), data, reply, option); UnlockSimLock() local
2683 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_IMS_REG_STATUS), data, reply, option); GetImsRegStatus() local
2807 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::HAS_OPERATOR_PRIVILEGES), data, reply, option); HasOperatorPrivileges() local
2838 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::SIM_AUTHENTICATION), data, reply, option); SimAuthentication() local
2866 int32_t st = remote->SendRequest(static_cast<uint32_t>(CoreServiceInterfaceCode::IS_NR_SUPPORTED), data, IsNrSupported() local
3183 int32_t st = remote->SendRequest(uint32_t(CoreServiceInterfaceCode::GET_SIM_IO_DONE), data, reply, option); GetSimIO() local
[all...]
/base/notification/common_event_service/frameworks/extension/src/ipc/
H A Dstatic_subscriber_proxy.cpp39 int32_t st = remote->SendRequest(static_cast<uint32_t>(CommonEventInterfaceCode::COMMAND_ON_RECEIVE_EVENT), in OnReceiveEvent() local
41 if (st != ERR_NONE) { in OnReceiveEvent()
42 return st; in OnReceiveEvent()
/base/update/updater/services/diffpatch/
H A Ddiffpatch.cpp58 struct stat st {}; in PatchMapFile() struct
59 int32_t ret = fstat(info.fd, &st); in PatchMapFile()
64 if (S_ISBLK(st.st_mode)) { in PatchMapFile()
65 st.st_size = lseek(info.fd, 0, SEEK_END); in PatchMapFile()
69 void *mappedData = mmap(nullptr, st.st_size, PROT_READ, MAP_PRIVATE, info.fd, 0); in PatchMapFile()
76 info.length = static_cast<size_t>(st.st_size); in PatchMapFile()
/base/startup/init/test/unittest/modules/
H A Deng_unittest.cpp55 struct stat st {}; in RemoveDir() struct
57 stat(file_name.c_str(), &st); in RemoveDir()
58 if (S_ISDIR(st.st_mode)) { in RemoveDir()
75 struct stat st {}; in IsFileExist() struct
76 if (stat(path.c_str(), &st) == 0 && S_ISREG(st.st_mode)) { in IsFileExist()
87 struct stat st {}; in IsDirExist() struct
88 if (stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) { in IsDirExist()
/base/startup/init/services/begetctl/
H A Dmisc_daemon.cpp108 struct stat st {}; in WriteLogo() struct
116 if (stat(logoPath.c_str(), &st) < 0) { in WriteLogo()
126 if (st.st_size <= 0 || st.st_size > MAX_LOGO_SIZE) { in WriteLogo()
132 uint32_t logoSize = static_cast<uint32_t>(st.st_size); in WriteLogo()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
H A Ddata_share_util.cpp65 struct stat st; in CopyFile() local
66 if (fstat(src_fd, &st) == -1) { in CopyFile()
74 ssize_t ret = sendfile(dest_fd, src_fd, &offset, st.st_size); in CopyFile()
/base/security/code_signature/utils/include/
H A Dfsverity_utils_helper.h71 struct stat st; in GetFileSize() local
72 if (fstat(fd_, &st) != 0) { in GetFileSize()
77 *size = st.st_size; in GetFileSize()
/base/startup/init/remount/
H A Dremount_overlay.c301 struct stat st = {0}; in IsRegularFile() local
302 if (lstat(file, &st) == 0) { in IsRegularFile()
303 if (S_ISREG(st.st_mode)) { in IsRegularFile()
377 struct stat st = {}; in EngFilesOverlay() local
378 if (fstatat(dfd, de->d_name, &st, AT_SYMLINK_NOFOLLOW) < 0) { in EngFilesOverlay()
381 if (S_ISDIR(st.st_mode)) { in EngFilesOverlay()
383 } else if (S_ISREG(st.st_mode)) { in EngFilesOverlay()
/base/startup/init/interfaces/innerkits/fs_manager/switch_root/
H A Dswitch_root.c44 struct stat st = {}; in FreeOldRoot() local
45 if (fstatat(dfd, de->d_name, &st, AT_SYMLINK_NOFOLLOW) < 0) { in FreeOldRoot()
50 if (st.st_dev != dev) { in FreeOldRoot()
53 if (!S_ISDIR(st.st_mode)) { in FreeOldRoot()
/base/startup/init/test/unittest/ueventd/
H A Dueventd_event_unittest.cpp44 struct stat st{}; in SetUpTestCase() struct
47 if (stat(g_testRoot.c_str(), &st) < 0) { in SetUpTestCase()
120 struct stat st {}; in RemoveDir() struct
121 if (stat(fullPath.c_str(), &st) < 0) { in RemoveDir()
125 if (S_ISDIR(st.st_mode)) { in RemoveDir()
218 struct stat st{}; in IsFileExist() struct
223 if (stat(file.c_str(), &st) < 0) { in IsFileExist()
338 struct stat st{}; in HWTEST_F() struct
339 int ret = stat(blockDevice.c_str(), &st); in HWTEST_F()
341 bool isBlock = S_ISBLK(st in HWTEST_F()
365 struct stat st{}; HWTEST_F() struct
[all...]
/base/security/code_signature/test/unittest/
H A Dmulti_thread_local_sign_test.cpp47 struct stat st; in GetFileSize() local
48 if (fstat(fd, &st) != 0) { in GetFileSize()
53 return st.st_size; in GetFileSize()
/base/startup/init/services/init/standard/
H A Ddevice.c58 struct stat st; in MountBasicFs() local
59 if (!(stat("/dev/pts", &st) == 0 && S_ISDIR(st.st_mode))) { in MountBasicFs()
/base/security/certificate_framework/test/unittest/v1.0/src/
H A Dcf_mock.cpp28 int __real_OPENSSL_sk_num(const OPENSSL_STACK *st);
29 void *__real_OPENSSL_sk_value(const OPENSSL_STACK *st, int i);
67 int __real_OPENSSL_sk_push(OPENSSL_STACK *st, const void *data);
120 .WillByDefault([this](const OPENSSL_STACK *st, OPENSSL_sk_copyfunc c, OPENSSL_sk_freefunc f) { in SetMockFunDefaultBehaviorPartOne()
121 return __real_OPENSSL_sk_deep_copy(st, c, f); in SetMockFunDefaultBehaviorPartOne()
132 ON_CALL(*this, OPENSSL_sk_push).WillByDefault([this](OPENSSL_STACK *st, const void *data) { in SetMockFunDefaultBehaviorPartOne()
133 return __real_OPENSSL_sk_push(st, data); in SetMockFunDefaultBehaviorPartOne()
188 ON_CALL(*this, OPENSSL_sk_num).WillByDefault([this](const OPENSSL_STACK *st) { return __real_OPENSSL_sk_num(st); }); in SetMockFunDefaultBehaviorPartTwo()
220 ON_CALL(*this, OPENSSL_sk_value).WillByDefault([this](const OPENSSL_STACK *st, in in SetMockFunDefaultBehaviorPartTwo()
378 __wrap_OPENSSL_sk_num(const OPENSSL_STACK *st) __wrap_OPENSSL_sk_num() argument
438 __wrap_OPENSSL_sk_value(const OPENSSL_STACK *st, int i) __wrap_OPENSSL_sk_value() argument
768 __wrap_OPENSSL_sk_push(OPENSSL_STACK *st, const void *data) __wrap_OPENSSL_sk_push() argument
798 __wrap_OPENSSL_sk_deep_copy(const OPENSSL_STACK *st, OPENSSL_sk_copyfunc c, OPENSSL_sk_freefunc f) __wrap_OPENSSL_sk_deep_copy() argument
[all...]
/base/startup/init/interfaces/innerkits/fs_manager/erofs_overlay/
H A Derofs_mount_overlay.c139 struct stat st; in GetFsSize() local
140 if (fstat(fd, &st) == -1) { in GetFsSize()
146 if (S_ISBLK(st.st_mode)) { in GetFsSize()
151 } else if (S_ISREG(st.st_mode)) { in GetFsSize()
152 if (st.st_size < 0) { in GetFsSize()
153 BEGET_LOGE("st_size is not right. st_size: %lld", st.st_size); in GetFsSize()
156 size = (uint64_t)st.st_size; in GetFsSize()
158 BEGET_LOGE("unspported type st_mode:[%llu]", st.st_mode); in GetFsSize()
/base/startup/init/ueventd/
H A Dueventd_read_cfg.c153 struct stat st = {}; in ParseFirmwareConfig() local
154 INIT_ERROR_CHECK(stat(p, &st) == 0, return -1, "Invalid firmware file: %s, err = %d", p, errno); in ParseFirmwareConfig()
155 INIT_ERROR_CHECK(S_ISDIR(st.st_mode), return -1, "Expect directory in firmware config"); in ParseFirmwareConfig()
251 struct stat st; in ParseUeventdConfigFile() local
252 if (fstat(fd, &st) < 0) { in ParseUeventdConfigFile()
259 if (st.st_size < 0 || st.st_size > MAX_CONFIGURE_SIZE) { in ParseUeventdConfigFile()
264 size_t size = (size_t)st.st_size; in ParseUeventdConfigFile()
/base/update/updater/test/unittest/applypatch_test/
H A Dimagepatch_unittest.cpp44 struct stat st {}; in ReadContentFromFile() struct
45 if (fstat(fd, &st) < 0) { in ReadContentFromFile()
49 content.reserve(st.st_size); in ReadContentFromFile()
/base/startup/init/services/param/adapter/
H A Dparam_dac.c231 struct stat st; in DacGetParamSecurityLabel() local
232 if ((stat(path, &st) == 0) && !S_ISDIR(st.st_mode)) { in DacGetParamSecurityLabel()
261 if ((stat(fileName, &st) == 0) && !S_ISDIR(st.st_mode)) { in DacGetParamSecurityLabel()

Completed in 15 milliseconds

123