Lines Matching defs:offset
41 static void cmdline_do_one_test(struct kunit *test, const char *in, int rc, int offset)
51 KUNIT_EXPECT_PTR_EQ_MSG(test, out, in + offset, fmt, in);
61 int offset;
64 offset = !!(*str == '-');
65 cmdline_do_one_test(test, str, rc, offset);
77 int offset;
81 offset = strlen(in) - strlen(str) + !!(rc == 2);
82 cmdline_do_one_test(test, in, rc, offset);
95 int offset;
102 offset = rc ? strlen(in) : !!(*str == '-');
103 cmdline_do_one_test(test, in, rc, offset);