/external/autotest/client/common_lib/ |
time_utils_unittest.py | 38 TIME_STRING = "2014-08-20 14:23:56" 47 self.TIME_STRING) 54 time_string = time_utils.epoch_time_to_date_string( 56 self.assertEqual(self.TIME_STRING, time_string) 63 time_utils.to_epoch_time(self.TIME_STRING))
|
time_utils.py | 16 def time_string_to_datetime(time_string, handle_type_error=False): 22 @param time_string: String of date, e.g., 2014-12-05 15:32:45 24 TypeError if given time_string is corrupted. Default is False. 31 return datetime.datetime.strptime(time_string, TIME_FMT) 33 return datetime.datetime.strptime(time_string, TIME_FMT_MICRO)
|
/external/google-breakpad/src/processor/ |
logging.cc | 65 char time_string[20]; local 66 strftime(time_string, sizeof(time_string), "%Y-%m-%d %H:%M:%S", &tm_struct); 78 stream_ << time_string << ": " << PathnameStripper::File(file) << ":" <<
|
/external/autotest/server/site_tests/firmware_EventLog/ |
firmware_EventLog.py | 32 _, time_string, event = line.split(' | ', 2) 33 timestamp = time.strptime(time_string, self._TIME_FORMAT) 46 time_string = self.faft_client.system.run_shell_command_get_output( 48 logging.debug('Current local system time on DUT is "%s"', time_string) 49 return time.strptime(time_string, self._TIME_FORMAT)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/ec2/autoscale/ |
test_connection.py | 100 time_string = '%d' % int(time.time()) 101 lc_name = 'lc-%s' % time_string 114 group_name = 'group-%s' % time_string 171 time_string = '%d' % int(time.time()) 172 lc_name = 'lc-%s' % time_string
|
/external/chromium-trace/catapult/dashboard/dashboard/ |
buildbucket_job_status.py | 64 time_string = time.ctime(time_seconds) 65 result[key.replace('_ts', '_utc')] = time_string
|
/external/chromium-trace/catapult/third_party/Paste/paste/debug/ |
watchthreads.py | 303 time_string = '%i:%02i:%02i' % (int(time_length/60/60), 307 time_string = '%i:%02i' % (int(time_length/60), 310 time_string = '%i sec' % time_length 312 time_string = '%0.1f sec' % time_length 314 time_string = '%0.2f sec' % time_length 316 return time_string 318 return '<span style="color: #900">%s</span>' % time_string 320 return '<span style="background-color: #600; color: #fff">%s</span>' % time_string
|
/external/autotest/server/site_tests/network_WiFi_LowInitialBitrates/ |
network_WiFi_LowInitialBitrates.py | 63 (frame.time_string, frame.mcs_index)) 68 (frame.time_string, frame.bit_rate))
|
/hardware/qcom/gps/msm8084/utils/ |
loc_log.h | 62 extern char *loc_get_time(char *time_string, unsigned long buf_size);
|
loc_log.cpp | 161 The pointer time_string should point to a buffer of at least 13 bytes: 169 char *loc_get_time(char *time_string, unsigned long buf_size) 179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); 181 return time_string;
|
/hardware/qcom/gps/msm8960/utils/ |
loc_log.h | 62 extern char *loc_get_time(char *time_string, unsigned long buf_size);
|
loc_log.cpp | 161 The pointer time_string should point to a buffer of at least 13 bytes: 169 char *loc_get_time(char *time_string, unsigned long buf_size) 179 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); 181 return time_string;
|
/hardware/qcom/gps/msm8994/utils/ |
loc_log.h | 62 extern char *loc_get_time(char *time_string, unsigned long buf_size);
|
loc_log.cpp | 162 The pointer time_string should point to a buffer of at least 13 bytes: 170 char *loc_get_time(char *time_string, unsigned long buf_size) 180 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); 182 return time_string;
|
/hardware/qcom/gps/utils/ |
loc_log.h | 62 extern char *loc_get_time(char *time_string, unsigned long buf_size);
|
/external/autotest/client/deps/glbench/src/ |
main.cc | 79 char time_string[64]; local 81 strftime(time_string, 63, "%c",ttime); 82 printf("# DateTime: %s\n", time_string);
|
/external/libpng/ |
pngtest.c | 134 static char tIME_string[PNG_tIME_STRING_LENGTH] = "tIME chunk is not present"; [all...] |
/external/autotest/site_utils/ |
analyze_reboot_time.py | 95 time_string = time_utils.epoch_time_to_date_string( 98 spaces = (15 - len(str(time_string))) * ' ' 100 time_string, reboot_total)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 31 private static final String TIME_STRING = "2000/11/17 08:01:00"; 263 Date date = sdf.parse(TIME_STRING); 287 if (!s.equals(TIME_STRING)) { 289 + TIME_STRING);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 27 private static final String TIME_STRING = "2000/11/17 08:01:00"; 259 Date date = sdf.parse(TIME_STRING); 283 if (!s.equals(TIME_STRING)) { 285 + TIME_STRING);
|
/external/libchrome/base/time/ |
time.cc | 246 bool Time::FromStringInternal(const char* time_string, 249 DCHECK((time_string != NULL) && (parsed_time != NULL)); 251 if (time_string[0] == '\0') 255 PRStatus result = PR_ParseTimeString(time_string,
|
/hardware/qcom/gps/msm8909/utils/ |
loc_log.cpp | 163 The pointer time_string should point to a buffer of at least 13 bytes: 171 char *loc_get_time(char *time_string, size_t buf_size) 181 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); 183 return time_string;
|
loc_log.h | 65 extern char *loc_get_time(char *time_string, size_t buf_size);
|
/hardware/qcom/gps/msm8996/utils/ |
loc_log.cpp | 163 The pointer time_string should point to a buffer of at least 13 bytes: 171 char *loc_get_time(char *time_string, size_t buf_size) 181 snprintf(time_string, buf_size, "%s.%03d", hms_string, (int) (now.tv_usec / 1000)); 183 return time_string;
|
loc_log.h | 65 extern char *loc_get_time(char *time_string, size_t buf_size);
|