Lines Matching refs:str2
16 static const char str2[] = "1099abNo, don't bother apologising."; variable
36 strcpy(out, str2); in str_upper()
45 strcpy(out, str2); in str_upper()
89 ut_assertok(run_strtoul(uts, str2, 10, 1099, 4, upper)); in str_simple_strtoul()
90 ut_assertok(run_strtoul(uts, str2, 16, 0x1099ab, 6, upper)); in str_simple_strtoul()
103 ut_assertok(run_strtoul(uts, str2, 0, 1099, 4, upper)); in str_simple_strtoul()
108 ut_assertok(run_strtoul(uts, str2, 2, 2, 2, upper)); in str_simple_strtoul()
112 ut_asserteq(1099, simple_strtoul(str2, NULL, 0)); in str_simple_strtoul()
144 ut_assertok(run_strtoull(uts, str2, 10, 1099, 4, upper)); in str_simple_strtoull()
145 ut_assertok(run_strtoull(uts, str2, 16, 0x1099ab, 6, upper)); in str_simple_strtoull()
166 ut_assertok(run_strtoull(uts, str2, 0, 1099, 4, upper)); in str_simple_strtoull()
171 ut_assertok(run_strtoull(uts, str2, 2, 2, 2, upper)); in str_simple_strtoull()
175 ut_asserteq(1099, simple_strtoull(str2, NULL, 0)); in str_simple_strtoull()
186 ut_asserteq(0x1099ab, hextoul(str2, &endp)); in str_hextoul()
187 ut_asserteq(6, endp - str2); in str_hextoul()
198 ut_asserteq(1099, dectoul(str2, &endp)); in str_dectoul()
199 ut_asserteq(4, endp - str2); in str_dectoul()