Searched refs:bad_name (Results 1 – 7 of 7) sorted by relevance
/external/libchrome/base/i18n/ |
D | file_util_icu_unittest.cc | 28 const char* bad_name; member 42 std::string bad_name(kLinuxIllegalCharacterCases[i].bad_name); in TEST_F() local 43 ReplaceIllegalCharactersInPath(&bad_name, '-'); in TEST_F() 44 EXPECT_EQ(kLinuxIllegalCharacterCases[i].good_name, bad_name); in TEST_F() 54 const wchar_t* bad_name; member 90 std::wstring bad_name(kIllegalCharacterCases[i].bad_name); in TEST_F() local 91 ReplaceIllegalCharactersInPath(&bad_name, '-'); in TEST_F() 92 EXPECT_EQ(kIllegalCharacterCases[i].good_name, bad_name); in TEST_F() 94 std::string bad_name(WideToUTF8(kIllegalCharacterCases[i].bad_name)); in TEST_F() 95 ReplaceIllegalCharactersInPath(&bad_name, '-'); in TEST_F() [all …]
|
/external/crosvm/sys_util/src/ |
D | passwd.rs | 94 let bad_name = CStr::from_bytes_with_nul(b"this better not be a user\0").unwrap(); in get_bad_uid() localVariable 99 let bad_uid_result = get_user_id(bad_name); in get_bad_uid() 114 let bad_name = CStr::from_bytes_with_nul(b"this better not be a group\0").unwrap(); in get_bad_gid() localVariable 119 let bad_gid_result = get_group_id(bad_name); in get_bad_gid()
|
/external/python/cpython3/Lib/test/test_importlib/extension/ |
D | test_case_sensitivity.py | 17 bad_name = good_name.upper() 18 assert good_name != bad_name 22 return finder.find_module(bad_name)
|
/external/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_names/ |
D | TestBreakpointNames.py | 144 for bad_name in bad_names: 145 success = bkpt.AddNameWithErrorHandling(bad_name) 146 self.assertTrue(success.Fail(), "We allowed an illegal name: %s"%(bad_name)) 147 bp_name = lldb.SBBreakpointName(self.target, bad_name) 148 …lf.assertFalse(bp_name.IsValid(), "We made a breakpoint name with an illegal name: %s"%(bad_name)); 151 … self.dbg.GetCommandInterpreter().HandleCommand("break set -n whatever -N '%s'"%(bad_name), retval) 152 … self.assertTrue(not retval.Succeeded(), "break set succeeded with: illegal name: %s"%(bad_name))
|
/external/python/cpython3/Lib/test/test_importlib/builtin/ |
D | test_loader.py | 93 @unittest.skipIf(util.BUILTINS.bad_name is None, 'all modules are built in') 99 method(util.BUILTINS.bad_name)
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | util.py | 26 BUILTINS.bad_name = None 30 BUILTINS.bad_name = 'importlib'
|
/external/tensorflow/tensorflow/python/framework/ |
D | type_spec_test.py | 510 for bad_name in ["foo", "", "hello world"]: 512 type_spec.register(bad_name)
|