| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/ |
| H A D | chrono | 71 struct duration; 73 template<typename _Clock, typename _Dur = typename _Clock::duration> 77 // 20.11.4.3 specialization of common_type (for duration, sfinae-friendly) 97 using type = chrono::duration<__cr, typename __r::type>; 102 /// Specialization of common_type for chrono::duration types. 103 /// @relates duration 105 struct common_type<chrono::duration<_Rep1, _Period1>, 106 chrono::duration<_Rep2, _Period2>> 112 /// Specialization of common_type for two identical chrono::duration types. 113 /// @relates duration [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/ |
| H A D | chrono | 71 struct duration; 73 template<typename _Clock, typename _Dur = typename _Clock::duration> 77 // 20.11.4.3 specialization of common_type (for duration, sfinae-friendly) 97 using type = chrono::duration<__cr, typename __r::type>; 102 /// Specialization of common_type for chrono::duration types. 103 /// @relates duration 105 struct common_type<chrono::duration<_Rep1, _Period1>, 106 chrono::duration<_Rep2, _Period2>> 112 /// Specialization of common_type for two identical chrono::duration types. 113 /// @relates duration [all …]
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | ddxBeep.c | 123 int pitch, duration; in _XkbDDXBeepExpire() local 140 duration = oldDuration = ctrl->bell_duration; in _XkbDDXBeepExpire() 146 duration = 0; in _XkbDDXBeepExpire() 157 duration = SHORT_TONE; in _XkbDDXBeepExpire() 163 duration = SHORT_TONE; in _XkbDDXBeepExpire() 179 duration = VERY_LONG_TONE; in _XkbDDXBeepExpire() 185 duration = SHORT_TONE; in _XkbDDXBeepExpire() 195 duration = VERY_LONG_TONE; in _XkbDDXBeepExpire() 197 duration = SHORT_TONE; in _XkbDDXBeepExpire() 202 duration = SHORT_TONE; in _XkbDDXBeepExpire() [all …]
|
| /OK3568_Linux_fs/kernel/net/mac80211/ |
| H A D | airtime.c | 96 #define GROUP_SHIFT(duration) \ argument 97 _MAX(0, 16 - __builtin_clz(duration)) 103 .duration = { \ 134 .duration = { \ 176 .duration = { \ 213 u16 duration[MCS_GROUP_RATES]; member 390 u32 duration; in ieee80211_calc_legacy_rate_duration() local 393 duration = 144 + 48; /* preamble + PLCP */ in ieee80211_calc_legacy_rate_duration() 395 duration >>= 1; in ieee80211_calc_legacy_rate_duration() 397 duration += 10; /* SIFS */ in ieee80211_calc_legacy_rate_duration() [all …]
|
| /OK3568_Linux_fs/kernel/tools/power/cpupower/utils/ |
| H A D | cpufreq-info.c | 124 static void print_duration(unsigned long duration) in print_duration() argument 129 if (duration > 1000000) in print_duration() 130 printf("%u.%06u ms", ((unsigned int) duration/1000000), in print_duration() 131 ((unsigned int) duration%1000000)); in print_duration() 132 else if (duration > 100000) in print_duration() 133 printf("%u us", ((unsigned int) duration/1000)); in print_duration() 134 else if (duration > 1000) in print_duration() 135 printf("%u.%03u us", ((unsigned int) duration/1000), in print_duration() 136 ((unsigned int) duration%1000)); in print_duration() 138 printf("%lu ns", duration); in print_duration() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/ |
| H A D | chrono | 25 duration_cast(const duration<Rep, Period>& fd); 41 // duration 44 class duration 46 static_assert(!__is_duration<Rep>::value, "A duration representation can not be a duration"); 47 …static_assert(__is_ratio<Period>::value, "Second template parameter of duration must be a std::rat… 48 static_assert(Period::num > 0, "duration period must be positive"); 53 constexpr duration() = default; 55 constexpr explicit duration(const Rep2& r, 65 constexpr duration(const duration<Rep2, Period2>& d, 78 constexpr common_type<duration>::type operator+() const; [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/ |
| H A D | chrono | 25 duration_cast(const duration<Rep, Period>& fd); 41 // duration 44 class duration 46 static_assert(!__is_duration<Rep>::value, "A duration representation can not be a duration"); 47 …static_assert(__is_ratio<Period>::value, "Second template parameter of duration must be a std::rat… 48 static_assert(Period::num > 0, "duration period must be positive"); 53 constexpr duration() = default; 55 constexpr explicit duration(const Rep2& r, 65 constexpr duration(const duration<Rep2, Period2>& d, 78 constexpr common_type<duration>::type operator+() const; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/rc/ |
| H A D | ir-xmp-decoder.c | 46 data->state, data->count, ev.duration, TO_STR(ev.pulse)); in ir_xmp_decode() 54 if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) { in ir_xmp_decode() 65 if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) in ir_xmp_decode() 74 if (geq_margin(ev.duration, XMP_TRAILER_SPACE, XMP_NIBBLE_PREFIX)) { in ir_xmp_decode() 82 data->count, ev.duration); in ir_xmp_decode() 147 } else if (geq_margin(ev.duration, XMP_HALFFRAME_SPACE, XMP_NIBBLE_PREFIX)) { in ir_xmp_decode() 151 data->count, ev.duration); in ir_xmp_decode() 162 data->count, ev.duration); in ir_xmp_decode() 167 } else if (geq_margin(ev.duration, XMP_NIBBLE_PREFIX, XMP_UNIT)) { in ir_xmp_decode() 171 data->count, ev.duration); in ir_xmp_decode() [all …]
|
| H A D | ir-sharp-decoder.c | 50 data->state, ev.duration, TO_STR(ev.pulse)); in ir_sharp_decode() 58 if (!eq_margin(ev.duration, SHARP_BIT_PULSE, in ir_sharp_decode() 63 data->pulse_len = ev.duration; in ir_sharp_decode() 71 if (!eq_margin(ev.duration, SHARP_BIT_PULSE, in ir_sharp_decode() 75 data->pulse_len = ev.duration; in ir_sharp_decode() 84 if (eq_margin(data->pulse_len + ev.duration, SHARP_BIT_1_PERIOD, in ir_sharp_decode() 87 else if (!eq_margin(data->pulse_len + ev.duration, in ir_sharp_decode() 104 if (!eq_margin(ev.duration, SHARP_BIT_PULSE, in ir_sharp_decode() 124 if (!eq_margin(ev.duration, SHARP_ECHO_SPACE, in ir_sharp_decode() 136 if (!geq_margin(ev.duration, SHARP_TRAILER_SPACE, in ir_sharp_decode() [all …]
|
| H A D | ir-jvc-decoder.c | 48 if (!geq_margin(ev.duration, JVC_UNIT, JVC_UNIT / 2)) in ir_jvc_decode() 52 data->state, ev.duration, TO_STR(ev.pulse)); in ir_jvc_decode() 61 if (!eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode() 74 if (!eq_margin(ev.duration, JVC_HEADER_SPACE, JVC_UNIT / 2)) in ir_jvc_decode() 84 if (!eq_margin(ev.duration, JVC_BIT_PULSE, JVC_UNIT / 2)) in ir_jvc_decode() 95 if (eq_margin(ev.duration, JVC_BIT_1_SPACE, JVC_UNIT / 2)) { in ir_jvc_decode() 98 } else if (eq_margin(ev.duration, JVC_BIT_0_SPACE, JVC_UNIT / 2)) in ir_jvc_decode() 114 if (!eq_margin(ev.duration, JVC_TRAILER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode() 124 if (!geq_margin(ev.duration, JVC_TRAILER_SPACE, JVC_UNIT / 2)) in ir_jvc_decode() 151 if (eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) in ir_jvc_decode() [all …]
|
| H A D | ir-nec-decoder.c | 53 data->state, ev.duration, TO_STR(ev.pulse)); in ir_nec_decode() 61 if (eq_margin(ev.duration, NEC_HEADER_PULSE, NEC_UNIT * 2)) { in ir_nec_decode() 64 } else if (eq_margin(ev.duration, NECX_HEADER_PULSE, NEC_UNIT / 2)) in ir_nec_decode() 77 if (eq_margin(ev.duration, NEC_HEADER_SPACE, NEC_UNIT)) { in ir_nec_decode() 80 } else if (eq_margin(ev.duration, NEC_REPEAT_SPACE, NEC_UNIT / 2)) { in ir_nec_decode() 91 if (!eq_margin(ev.duration, NEC_BIT_PULSE, NEC_UNIT / 2)) in ir_nec_decode() 102 geq_margin(ev.duration, NEC_TRAILER_SPACE, NEC_UNIT / 2)) { in ir_nec_decode() 111 if (eq_margin(ev.duration, NEC_BIT_1_SPACE, NEC_UNIT / 2)) in ir_nec_decode() 113 else if (!eq_margin(ev.duration, NEC_BIT_0_SPACE, NEC_UNIT / 2)) in ir_nec_decode() 128 if (!eq_margin(ev.duration, NEC_TRAILER_PULSE, NEC_UNIT / 2)) in ir_nec_decode() [all …]
|
| H A D | ir-sanyo-decoder.c | 62 data->state, ev.duration, TO_STR(ev.pulse)); in ir_sanyo_decode() 70 if (eq_margin(ev.duration, SANYO_HEADER_PULSE, SANYO_UNIT / 2)) { in ir_sanyo_decode() 82 if (eq_margin(ev.duration, SANYO_HEADER_SPACE, SANYO_UNIT / 2)) { in ir_sanyo_decode() 93 if (!eq_margin(ev.duration, SANYO_BIT_PULSE, SANYO_UNIT / 2)) in ir_sanyo_decode() 103 if (!data->count && geq_margin(ev.duration, SANYO_REPEAT_SPACE, SANYO_UNIT / 2)) { in ir_sanyo_decode() 111 if (eq_margin(ev.duration, SANYO_BIT_1_SPACE, SANYO_UNIT / 2)) in ir_sanyo_decode() 113 else if (!eq_margin(ev.duration, SANYO_BIT_0_SPACE, SANYO_UNIT / 2)) in ir_sanyo_decode() 128 if (!eq_margin(ev.duration, SANYO_TRAILER_PULSE, SANYO_UNIT / 2)) in ir_sanyo_decode() 138 if (!geq_margin(ev.duration, SANYO_TRAILER_SPACE, SANYO_UNIT / 2)) in ir_sanyo_decode() 161 data->count, data->state, ev.duration, TO_STR(ev.pulse)); in ir_sanyo_decode()
|
| /OK3568_Linux_fs/kernel/drivers/base/test/ |
| H A D | test_async_driver_probe.c | 106 unsigned long long duration; in test_async_probe_init() local 137 duration = (unsigned long long) ktime_to_ms(delta); in test_async_probe_init() 138 pr_info("registration took %lld msecs\n", duration); in test_async_probe_init() 139 if (duration > TEST_PROBE_THRESHOLD) { in test_async_probe_init() 165 duration = (unsigned long long) ktime_to_ms(delta); in test_async_probe_init() 167 "registration took %lld msecs\n", duration); in test_async_probe_init() 168 if (duration > TEST_PROBE_THRESHOLD) { in test_async_probe_init() 201 duration = (unsigned long long) ktime_to_ms(delta); in test_async_probe_init() 202 pr_info("registration took %lld msecs\n", duration); in test_async_probe_init() 203 if (duration < TEST_PROBE_THRESHOLD) { in test_async_probe_init() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | global_data.c | 5 static void test_global_data_number(struct bpf_object *obj, __u32 duration) in test_global_data_number() argument 40 static void test_global_data_string(struct bpf_object *obj, __u32 duration) in test_global_data_string() argument 75 static void test_global_data_struct(struct bpf_object *obj, __u32 duration) in test_global_data_struct() argument 103 static void test_global_data_rdonly(struct bpf_object *obj, __u32 duration) in test_global_data_rdonly() argument 128 __u32 duration = 0, retval; in test_global_data() local 137 NULL, NULL, &retval, &duration); in test_global_data() 140 err, errno, retval, duration); in test_global_data() 142 test_global_data_number(obj, duration); in test_global_data() 143 test_global_data_string(obj, duration); in test_global_data() 144 test_global_data_struct(obj, duration); in test_global_data() [all …]
|
| H A D | tailcalls.c | 15 __u32 retval, duration; in test_tailcall_1() local 58 &duration, &retval, NULL); in test_tailcall_1() 68 &duration, &retval, NULL); in test_tailcall_1() 89 &duration, &retval, NULL); in test_tailcall_1() 114 &duration, &retval, NULL); in test_tailcall_1() 124 &duration, &retval, NULL); in test_tailcall_1() 134 &duration, &retval, NULL); in test_tailcall_1() 153 __u32 retval, duration; in test_tailcall_2() local 195 &duration, &retval, NULL); in test_tailcall_2() 205 &duration, &retval, NULL); in test_tailcall_2() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/ |
| H A D | test_progs.h | 102 #define _CHECK(condition, tag, duration, format...) ({ \ argument 111 __func__, tag, duration); \ 129 _CHECK(condition, tag, duration, format) 131 _CHECK(condition, tag, tattr.duration, format) 134 static int duration = 0; \ 145 static int duration = 0; \ 156 static int duration = 0; \ 164 static int duration = 0; \ 172 static int duration = 0; \ 180 static int duration = 0; \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | tpm1-cmd.c | 294 int duration = 0; in tpm1_calc_ordinal_duration() local 304 duration = chip->duration[duration_idx]; in tpm1_calc_ordinal_duration() 305 if (duration <= 0) in tpm1_calc_ordinal_duration() 308 return duration; in tpm1_calc_ordinal_duration() 419 sizeof(cap.duration)); in tpm1_get_timeouts() 423 chip->duration[TPM_SHORT] = in tpm1_get_timeouts() 424 usecs_to_jiffies(be32_to_cpu(cap.duration.tpm_short)); in tpm1_get_timeouts() 425 chip->duration[TPM_MEDIUM] = in tpm1_get_timeouts() 426 usecs_to_jiffies(be32_to_cpu(cap.duration.tpm_medium)); in tpm1_get_timeouts() 427 chip->duration[TPM_LONG] = in tpm1_get_timeouts() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/ |
| H A D | test_lirc_mode2_kern.c | 14 unsigned int duration = LIRC_VALUE(*sample); in bpf_decoder() local 16 if (duration & 0x10000) in bpf_decoder() 17 bpf_rc_keydown(sample, 0x40, duration & 0xffff, 0); in bpf_decoder() 18 if (duration & 0x20000) in bpf_decoder() 19 bpf_rc_pointer_rel(sample, (duration >> 8) & 0xff, in bpf_decoder() 20 duration & 0xff); in bpf_decoder()
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/include/mbgl/style/ |
| H A D | transition_options.hpp | 11 optional<Duration> duration; member in mbgl::style::TransitionOptions 16 : duration(std::move(duration_)), 21 duration ? duration : defaults.duration, in reverseMerge() 27 return duration || delay; in isDefined()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/phydm/txbf/ |
| H A D | haltxbfinterface.c | 154 u16 duration = 0; local 171 duration = 2 * a_SifsTime + 40; 174 duration += 87; 176 duration += 180; 178 SET_80211_HDR_DURATION(buffer, duration); 311 u16 duration = 0; local 330 duration = 2 * a_SifsTime + 44; 333 duration += 40; 335 duration += 87; 337 duration += 180; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/phydm/txbf/ |
| H A D | haltxbfinterface.c | 154 u16 duration = 0; local 171 duration = 2 * a_SifsTime + 40; 174 duration += 87; 176 duration += 180; 178 SET_80211_HDR_DURATION(buffer, duration); 311 u16 duration = 0; local 330 duration = 2 * a_SifsTime + 44; 333 duration += 40; 335 duration += 87; 337 duration += 180; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/phydm/txbf/ |
| H A D | haltxbfinterface.c | 154 u16 duration = 0; local 171 duration = 2 * a_SifsTime + 40; 174 duration += 87; 176 duration += 180; 178 SET_80211_HDR_DURATION(buffer, duration); 311 u16 duration = 0; local 330 duration = 2 * a_SifsTime + 44; 333 duration += 40; 335 duration += 87; 337 duration += 180; [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/phydm/txbf/ |
| H A D | haltxbfinterface.c | 153 u16 duration = 0; local 170 duration = 2 * a_SifsTime + 40; 173 duration += 87; 175 duration += 180; 177 SET_80211_HDR_DURATION(buffer, duration); 310 u16 duration = 0; local 329 duration = 2 * a_SifsTime + 44; 332 duration += 40; 334 duration += 87; 336 duration += 180; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/phydm/txbf/ |
| H A D | haltxbfinterface.c | 154 u16 duration = 0; local 171 duration = 2 * a_SifsTime + 40; 174 duration += 87; 176 duration += 180; 178 SET_80211_HDR_DURATION(buffer, duration); 311 u16 duration = 0; local 330 duration = 2 * a_SifsTime + 44; 333 duration += 40; 335 duration += 87; 337 duration += 180; [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/txbf/ |
| H A D | haltxbfinterface.c | 153 u16 duration = 0; local 170 duration = 2 * a_SifsTime + 40; 173 duration += 87; 175 duration += 180; 177 SET_80211_HDR_DURATION(buffer, duration); 310 u16 duration = 0; local 329 duration = 2 * a_SifsTime + 44; 332 duration += 40; 334 duration += 87; 336 duration += 180; [all …]
|