Home
last modified time | relevance | path

Searched refs:tt (Results 1 – 25 of 88) sorted by relevance

1234

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/
H A Dselect.rs173 ( $count:expr, $($_n:tt)* )
285 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:bl…
290 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr => $h:block, $($r:tt
295 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:bl…
300 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr => $h:block $($r:tt)…
305 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:e…
310 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr => $h:expr, $($r:tt
316 …( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr, if $c:expr => $h:e…
322 ( { random = $bool:expr; ( $s:expr, $($_n:tt)* ) $($t:tt)* } $p:pat = $f:expr => $h:expr ) => {
327 (biased; $p:pat = $($t:tt)* ) => {
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/idl-gen/
H A D_header_parser.py72 if tt:
73 new_line = line.replace(tt[1], tt[2] + "_ENUM_POINTER ")
77 if tt:
101 if tt:
102 params = tt[2].strip() + ","
110 if not tt:
116 if not tt:
120 param_type = params[tt.regs[1][0]:tt.regs[1][1]] # 参数类型
123 if tt:
124 param_name = params[tt.regs[1][0]:tt.regs[1][1]]
[all …]
H A Didl_generator.py145 if tt is None:
192 if tt:
227 if not tt:
240 if tt:
253 if tt:
264 if tt:
265 key_type = self._convert_basic_type(tt[5])
266 value_type = self._convert_basic_type(tt[9])
267 …return "Map<%s, %s>" % (key_type == "" and tt[5] or key_type, value_type == "" and tt[9] or value_…
270 if tt:
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/curves/
H A Dbezier_curve.cpp80 float tt = t; in GetLinearX() local
84 if (x = GetX(tt) - t; IsFloatNull(x, epsilon)) { in GetLinearX()
85 return tt; in GetLinearX()
87 if (dx = GetDX(tt); IsFloatNull(dx, BASE_NS::Math::EPSILON)) { in GetLinearX()
90 tt = tt - x / dx; in GetLinearX()
98 if (x = GetX(tt); IsFloatNull(x - t, epsilon)) { in GetLinearX()
99 return tt; in GetLinearX()
102 t0 = tt; in GetLinearX()
104 t1 = tt; in GetLinearX()
106 tt = (t1 - t0) * .5f + t0; in GetLinearX()
[all …]
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/
H A Dre.js19 let tt = reg.exec(data);
20 if (tt === null) {
24 for (let i = 0; i < tt.length; i++) {
25 let p = data.indexOf(tt[i]);
27 if (tt[i] === null) {
30 ret[regs].push([p, p + tt[i].length]);
38 let tt = search(ss, data);
39 if (tt !== null && tt.regs[0][0] === 0) {
40 return tt;
/ohos5.0/base/hiviewdfx/hilog/interfaces/rust/src/
H A Dmacros.rs60 …ent; $level:expr; $fmt:literal; ($arg:expr, $($unprocessed_args:tt)*); $($processed_args:tt)*) => {
68 …l:expr; $fmt:literal; (@private($arg:expr), $($unprocessed_args:tt)*); $($processed_args:tt)*) => {
76 …el:expr; $fmt:literal; (@public($arg:expr), $($unprocessed_args:tt)*); $($processed_args:tt)*) => {
81 ($log_label:ident, $level:expr, $fmt:literal, $($unprocessed_args:tt)*) => {
109 ($log_label:ident, $($arg:tt)*) => (
132 ($log_label:ident, $($arg:tt)*) => (
155 ($log_label:ident, $($arg:tt)*) => (
178 ($log_label:ident, $($arg:tt)*) => (
201 ($log_label:ident, $($arg:tt)*) => (
/ohos5.0/foundation/communication/dhcp/services/dhcp_server/src/
H A Dcommon_util.cpp42 ptm tt = &nowTime; in DHCP_LOGTime() local
43 if (tt) { in DHCP_LOGTime()
44 tt->tm_year += TIME_BASE_YEAR; in DHCP_LOGTime()
45 printf("[%04d-%02d-%02d %02d:%02d:%02d", tt->tm_year, tt->tm_mon + 1, in DHCP_LOGTime()
46 tt->tm_mday, tt->tm_hour, tt->tm_min, tt->tm_sec); in DHCP_LOGTime()
/ohos5.0/foundation/ability/ability_runtime/utils/global/time/include/
H A Dtime_util.h47 std::time_t tt = static_cast<std::time_t>(timestamp / SEC_TO_MILLISEC); in FormatTime() local
48 std::tm t = *std::localtime(&tt); in FormatTime()
59 std::time_t tt = static_cast<std::time_t>(timestamp / SEC_TO_MILLISEC); in DefaultCurrentTimeStr() local
61 localtime_noenv_r(&tt, &t); in DefaultCurrentTimeStr()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/
H A Dhilog.rs17 ($($args:tt)*) => {{
29 ($($args:tt)*) => {{
41 ($($args:tt)*) => {{
/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/src/
H A Dhilog.rs17 ($($args:tt)*) => {{
29 ($($args:tt)*) => {{
41 ($($args:tt)*) => {{
/ohos5.0/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/src/
H A Dhilog.rs18 ($($args:tt)*) => {{
30 ($($args:tt)*) => {{
42 ($($args:tt)*) => {{
/ohos5.0/base/security/asset/frameworks/os_dependency/log/src/
H A Dlib.rs49 ($($arg:tt)*) => (
63 ($($arg:tt)*) => (
77 ($($arg:tt)*) => (
/ohos5.0/base/useriam/user_auth_framework/common/utils/
H A Diam_time.cpp36 time_t tt = system_clock::to_time_t(now); in GetNowTimeString() local
39 localtime_r(&tt, &curr); in GetNowTimeString()
/ohos5.0/base/update/updater/services/rust/hash_signed_data/src/
H A Dmacros.rs33 ($level:tt, $($arg:tt)* ) => (
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsVSCode/
H A Dextension.js119 let tt = new Int8Array(tt2);
122 data: tt,
137 let tt = new Int8Array(tt2);
139 fn: msg.data, data: tt,
/ohos5.0/foundation/multimedia/player_framework/services/utils/
H A Dtime_format_utils.cpp49 time_t tt = mktime(&tm); in FormatDateTimeByTimeZone() local
50 if (tt == -1) { in FormatDateTimeByTimeZone()
70 std::tm *timeWithOffsetPtr = localtime(&tt); in FormatDateTimeByTimeZone()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dzip_utils.cpp45 auto tt = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now()); in GetCurrentSystemTime() local
46 struct tm *time = localtime(&tt); in GetCurrentSystemTime()
/ohos5.0/commonlibrary/rust/ylong_json/src/value/
H A Dnumber.rs181 ($($u: tt),* $(,)?) => {
193 ($($i: tt),* $(,)?) => {
205 ($($f: tt),* $(,)?) => {
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_stats.cpp118 void LogStats::UpdateTagTable(TagTable& tt, const StatsInfo &info) in UpdateTagTable() argument
123 auto itt = tt.find(info.tag); in UpdateTagTable()
124 if (itt != tt.end()) { in UpdateTagTable()
129 (void)tt.emplace(info.tag, entry); in UpdateTagTable()
/ohos5.0/commonlibrary/c_utils/base/src/
H A Ddatetime_ex.cpp68 auto tt = system_clock::to_time_t(system_clock::now()); in GetSystemCurrentTime() local
70 timeResult = localtime_r(&tt, curTime); in GetSystemCurrentTime()
/ohos5.0/base/security/asset/frameworks/definition/src/
H A Dmacros.rs133 ($code:expr, $($arg:tt)*) => {{
152 ($code:expr, $($arg:tt)*) => {{
/ohos5.0/foundation/resourceschedule/ffrt/src/util/
H A Dtime_format.h53 auto tt = std::chrono::system_clock::to_time_t(timePoint);
59 localtime_r(&tt, &curTime);
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/platform/src/
H A Dpreferences_dfx_adapter.cpp43 std::time_t tt = std::chrono::system_clock::to_time_t(now); in GetCurrentTime() local
44 std::tm *tm = std::localtime(&tt); in GetCurrentTime()
/ohos5.0/base/hiviewdfx/hiview/base/utility/
H A Dtime_util.cpp135 std::time_t tt = static_cast<std::time_t>(timestamp / SEC_TO_MILLISEC); in FormatTime() local
136 std::tm t = *std::localtime(&tt); in FormatTime()
/ohos5.0/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/examples/audio_rust_sa/src/
H A Dhilog.rs15 ($($args:tt)*) => {{

1234