• Home
  • Raw
  • Download

Lines Matching refs:spStrPattern

115 WideString GetLiteralText(pdfium::span<const wchar_t> spStrPattern,  in GetLiteralText()  argument
118 if (*iPattern >= spStrPattern.size() || spStrPattern[*iPattern] != '\'') in GetLiteralText()
123 while (*iPattern < spStrPattern.size()) { in GetLiteralText()
124 if (spStrPattern[*iPattern] == '\'') { in GetLiteralText()
126 if ((*iPattern + 1 >= spStrPattern.size()) || in GetLiteralText()
127 ((spStrPattern[*iPattern + 1] != '\'') && (iQuote % 2 == 0))) { in GetLiteralText()
132 } else if (spStrPattern[*iPattern] == '\\' && in GetLiteralText()
133 (*iPattern + 1 < spStrPattern.size()) && in GetLiteralText()
134 spStrPattern[*iPattern + 1] == 'u') { in GetLiteralText()
137 for (int32_t i = 0; *iPattern < spStrPattern.size() && i < 4; ++i) { in GetLiteralText()
138 wchar_t ch = spStrPattern[(*iPattern)++]; in GetLiteralText()
146 wsOutput += spStrPattern[(*iPattern)++]; in GetLiteralText()
151 WideString GetLiteralTextReverse(pdfium::span<const wchar_t> spStrPattern, in GetLiteralTextReverse() argument
154 if (*iPattern >= spStrPattern.size() || spStrPattern[*iPattern] != '\'') in GetLiteralTextReverse()
160 while (*iPattern < spStrPattern.size()) { in GetLiteralTextReverse()
161 if (spStrPattern[*iPattern] == '\'') { in GetLiteralTextReverse()
163 if (*iPattern - 1 >= spStrPattern.size() || in GetLiteralTextReverse()
164 ((spStrPattern[*iPattern - 1] != '\'') && (iQuote % 2 == 0))) { in GetLiteralTextReverse()
169 } else if (spStrPattern[*iPattern] == '\\' && in GetLiteralTextReverse()
170 *iPattern + 1 < spStrPattern.size() && in GetLiteralTextReverse()
171 spStrPattern[*iPattern + 1] == 'u') { in GetLiteralTextReverse()
186 wsOutput = spStrPattern[(*iPattern)--] + wsOutput; in GetLiteralTextReverse()