MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / fromString

Function fromString

Source/3rdParty/bx/src/dtoa.cpp:1048–1053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1046 }
1047
1048 bool fromString(bool* _out, const StringView& _str)
1049 {
1050 char ch = toLower(_str.getPtr()[0]);
1051 *_out = ch == 't' || ch == '1';
1052 return 0 != _str.getLength();
1053 }
1054
1055 bool fromString(float* _out, const StringView& _str)
1056 {

Callers 8

compileFunction · 0.85
initMethod · 0.85
initMethod · 0.85
parseAttrToFunction · 0.85
atoiFunction · 0.85
atofFunction · 0.85
hasArgMethod · 0.85

Calls 6

toLowerFunction · 0.85
converterFunction · 0.85
strLTrimSpaceFunction · 0.85
parserFunction · 0.70
isNumericFunction · 0.70
getLengthMethod · 0.45

Tested by

no test coverage detected