Searched refs:datetime (Results 1 – 9 of 9) sorted by relevance
/hardware/google/gfxstream/guest/mesa/bin/ |
D | gen_calendar_entries.py | 30 import datetime 80 def _calculate_release_start(major: str, minor: str) -> datetime.date: 85 quarter = datetime.date.fromisoformat(f'20{major}-0{[1, 4, 7, 10][int(minor)]}-01') 114 date = date + datetime.timedelta(days=7) 116 date = date + datetime.timedelta(days=7) 122 def _calculate_next_release_date(next_is_zero: bool) -> datetime.date: 128 date = datetime.date.today() 142 return date + datetime.timedelta(days=delta) 158 date = date + datetime.timedelta(days=14) 160 date = date + datetime.timedelta(days=14) [all …]
|
D | gen_calendar_entries_test.py | 29 import datetime 84 def _patch_date(date: datetime.date) -> typing.Iterator[None]: 94 date = datetime.date(2021, 1, 6) 113 date = datetime.date(2021, 1, 5) 132 date = datetime.date(2021, 1, 8) 273 mdate.today = mock.Mock(return_value=datetime.date(2021, 1, 6))
|
D | gen_release_notes.py | 25 import datetime 348 today = datetime.date.today()
|
/hardware/google/gfxstream/scripts/ |
D | glsl-shader-to-spv-c-array.py | 7 from datetime import datetime
|
/hardware/google/gfxstream/guest/mesa/src/util/perf/ |
D | gpuvis_trace_utils.h | 646 char datetime[ 128 ]; in gpuvis_trigger_capture_and_keep_tracing() local 653 strftime( datetime, sizeof( datetime ), "%Y-%m-%d_%H-%M-%S", tmp ); in gpuvis_trigger_capture_and_keep_tracing() 654 datetime[ sizeof( datetime ) - 1 ] = 0; in gpuvis_trigger_capture_and_keep_tracing() 670 exename, datetime ); in gpuvis_trigger_capture_and_keep_tracing() 676 snprintf( filename, size, "%s_%s.dat", exename, datetime ); in gpuvis_trigger_capture_and_keep_tracing()
|
/hardware/google/gfxstream/scripts/print_gfx_logs/ |
D | print_gfx_logs.py | 34 from datetime import datetime 206 datetime.fromtimestamp(stream.timestamp / 1000000.0),
|
D | command_printer.py | 17 from datetime import datetime 199 "Recorded at: {}\n".format(datetime.fromtimestamp(self.timestamp / 1000000.0)),
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/ |
D | genspec.py | 16 from datetime import date, timedelta
|
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintTest.cpp | 2185 auto get_unique_id = [this](const std::string& app_id, uint64_t datetime, in TEST_P() 2202 .Authorization(TAG_CREATION_DATETIME, datetime) in TEST_P()
|