Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 76) sorted by relevance

1234

/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Drbtree.c74 int32_t RbTreeNew(struct RbTree *t) in RbTreeNew() argument
76 if (t == NULL) { in RbTreeNew()
81 int32_t ret = NewNode(&(t->nil), 0, NULL); in RbTreeNew()
86 SET_BLACK(t->nil); in RbTreeNew()
87 t->root = t->nil; in RbTreeNew()
92 static void LeftRotate(struct RbTree *t, struct RbTreeNode *x) in LeftRotate() argument
96 if (y->left != t->nil) { in LeftRotate()
100 if (x->p == t->nil) { in LeftRotate()
101 t->root = y; in LeftRotate()
111 static void RightRotate(struct RbTree *t, struct RbTreeNode *x) in RightRotate() argument
[all …]
/base/telephony/cellular_call/services/control/include/
Dcontrol_base.h207 bool CanCall(T &&t) in CanCall() argument
210 return t.size() <= maximumCalls; in CanCall()
303 bool IsInState(T1 &&t, TelCallState state) in IsInState() argument
305 for (const auto &it : t) { in IsInState()
327 int32_t StartDtmf(T &&t, char cDtmfCode, const CellularCallInfo &callInfo) const in StartDtmf() argument
339 … auto pConnection = GetConnectionData<T &, decltype(&t.begin()->second)>(t, callInfo.phoneNum); in StartDtmf()
342 … pConnection = FindConnectionByIndex<T &, decltype(&t.begin()->second)>(t, callInfo.index); in StartDtmf()
367 int32_t StopDtmf(T &&t, const CellularCallInfo &callInfo) const in StopDtmf() argument
379 … auto pConnection = GetConnectionData<T &, decltype(&t.begin()->second)>(t, callInfo.phoneNum); in StopDtmf()
382 … pConnection = FindConnectionByIndex<T &, decltype(&t.begin()->second)>(t, callInfo.index); in StopDtmf()
[all …]
/base/hiviewdfx/hiview/test/resource/base/holistic_platform/
Dplugin_config2 EventProcessorExample4[thread:t-example-2]:0 static
3 EventProcessorExample1[thread:t-example-4]:0 static
4 EventProcessorExample2[thread:t-example-1]:0 static
5 EventProcessorExample3[thread:t-example-4]:0 static
6 EventProcessorExample5[thread:t-example-6]:0 static
7 EventSourceExample[thread:t-example-3]:0 static
8 DynamicLoadPluginExample[thread:t-example-5]:0 dynamic
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_c_test.cpp51 .t = HISYSEVENT_BOOL,
57 .t = HISYSEVENT_BOOL,
63 .t = HISYSEVENT_INT8,
69 .t = HISYSEVENT_INT8,
75 .t = HISYSEVENT_UINT8,
81 .t = HISYSEVENT_UINT8,
87 .t = HISYSEVENT_INT16,
93 .t = HISYSEVENT_INT16,
99 .t = HISYSEVENT_UINT16,
105 .t = HISYSEVENT_UINT16,
[all …]
/base/powermgr/power_manager/services/native/src/actions/
Dirunning_lock_action.cpp35 auto t = ToUnderlying(type); in Acquire() local
36 RunningLockDesc& desc = lockDescs_[t]; in Acquire()
41 … POWER_HILOGD(FEATURE_RUNNING_LOCK, "Acquire runninglock, type: %{public}u, refCnt: %{public}u", t, in Acquire()
52 auto t = ToUnderlying(type); in Release() local
53 RunningLockDesc& desc = lockDescs_[t]; in Release()
55 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Invalid refCnt of wakelock: %{public}u", t); in Release()
60 … POWER_HILOGD(FEATURE_RUNNING_LOCK, "Release runninglock, type: %{public}u, refCnt: %{public}u", t, in Release()
/base/hiviewdfx/hiview/test/resource/base/
Dplugin_config2 EventProcessorExample4[thread:t-example-2]:0 static
3 EventProcessorExample1[thread:t-example-4]:0 static
4 EventProcessorExample2[thread:t-example-1]:0 static
5 EventProcessorExample3[thread:t-example-4]:0 static
6 EventSourceExample[thread:t-example-3]:0 static
7 DynamicLoadPluginExample[thread:t-example-5]:0 dynamic
Dbundletest_plugin_config2 EventProcessorExample4[thread:t-example-2]:0 static
3 EventProcessorExample1[thread:t-example-4]:0 static
4 EventProcessorExample2[thread:t-example-1]:0 static
5 EventProcessorExample3[thread:t-example-4]:0 static
6 EventSourceExample[thread:t-example-3]:0 static
7 EventProcessorExample5[thread:t-example-4]:0 static
Dbundleplugintest_plugin_config2 BundlePluginExample1[thread:t-bundle_example-1]:0 static
3 BundlePluginExample2[thread:t-bundle_example-2]:0 static
4 BundlePluginExample3[thread:t-bundle_example-3]:0 static
5 BundleEventSourceExample[thread:t-event_source]:0 static
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
Drbtree.h50 int RbTreeNew(struct RbTree *t);
54 int32_t RbTreeDelete(struct RbTree *t, struct RbTreeNode *z);
56 int32_t RbTreeInsert(struct RbTree *t, RbTreeKey key, const RbTreeValue value);
60 int32_t RbTreeDecode(struct RbTree *t, RbTreeValueDecoder dec, RbTreeValueFree freeFunc,
63 int32_t RbTreeEncode(const struct RbTree *t, RbTreeValueEncoder enc, uint8_t *buf, uint32_t *size);
65 void RbTreeDestroyEx(struct RbTree *t, RbTreeNodeHandler freeFunc);
/base/hiviewdfx/hilog/services/hilogd/
Dlog_stats.cpp135 DomainTable& t = domainStats[info.type]; in UpdateDomainTable() local
136 auto it = t.find(info.domain); in UpdateDomainTable()
137 if (it != t.end()) { in UpdateDomainTable()
142 auto result = t.emplace(info.domain, entry); in UpdateDomainTable()
154 PidTable& t = pidStats; in UpdatePidTable() local
155 auto it = t.find(info.pid); in UpdatePidTable()
156 if (it != t.end()) { in UpdatePidTable()
167 auto result = t.emplace(info.pid, entry); in UpdatePidTable()
192 for (auto &t : domainStats) { in Reset() local
193 t.clear(); in Reset()
[all …]
/base/telephony/ril_adapter/utils/native/include/
Ddesensitize_string_stream.h49 inline DesensitizeStringStream &operator<<(T t)
52 operator()(t);
55 ss_ << t << separator_;
69 inline void operator()(T &&t) in operator()
72 ss_ << t; in operator()
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/
Dgetparam.cpp232 T t = GetUnsignParam<T>(); in GetUnsignVectorParam() local
233 param.push_back(t); in GetUnsignVectorParam()
251 int t = GetBoolParam(); in GetBoolVectorParam() local
252 param.push_back(t); in GetBoolVectorParam()
263 short t = GetShortParam(); in GetShortVectorParam() local
264 param.push_back(t); in GetShortVectorParam()
275 long t = GetLongParam(); in GetLongVectorParam() local
276 param.push_back(t); in GetLongVectorParam()
287 int t = GetIntParam(); in GetIntVectorParam() local
288 param.push_back(t); in GetIntVectorParam()
[all …]
/base/notification/distributed_notification_service/test/resource/notificationfuzztest/src/
Dnotificationgetparam.cpp257 T t = GetUnsignParam<T>(); in GetUnsignVectorParam() local
258 param.push_back(t); in GetUnsignVectorParam()
275 int t = GetBoolParam(); in GetBoolVectorParam() local
276 param.push_back(t); in GetBoolVectorParam()
286 short t = GetShortParam(); in GetShortVectorParam() local
287 param.push_back(t); in GetShortVectorParam()
297 long t = GetLongParam(); in GetLongVectorParam() local
298 param.push_back(t); in GetLongVectorParam()
308 int t = GetIntParam(); in GetIntVectorParam() local
309 param.push_back(t); in GetIntVectorParam()
[all …]
/base/powermgr/powermgr_lite/services/src/
Drunning_lock_mgr.c94 for (int32_t t = RUNNINGLOCK_SCREEN; t < RUNNINGLOCK_BUTT; t++) { in ShowLocks() local
95 Vector *vec = &g_runningLocks[t]; in ShowLocks()
97 POWER_HILOGD("type: %d, lock num: %d", t, VECTOR_Num(vec)); in ShowLocks()
153 for (int32_t t = RUNNINGLOCK_SCREEN; t < RUNNINGLOCK_BUTT; t++) { in RunningLockMgrGetTotalLockCount() local
154 cnt += VECTOR_Num(&g_runningLocks[t]); in RunningLockMgrGetTotalLockCount()
/base/startup/hvb/libhvb/src/crypto/
Dhvb_hash_sha256.c125 static inline uint32_t w_schedule(uint32_t w[64], uint32_t t) in w_schedule() argument
127 return sigma_3(w[t - 2]) + w[t - 7] + sigma_2(w[t - 15]) + w[t - 16]; in w_schedule()
148 uint32_t t; in sha256_block_calc() local
150 for (t = 0; t < 64; t++, data += 4) { in sha256_block_calc()
151 w[t] = t < 16 ? bigend_read_word(data) : w_schedule(w, t); in sha256_block_calc()
152 t1 = regs[7] + sigma_1(regs[4]) + ch(regs[4], regs[5], regs[6]) + const_key[t] + w[t]; in sha256_block_calc()
Dhvb_rsa.c179 unsigned long c, t; in lin_mul_word()
190 t = res_l; in lin_mul_word()
192 res_h += t > res_l; in lin_mul_word()
196 t = res_l; in lin_mul_word()
198 res_h += t > res_l; in lin_mul_word()
209 unsigned long t; in lin_sub() local
213 t = p_a->p_uint[i] < c; in lin_sub()
216 c = (p_a->p_uint[i] < p_b->p_uint[i]) + t; in lin_sub()
220 t = p_a->p_uint[i] < c; in lin_sub()
222 c = t; in lin_sub()
[all …]
/base/telephony/ril_adapter/services/vendor/src/
Dat_support.c56 pthread_attr_t t; in ATStartReadLoop() local
57 pthread_attr_init(&t); in ATStartReadLoop()
58 pthread_attr_setdetachstate(&t, PTHREAD_CREATE_DETACHED); in ATStartReadLoop()
59 ret = pthread_create(&g_reader, &t, (void *(*)(void *))ReaderLoop, &t); in ATStartReadLoop()
100 Line *t = NULL; in FreeResponseInfo() local
101 t = p; in FreeResponseInfo()
103 if (t->data != NULL) { in FreeResponseInfo()
104 free(t->data); in FreeResponseInfo()
105 t->data = NULL; in FreeResponseInfo()
107 free(t); in FreeResponseInfo()
[all …]
/base/notification/common_event_service/test/systemtest/common/resource/fuzzTest/src/
Dgetparam.cpp235 T t = GetUnsignParam<T>(); in GetUnsignVectorParam() local
236 param.push_back(t); in GetUnsignVectorParam()
253 int t = GetBoolParam(); in GetBoolVectorParam() local
254 param.push_back(t); in GetBoolVectorParam()
264 short t = GetShortParam(); in GetShortVectorParam() local
265 param.push_back(t); in GetShortVectorParam()
275 long t = GetLongParam(); in GetLongVectorParam() local
276 param.push_back(t); in GetLongVectorParam()
286 int t = GetIntParam(); in GetIntVectorParam() local
287 param.push_back(t); in GetIntVectorParam()
[all …]
/base/telephony/core_service/services/network_search/src/
Dnitz_update.cpp188 struct tm t; in ProcessTime() local
189 (void)memset_s(&t, sizeof(t), 0, sizeof(t)); in ProcessTime()
190 t.tm_year = networkTime.year - CST_YEAR; in ProcessTime()
191 t.tm_mon = networkTime.month - 1; in ProcessTime()
192 t.tm_mday = networkTime.day; in ProcessTime()
193 t.tm_hour = networkTime.hour; in ProcessTime()
194 t.tm_min = networkTime.minute; in ProcessTime()
195 t.tm_sec = networkTime.second; in ProcessTime()
197 if (!IsValidTime(static_cast<int64_t>(timegm(&t)))) { in ProcessTime()
202 SaveTime(static_cast<int64_t>(timegm(&t))); in ProcessTime()
/base/hiviewdfx/hilog/frameworks/libhilog/utils/
Dlog_utils.cpp171 for (uint16_t t : types) { in ComboLogType2Str() local
172 typeAll |= (1 << t); in ComboLogType2Str()
175 for (uint16_t t: types) { in ComboLogType2Str() local
176 if ((1 << t) & shiftType) { in ComboLogType2Str()
177 shiftType &= (~(1 << t)); in ComboLogType2Str()
178 str += (LogType2Str(t) + (shiftType != 0 ? "," : "")); in ComboLogType2Str()
200 uint16_t t = Str2LogType(it); in Str2ComboLogType() local
201 if (t == LOG_TYPE_MAX) { in Str2ComboLogType()
204 logTypes |= (1 << t); in Str2ComboLogType()
300 uint16_t t = PrettyStr2LogLevel(it); in Str2ComboLogLevel() local
[all …]
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/
Dmultithread_constructor.c37 pthread_t t[threadNum]; in MultiThreadConstructor() local
42 pthread_create(&t[i], NULL, (void *(*)(void *))CreateThread, &threadID[i]); in MultiThreadConstructor()
43 pthread_detach(t[i]); in MultiThreadConstructor()
/base/hiviewdfx/hilog/
DREADME_zh.md114 … | 查询buffer的大小,配合-t指定某一类型使用,默认app和core …
115 … | 设置指定\<type>日志类型缓冲区的大小,配合-t指定某一类型使用,默认app和core, …
116 … | 清除buffer日志,配合-t指定某一类型使用,默认app和core …
123 … | 查询统计信息,需配合-t或-D使用 …
124 … | 清除统计信息,需配合-t或-D使用 …
131t | --ty…
162 示例:hilog -G 2M -t core
164 示例:hilog -g -t app
169 示例:hilog -t ^core,app 排除core和app类型的日志,可以与其他参数一起使用。
170 示例:hilog -t app core 打印core和app类型的日志,可以与其他参数一起使用。
/base/hiviewdfx/faultloggerd/tools/crasher_c/
Ddfx_crasher.c235 pthread_t t[2]; in MultiThreadCrash() local
237 pthread_create(&t[0], NULL, SleepThread, &threadID[0]); in MultiThreadCrash()
238 pthread_create(&t[1], NULL, SleepThread, &threadID[1]); in MultiThreadCrash()
239 pthread_detach(t[0]); in MultiThreadCrash()
240 pthread_detach(t[1]); in MultiThreadCrash()
354 pthread_t t; in DoActionOnSubThread() local
355 pthread_create(&t, NULL, DoCrashInThread, (char *)(arg)); in DoActionOnSubThread()
357 pthread_join(t, &result); in DoActionOnSubThread()
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/
Dn_class.h51 T *t = nullptr; in GetEntityOf() local
52 napi_status status = napi_unwrap(env, objStat, (void **)&t); in GetEntityOf()
56 return t; in GetEntityOf()
/base/update/updater/services/script/threadpool/
Dthreadpool.cpp49 for (size_t t = 0; t < taskQueue_.size(); ++t) { in Init() local
50 taskQueue_[t].available = true; in Init()
52 taskQueue_[t].subTaskFlag.emplace_back(new std::atomic_bool { false }); in Init()

1234