test_string
void *test_string;
u32 test_string;
const char *test_string;
for (i = 0; sabi_configs[i].test_string != NULL; ++i) {
samsung->config->test_string);
samsung->config->test_string);
.test_string = "SECLINUX",
.test_string = "SwSmi@",
str = test_string(*addr);
KUNIT_CASE(test_string),
static const struct test_string strings[] = {
static const struct test_string strings_upper[] = {
static const struct test_string strings_lower[] = {
const char *test_string = "abcdefghijkl";
for (i = 0; i < strlen(test_string) + 1; i++) {
result = strchr(test_string, test_string[i]);
KUNIT_ASSERT_EQ_MSG(test, result - test_string, i,
result = strchr(test_string, 'z');
const char *test_string = "abcdefghijkl";
for (i = 0; i < strlen(test_string) + 1; i++) {
for (j = 0; j < strlen(test_string) + 2; j++) {
result = strnchr(test_string, j, test_string[i]);
KUNIT_ASSERT_EQ_MSG(test, result - test_string, i,
EXPECT_EQUAL(ch, test_string[i]);
static int do_test_get_hex(const char *test_string,
if (setup_test(path, test_string, 4, &io))
static int do_test_get_dec(const char *test_string,
if (setup_test(path, test_string, 4, &io))
char test_string[1024];
test_string[i] = 'a';
test_string[512] = '\n';
test_string[i] = 'b';
test_string[1023] = '\0';
if (setup_test(path, test_string, buf_size, &io))
static int do_test_get_char(const char *test_string, size_t buf_size)
if (setup_test(path, test_string, buf_size, &io))
for (i = 0; i < strlen(test_string); i++) {