Lines Matching refs:spSrcNum

1143   pdfium::span<const wchar_t> spSrcNum = wsSrcNum.span();  in ParseNum()  local
1167 while (ccf < spNumFormat.size() && cc < spSrcNum.size()) { in ParseNum()
1173 if (cc >= spSrcNum.size() || in ParseNum()
1174 wcsncmp(spSrcNum.data() + cc, wsLiteral.c_str(), iLiteralLen) != in ParseNum()
1183 if (!FXSYS_IsDecimalDigit(spSrcNum[cc])) in ParseNum()
1186 wsValue->InsertAtFront(spSrcNum[cc]); in ParseNum()
1192 if (spNumFormat[ccf] == 'z' || spSrcNum[cc] != ' ') { in ParseNum()
1193 if (FXSYS_IsDecimalDigit(spSrcNum[cc])) { in ParseNum()
1194 wsValue->InsertAtFront(spSrcNum[cc]); in ParseNum()
1204 if (spSrcNum[cc] == '+' || in ParseNum()
1205 (spNumFormat[ccf] == 'S' && spSrcNum[cc] == ' ')) { in ParseNum()
1209 if (cc >= spSrcNum.size() || in ParseNum()
1210 wcsncmp(spSrcNum.data() + cc, wsMinus.c_str(), iMinusLen) != 0) { in ParseNum()
1221 while (cc < spSrcNum.size()) { in ParseNum()
1222 if (spSrcNum[cc] == 'E' || spSrcNum[cc] == 'e') in ParseNum()
1224 if (FXSYS_IsDecimalDigit(spSrcNum[cc])) { in ParseNum()
1227 iExponent = iExponent + FXSYS_DecimalCharToInt(spSrcNum[cc]) * 10; in ParseNum()
1231 if (spSrcNum[cc] == '+') { in ParseNum()
1235 if (cc - iMinusLen + 1 <= spSrcNum.size() && in ParseNum()
1236 wcsncmp(spSrcNum.data() + (cc - iMinusLen + 1), wsMinus.c_str(), in ParseNum()
1254 if (cc >= spSrcNum.size() || in ParseNum()
1255 wcsncmp(spSrcNum.data() + cc, wsSymbol.c_str(), iSymbolLen) != 0) { in ParseNum()
1267 if (spNumFormat[ccf] == 'R' && spSrcNum[cc] == ' ') { in ParseNum()
1269 } else if (spSrcNum[cc] == 'R' && cc - 1 < spSrcNum.size() && in ParseNum()
1270 spSrcNum[cc - 1] == 'C') { in ParseNum()
1284 if (spNumFormat[ccf] == 'B' && spSrcNum[cc] == ' ') { in ParseNum()
1286 } else if (spSrcNum[cc] == 'B' && cc - 1 < spSrcNum.size() && in ParseNum()
1287 spSrcNum[cc - 1] == 'D') { in ParseNum()
1300 if (cc >= spSrcNum.size() || in ParseNum()
1301 wcsncmp(spSrcNum.data() + cc, wsSymbol.c_str(), iSysmbolLen) != 0) { in ParseNum()
1315 if (cc < spSrcNum.size()) { in ParseNum()
1317 if (cc < spSrcNum.size() && in ParseNum()
1318 wcsncmp(spSrcNum.data() + cc, wsGroupSymbol.c_str(), iGroupLen) == in ParseNum()
1330 if (spSrcNum[cc] == spNumFormat[ccf]) in ParseNum()
1332 else if (spSrcNum[cc] != L' ') in ParseNum()
1339 if (spNumFormat[ccf] != spSrcNum[cc]) in ParseNum()
1346 if (cc < spSrcNum.size()) { in ParseNum()
1347 if (spSrcNum[cc] == '-') { in ParseNum()
1351 if (cc < spSrcNum.size()) in ParseNum()
1354 if ((dwFormatStyle & FX_NUMSTYLE_DotVorv) && dot_index < spSrcNum.size()) in ParseNum()
1358 cc = (dot_index == spSrcNum.size()) ? spSrcNum.size() : dot_index + 1; in ParseNum()
1360 cc < spSrcNum.size() && ccf < spNumFormat.size(); ++ccf) { in ParseNum()
1365 if (cc + iLiteralLen > spSrcNum.size() || in ParseNum()
1366 wcsncmp(spSrcNum.data() + cc, wsLiteral.c_str(), iLiteralLen) != in ParseNum()
1374 if (!FXSYS_IsDecimalDigit(spSrcNum[cc])) in ParseNum()
1377 *wsValue += spSrcNum[cc]; in ParseNum()
1382 if (spNumFormat[ccf] == 'z' || spSrcNum[cc] != ' ') { in ParseNum()
1383 if (FXSYS_IsDecimalDigit(spSrcNum[cc])) { in ParseNum()
1384 *wsValue += spSrcNum[cc]; in ParseNum()
1393 if (spSrcNum[cc] == '+' || in ParseNum()
1394 (spNumFormat[ccf] == 'S' && spSrcNum[cc] == ' ')) { in ParseNum()
1397 if (cc + iMinusLen > spSrcNum.size() || in ParseNum()
1398 wcsncmp(spSrcNum.data() + cc, wsMinus.c_str(), iMinusLen) != in ParseNum()
1407 if (cc >= spSrcNum.size() || in ParseNum()
1408 (spSrcNum[cc] != 'E' && spSrcNum[cc] != 'e')) { in ParseNum()
1414 if (cc < spSrcNum.size()) { in ParseNum()
1415 if (spSrcNum[cc] == '+') { in ParseNum()
1417 } else if (spSrcNum[cc] == '-') { in ParseNum()
1422 while (cc < spSrcNum.size()) { in ParseNum()
1423 if (!FXSYS_IsDecimalDigit(spSrcNum[cc])) in ParseNum()
1425 int digit = FXSYS_DecimalCharToInt(spSrcNum[cc]); in ParseNum()
1437 if (cc + iSymbolLen > spSrcNum.size() || in ParseNum()
1438 wcsncmp(spSrcNum.data() + cc, wsSymbol.c_str(), iSymbolLen) != in ParseNum()
1450 if (spNumFormat[ccf] == 'C' && spSrcNum[cc] == ' ') { in ParseNum()
1452 } else if (spSrcNum[cc] == 'C' && cc + 1 < spSrcNum.size() && in ParseNum()
1453 spSrcNum[cc + 1] == 'R') { in ParseNum()
1465 if (spNumFormat[ccf] == 'D' && spSrcNum[cc] == ' ') { in ParseNum()
1467 } else if (spSrcNum[cc] == 'D' && cc + 1 < spSrcNum.size() && in ParseNum()
1468 spSrcNum[cc + 1] == 'B') { in ParseNum()
1482 if (cc + iSysmbolLen <= spSrcNum.size() && in ParseNum()
1483 wcsncmp(spSrcNum.data() + cc, wsSymbol.c_str(), iSysmbolLen) == in ParseNum()
1493 while (cc < spSrcNum.size() && FXSYS_IsDecimalDigit(spSrcNum[cc])) { in ParseNum()
1494 *wsValue += spSrcNum[cc]; in ParseNum()
1499 if (cc + iGroupLen <= spSrcNum.size() && in ParseNum()
1500 wcsncmp(spSrcNum.data() + cc, wsGroupSymbol.c_str(), iGroupLen) == in ParseNum()
1508 if (spSrcNum[cc] == spNumFormat[ccf]) in ParseNum()
1510 else if (spSrcNum[cc] != L' ') in ParseNum()
1516 if (spNumFormat[ccf] != spSrcNum[cc]) in ParseNum()
1522 if (cc != spSrcNum.size()) in ParseNum()
1922 pdfium::span<const wchar_t> spSrcNum = wsSrcNum.span(); in FormatNum() local
1925 dot_index = spSrcNum.size(); in FormatNum()
1931 if (cc < spSrcNum.size()) { in FormatNum()
1932 if (!FXSYS_IsDecimalDigit(spSrcNum[cc])) in FormatNum()
1934 wsOutput->InsertAtFront(spSrcNum[cc]); in FormatNum()
1941 if (cc < spSrcNum.size()) { in FormatNum()
1942 if (!FXSYS_IsDecimalDigit(spSrcNum[cc])) in FormatNum()
1944 if (spSrcNum[0] != '0') in FormatNum()
1945 wsOutput->InsertAtFront(spSrcNum[cc]); in FormatNum()
1950 if (cc < spSrcNum.size()) { in FormatNum()
1951 if (!FXSYS_IsDecimalDigit(spSrcNum[cc])) in FormatNum()
1953 wsOutput->InsertAtFront(spSrcNum[0] == '0' ? L' ' : spSrcNum[cc]); in FormatNum()
2021 if (cc < spSrcNum.size()) in FormatNum()
2040 if (cc < spSrcNum.size()) { in FormatNum()
2048 if (dot_index.value() < spSrcNum.size()) { in FormatNum()
2050 *wsOutput += wsSrcNum.Last(spSrcNum.size() - dot_index.value() - 1); in FormatNum()
2066 if (dot_index.value() < spSrcNum.size()) { in FormatNum()
2082 if (cc < spSrcNum.size()) { in FormatNum()
2083 if (!FXSYS_IsDecimalDigit(spSrcNum[cc])) in FormatNum()
2085 *wsOutput += spSrcNum[cc]; in FormatNum()
2092 if (cc < spSrcNum.size()) { in FormatNum()
2093 if (!FXSYS_IsDecimalDigit(spSrcNum[cc])) in FormatNum()
2095 *wsOutput += spSrcNum[cc]; in FormatNum()
2100 if (cc < spSrcNum.size()) { in FormatNum()
2101 if (!FXSYS_IsDecimalDigit(spSrcNum[cc])) in FormatNum()
2103 *wsOutput += spSrcNum[cc]; in FormatNum()
2152 while (cc < spSrcNum.size() && FXSYS_IsDecimalDigit(spSrcNum[cc])) { in FormatNum()
2153 *wsOutput += spSrcNum[cc]; in FormatNum()