Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 25 of 1534) sorted by relevance

12345678910>>...62

/external/fonttools/Tests/misc/
Dfilenames_test.py37 suffix = "TEST_SUFFIX"
41 userNameToFileName(name, prefix=prefix, suffix=suffix),
42 prefix + name_file + suffix)
46 suffix = "TEST_SUFFIX"
53 name, exist, prefix=prefix, suffix=suffix)
55 self.assertEqual(generated, prefix + name_file + suffix)
57 name, exist, prefix=prefix, suffix=suffix)
61 prefix + name_file + collision_avoidance1 + suffix)
63 name, exist, prefix=prefix, suffix=suffix)
66 prefix + name_file + collision_avoidance2+ suffix)
[all …]
/external/fonttools/Tests/varLib/
Dinterpolate_layout_test.py44 def get_file_list(folder, suffix, prefix=''): argument
48 if p.startswith(prefix) and p.endswith(suffix):
52 def temp_path(self, suffix): argument
56 "tmp%d%s" % (self.num_tempfiles, suffix))
75 path = self.temp_path(suffix=".ttx")
85 def check_ttx_dump(self, font, expected_ttx, tables, suffix): argument
87 path = self.temp_path(suffix=suffix)
91 def compile_font(self, path, suffix, temp_dir, features=None): argument
93 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix))
111 suffix = '.ttf'
[all …]
Dmutator_test.py42 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 compile_font(self, path, suffix, temp_dir): argument
85 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix))
96 suffix = '.ttf'
104 self.compile_font(path, suffix, self.tempdir)
106 finder = lambda s: s.replace(ufo_dir, self.tempdir).replace('.ufo', suffix)
[all …]
Dinterpolatable_test.py45 def get_file_list(folder, suffix, prefix=''): argument
49 if p.startswith(prefix) and p.endswith(suffix):
53 def temp_path(self, suffix): argument
57 "tmp%d%s" % (self.num_tempfiles, suffix))
63 def compile_font(self, path, suffix, temp_dir): argument
65 savepath = os.path.join(temp_dir, ttx_filename.replace('.ttx', suffix))
76 suffix = '.ttf'
82 self.compile_font(path, suffix, self.tempdir)
84 ttf_paths = self.get_file_list(self.tempdir, suffix)
89 suffix = '.otf'
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DAffixMatcher.java23 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;
121 AffixPatternMatcher suffix = AffixPatternMatcher in createMatchers() local
126 posSuffix = suffix; in createMatchers()
127 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers()
137 matchers.add(getInstance(prefix, suffix, flags)); in createMatchers()
138 if (includeUnpaired && prefix != null && suffix != null) { in createMatchers()
143 if (signum == 1 || !Objects.equals(suffix, posSuffix)) { in createMatchers()
144 matchers.add(getInstance(null, suffix, flags)); in createMatchers()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DAffixMatcher.java25 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;
123 AffixPatternMatcher suffix = AffixPatternMatcher in createMatchers() local
128 posSuffix = suffix; in createMatchers()
129 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffix)) { in createMatchers()
139 matchers.add(getInstance(prefix, suffix, flags)); in createMatchers()
140 if (includeUnpaired && prefix != null && suffix != null) { in createMatchers()
145 if (signum == 1 || !Objects.equals(suffix, posSuffix)) { in createMatchers()
146 matchers.add(getInstance(null, suffix, flags)); in createMatchers()
[all …]
/external/libcxx/test/std/re/re.alg/re.alg.search/
Decma.pass.cpp45 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 …]
Dawk.pass.cpp45 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 …]
Dextended.pass.cpp45 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 …]
Dbasic.pass.cpp51 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/libcxx/test/std/re/re.alg/re.alg.match/
Decma.pass.cpp45 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 …]
Dawk.pass.cpp39 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 …]
Dextended.pass.cpp45 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 …]
Dbasic.pass.cpp51 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/fonttools/Tests/ufoLib/
Dfilenames_test.py49 suffix = "." + ("0" * 10)
55 suffix=suffix),
60 e.append(prefix + "aaaaa" + "1".zfill(15) + suffix)
63 suffix=suffix),
68 e.append(prefix + "AAAAA" + "2".zfill(15) + suffix)
71 suffix=suffix),
77 suffix = "." + ("0" * 10)
78 existing = [prefix + str(i) + suffix for i in range(100)]
82 handleClash2(existing=e, prefix=prefix, suffix=suffix),
87 e.remove(prefix + "1" + suffix)
[all …]
/external/vixl/tools/test_generator/
Ddata_types.py233 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/swiftshader/third_party/SPIRV-Tools/test/tools/
Dplaceholder.py63 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 …]
/external/deqp-deps/SPIRV-Tools/test/tools/
Dplaceholder.py63 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 …]
/external/iperf3/src/
Dunits.c93 char suffix = '\0'; in unit_atof() local
98 sscanf(s, "%lf%c", &n, &suffix); in unit_atof()
101 switch (suffix) in unit_atof()
132 char suffix = '\0'; in unit_atof_rate() local
137 sscanf(s, "%lf%c", &n, &suffix); in unit_atof_rate()
140 switch (suffix) in unit_atof_rate()
173 char suffix = '\0'; in unit_atoi() local
178 sscanf(s, "%lf%c", &n, &suffix); in unit_atoi()
181 switch (suffix) in unit_atoi()
272 const char *suffix; in unit_snprintf() local
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DConstantAffixModifier.java18 private final String suffix; field in ConstantAffixModifier
39 public ConstantAffixModifier(String prefix, String suffix, Field field, boolean strong) { in ConstantAffixModifier() argument
43 this.suffix = (suffix == null ? "" : suffix); in ConstantAffixModifier()
51 suffix = ""; in ConstantAffixModifier()
59 int length = output.insert(rightIndex, suffix, field); in apply()
71 … return prefix.codePointCount(0, prefix.length()) + suffix.codePointCount(0, suffix.length()); in getCodePointCount()
97 return prefix.equals(_other.prefix) && suffix.equals(_other.suffix) && field == _other.field in semanticallyEquivalent()
103 return String.format("<ConstantAffixModifier prefix:'%s' suffix:'%s'>", prefix, suffix); in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DConstantAffixModifier.java16 private final String suffix; field in ConstantAffixModifier
37 public ConstantAffixModifier(String prefix, String suffix, Field field, boolean strong) { in ConstantAffixModifier() argument
41 this.suffix = (suffix == null ? "" : suffix); in ConstantAffixModifier()
49 suffix = ""; in ConstantAffixModifier()
57 int length = output.insert(rightIndex, suffix, field); in apply()
69 … return prefix.codePointCount(0, prefix.length()) + suffix.codePointCount(0, suffix.length()); in getCodePointCount()
95 return prefix.equals(_other.prefix) && suffix.equals(_other.suffix) && field == _other.field in semanticallyEquivalent()
101 return String.format("<ConstantAffixModifier prefix:'%s' suffix:'%s'>", prefix, suffix); in toString()
/external/python/cpython2/Modules/_ctypes/libffi/
Dgenerate-darwin-source-and-headers.py20 suffix = "\n\n#endif" variable in simulator_platform
33 suffix = "\n\n#endif" variable in simulator64_platform
46 suffix = "\n\n#endif" variable in device_platform
59 suffix = "\n\n#endif" variable in device64_platform
74 suffix = "\n\n#endif" variable in desktop32_platform
85 suffix = "\n\n#endif" variable in desktop64_platform
100 def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''): argument
115 if suffix:
116 out_file.write(suffix)
125 def copy_files(src_dir, dst_dir, pattern=None, filelist=None, file_suffix=None, prefix=None, suffix argument
[all …]
/external/libffi/
Dgenerate-darwin-source-and-headers.py20 suffix = "\n\n#endif" variable in simulator_platform
33 suffix = "\n\n#endif" variable in simulator64_platform
46 suffix = "\n\n#endif" variable in device_platform
59 suffix = "\n\n#endif" variable in device64_platform
74 suffix = "\n\n#endif" variable in desktop32_platform
85 suffix = "\n\n#endif" variable in desktop64_platform
100 def move_file(src_dir, dst_dir, filename, file_suffix=None, prefix='', suffix=''): argument
115 if suffix:
116 out_file.write(suffix)
125 def copy_files(src_dir, dst_dir, pattern=None, filelist=None, file_suffix=None, prefix=None, suffix argument
[all …]
/external/fonttools/Snippets/
Drename-fonts.py54 def insert_suffix(string, family_name, suffix): argument
60 new_string = string[:end] + suffix + string[end:]
63 new_string = string + suffix
67 def rename_record(name_record, family_name, suffix): argument
69 new_string = insert_suffix(string, family_name, suffix)
74 def rename_file(filename, family_name, suffix): argument
78 ps_suffix = suffix.replace(" ", "")
81 return insert_suffix(filename, family_name, suffix) + ext
84 def add_family_suffix(font, suffix): argument
92 ps_suffix = suffix.replace(" ", "")
[all …]
/external/syzkaller/vendor/cloud.google.com/go/compute/metadata/
Dmetadata.go94 func (suffix NotDefinedError) Error() string {
95 return fmt.Sprintf("metadata: GCE metadata %q not defined", string(suffix))
106 func Get(suffix string) (string, error) {
107 val, _, err := getETag(metaClient, suffix)
113 func getETag(client *http.Client, suffix string) (value, etag string, err error) {
128 url := "http://" + host + "/computeMetadata/v1/" + suffix
138 return "", "", NotDefinedError(suffix)
150 func getTrimmed(suffix string) (s string, err error) {
151 s, err = Get(suffix)
278 func Subscribe(suffix string, fn func(v string, ok bool) error) error {
[all …]

12345678910>>...62