Lines Matching defs:uString
18 #include "unicode/ustring.h"
67 UChar uString[] = {0x41, 0x42, 0x43, 0};
72 uta = utext_openUChars(NULL, uString, -1, &status);
89 UChar uString[] = {0x41, 0x42, 0x43, 0};
95 uta = utext_openUChars(NULL, uString, -1, &status);
102 TEST_ASSERT(len == u_strlen(uString));
109 UChar uString[] = {0x41, 0x42, 0x43, 0};
117 uta = utext_openUChars(NULL, uString, -1, &status);
123 TEST_ASSERT(len == u_strlen(uString));
128 TEST_ASSERT(c==uString[0]);
131 TEST_ASSERT(c==uString[0]);
134 TEST_ASSERT(c==uString[0]);
136 TEST_ASSERT(c==uString[1]);
139 TEST_ASSERT(c==uString[0]);
141 TEST_ASSERT(c==uString[0]);
144 TEST_ASSERT(c==uString[1]);
145 c = utext_next32From(uta, u_strlen(uString));
149 TEST_ASSERT(c==uString[1]);
159 b = utext_moveIndex32(uta, u_strlen(uString)-1);
162 TEST_ASSERT(i==u_strlen(uString));
167 TEST_ASSERT(i==u_strlen(uString));
171 TEST_ASSERT(c==uString[0]);
173 TEST_ASSERT(c==uString[1]);
176 TEST_ASSERT(c==uString[0]);
211 UChar uString[] = {0x41, 0x42, 0x43, 0};
220 uta = utext_openUChars(NULL, uString, -1, &status);
226 TEST_ASSERT(i == u_strlen(uString));
232 TEST_ASSERT(i == u_strlen(uString));
233 i = u_strcmp(uString, buf);
259 UChar uString[] = {0x41, 0x42, 0x43, 0};
263 uta = utext_openUChars(NULL, uString, -1, &status);
274 uString, -1, /* replacement, replacement length */