/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
H A D | AffixMatcher.java | 23 private final AffixPatternMatcher suffix; field in AffixMatcher 28 * suffixes, ensuring that the longest prefix/suffix pair is always chosen. 35 } else if (length(lhs.suffix) != length(rhs.suffix)) { 36 return length(lhs.suffix) > length(rhs.suffix) ? -1 : 1; 38 // If the prefix and suffix are the same length, arbitrarily break ties. 131 AffixPatternMatcher suffix = AffixPatternMatcher in createMatchers() 136 posSuffix = suffix; in createMatchers() 137 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffi in createMatchers() 164 getInstance( AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) getInstance() argument 172 AffixMatcher(AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) AffixMatcher() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/parse/ |
H A D | AffixMatcher.java | 25 private final AffixPatternMatcher suffix; field in AffixMatcher 30 * suffixes, ensuring that the longest prefix/suffix pair is always chosen. 37 } else if (length(lhs.suffix) != length(rhs.suffix)) { 38 return length(lhs.suffix) > length(rhs.suffix) ? -1 : 1; 40 // If the prefix and suffix are the same length, arbitrarily break ties. 129 AffixPatternMatcher suffix = AffixPatternMatcher in createMatchers() 134 posSuffix = suffix; in createMatchers() 135 } else if (Objects.equals(prefix, posPrefix) && Objects.equals(suffix, posSuffi in createMatchers() 162 getInstance( AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) getInstance() argument 170 AffixMatcher(AffixPatternMatcher prefix, AffixPatternMatcher suffix, int flags) AffixMatcher() argument [all...] |
/third_party/elfutils/libcpu/ |
H A D | i386_dis.h | 140 { .mnemonic = MNE_aaa, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1 = 0, .off1_2 = 0, .off1_3 = 0, .fct2 = 0, .str2 = 0, .off2_1 = 0, .off2_2 = 0, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 141 { .mnemonic = MNE_aad, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1 = 0, .off1_2 = 0, .off1_3 = 0, .fct2 = 0, .str2 = 0, .off2_1 = 0, .off2_2 = 0, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 142 { .mnemonic = MNE_aam, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1 = 0, .off1_2 = 0, .off1_3 = 0, .fct2 = 0, .str2 = 0, .off2_1 = 0, .off2_2 = 0, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 143 { .mnemonic = MNE_aas, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1 = 0, .off1_2 = 0, .off1_3 = 0, .fct2 = 0, .str2 = 0, .off2_1 = 0, .off2_2 = 0, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 144 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_1 = 5, .off1_2 = 3, .off1_3 = 0, .fct2 = 5, .str2 = 0, .off2_1 = 11, .off2_2 = 3, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 145 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_1 = 13, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 146 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 18, .str1 = 0, .off1_1 = 13, .off1_2 = 0, .off1_3 = 0, .fct2 = 15, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 147 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 26, .str1 = 0, .off1_1 = 7, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 148 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 24, .str1 = 0, .off1_1 = 5, .off1_2 = 9, .off1_3 = 0, .fct2 = 19, .str2 = 0, .off2_1 = 5, .off2_2 = 3, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 149 { .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix [all...] |
H A D | x86_64_dis.h | 141 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_1 = 5, .off1_2 = 3, .off1_3 = 0, .fct2 = 5, .str2 = 0, .off2_1 = 11, .off2_2 = 3, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 142 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_1 = 13, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 143 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 19, .str1 = 0, .off1_1 = 13, .off1_2 = 0, .off1_3 = 0, .fct2 = 15, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 144 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 27, .str1 = 0, .off1_1 = 7, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 145 { .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 25, .str1 = 0, .off1_1 = 5, .off1_2 = 9, .off1_3 = 0, .fct2 = 20, .str2 = 0, .off2_1 = 5, .off2_2 = 3, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 146 { .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_1 = 5, .off1_2 = 3, .off1_3 = 0, .fct2 = 5, .str2 = 0, .off2_1 = 11, .off2_2 = 3, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 147 { .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_1 = 13, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 148 { .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 19, .str1 = 0, .off1_1 = 13, .off1_2 = 0, .off1_3 = 0, .fct2 = 15, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 149 { .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 27, .str1 = 0, .off1_1 = 7, .off1_2 = 3, .off1_3 = 0, .fct2 = 16, .str2 = 0, .off2_1 = 3, .off2_2 = 9, .off2_3 = 0, .fct3 = 0, .str3 = 0, .off3_1 = 0, .off3_2 = 0, }, 150 { .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix [all...] |
/third_party/vixl/tools/test_generator/ |
H A D | data_types.py | 233 def PrintInput(suffix = ""): 236 `suffix` to the input's name. 249 def InstantiateResult(suffix = ""): 252 `i`. Optionally add `suffix` to the input's name. 257 def InstantiateInput(suffix = ""): 260 `i`. Optionally add `suffix` to the input's name. 265 def InstantiateReference(suffix = ""): 268 with `i`. Optionally add `suffix` to the input's name. 317 def PrintInput(self, suffix = ""): 320 name=self.name + suffix) [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/tools/ |
H A D | placeholder.py | 63 def __init__(self, source, suffix, assembly_substr=None): 65 assert isinstance(suffix, str) 67 self.suffix = suffix 80 dir=testcase.directory, suffix=self.suffix) 94 def __init__(self, content, suffix): 96 assert isinstance(suffix, str) 98 self.suffix = suffix [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/ |
H A D | placeholder.py | 63 def __init__(self, source, suffix, assembly_substr=None): 65 assert isinstance(suffix, str) 67 self.suffix = suffix 80 dir=testcase.directory, suffix=self.suffix) 94 def __init__(self, content, suffix): 96 assert isinstance(suffix, str) 98 self.suffix = suffix [all...] |
/third_party/spirv-tools/test/tools/ |
H A D | placeholder.py | 63 def __init__(self, source, suffix, assembly_substr=None): 65 assert isinstance(suffix, str) 67 self.suffix = suffix 80 dir=testcase.directory, suffix=self.suffix) 94 def __init__(self, content, suffix): 96 assert isinstance(suffix, str) 98 self.suffix = suffix [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | ConstantAffixModifier.java | 10 * The canonical implementation of {@link Modifier}, containing a prefix and suffix string. 14 // TODO: Avoid making a new instance by default if prefix and suffix are empty 18 private final String suffix; field in ConstantAffixModifier 31 * @param suffix 32 * The suffix string. 39 public ConstantAffixModifier(String prefix, String suffix, Field field, boolean strong) { in ConstantAffixModifier() argument 41 // TODO: Consider returning a null modifier if both prefix and suffix are empty. in ConstantAffixModifier() 43 this.suffix = (suffix == null ? "" : suffix); in ConstantAffixModifier() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | ConstantAffixModifier.java | 11 * The canonical implementation of {@link Modifier}, containing a prefix and suffix string. 16 // TODO: Avoid making a new instance by default if prefix and suffix are empty 20 private final String suffix; field in ConstantAffixModifier 33 * @param suffix 34 * The suffix string. 41 public ConstantAffixModifier(String prefix, String suffix, Field field, boolean strong) { in ConstantAffixModifier() argument 43 // TODO: Consider returning a null modifier if both prefix and suffix are empty. in ConstantAffixModifier() 45 this.suffix = (suffix == null ? "" : suffix); in ConstantAffixModifier() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | cpu_internal.h | 26 #define CPUEXT_SUFFIX(flags, suffix, cpuext) \ 27 (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext)) 29 #define CPUEXT_SUFFIX_FAST2(flags, suffix, cpuext, slow_cpuext) \ 30 (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext) && \ 33 #define CPUEXT_SUFFIX_SLOW(flags, suffix, cpuext) \ 34 (HAVE_ ## cpuext ## suffix && \ 37 #define CPUEXT_SUFFIX_SLOW2(flags, suffix, cpuext, slow_cpuext) \ 38 (HAVE_ ## cpuext ## suffix && ((flags) & AV_CPU_FLAG_ ## cpuext) && \ 41 #define CPUEXT_SUFFIX_FAST(flags, suffix, cpuext) CPUEXT_SUFFIX_FAST2(flags, suffix, cpuex [all...] |
H A D | tx_priv.h | 32 #define TX_FN_NAME(fn, suffix) ff_tx_ ## fn ## _float_ ## suffix 33 #define TX_FN_NAME_STR(fn, suffix) NULL_IF_CONFIG_SMALL(#fn "_float_" #suffix) 44 #define TX_FN_NAME(fn, suffix) ff_tx_ ## fn ## _double_ ## suffix 45 #define TX_FN_NAME_STR(fn, suffix) NULL_IF_CONFIG_SMALL(#fn "_double_" #suffix) 56 #define TX_FN_NAME(fn, suffix) ff_tx_ ## fn ## _int32_ ## suffix [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | MessageLiteToString.java | 91 String suffix = getter.startsWith("get") ? getter.substring(3) : getter; in reflectivePrintWithIndent() 92 if (suffix.endsWith(LIST_SUFFIX) in reflectivePrintWithIndent() 93 && !suffix.endsWith(BUILDER_LIST_SUFFIX) in reflectivePrintWithIndent() 95 && !suffix.equals(LIST_SUFFIX)) { in reflectivePrintWithIndent() 97 suffix.substring(0, 1).toLowerCase() in reflectivePrintWithIndent() 98 + suffix.substring(1, suffix.length() - LIST_SUFFIX.length()); in reflectivePrintWithIndent() 111 if (suffix.endsWith(MAP_SUFFIX) in reflectivePrintWithIndent() 113 && !suffix.equals(MAP_SUFFIX)) { in reflectivePrintWithIndent() 115 suffix in reflectivePrintWithIndent() [all...] |
/third_party/rust/crates/syn/src/ |
H A D | lit.rs | 82 suffix: Box<str>, 95 suffix: Box<str>, 110 suffix: Box<str>, 128 suffix: Box::<str>::default(), in new() 233 let suffix = self.suffix(); in parse_with() 234 if !suffix.is_empty() { in parse_with() 237 format!("unexpected suffix `{}` on string literal", suffix), in parse_with() 252 pub fn suffix( functions 287 pub fn suffix(&self) -> &str { suffix() functions 322 pub fn suffix(&self) -> &str { suffix() functions 357 pub fn suffix(&self) -> &str { suffix() functions 420 pub fn suffix(&self) -> &str { suffix() functions 492 pub fn suffix(&self) -> &str { suffix() functions 1104 pub fn suffix(&self) -> &str { suffix() functions [all...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | trace.c | 178 char *suffix; member 205 OSSL_TRACE2(TRACE, "Attach suffix \"%s\" to category '%s'\n", in trace_attach_cb() 226 OSSL_TRACE2(TRACE, "Detach suffix \"%s\" from category '%s'\n", in trace_detach_cb() 243 const char **prefix, const char **suffix, in set_trace_data() 257 curr_suffix = trace_channels[category].suffix; in set_trace_data() 264 if (suffix != NULL && curr_suffix != NULL) { in set_trace_data() 278 if (suffix != NULL && curr_suffix != NULL) { in set_trace_data() 280 trace_channels[category].suffix = NULL; in set_trace_data() 296 if (suffix != NULL && *suffix ! in set_trace_data() 242 set_trace_data(int category, int type, BIO **channel, const char **prefix, const char **suffix, int (*attach_cb)(int, int, const void *), int (*detach_cb)(int, int, const void *)) set_trace_data() argument 341 const char *suffix = NULL; ossl_trace_cleanup() local 437 OSSL_trace_set_suffix(int category, const char *suffix) OSSL_trace_set_suffix() argument 506 char *suffix = NULL; OSSL_trace_end() local [all...] |
/third_party/openssl/crypto/ |
H A D | trace.c | 178 char *suffix; member 205 OSSL_TRACE2(TRACE, "Attach suffix \"%s\" to category '%s'\n", in trace_attach_cb() 226 OSSL_TRACE2(TRACE, "Detach suffix \"%s\" from category '%s'\n", in trace_detach_cb() 243 const char **prefix, const char **suffix, in set_trace_data() 257 curr_suffix = trace_channels[category].suffix; in set_trace_data() 264 if (suffix != NULL && curr_suffix != NULL) { in set_trace_data() 278 if (suffix != NULL && curr_suffix != NULL) { in set_trace_data() 280 trace_channels[category].suffix = NULL; in set_trace_data() 296 if (suffix != NULL && *suffix ! in set_trace_data() 242 set_trace_data(int category, int type, BIO **channel, const char **prefix, const char **suffix, int (*attach_cb)(int, int, const void *), int (*detach_cb)(int, int, const void *)) set_trace_data() argument 341 const char *suffix = NULL; ossl_trace_cleanup() local 437 OSSL_trace_set_suffix(int category, const char *suffix) OSSL_trace_set_suffix() argument 506 char *suffix = NULL; OSSL_trace_end() local [all...] |
/third_party/ffmpeg/libavcodec/ppc/ |
H A D | fft_altivec.S | 230 .macro PASS interleave, suffix 231 fft_pass\suffix\()_altivec: 397 .macro DECL_FFT suffix, bits, n, n2, n4 398 fft\n\suffix\()_altivec: 411 b fft_pass\suffix\()_altivec 414 .macro DECL_FFTS interleave, suffix 416 def_fft4 \suffix 417 def_fft8 \suffix 418 def_fft16 \suffix 419 PASS \interleave, \suffix [all...] |
/third_party/rust/crates/os_str_bytes/tests/ |
H A D | raw_random.rs | 26 let suffix = random_common::random_os_string(SMALL_LENGTH)?; in test_complex() 27 string.push(&suffix); in test_complex() 30 let suffix = RawOsString::new(suffix); in test_complex() 32 test!(true, ends_with_os(&string, &suffix)); in test_complex() 35 if prefix != suffix { in test_complex() 37 test!(false, starts_with_os(&string, &suffix)); in test_complex()
|
/third_party/python/Tools/c-analyzer/c_common/ |
H A D | fsutil.py | 201 suffix=None, 206 If "suffix" is provided then only files with that suffix will 209 if suffix and not isinstance(suffix, str): 210 raise ValueError('suffix must be a string') 213 if suffix and not filename.endswith(suffix): 219 suffix=None, 224 If "suffix" i [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/ |
H A D | test_strengthreduce_main.cpp | 39 #define X(constant, suffix) \ in main() 40 ResultLlcS = multiplyByConst##suffix(UVal); \ in main() 41 ResultSzS = Subzero_::multiplyByConst##suffix(UVal); \ in main() 46 std::cout << "multiplyByConstS" STR(suffix) "(" << SVal \ in main() 49 ResultLlcU = multiplyByConst##suffix(UVal); \ in main() 50 ResultSzU = Subzero_::multiplyByConst##suffix(UVal); \ in main() 55 std::cout << "multiplyByConstU" STR(suffix) "(" << UVal \ in main()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | match.h | 67 // Returns whether a given string `text` ends with `suffix`. 69 absl::string_view suffix) noexcept { 70 return suffix.empty() || 71 (text.size() >= suffix.size() && 72 memcmp(text.data() + (text.size() - suffix.size()), suffix.data(), 73 suffix.size()) == 0); 92 // Returns whether a given ASCII string `text` ends with `suffix`, ignoring 95 absl::string_view suffix) noexcept;
|
/third_party/python/Lib/ |
H A D | tempfile.py | 14 >>> tempfile.mkdtemp(suffix=b'') 114 def _sanitize_params(prefix, suffix, dir): 116 output_type = _infer_return_type(prefix, suffix, dir) 117 if suffix is None: 118 suffix = output_type() 129 return prefix, suffix, dir, output_type 321 def mkstemp(suffix=None, prefix=None, dir=None, text=False): 326 If 'suffix' is not None, the file name will end with that suffix, 327 otherwise there will be no suffix [all...] |
/third_party/eudev/src/shared/ |
H A D | conf-files.c | 49 static int files_add(Hashmap *h, const char *root, const char *path, const char *suffix) { in files_add() argument 54 assert(suffix); in files_add() 78 if (!dirent_is_file_with_suffix(de, suffix)) in files_add() 109 static int conf_files_list_strv_internal(char ***strv, const char *suffix, const char *root, char **dirs) { in conf_files_list_strv_internal() argument 115 assert(suffix); in conf_files_list_strv_internal() 126 r = files_add(fh, root, *p, suffix); in conf_files_list_strv_internal() 145 int conf_files_list_strv(char ***strv, const char *suffix, const char *root, const char* const* dirs) { in conf_files_list_strv() argument 149 assert(suffix); in conf_files_list_strv() 155 return conf_files_list_strv_internal(strv, suffix, root, copy); in conf_files_list_strv()
|
/third_party/node/test/parallel/ |
H A D | test-fs-chmod-mask.js | 24 const suffix = asString ? 'str' : 'num'; 29 const file = path.join(tmpdir.path, `chmod-async-${suffix}.txt`); 38 const file = path.join(tmpdir.path, `chmodSync-${suffix}.txt`); 46 const file = path.join(tmpdir.path, `fchmod-async-${suffix}.txt`); 57 const file = path.join(tmpdir.path, `fchmodSync-${suffix}.txt`); 68 const link = path.join(tmpdir.path, `lchmod-src-${suffix}`); 69 const file = path.join(tmpdir.path, `lchmod-dest-${suffix}`); 79 const link = path.join(tmpdir.path, `lchmodSync-src-${suffix}`); 80 const file = path.join(tmpdir.path, `lchmodSync-dest-${suffix}`);
|
/third_party/rust/crates/syn/tests/ |
H A D | test_lit.rs | 148 fn test_int(s: &str, value: u64, suffix: &str) { in ints() 152 assert_eq!(lit.suffix(), suffix); in ints() 155 test_int(&again, value, suffix); in ints() 188 fn test_float(s: &str, value: f64, suffix: &str) { in floats() 192 assert_eq!(lit.suffix(), suffix); in floats() 195 test_float(&again, value, suffix); in floats() 226 fn suffix() { in suffix() functions 230 Lit::Str(lit) => lit.suffix() in suffix() [all...] |