Lines Matching refs:iPattern
101 int32_t* iPattern, in GetLiteralText() argument
104 if (pStrPattern[*iPattern] != '\'') in GetLiteralText()
107 (*iPattern)++; in GetLiteralText()
109 while (*iPattern < iLenPattern) { in GetLiteralText()
110 if (pStrPattern[*iPattern] == '\'') { in GetLiteralText()
112 if ((*iPattern + 1 >= iLenPattern) || in GetLiteralText()
113 ((pStrPattern[*iPattern + 1] != '\'') && (iQuote % 2 == 0))) { in GetLiteralText()
117 (*iPattern)++; in GetLiteralText()
118 } else if (pStrPattern[*iPattern] == '\\' && in GetLiteralText()
119 (*iPattern + 1 < iLenPattern) && in GetLiteralText()
120 pStrPattern[*iPattern + 1] == 'u') { in GetLiteralText()
122 *iPattern += 2; in GetLiteralText()
124 while (*iPattern < iLenPattern && i++ < 4) { in GetLiteralText()
125 wchar_t ch = pStrPattern[(*iPattern)++]; in GetLiteralText()
133 wsOutput += pStrPattern[(*iPattern)++]; in GetLiteralText()
139 int32_t* iPattern) { in GetLiteralTextReverse() argument
141 if (pStrPattern[*iPattern] != '\'') in GetLiteralTextReverse()
144 (*iPattern)--; in GetLiteralTextReverse()
146 while (*iPattern >= 0) { in GetLiteralTextReverse()
147 if (pStrPattern[*iPattern] == '\'') { in GetLiteralTextReverse()
149 if (*iPattern - 1 >= 0 || in GetLiteralTextReverse()
150 ((pStrPattern[*iPattern - 1] != '\'') && (iQuote % 2 == 0))) { in GetLiteralTextReverse()
154 (*iPattern)--; in GetLiteralTextReverse()
155 } else if (pStrPattern[*iPattern] == '\\' && in GetLiteralTextReverse()
156 pStrPattern[*iPattern + 1] == 'u') { in GetLiteralTextReverse()
157 (*iPattern)--; in GetLiteralTextReverse()
171 wsOutput = pStrPattern[(*iPattern)--] + wsOutput; in GetLiteralTextReverse()
1078 int32_t iPattern = 0; in ParseText() local
1083 while (iPattern < iLenPattern && iText < iLenText) { in ParseText()
1084 switch (pStrPattern[iPattern]) { in ParseText()
1087 GetLiteralText(pStrPattern, &iPattern, iLenPattern); in ParseText()
1095 iPattern++; in ParseText()
1103 iPattern++; in ParseText()
1108 iPattern++; in ParseText()
1117 iPattern++; in ParseText()
1124 iPattern++; in ParseText()
1127 if (pStrPattern[iPattern] != pStrText[iText]) { in ParseText()
1131 iPattern++; in ParseText()
1136 return iPattern == iLenPattern && iText == iLenText; in ParseText()
1734 int32_t iPattern = 0; in ParseZero() local
1739 while (iPattern < iLenPattern && iText < iLenText) { in ParseZero()
1740 if (pStrPattern[iPattern] == '\'') { in ParseZero()
1742 GetLiteralText(pStrPattern, &iPattern, iLenPattern); in ParseZero()
1749 iPattern++; in ParseZero()
1752 if (pStrPattern[iPattern] != pStrText[iText]) in ParseZero()
1756 iPattern++; in ParseZero()
1758 return iPattern == iLenPattern && iText == iLenText; in ParseZero()
1766 int32_t iPattern = 0; in ParseNull() local
1771 while (iPattern < iLenPattern && iText < iLenText) { in ParseNull()
1772 if (pStrPattern[iPattern] == '\'') { in ParseNull()
1774 GetLiteralText(pStrPattern, &iPattern, iLenPattern); in ParseNull()
1781 iPattern++; in ParseNull()
1784 if (pStrPattern[iPattern] != pStrText[iText]) in ParseNull()
1788 iPattern++; in ParseNull()
1790 return iPattern == iLenPattern && iText == iLenText; in ParseNull()
1806 int32_t iPattern = 0; in FormatText() local
1810 while (iPattern < iLenPattern) { in FormatText()
1811 switch (pStrPattern[iPattern]) { in FormatText()
1813 *wsOutput += GetLiteralText(pStrPattern, &iPattern, iLenPattern); in FormatText()
1814 iPattern++; in FormatText()
1822 iPattern++; in FormatText()
1829 iPattern++; in FormatText()
1838 iPattern++; in FormatText()
1845 iPattern++; in FormatText()
1848 *wsOutput += pStrPattern[iPattern++]; in FormatText()
2313 int32_t iPattern = 0; in FormatZero() local
2316 while (iPattern < iLenPattern) { in FormatZero()
2317 if (pStrPattern[iPattern] == '\'') { in FormatZero()
2318 *wsOutput += GetLiteralText(pStrPattern, &iPattern, iLenPattern); in FormatZero()
2319 iPattern++; in FormatZero()
2321 *wsOutput += pStrPattern[iPattern++]; in FormatZero()
2333 int32_t iPattern = 0; in FormatNull() local
2336 while (iPattern < iLenPattern) { in FormatNull()
2337 if (pStrPattern[iPattern] == '\'') { in FormatNull()
2338 *wsOutput += GetLiteralText(pStrPattern, &iPattern, iLenPattern); in FormatNull()
2339 iPattern++; in FormatNull()
2342 *wsOutput += pStrPattern[iPattern++]; in FormatNull()