Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:days_before_year
(Results
1 - 3
of
3
) sorted by relevance
/third_party/python/Lib/zoneinfo/
H
A
D
_zoneinfo.py
531
days_before_year
= _post_epoch_days_before_year(year)
537
epoch = (
days_before_year
+ d) * 86400
/third_party/python/Modules/
H
A
D
_zoneinfo.c
1279
int64_t
days_before_year
= ymd_to_ord(year, 1, 1) - EPOCHORDINAL - 1;
in dayrule_year_to_timestamp()
local
1297
return ((
days_before_year
+ day) * 86400) + (self->hour * 3600) +
in dayrule_year_to_timestamp()
2183
int
days_before_year
= (y * 365) + (y / 4) - (y / 100) + (y / 400);
in ymd_to_ord()
local
2189
return
days_before_year
+ yearday + d;
in ymd_to_ord()
H
A
D
_datetimemodule.c
262
* start with year 1, so
days_before_year
(1) == 0.
265
days_before_year
(int year)
in days_before_year()
function
279
#define DI4Y 1461 /*
days_before_year
(5); days in 4 years */
280
#define DI100Y 36524 /*
days_before_year
(101); days in 100 years */
281
#define DI400Y 146097 /*
days_before_year
(401); days in 400 years */
371
return
days_before_year
(year) + days_before_month(year, month) + day;
in ymd_to_ord()
6866
assert(DI4Y ==
days_before_year
(4+1));
in _datetime_exec()
6872
assert(DI400Y ==
days_before_year
(400+1));
in _datetime_exec()
6878
assert(DI100Y ==
days_before_year
(100+1));
in _datetime_exec()
Completed in 14 milliseconds