/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()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/quickchecking/src/ |
H A D | fuzzers.rs | 163 /// identifiers unique by incorporating the `stamp` parameter into it's name. 165 fn make_unique(&mut self, stamp: usize); in make_unique() 171 fn make_unique(&mut self, stamp: usize) { in make_unique() 173 DeclarationC::FunctionDecl(ref mut d) => d.make_unique(stamp), in make_unique() 174 DeclarationC::FunctionPtrDecl(ref mut d) => d.make_unique(stamp), in make_unique() 175 DeclarationC::StructDecl(ref mut d) => d.make_unique(stamp), in make_unique() 176 DeclarationC::UnionDecl(ref mut d) => d.make_unique(stamp), in make_unique() 177 DeclarationC::VariableDecl(ref mut d) => d.make_unique(stamp), in make_unique() 350 fn make_unique(&mut self, stamp: usize) { in fmt() 351 self.ident_id += &format!("_{}", stamp); in fmt() [all...] |
/third_party/curl/lib/ |
H A D | hsts.c | 308 struct tm stamp; in hsts_push() local 316 result = Curl_gmtime((time_t)sts->expires, &stamp); in hsts_push() 321 stamp.tm_year + 1900, stamp.tm_mon + 1, stamp.tm_mday, in hsts_push() 322 stamp.tm_hour, stamp.tm_min, stamp.tm_sec); in hsts_push() 338 struct tm stamp; in hsts_out() local 340 CURLcode result = Curl_gmtime((time_t)sts->expires, &stamp); in hsts_out() [all...] |
H A D | altsvc.c | 255 struct tm stamp; in altsvc_out() local 260 CURLcode result = Curl_gmtime(as->expires, &stamp); in altsvc_out() 290 stamp.tm_year + 1900, stamp.tm_mon + 1, stamp.tm_mday, in altsvc_out() 291 stamp.tm_hour, stamp.tm_min, stamp.tm_sec, in altsvc_out()
|
/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-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/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-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()
|
/third_party/skia/modules/skresources/src/ |
H A D | SkResources.cpp | 54 fWindow[1].frame = fDecoder->nextImage(&fWindow[1].stamp); in advance() 61 if (t < fWindow[0].stamp) { 64 fWindow[0].stamp = fWindow[1].stamp = 0; 68 while (!fEof && t >= fWindow[1].stamp) { 72 SkASSERT(fWindow[0].stamp <= t && (fEof || t < fWindow[1].stamp)); 81 double stamp = 0; member
|
/third_party/python/Doc/includes/ |
H A D | tzinfo_examples.py | 25 stamp = (dt - datetime(1970, 1, 1, tzinfo=self)) // SECOND 26 args = _time.localtime(stamp)[:6] 29 fold = (args == _time.localtime(stamp - dst_diff)) 52 stamp = _time.mktime(tt) 53 tt = _time.localtime(stamp)
|
/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()
|
/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
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | Calendar.java | 413 * <code>stamp</code>. Instead, they have new API to access 1336 private transient int stamp[]; field in Calendar 1455 * Value of the time stamp <code>stamp[]</code> indicating that 1464 * Value of the time stamp <code>stamp[]</code> indicating that a field 1473 * If the time stamp <code>stamp[]</code> has a value greater than or 1483 * The next available value for <code>stamp[]</code>, an internal array. 1488 /* Max value for stamp allowabl [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | Calendar.java | 412 * <code>stamp</code>. Instead, they have new API to access 1276 private transient int stamp[]; field in Calendar 1395 * Value of the time stamp <code>stamp[]</code> indicating that 1403 * Value of the time stamp <code>stamp[]</code> indicating that a field 1411 * If the time stamp <code>stamp[]</code> has a value greater than or 1420 * The next available value for <code>stamp[]</code>, an internal array. 1425 /* Max value for stamp allowabl [all...] |
/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()
|
/third_party/curl/src/ |
H A D | tool_progress.c | 146 struct timeval stamp; member 161 static struct timeval stamp; in progress_meter() local 170 diff = tvdiff(now, stamp); in progress_meter() 194 stamp = now; in progress_meter() 234 speedstore[i].stamp = now; in progress_meter() 248 deltams = tvdiff(now, speedstore[speedindex].stamp); in progress_meter()
|
/third_party/skia/gn/ |
H A D | push_to_android.py | 12 host, serial, stamp = sys.argv[1:] 22 with open(stamp, 'w'):
|
/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()
|