Home
last modified time | relevance | path

Searched refs:stime (Results 1 – 25 of 79) sorted by relevance

1234

/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/
DASN1GeneralizedTime.java211 String stime = Strings.fromByteArray(time); in getTime() local
216 if (stime.charAt(stime.length() - 1) == 'Z') in getTime()
218 return stime.substring(0, stime.length() - 1) + "GMT+00:00"; in getTime()
222 int signPos = stime.length() - 6; in getTime()
223 char sign = stime.charAt(signPos); in getTime()
224 if ((sign == '-' || sign == '+') && stime.indexOf("GMT") == signPos - 3) in getTime()
227 return stime; in getTime()
230 signPos = stime.length() - 5; in getTime()
231 sign = stime.charAt(signPos); in getTime()
234 return stime.substring(0, signPos) in getTime()
[all …]
DASN1UTCTime.java229 String stime = Strings.fromByteArray(time); in getTime() local
234 if (stime.indexOf('-') < 0 && stime.indexOf('+') < 0) in getTime()
236 if (stime.length() == 11) in getTime()
238 return stime.substring(0, 10) + "00GMT+00:00"; in getTime()
242 return stime.substring(0, 12) + "GMT+00:00"; in getTime()
247 int index = stime.indexOf('-'); in getTime()
250 index = stime.indexOf('+'); in getTime()
252 String d = stime; in getTime()
254 if (index == stime.length() - 3) in getTime()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DASN1GeneralizedTime.java209 String stime = Strings.fromByteArray(time); in getTime() local
214 if (stime.charAt(stime.length() - 1) == 'Z') in getTime()
216 return stime.substring(0, stime.length() - 1) + "GMT+00:00"; in getTime()
220 int signPos = stime.length() - 6; in getTime()
221 char sign = stime.charAt(signPos); in getTime()
222 if ((sign == '-' || sign == '+') && stime.indexOf("GMT") == signPos - 3) in getTime()
225 return stime; in getTime()
228 signPos = stime.length() - 5; in getTime()
229 sign = stime.charAt(signPos); in getTime()
232 return stime.substring(0, signPos) in getTime()
[all …]
DASN1UTCTime.java227 String stime = Strings.fromByteArray(time); in getTime() local
232 if (stime.indexOf('-') < 0 && stime.indexOf('+') < 0) in getTime()
234 if (stime.length() == 11) in getTime()
236 return stime.substring(0, 10) + "00GMT+00:00"; in getTime()
240 return stime.substring(0, 12) + "GMT+00:00"; in getTime()
245 int index = stime.indexOf('-'); in getTime()
248 index = stime.indexOf('+'); in getTime()
250 String d = stime; in getTime()
252 if (index == stime.length() - 3) in getTime()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/
DASN1GeneralizedTime.java211 String stime = Strings.fromByteArray(time); in getTime() local
216 if (stime.charAt(stime.length() - 1) == 'Z') in getTime()
218 return stime.substring(0, stime.length() - 1) + "GMT+00:00"; in getTime()
222 int signPos = stime.length() - 6; in getTime()
223 char sign = stime.charAt(signPos); in getTime()
224 if ((sign == '-' || sign == '+') && stime.indexOf("GMT") == signPos - 3) in getTime()
227 return stime; in getTime()
230 signPos = stime.length() - 5; in getTime()
231 sign = stime.charAt(signPos); in getTime()
234 return stime.substring(0, signPos) in getTime()
[all …]
DASN1UTCTime.java229 String stime = Strings.fromByteArray(time); in getTime() local
234 if (stime.indexOf('-') < 0 && stime.indexOf('+') < 0) in getTime()
236 if (stime.length() == 11) in getTime()
238 return stime.substring(0, 10) + "00GMT+00:00"; in getTime()
242 return stime.substring(0, 12) + "GMT+00:00"; in getTime()
247 int index = stime.indexOf('-'); in getTime()
250 index = stime.indexOf('+'); in getTime()
252 String d = stime; in getTime()
254 if (index == stime.length() - 3) in getTime()
/external/perfetto/tools/cpu_utilization/
Dcpu_utilization.cc138 unsigned long stime = 0; in CpuUtilizationMain() local
139 ReadUtimeStime(fd, &utime, &stime); in CpuUtilizationMain()
147 unsigned long stime_diff = stime - last_stime; in CpuUtilizationMain()
150 PERFETTO_LOG("stime_ticks: [%lu] - [%lu] = [%lu]", stime, last_stime, in CpuUtilizationMain()
168 last_stime = stime; in CpuUtilizationMain()
/external/grpc-grpc/test/cpp/qps/
Dusage_timer.cc43 static void get_resource_usage(double* utime, double* stime) { in get_resource_usage() argument
48 *stime = time_double(&usage.ru_stime); in get_resource_usage()
51 *stime = 0; in get_resource_usage()
/external/elfutils/tests/
Drun-readelf-mixed-corenote.sh32 utime: 0.000000, stime: 0.010000, cutime: 0.000000, cstime: 0.000000
98 utime: 0.000042, stime: 0.000103, cutime: 0.000000, cstime: 0.000000
163 utime: 0.000043, stime: 0.000102, cutime: 0.000000, cstime: 0.000000
235 utime: 0.000000, stime: 0.004000, cutime: 0.000000, cstime: 0.000000
302 utime: 0.010000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000
442 utime: 0.000000, stime: 0.001000, cutime: 0.000000, cstime: 0.000000
508 utime: 0.000000, stime: 0.001000, cutime: 0.000000, cstime: 0.000000
598 utime: 0.000000, stime: 0.010000, cutime: 0.000000, cstime: 0.000000
662 utime: 0.000000, stime: 0.110000, cutime: 0.000000, cstime: 0.000000
Drun-readelf-vmcoreinfo.sh31 utime: 0.000000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000
49 utime: 0.000000, stime: 0.000000, cutime: 0.000000, cstime: 0.000000
/external/autotest/client/tools/
Dhtml_report.py1558 stime = int(pair[1])
1559 results_data[parts[1]] = [stime, [], None]
1596 stime = results_data[parts[2]][0]
1597 total_exec_time_sec = etime - stime
/external/chromium-trace/catapult/systrace/atrace_helper/jni/
Dprocess_info.h37 unsigned long stime; member
Dprocfs_utils.cc111 &snapshot->utime, &snapshot->stime); in ReadPageFaultsAndCpuTimeStats()
/external/ltp/testcases/kernel/syscalls/stime/
Dstime_var.h23 return stime(ntime); in do_stime()
/external/perfetto/src/base/
Dwatchdog_posix_unittest.cc47 EXPECT_EQ(ps.stime, 6u); in TEST()
Dwatchdog_posix.cc77 &out->utime, &out->stime, &out->rss_pages) != 3) { in ReadProcStat()
170 uint64_t cpu_time = stat.utime + stat.stime; in ThreadMain()
/external/ltp/testcases/kernel/syscalls/
DMakefile44 sigrelse sigsuspend sigtimedwait sigwait sigwaitinfo stime \
/external/perfetto/src/profiling/common/
Dprofiler_guardrails.cc44 return (stat.utime + stat.stime) / in GetCputimeSecForCurrentProcess()
/external/perfetto/include/perfetto/ext/base/
Dwatchdog_posix.h33 unsigned long int stime = 0l; member
/external/autotest/tko/
Djob_serializer_unittest.py217 def check_time(self, dTime, stime): argument
225 self.assertEqual(long(t), stime/1000)
/external/mesa3d/src/freedreno/perfcntrs/
Dfdperf.c68 uint32_t stime[MAX_CNTR_PER_GROUP]; member
474 group->stime[ctr] = gettime_us(); in select_counter()
482 uint32_t dt = delta(group->stime[ctr], t); in resample_counter()
486 group->stime[ctr] = t; in resample_counter()
/external/libchrome/base/process/
Dprocess_metrics_linux.cc398 int stime = 0; in ParseProcStatCPU() local
399 if (sscanf(&input.data()[i], "%d %d", &utime, &stime) != 2) in ParseProcStatCPU()
402 return utime + stime; in ParseProcStatCPU()
/external/ltp/include/lapi/syscalls/
Dsparc64.in212 stime 233
/external/kernel-headers/original/uapi/linux/
Dbtrfs.h747 struct btrfs_ioctl_timespec stime; /* in */ member
840 struct btrfs_ioctl_timespec stime; member
/external/strace/
Dstrace.c2356 struct timespec stime = { in next_event() local
2360 ts_sub(&tcp->dtime, &stime, &tcp->stime); in next_event()
2361 tcp->stime = stime; in next_event()

1234