Home
last modified time | relevance | path

Searched refs:childpath (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/c/
Denv_test.cc59 const char* childpath; in TEST() local
60 ASSERT_TRUE(TF_StringStreamNext(children, &childpath)); in TEST()
61 ASSERT_EQ(::tensorflow::string(childpath), "somefile.txt"); in TEST()
63 ASSERT_FALSE(TF_StringStreamNext(children, &childpath)); in TEST()
64 ASSERT_EQ(childpath, nullptr); in TEST()
/external/protobuf/src/google/protobuf/io/
Dio_win32_unittest.cc248 wstring childpath = path + childname; in DeleteAllUnder() local
253 !DeleteAllUnder(childpath)) || in DeleteAllUnder()
254 !::RemoveDirectoryW(childpath.c_str())) { in DeleteAllUnder()
259 if (!::DeleteFileW(childpath.c_str())) { in DeleteAllUnder()
/external/python/cpython2/Lib/test/
Dtest_shutil.py90 self.childpath = os.path.join(TESTFN, 'a')
91 f = open(self.childpath, 'w')
94 old_child_mode = os.stat(self.childpath).st_mode
96 os.chmod(self.childpath, stat.S_IREAD)
106 os.chmod(self.childpath, old_child_mode)
124 self.assertEqual(arg, self.childpath)