Lines Matching refs:in
22 static void TestDirname(const char* in, const char* expected_out) { in TestDirname() argument
23 char* writable_in = (in != NULL) ? strdup(in) : NULL; in TestDirname()
26 ASSERT_STREQ(expected_out, out) << in; in TestDirname()
27 ASSERT_EQ(0, errno) << in; in TestDirname()
43 static void TestBasename(const char* in, const char* expected_out, int expected_rc, in TestBasename() argument
46 int rc = basename_r(in, buf, buf_size); in TestBasename()
47 ASSERT_EQ(expected_rc, rc) << in; in TestBasename()
49 ASSERT_STREQ(expected_out, buf) << in; in TestBasename()
51 ASSERT_EQ(expected_errno, errno) << in; in TestBasename()
54 static void TestDirname(const char* in, const char* expected_out, int expected_rc, in TestDirname() argument
57 int rc = dirname_r(in, buf, buf_size); in TestDirname()
58 ASSERT_EQ(expected_rc, rc) << in; in TestDirname()
60 ASSERT_STREQ(expected_out, buf) << in; in TestDirname()
62 ASSERT_EQ(expected_errno, errno) << in; in TestDirname()