Home
last modified time | relevance | path

Searched refs:time_string (Results 1 – 18 of 18) sorted by relevance

/external/openssh/
Dsshlogin.c91 char *time_string, hostname[HOST_NAME_MAX+1] = "", buf[512]; in store_lastlog_message() local
98 time_string = sys_auth_get_lastlogin_msg(user, uid); in store_lastlog_message()
99 if (time_string != NULL) { in store_lastlog_message()
100 buffer_append(&loginmsg, time_string, strlen(time_string)); in store_lastlog_message()
101 free(time_string); in store_lastlog_message()
108 time_string = ctime(&last_login_time); in store_lastlog_message()
109 time_string[strcspn(time_string, "\n")] = '\0'; in store_lastlog_message()
112 time_string); in store_lastlog_message()
115 time_string, hostname); in store_lastlog_message()
/external/google-breakpad/src/processor/
Dlogging.cc65 char time_string[20]; in LogStream() local
66 strftime(time_string, sizeof(time_string), "%Y-%m-%d %H:%M:%S", &tm_struct); in LogStream()
78 stream_ << time_string << ": " << PathnameStripper::File(file) << ":" << in LogStream()
/external/tensorflow/tensorflow/lite/experimental/micro/tools/make/targets/ecm3531/
D_main.c72 char time_string[] = "00000"; in EtaPrintExecutionTime() local
80 time_string[k1] = (char)(0x30 + c); in EtaPrintExecutionTime()
83 EtaCspUartPutc(&g_sUart1, time_string[k1]); in EtaPrintExecutionTime()
/external/python/apitools/apitools/base/protorpclite/
Dutil.py258 time_string = encoded_datetime[:time_zone_match.start(1)].upper()
260 time_string = encoded_datetime.upper()
262 if '.' in time_string:
267 decoded_datetime = datetime.datetime.strptime(time_string, format_string)
/external/autotest/server/site_tests/firmware_EventLog/
Dfirmware_EventLog.py38 _, time_string, event = line.split(' | ', 2)
39 timestamp = time.strptime(time_string, self._TIME_FORMAT)
52 time_string = self.faft_client.system.run_shell_command_get_output(
54 logging.debug('Current local system time on DUT is "%s"', time_string)
55 return time.strptime(time_string, self._TIME_FORMAT)
/external/autotest/client/common_lib/
Dtime_utils.py30 def time_string_to_datetime(time_string, handle_type_error=False): argument
45 return datetime.datetime.strptime(time_string, TIME_FMT)
47 return datetime.datetime.strptime(time_string, TIME_FMT_MICRO)
Dtime_utils_unittest.py54 time_string = time_utils.epoch_time_to_date_string(
56 self.assertEqual(self.TIME_STRING, time_string)
/external/perf_data_converter/src/quipper/
Dperf_recorder.cc123 std::stringstream time_string; in RunCommandAndGetSerializedOutput() local
124 time_string << time_sec; in RunCommandAndGetSerializedOutput()
126 {"--", "sleep", time_string.str()}); in RunCommandAndGetSerializedOutput()
/external/autotest/client/deps/glbench/src/
Dmain.cc81 char time_string[64]; in printDateTime() local
83 strftime(time_string, 63, "%c", ttime); in printDateTime()
84 printf("# DateTime: %s\n", time_string); in printDateTime()
/external/libchrome/base/time/
Dtime.cc311 bool Time::FromStringInternal(const char* time_string, in FromStringInternal() argument
314 DCHECK((time_string != nullptr) && (parsed_time != nullptr)); in FromStringInternal()
316 if (time_string[0] == '\0') in FromStringInternal()
320 PRStatus result = PR_ParseTimeString(time_string, in FromStringInternal()
Dtime.h648 static bool FromString(const char* time_string, in FromString() argument
650 return FromStringInternal(time_string, true, parsed_time); in FromString()
652 static bool FromUTCString(const char* time_string, in FromUTCString() argument
654 return FromStringInternal(time_string, false, parsed_time); in FromUTCString()
703 static bool FromStringInternal(const char* time_string,
/external/autotest/server/site_tests/network_WiFi_LowInitialBitrates/
Dnetwork_WiFi_LowInitialBitrates.py62 (frame.time_string, frame.mcs_index))
67 (frame.time_string, frame.bit_rate))
/external/grpc-grpc/tools/profiling/latency_profile/
Dprofile_analyzer.py212 def time_string(values): function
223 return time_string(line.times[idx])
/external/autotest/server/lib/
Dstatus_history.py71 def parse_time(time_string): argument
79 return int(time_utils.to_epoch_time(time_string))
/external/autotest/client/common_lib/cros/network/
Dtcpdump_analyzer.py80 def time_string(self): member in Frame
/external/autotest/client/bin/
Dutils.py662 def to_seconds(time_string): argument
664 elts = time_string.split(':')
666 return time_string
/external/python/cpython3/Lib/
Ddatetime.py1384 def fromisoformat(cls, time_string): argument
1386 if not isinstance(time_string, str):
1390 return cls(*_parse_isoformat_time(time_string))
/external/python/cpython3/Doc/library/
Ddatetime.rst1522 .. classmethod:: time.fromisoformat(time_string)
1524 Return a :class:`time` corresponding to a *time_string* in one of the