Searched refs:expected_mode (Results 1 – 9 of 9) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_dumbdbm.py | 51 expected_mode = 0635 55 expected_mode = 0666 59 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode) 61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | beta_test.py | 210 expected_mode = (a - 1) / (a + b - 2) 213 self.assertAllClose(expected_mode, self.evaluate(dist.mode())) 233 expected_mode = (a - 1) / (a + b - 2) 234 expected_mode[0] = np.nan 236 self.assertAllClose(expected_mode, self.evaluate(dist.mode())) 242 expected_mode = (a - 1) / (a + b - 2) 243 expected_mode[0] = np.nan 245 self.assertAllClose(expected_mode, self.evaluate(dist.mode()))
|
D | dirichlet_test.py | 220 expected_mode = (alpha - 1) / (np.sum(alpha) - 3) 223 self.assertAllClose(self.evaluate(dirichlet.mode()), expected_mode) 236 expected_mode = np.zeros_like(alpha) + np.nan 239 self.assertAllClose(self.evaluate(dirichlet.mode()), expected_mode)
|
/external/python/cpython3/Lib/test/ |
D | test_uu.py | 234 expected_mode = 0o444 236 f.write(encodedtextwrapped(expected_mode, self.tmpout)) 239 self.addCleanup(os.chmod, self.tmpout, expected_mode | stat.S_IWRITE) 246 expected_mode
|
D | test_dbm_dumb.py | 51 expected_mode = 0o635 55 expected_mode = 0o666 59 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode) 61 self.assertEqual(stat.S_IMODE(st.st_mode), expected_mode)
|
D | test_subprocess.py | 1958 expected_mode = 0o624 1959 self.assertEqual(expected_mode, st_mode,
|
/external/libchrome/base/memory/ |
D | platform_shared_memory_region_posix.cc | 35 bool CheckFDAccessMode(int fd, int expected_mode) { in CheckFDAccessMode() argument 43 if (mode != expected_mode) { in CheckFDAccessMode() 45 << ") differs from expected (" << expected_mode << ")"; in CheckFDAccessMode()
|
/external/libchrome/base/files/ |
D | file_util_unittest.cc | 996 int expected_mode; in TEST_F() local 999 expected_mode = 0755; in TEST_F() 1001 expected_mode = 0644; in TEST_F() 1003 expected_mode = 0600; in TEST_F() 1005 EXPECT_EQ(expected_mode, mode); in TEST_F() 1009 expected_mode = 0755; in TEST_F() 1011 expected_mode = 0644; in TEST_F() 1013 expected_mode = 0600; in TEST_F() 1015 EXPECT_EQ(expected_mode, mode); in TEST_F() 1019 expected_mode = 0600; in TEST_F() [all …]
|
/external/libbrillo/brillo/streams/ |
D | fake_stream_test.cc | 469 Stream::AccessMode expected_mode) { in TEST_F() argument 471 EXPECT_EQ(static_cast<int>(expected_mode), static_cast<int>(mode)); in TEST_F()
|