/external/llvm-project/lldb/test/API/lang/cpp/enum_types/ |
D | main.cpp | 1 #define DEFINE_UNSIGNED_ENUM(suffix, enum_type) \ argument 2 enum class enum_##suffix : enum_type{Case1 = 200, Case2, Case3}; \ 3 enum_##suffix var1_##suffix = enum_##suffix ::Case1; \ 4 enum_##suffix var2_##suffix = enum_##suffix ::Case2; \ 5 enum_##suffix var3_##suffix = enum_##suffix ::Case3; \ 6 enum_##suffix var_below_##suffix = static_cast<enum_##suffix>(199); \ 7 enum_##suffix var_above_##suffix = static_cast<enum_##suffix>(203); 9 #define DEFINE_SIGNED_ENUM(suffix, enum_type) \ argument 10 enum class enum_##suffix : enum_type{Case1 = -2, Case2, Case3}; \ 11 enum_##suffix var1_##suffix = enum_##suffix ::Case1; \ [all …]
|
/external/fonttools/Tests/misc/ |
D | filenames_test.py | 36 suffix = "TEST_SUFFIX" 40 userNameToFileName(name, prefix=prefix, suffix=suffix), 41 prefix + name_file + suffix) 45 suffix = "TEST_SUFFIX" 52 name, exist, prefix=prefix, suffix=suffix) 54 self.assertEqual(generated, prefix + name_file + suffix) 56 name, exist, prefix=prefix, suffix=suffix) 60 prefix + name_file + collision_avoidance1 + suffix) 62 name, exist, prefix=prefix, suffix=suffix) 65 prefix + name_file + collision_avoidance2+ suffix) [all …]
|
/external/python/cpython3/Tools/c-analyzer/c_analyzer/common/ |
D | files.py | 24 suffix=None, argument 32 if suffix and not isinstance(suffix, str): 36 if suffix and not filename.endswith(suffix): 42 suffix=None, argument 52 suffix = suffix or '' 53 if not isinstance(suffix, str): 62 def iter_files(root, suffix=None, relparent=None, *, argument 83 yield from iter_files(root, suffix, relparent, 96 if suffix and not isinstance(suffix, str): 98 suffix = tuple(suffix) [all …]
|
/external/fonttools/Tests/varLib/ |
D | interpolate_layout_test.py | 42 def get_file_list(folder, suffix, prefix=''): argument 46 if p.startswith(prefix) and p.endswith(suffix): 50 def temp_path(self, suffix): argument 54 "tmp%d%s" % (self.num_tempfiles, suffix)) 73 path = self.temp_path(suffix=".ttx") 83 def check_ttx_dump(self, font, expected_ttx, tables, suffix): argument 85 path = self.temp_path(suffix=suffix) 89 def compile_font(self, path, suffix, temp_dir, features=None): argument 91 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix)) 109 suffix = '.ttf' [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | AffixMatcher.java | 25 private final AffixPatternMatcher suffix; field in AffixMatcher 37 } else if (length(lhs.suffix) != length(rhs.suffix)) { 38 return length(lhs.suffix) > length(rhs.suffix) ? -1 : 1; 129 AffixPatternMatcher suffix = AffixPatternMatcher in createMatchers() local 134 posSuffix = suffix; in createMatchers() 135 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers() 145 matchers.add(getInstance(prefix, suffix, flags)); in createMatchers() 146 if (includeUnpaired && prefix != null && suffix != null) { in createMatchers() 151 if (type == PatternSignType.POS || !Objects.equals(suffix, posSuffix)) { in createMatchers() 152 matchers.add(getInstance(null, suffix, flags)); in createMatchers() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | AffixMatcher.java | 23 private final AffixPatternMatcher suffix; field in AffixMatcher 35 } else if (length(lhs.suffix) != length(rhs.suffix)) { 36 return length(lhs.suffix) > length(rhs.suffix) ? -1 : 1; 127 AffixPatternMatcher suffix = AffixPatternMatcher in createMatchers() local 132 posSuffix = suffix; in createMatchers() 133 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers() 143 matchers.add(getInstance(prefix, suffix, flags)); in createMatchers() 144 if (includeUnpaired && prefix != null && suffix != null) { in createMatchers() 149 if (type == PatternSignType.POS || !Objects.equals(suffix, posSuffix)) { in createMatchers() 150 matchers.add(getInstance(null, suffix, flags)); in createMatchers() [all …]
|
/external/fonttools/Tests/ufoLib/ |
D | filenames_test.py | 48 suffix = "." + ("0" * 10) 54 suffix=suffix), 59 e.append(prefix + "aaaaa" + "1".zfill(15) + suffix) 62 suffix=suffix), 67 e.append(prefix + "AAAAA" + "2".zfill(15) + suffix) 70 suffix=suffix), 76 suffix = "." + ("0" * 10) 77 existing = [prefix + str(i) + suffix for i in range(100)] 81 handleClash2(existing=e, prefix=prefix, suffix=suffix), 86 e.remove(prefix + "1" + suffix) [all …]
|
/external/libcxx/test/std/re/re.alg/re.alg.search/ |
D | ecma.pass.cpp | 45 assert(!m.suffix().matched); in main() 46 assert(m.suffix().first == m[0].second); in main() 47 assert(m.suffix().second == s+1); in main() 60 assert(!m.suffix().matched); in main() 61 assert(m.suffix().first == m[0].second); in main() 62 assert(m.suffix().second == s+2); in main() 82 assert(!m.suffix().matched); in main() 83 assert(m.suffix().first == m[0].second); in main() 84 assert(m.suffix().second == s+3); in main() 104 assert(m.suffix().matched); in main() [all …]
|
D | awk.pass.cpp | 45 assert(!m.suffix().matched); in main() 46 assert(m.suffix().first == m[0].second); in main() 47 assert(m.suffix().second == s+1); in main() 60 assert(!m.suffix().matched); in main() 61 assert(m.suffix().first == m[0].second); in main() 62 assert(m.suffix().second == s+2); in main() 82 assert(!m.suffix().matched); in main() 83 assert(m.suffix().first == m[0].second); in main() 84 assert(m.suffix().second == s+3); in main() 104 assert(m.suffix().matched); in main() [all …]
|
D | extended.pass.cpp | 45 assert(!m.suffix().matched); in main() 46 assert(m.suffix().first == m[0].second); in main() 47 assert(m.suffix().second == s+1); in main() 60 assert(!m.suffix().matched); in main() 61 assert(m.suffix().first == m[0].second); in main() 62 assert(m.suffix().second == s+2); in main() 82 assert(!m.suffix().matched); in main() 83 assert(m.suffix().first == m[0].second); in main() 84 assert(m.suffix().second == s+3); in main() 104 assert(m.suffix().matched); in main() [all …]
|
D | basic.pass.cpp | 51 assert(!m.suffix().matched); in main() 52 assert(m.suffix().first == m[0].second); in main() 53 assert(m.suffix().second == s+1); in main() 66 assert(!m.suffix().matched); in main() 67 assert(m.suffix().first == m[0].second); in main() 68 assert(m.suffix().second == s+2); in main() 88 assert(!m.suffix().matched); in main() 89 assert(m.suffix().first == m[0].second); in main() 90 assert(m.suffix().second == s+3); in main() 110 assert(m.suffix().matched); in main() [all …]
|
/external/llvm-project/libcxx/test/std/re/re.alg/re.alg.search/ |
D | ecma.pass.cpp | 44 assert(!m.suffix().matched); in main() 45 assert(m.suffix().first == m[0].second); in main() 46 assert(m.suffix().second == s+1); in main() 59 assert(!m.suffix().matched); in main() 60 assert(m.suffix().first == m[0].second); in main() 61 assert(m.suffix().second == s+2); in main() 81 assert(!m.suffix().matched); in main() 82 assert(m.suffix().first == m[0].second); in main() 83 assert(m.suffix().second == s+3); in main() 103 assert(m.suffix().matched); in main() [all …]
|
D | awk.pass.cpp | 44 assert(!m.suffix().matched); in main() 45 assert(m.suffix().first == m[0].second); in main() 46 assert(m.suffix().second == s+1); in main() 59 assert(!m.suffix().matched); in main() 60 assert(m.suffix().first == m[0].second); in main() 61 assert(m.suffix().second == s+2); in main() 81 assert(!m.suffix().matched); in main() 82 assert(m.suffix().first == m[0].second); in main() 83 assert(m.suffix().second == s+3); in main() 103 assert(m.suffix().matched); in main() [all …]
|
D | extended.pass.cpp | 44 assert(!m.suffix().matched); in main() 45 assert(m.suffix().first == m[0].second); in main() 46 assert(m.suffix().second == s+1); in main() 59 assert(!m.suffix().matched); in main() 60 assert(m.suffix().first == m[0].second); in main() 61 assert(m.suffix().second == s+2); in main() 81 assert(!m.suffix().matched); in main() 82 assert(m.suffix().first == m[0].second); in main() 83 assert(m.suffix().second == s+3); in main() 103 assert(m.suffix().matched); in main() [all …]
|
D | basic.pass.cpp | 50 assert(!m.suffix().matched); in main() 51 assert(m.suffix().first == m[0].second); in main() 52 assert(m.suffix().second == s+1); in main() 65 assert(!m.suffix().matched); in main() 66 assert(m.suffix().first == m[0].second); in main() 67 assert(m.suffix().second == s+2); in main() 87 assert(!m.suffix().matched); in main() 88 assert(m.suffix().first == m[0].second); in main() 89 assert(m.suffix().second == s+3); in main() 109 assert(m.suffix().matched); in main() [all …]
|
/external/vixl/tools/test_generator/ |
D | data_types.py | 233 def PrintInput(suffix = ""): argument 249 def InstantiateResult(suffix = ""): argument 257 def InstantiateInput(suffix = ""): argument 265 def InstantiateReference(suffix = ""): argument 317 def PrintInput(self, suffix = ""): argument 320 name=self.name + suffix) 326 def InstantiateResult(self, suffix = ""): argument 328 return code.format(type_name=self.TypeName(), name=self.name, suffix=suffix) 330 def InstantiateInput(self, suffix = ""): argument 332 return code.format(type_name=self.TypeName(), name=self.name, suffix=suffix) [all …]
|
/external/llvm-project/libcxx/test/std/re/re.alg/re.alg.match/ |
D | awk.pass.cpp | 42 assert(!m.suffix().matched); in main() 43 assert(m.suffix().first == m[0].second); in main() 44 assert(m.suffix().second == s+1); in main() 57 assert(!m.suffix().matched); in main() 58 assert(m.suffix().first == m[0].second); in main() 59 assert(m.suffix().second == s+2); in main() 98 assert(!m.suffix().matched); in main() 99 assert(m.suffix().first == m[0].second); in main() 100 assert(m.suffix().second == s+4); in main() 113 assert(!m.suffix().matched); in main() [all …]
|
D | extended.pass.cpp | 44 assert(!m.suffix().matched); in main() 45 assert(m.suffix().first == m[0].second); in main() 46 assert(m.suffix().second == s+1); in main() 59 assert(!m.suffix().matched); in main() 60 assert(m.suffix().first == m[0].second); in main() 61 assert(m.suffix().second == s+2); in main() 100 assert(!m.suffix().matched); in main() 101 assert(m.suffix().first == m[0].second); in main() 102 assert(m.suffix().second == s+4); in main() 115 assert(!m.suffix().matched); in main() [all …]
|
D | ecma.pass.cpp | 44 assert(!m.suffix().matched); in main() 45 assert(m.suffix().first == m[0].second); in main() 46 assert(m.suffix().second == s+1); in main() 59 assert(!m.suffix().matched); in main() 60 assert(m.suffix().first == m[0].second); in main() 61 assert(m.suffix().second == s+2); in main() 100 assert(!m.suffix().matched); in main() 101 assert(m.suffix().first == m[0].second); in main() 102 assert(m.suffix().second == s+4); in main() 115 assert(!m.suffix().matched); in main() [all …]
|
D | basic.pass.cpp | 50 assert(!m.suffix().matched); in main() 51 assert(m.suffix().first == m[0].second); in main() 52 assert(m.suffix().second == s+1); in main() 65 assert(!m.suffix().matched); in main() 66 assert(m.suffix().first == m[0].second); in main() 67 assert(m.suffix().second == s+2); in main() 106 assert(!m.suffix().matched); in main() 107 assert(m.suffix().first == m[0].second); in main() 108 assert(m.suffix().second == s+4); in main() 121 assert(!m.suffix().matched); in main() [all …]
|
/external/libcxx/test/std/re/re.alg/re.alg.match/ |
D | awk.pass.cpp | 39 assert(!m.suffix().matched); in main() 40 assert(m.suffix().first == m[0].second); in main() 41 assert(m.suffix().second == s+1); in main() 54 assert(!m.suffix().matched); in main() 55 assert(m.suffix().first == m[0].second); in main() 56 assert(m.suffix().second == s+2); in main() 95 assert(!m.suffix().matched); in main() 96 assert(m.suffix().first == m[0].second); in main() 97 assert(m.suffix().second == s+4); in main() 110 assert(!m.suffix().matched); in main() [all …]
|
D | ecma.pass.cpp | 45 assert(!m.suffix().matched); in main() 46 assert(m.suffix().first == m[0].second); in main() 47 assert(m.suffix().second == s+1); in main() 60 assert(!m.suffix().matched); in main() 61 assert(m.suffix().first == m[0].second); in main() 62 assert(m.suffix().second == s+2); in main() 101 assert(!m.suffix().matched); in main() 102 assert(m.suffix().first == m[0].second); in main() 103 assert(m.suffix().second == s+4); in main() 116 assert(!m.suffix().matched); in main() [all …]
|
D | extended.pass.cpp | 45 assert(!m.suffix().matched); in main() 46 assert(m.suffix().first == m[0].second); in main() 47 assert(m.suffix().second == s+1); in main() 60 assert(!m.suffix().matched); in main() 61 assert(m.suffix().first == m[0].second); in main() 62 assert(m.suffix().second == s+2); in main() 101 assert(!m.suffix().matched); in main() 102 assert(m.suffix().first == m[0].second); in main() 103 assert(m.suffix().second == s+4); in main() 116 assert(!m.suffix().matched); in main() [all …]
|
D | basic.pass.cpp | 51 assert(!m.suffix().matched); in main() 52 assert(m.suffix().first == m[0].second); in main() 53 assert(m.suffix().second == s+1); in main() 66 assert(!m.suffix().matched); in main() 67 assert(m.suffix().first == m[0].second); in main() 68 assert(m.suffix().second == s+2); in main() 107 assert(!m.suffix().matched); in main() 108 assert(m.suffix().first == m[0].second); in main() 109 assert(m.suffix().second == s+4); in main() 122 assert(!m.suffix().matched); in main() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/tools/ |
D | placeholder.py | 63 def __init__(self, source, suffix, assembly_substr=None): argument 65 assert isinstance(suffix, str) 67 self.suffix = suffix 80 dir=testcase.directory, suffix=self.suffix) 94 def __init__(self, content, suffix): argument 96 assert isinstance(suffix, str) 98 self.suffix = suffix 108 dir=testcase.directory, suffix=self.suffix) 122 def __init__(self, source, suffix, assembly_substr=None): argument 124 assert isinstance(suffix, str) [all …]
|