__strcmpi
function · crt · boundary
- Address
0x414240· 208 bytes, up to0x41430f- Signature
int32_t __cdecl (const char *a, const char *b)- Meaning
- Compares two strings without case, A to Z folded while the locale word 0x883b08 is 0
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- crt/time#locale-date-patterns
- Test
crt::crt_strftime_patterns_difftest
Finding: Locale date patterns in crt: calendar time
__store_winword reads a pattern as a Windows date or time picture while room is left. A run of
one letter is a conversion by its length:
| run | conversion |
|---|---|
M, MM, MMM, MMMM | m, m, b, B |
d, dd, ddd, dddd | d, d, a, A |
yy, yyyy | y, Y |
h or hh, H or HH, m or mm, s or ss | I, H, M, S |
t of any length | that many bytes of the designator, its NUL and what follows included |
a or A of any length | p; a rest of the pattern equal to am/pm or a/p in any case goes with it |
An odd run of quotes copies up to the next quote; an even run writes nothing. Any other byte is
written alone. The single letters set __no_lead_zeros, but the conversion's own copy of the #
mark, always clear here, overwrites it: M/d/yy pads as MM/dd/yy.
The derivation is in the doc.
Callers 6
- _TranslateName crt
- _LangCountryEnumProc@4 crt
- _LanguageEnumProc@4 crt
- _CountryEnumProc@4 crt
- __store_winword crt
- __mbsicmp crt
Callees 3
Calls and jumps by a bare address, from tables/calls.tsv.