/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/src/ |
H A D | rtp_codec_aac.cpp | 47 auto stamp = rtp->GetStampMS(); in InputRtp() local 63 lastDts_ = stamp; in InputRtp() 66 auto dtsInc_ = (stamp - lastDts_) / auHeaderCount; in InputRtp() 68 "RtpDecoderAAC::InputRtp seq: %{public}d payloadLen: %{public}zu auHeaderCount: %{public}d stamp: %{public}d " in InputRtp() 70 rtp->GetSeq(), rtp->GetPayloadSize(), auHeaderCount, stamp, dtsInc_); in InputRtp() 93 lastDts_ = stamp; in InputRtp() 172 auto stamp = frame->Dts(); in InputFrame() local 189 MakeAACRtp(sectionBuf_, remain_size + 4, true, stamp); // 4:byte offset in InputFrame() 201 MakeAACRtp(sectionBuf_, max_size + 4, false, stamp); // 4:byte offset in InputFrame() 212 void RtpEncoderAAC::MakeAACRtp(const void *data, size_t len, bool mark, uint32_t stamp) in MakeAACRtp() argument [all...] |
H A D | rtp_codec_h264.cpp | 52 auto stamp = rtp->GetStampMS(); in InputRtp() local 55 MEDIA_LOGD("rtpDecoderH264::InputRtp length: %{public}d, stamp: %{public}d, seq: %{public}d, nal: %{public}d.", in InputRtp() 56 length, stamp, seq, nal); in InputRtp() 60 UnpackStapA(rtp, frame + 1, length - 1, stamp); in InputRtp() 63 UnpackFuA(rtp, frame, length, stamp, seq); in InputRtp() 68 UnpackSingle(rtp, frame, length, stamp); in InputRtp() 87 bool RtpDecoderH264::UnpackSingle(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp) in UnpackSingle() argument 94 frame_->pts_ = stamp; in UnpackSingle() 100 bool RtpDecoderH264::UnpackStapA(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp) in UnpackStapA() argument 114 if (UnpackSingle(rtp, ptr, len, stamp)) { in UnpackStapA() 123 UnpackFuA(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp, uint16_t seq) UnpackFuA() argument [all...] |
H A D | rtp_codec_g711.cpp | 36 auto stamp = rtp->GetStampMS(); in InputRtp() local 39 if (frame_->dts_ != stamp || frame_->Size() > maxFrameSize_) { in InputRtp() 45 frame_->dts_ = stamp; in InputRtp() 100 auto stamp = cacheFrame_->Pts(); in InputFrame() local 103 auto rtpPack = MakeRtp(ptr, len, false, stamp); in InputFrame()
|
H A D | rtp_maker.cpp | 43 RtpPacket::Ptr RtpMaker::MakeRtp(const void *data, size_t len, bool mark, uint32_t stamp) in MakeRtp() argument 63 header->stamp_ = htonl(uint64_t(stamp) * (sampleRate_ / 1000)); // 1000:unit in MakeRtp()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_time.c | 163 time64_t stamp; in time_mt() local 183 stamp = ktime_get_real_seconds(); in time_mt() 187 stamp -= 60 * sys_tz.tz_minuteswest; in time_mt() 201 if (stamp < info->date_start || stamp > info->date_stop) in time_mt() 204 packet_time = localtime_1(¤t_time, stamp); in time_mt() 225 stamp -= SECONDS_PER_DAY; in time_mt() 228 localtime_2(¤t_time, stamp); in time_mt() 235 localtime_3(¤t_time, stamp); in time_mt()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_time.c | 163 time64_t stamp; in time_mt() local 183 stamp = ktime_get_real_seconds(); in time_mt() 187 stamp -= 60 * sys_tz.tz_minuteswest; in time_mt() 201 if (stamp < info->date_start || stamp > info->date_stop) in time_mt() 204 packet_time = localtime_1(¤t_time, stamp); in time_mt() 225 stamp -= SECONDS_PER_DAY; in time_mt() 228 localtime_2(¤t_time, stamp); in time_mt() 235 localtime_3(¤t_time, stamp); in time_mt()
|
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | usnjrnl.c | 24 * ntfs_stamp_usnjrnl - stamp the transaction log ($UsnJrnl) on an ntfs volume 25 * @vol: ntfs volume on which to stamp the transaction log 37 sle64 stamp; in ntfs_stamp_usnjrnl() local 48 stamp = get_current_ntfs_time(); in ntfs_stamp_usnjrnl() 55 (long long)sle64_to_cpu(stamp), in ntfs_stamp_usnjrnl() 59 uh->journal_id = stamp; in ntfs_stamp_usnjrnl()
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | usnjrnl.c | 24 * ntfs_stamp_usnjrnl - stamp the transaction log ($UsnJrnl) on an ntfs volume 25 * @vol: ntfs volume on which to stamp the transaction log 37 sle64 stamp; in ntfs_stamp_usnjrnl() local 48 stamp = get_current_ntfs_time(); in ntfs_stamp_usnjrnl() 55 (long long)sle64_to_cpu(stamp), in ntfs_stamp_usnjrnl() 59 uh->journal_id = stamp; in ntfs_stamp_usnjrnl()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | ww_mutex.h | 23 atomic_long_t stamp; member 33 unsigned long stamp; member 59 { .stamp = ATOMIC_LONG_INIT(0) \ 125 ctx->stamp = atomic_long_inc_return_relaxed(&ww_class->stamp); in ww_acquire_init() 142 ctx->deadlock_inject_countdown = ctx->stamp & 0xf; in ww_acquire_init()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ww_mutex.h | 39 atomic_long_t stamp; member 57 unsigned long stamp; member 76 { .stamp = ATOMIC_LONG_INIT(0) \ 136 ctx->stamp = atomic_long_inc_return_relaxed(&ww_class->stamp); in ww_acquire_init() 153 ctx->deadlock_inject_countdown = ctx->stamp & 0xf; in ww_acquire_init()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | timestamping.c | 13 * without hardware support, SIOCGSTAMP[NS] (per-socket time stamp) and 61 " SIOCGSTAMP - check last socket time stamp\n" in usage() 62 " SIOCGSTAMPNS - more accurate socket time stamp\n"); in usage() 162 struct timeval *stamp = in printpacket() local 165 (long)stamp->tv_sec, in printpacket() 166 (long)stamp->tv_usec); in printpacket() 170 struct timespec *stamp = in printpacket() local 173 (long)stamp->tv_sec, in printpacket() 174 (long)stamp->tv_nsec); in printpacket() 178 struct timespec *stamp in printpacket() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | timestamping.c | 13 * without hardware support, SIOCGSTAMP[NS] (per-socket time stamp) and 62 " SIOCGSTAMP - check last socket time stamp\n" in usage() 63 " SIOCGSTAMPNS - more accurate socket time stamp\n" in usage() 181 struct timeval *stamp = in printpacket() local 184 (long)stamp->tv_sec, in printpacket() 185 (long)stamp->tv_usec); in printpacket() 189 struct timespec *stamp = in printpacket() local 192 (long)stamp->tv_sec, in printpacket() 193 (long)stamp->tv_nsec); in printpacket() 197 struct timespec *stamp in printpacket() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/nx-gzip/include/ |
H A D | crb.h | 136 #define crb_nx_fault_addr(c) __be64_to_cpu(c->stamp.nx.fault_storage_addr) 137 #define crb_nx_flags(c) c->stamp.nx.flags 138 #define crb_nx_fault_status(c) c->stamp.nx.fault_status 139 #define crb_nx_pswid(c) c->stamp.nx.pswid
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/nx-gzip/include/ |
H A D | crb.h | 136 #define crb_nx_fault_addr(c) __be64_to_cpu(c->stamp.nx.fault_storage_addr) 137 #define crb_nx_flags(c) c->stamp.nx.flags 138 #define crb_nx_fault_status(c) c->stamp.nx.fault_status 139 #define crb_nx_pswid(c) c->stamp.nx.pswid
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | vas-fault.c | 44 nx = &crb->stamp.nx; in dump_crb() 47 be64_to_cpu(crb->stamp.nx.fault_storage_addr), in dump_crb() 92 csb.address = crb->stamp.nx.fault_storage_addr; in update_csb() 251 if ((entry->stamp.nx.pswid == cpu_to_be32(FIFO_INVALID_ENTRY)) in vas_fault_thread_fn() 264 entry->stamp.nx.pswid = cpu_to_be32(FIFO_INVALID_ENTRY); in vas_fault_thread_fn() 277 be32_to_cpu(crb->stamp.nx.pswid)); in vas_fault_thread_fn() 291 be32_to_cpu(crb->stamp.nx.pswid), in vas_fault_thread_fn()
|
/foundation/resourceschedule/ffrt/benchmarks/ |
H A D | benchmarks.sh | 55 stamp=$(git log --date=format:'%Y_%m_%d_%H_%M_%S' -1 | grep Date | sed -E 's/[^0-9]*([0-9_]*)/\1/g') 56 output_dir=${benchmarks_path}/output/tag_$stamp 74 MPLBACKEND=svg "$benchmarks_path/plot.py" "$output_dir" "benchmark_${stamp}.svg"
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/src/ |
H A D | rtcp_context.cpp | 24 void RtcpContext::OnRtp(uint16_t /*seq*/, uint32_t stamp, uint64_t ntpStampMs, uint32_t /*sampleRate*/, size_t bytes) in OnRtp() argument 28 lastRtpStamp_ = stamp; in OnRtp() 114 void RtcpReceiverContext::OnRtp(uint16_t seq, uint32_t stamp, uint64_t ntpStampMs, uint32_t sampleRate, size_t bytes) in OnRtp() argument 121 (int64_t(stamp) - int64_t(lastRtpStamp_))); in OnRtp() 154 RtcpContext::OnRtp(seq, stamp, ntpStampMs, sampleRate, bytes); in OnRtp()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | mip6.c | 109 ktime_t stamp; member 175 static inline int mip6_report_rl_allow(ktime_t stamp, in mip6_report_rl_allow() argument 182 if (mip6_report_rl.stamp != stamp || in mip6_report_rl_allow() 186 mip6_report_rl.stamp = stamp; in mip6_report_rl_allow() 205 ktime_t stamp; in mip6_destopt_reject() local 219 stamp = skb_get_ktime(skb); in mip6_destopt_reject() 221 if (!mip6_report_rl_allow(stamp, &ipv6_hdr(skb)->daddr, in mip6_destopt_reject()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | mip6.c | 109 ktime_t stamp; member 175 static inline int mip6_report_rl_allow(ktime_t stamp, in mip6_report_rl_allow() argument 182 if (mip6_report_rl.stamp != stamp || in mip6_report_rl_allow() 186 mip6_report_rl.stamp = stamp; in mip6_report_rl_allow() 205 ktime_t stamp; in mip6_destopt_reject() local 219 stamp = skb_get_ktime(skb); in mip6_destopt_reject() 221 if (!mip6_report_rl_allow(stamp, &ipv6_hdr(skb)->daddr, in mip6_destopt_reject()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | vas-fault.c | 107 if ((entry->stamp.nx.pswid == cpu_to_be32(FIFO_INVALID_ENTRY)) in vas_fault_thread_fn() 120 entry->stamp.nx.pswid = cpu_to_be32(FIFO_INVALID_ENTRY); in vas_fault_thread_fn() 133 be32_to_cpu(crb->stamp.nx.pswid)); in vas_fault_thread_fn() 147 be32_to_cpu(crb->stamp.nx.pswid), in vas_fault_thread_fn()
|
/kernel/linux/linux-5.10/security/tomoyo/ |
H A D | audit.c | 152 struct tomoyo_time stamp; in tomoyo_print_header() local 163 tomoyo_convert_time(ktime_get_real_seconds(), &stamp); in tomoyo_print_header() 167 stamp.year, stamp.month, stamp.day, stamp.hour, in tomoyo_print_header() 168 stamp.min, stamp.sec, r->profile, tomoyo_mode[r->mode], in tomoyo_print_header()
|
/kernel/linux/linux-6.6/security/tomoyo/ |
H A D | audit.c | 152 struct tomoyo_time stamp; in tomoyo_print_header() local 163 tomoyo_convert_time(ktime_get_real_seconds(), &stamp); in tomoyo_print_header() 167 stamp.year, stamp.month, stamp.day, stamp.hour, in tomoyo_print_header() 168 stamp.min, stamp.sec, r->profile, tomoyo_mode[r->mode], in tomoyo_print_header()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | ace_extra_input_data.h | 36 auto stamp = std::chrono::duration_cast<std::chrono::milliseconds>(time.time_since_epoch()).count();
in AceExtraInputData() local 37 msSinceEpoch = static_cast<uint64_t>(stamp);
in AceExtraInputData()
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtp/include/ |
H A D | rtp_codec_h264.h | 39 bool UnpackStapA(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp); 40 bool UnpackSingle(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp); 41 bool UnpackFuA(const RtpPacket::Ptr &rtp, const uint8_t *ptr, ssize_t size, uint32_t stamp, uint16_t seq);
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
H A D | rdpmc.c | 133 u64 stamp, now, delta; in __test__rdpmc() local 135 stamp = mmap_read_self(addr); in __test__rdpmc() 143 delta = now - stamp; in __test__rdpmc()
|