58 s[2] ==
's' && s[3] ==
'd',
"invalid prefix");
65 int j = (w_prefix != 0 ? 4 : 0);
67 if (s[j] ==
'0' || s[j] ==
'1')
81 if (i > 0 && csd[i - 1] ==
'0') {
87 while (i >= 0 && csd[i] ==
'1')
99 j = (w_prefix != 0 ? 4 : 0);
112 csd[2] ==
's' && csd[3] ==
'd',
"invalid prefix");
121 if (csd[j] ==
'-' || csd[j] ==
'0' || csd[j] ==
'1')
123 else if (csd[j] !=
'.')
133 while (i <
len && s[i] !=
'-')
138 while (j >= 0 && s[j] ==
'0')
void scfx_csd2tc(scfx_string &csd)
void scfx_tc2csd(scfx_string &s, int w_prefix)
#define SC_ASSERT_(cnd, msg)