Lines Matching refs:pos
33 size_t pos = 0;
34 while ((char16)' ' == utf16_str[pos] || (char16)'\n' == utf16_str[pos]
35 || (char16)'\t' == utf16_str[pos])
36 pos++;
38 utf16_str += pos;
39 pos = 0;
41 while ((char16)'\0' != utf16_str[pos] && (char16)' ' != utf16_str[pos]
42 && (char16)'\n' != utf16_str[pos]
43 && (char16)'\t' != utf16_str[pos]) {
44 pos++;
48 if ((char16)'\0' == utf16_str[pos]) {
50 if (0 == pos)
53 *utf16_str_next = utf16_str + pos + 1;
56 utf16_str[pos] = (char16)'\0';
57 *token_size = pos;
68 size_t pos = 0;
70 if ((char16)'-' == utf16_str[pos]) {
72 pos++;
75 while ((char16)'0' <= utf16_str[pos] &&
76 (char16)'9' >= utf16_str[pos]) {
77 value = value * 10 + static_cast<int>(utf16_str[pos] - (char16)'0');
78 pos++;
104 size_t pos = 0;
105 while (str1[pos] == str2[pos] && (char16)'\0' != str1[pos])
106 pos++;
108 return static_cast<int>(str1[pos]) - static_cast<int>(str2[pos]);
112 size_t pos = 0;
113 while (pos < size && str1[pos] == str2[pos] && (char16)'\0' != str1[pos])
114 pos++;
116 if (pos == size)
119 return static_cast<int>(str1[pos]) - static_cast<int>(str2[pos]);