Lines Matching refs:STR
111 #define TEST_SET(STR) \ in test_find() argument
113 p = STR + (str_size - 1); \ in test_find()
115 q = g_utf8_find_prev_char (STR, p); \ in test_find()
116 g_assert (q == STR + 12); \ in test_find()
117 q = g_utf8_find_prev_char (STR, q); \ in test_find()
118 g_assert (q == STR + 11); \ in test_find()
119 q = g_utf8_find_prev_char (STR, q); \ in test_find()
120 g_assert (q == STR + 8); \ in test_find()
121 q = g_utf8_find_prev_char (STR, q); \ in test_find()
122 g_assert (q == STR + 7); \ in test_find()
123 q = g_utf8_find_prev_char (STR, q); \ in test_find()
124 g_assert (q == STR + 3); \ in test_find()
125 q = g_utf8_find_prev_char (STR, q); \ in test_find()
126 g_assert (q == STR); \ in test_find()
127 q = g_utf8_find_prev_char (STR, q); \ in test_find()
130 p = STR + 4; \ in test_find()
131 q = g_utf8_find_prev_char (STR, p); \ in test_find()
132 g_assert (q == STR + 3); \ in test_find()
134 p = STR + 2; \ in test_find()
135 q = g_utf8_find_prev_char (STR, p); \ in test_find()
136 g_assert (q == STR); \ in test_find()
138 p = STR + 2; \ in test_find()
140 g_assert (q == STR + 3); \ in test_find()
142 g_assert (q == STR + 7); \ in test_find()
144 q = g_utf8_find_next_char (p, STR + 6); \ in test_find()
145 g_assert (q == STR + 3); \ in test_find()
146 q = g_utf8_find_next_char (q, STR + 6); \ in test_find()
149 q = g_utf8_find_next_char (STR, STR); \ in test_find()
152 q = g_utf8_find_next_char (STR + strlen (STR), NULL); \ in test_find()
153 g_assert (q == STR + strlen (STR) + 1); \ in test_find()
157 q = g_utf8_find_next_char (STR + 10, NULL); \ in test_find()
161 q = g_utf8_find_next_char (STR + 10, STR + 11); \ in test_find()