• Home
  • Raw
  • Download

Lines Matching refs:longStr

205 …static const char longStr[] = "This is a long test123456789012345678901234567890123456789012345678…  in TestString()  local
207 retVal = u_sprintf(uStringBuf, longStr); in TestString()
209 if (strcmp(myString, longStr)) { in TestString()
210 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
212 if (retVal != (int32_t)strlen(longStr)) { in TestString()
213 … log_err("%%S returned different sizes. Got: %d Expected: %d\n", retVal, strlen(longStr)); in TestString()
216 retVal = u_sprintf(uStringBuf, "%s", longStr); in TestString()
218 if (strcmp(myString, longStr)) { in TestString()
219 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
221 if (retVal != (int32_t)strlen(longStr)) { in TestString()
222 … log_err("%%S returned different sizes. Got: %d Expected: %d\n", retVal, strlen(longStr)); in TestString()
225 u_uastrncpy(myUString, longStr, UPRV_LENGTHOF(longStr)); in TestString()
228 log_err("%%S Long strings differ. Expected: %s\n", longStr); in TestString()
231 u_uastrncpy(myUString, longStr, UPRV_LENGTHOF(longStr)); in TestString()
234 log_err("%%S Long strings differ. Expected: %s\n", longStr + 10); in TestString()
236 if (retVal != (int32_t)strlen(longStr + 10)) { in TestString()
237 … log_err("%%S returned different sizes. Got: %d Expected: %d\n", retVal, strlen(longStr)); in TestString()
240 u_memset(uStringBuf, 1, UPRV_LENGTHOF(longStr)); in TestString()
241 u_uastrncpy(myUString, longStr, UPRV_LENGTHOF(longStr)); in TestString()
244 log_err("%%S Long strings differ. Expected the first 10 characters of %s\n", longStr); in TestString()