Home
last modified time | relevance | path

Searched refs:suffix (Results 26 - 50 of 878) sorted by relevance

12345678910>>...36

/third_party/python/Lib/
H A Dtempfile.py14 >>> 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/skia/third_party/externals/spirv-tools/source/util/
H A Dstring_utils.cpp27 std::string suffix; in CardinalToOrdinal() local
29 suffix = "st"; in CardinalToOrdinal()
31 suffix = "nd"; in CardinalToOrdinal()
33 suffix = "rd"; in CardinalToOrdinal()
35 suffix = "th"; in CardinalToOrdinal()
37 return ToString(cardinal) + suffix; in CardinalToOrdinal()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
H A Dstring_utils.cpp27 std::string suffix; in CardinalToOrdinal() local
29 suffix = "st"; in CardinalToOrdinal()
31 suffix = "nd"; in CardinalToOrdinal()
33 suffix = "rd"; in CardinalToOrdinal()
35 suffix = "th"; in CardinalToOrdinal()
37 return ToString(cardinal) + suffix; in CardinalToOrdinal()
/third_party/spirv-tools/source/util/
H A Dstring_utils.cpp27 std::string suffix; in CardinalToOrdinal() local
29 suffix = "st"; in CardinalToOrdinal()
31 suffix = "nd"; in CardinalToOrdinal()
33 suffix = "rd"; in CardinalToOrdinal()
35 suffix = "th"; in CardinalToOrdinal()
37 return ToString(cardinal) + suffix; in CardinalToOrdinal()
/third_party/rust/crates/syn/tests/
H A Dtest_lit.rs148 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...]
/third_party/rust/crates/os_str_bytes/src/windows/wtf8/
H A Dstring.rs5 pub(crate) fn ends_with(string: &[u8], mut suffix: &[u8]) -> bool {
6 let index = if let Some(index) = string.len().checked_sub(suffix.len()) {
15 if let Some(surrogate) = suffix.get(..SURROGATE_LENGTH) {
22 .expect("failed decoding non-empty suffix");
32 suffix = &suffix[SURROGATE_LENGTH..];
35 string.ends_with(suffix)
/third_party/rust/crates/env_logger/src/fmt/
H A Dmod.rs195 suffix: built.format_suffix, in build()
221 suffix: &'a str,
342 None => write!(self.buf, "{}{}", record.args(), self.suffix), in write_args()
360 self.fmt.suffix, in write_args()
386 write!(self.buf, "{}", self.suffix)?; in write_args()
442 suffix: "\n", in format_with_header()
464 suffix: "\n", in format_no_header()
486 suffix: "\n", in format_indent_spaces()
508 suffix: "\n", in format_indent_zero_spaces()
530 suffix in format_indent_spaces_no_header()
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DImageFunctionHLSL.cpp25 ImmutableString suffix( in GetImageReference()
27 out << " const uint index = imageIndex - readonlyImageIndexOffset" << suffix.data() in GetImageReference()
29 ImmutableStringBuilder imageRefBuilder(kReadonlyImagesStr.length() + suffix.length() + in GetImageReference()
31 imageRefBuilder << kReadonlyImagesStr << suffix << kImageIndexStr; in GetImageReference()
37 ImmutableString suffix( in GetImageReference()
39 out << " const uint index = imageIndex - imageIndexOffset" << suffix.data() << ";\n"; in GetImageReference()
40 ImmutableStringBuilder imageRefBuilder(kImagesStr.length() + suffix.length() + in GetImageReference()
42 imageRefBuilder << kImagesStr << suffix << kImageIndexStr; in GetImageReference()
176 ImmutableString suffix(nullptr); in name()
179 suffix in name()
188 name << kGlImageName << suffix; name() local
[all...]
/third_party/alsa-utils/axfer/
H A Dxfer-options.c423 const char *suffix) in generate_path_with_suffix()
429 len = strlen(template) + strlen(suffix) + 1; in generate_path_with_suffix()
439 suffix); in generate_path_with_suffix()
442 index, suffix); in generate_path_with_suffix()
451 const char *suffix ATTRIBUTE_UNUSED) in generate_path_without_suffix()
476 unsigned int index, const char *suffix) in generate_path()
479 unsigned int index, const char *suffix); in generate_path()
482 if (strlen(suffix) > 0) { in generate_path()
483 pos = template + strlen(template) - strlen(suffix); in generate_path()
484 // Separate filename and suffix in generate_path()
421 generate_path_with_suffix(struct xfer_context *xfer, const char *template, unsigned int index, const char *suffix) generate_path_with_suffix() argument
475 generate_path(struct xfer_context *xfer, char *template, unsigned int index, const char *suffix) generate_path() argument
501 const char *suffix; create_paths() local
547 const char *suffix; fixup_paths() local
[all...]
/third_party/gptfdisk/
H A Dsupport.cc142 char suffix = ' ', plusFlag = ' '; in IeeeToInt() local
161 // Extract numeric response and, if present, suffix in IeeeToInt()
165 inString >> response >> suffix; in IeeeToInt() local
166 suffix = toupper(suffix); in IeeeToInt()
167 foundAt = suffixes.find(suffix); in IeeeToInt()
168 // If suffix is invalid, try to find a valid one. Done because users in IeeeToInt()
169 // sometimes enter decimal numbers; when they do, suffix becomes in IeeeToInt()
170 // '.', and we need to truncate the number and find the real suffix. in IeeeToInt()
172 inString >> suffix; in IeeeToInt() local
[all...]
/third_party/python/Lib/asyncio/
H A Dformat_helpers.py44 def _format_callback(func, args, kwargs, suffix=''):
46 suffix = _format_args_and_kwargs(args, kwargs) + suffix
47 return _format_callback(func.func, func.args, func.keywords, suffix)
57 if suffix:
58 func_repr += suffix
/third_party/rust/crates/os_str_bytes/tests/
H A Draw_integration.rs11 fn test(result: bool, suffix: &[u8]) { in test_ends_with()
12 let suffix = RawOsStr::assert_from_raw_bytes(suffix); in test_ends_with()
13 assert_eq!(result, RAW_WTF8_STRING.ends_with_os(suffix)); in test_ends_with()
39 fn test(result: bool, suffix: &str) { in test_empty_ends_with()
42 RawOsStr::from_str("").ends_with_os(RawOsStr::from_str(suffix)), in test_empty_ends_with()
/third_party/rust/crates/memchr/src/memmem/
H A Dtwoway.rs64 /// to beginning of either the minimal or maximal suffix in needle. (N.B.
398 /// suffix, along with the period of that suffix. It turns out that the period
399 /// of that suffix is a lower bound on the period of the needle itself.
403 /// `x = uv` and `v` is the lexicographic maximal suffix of `v`. The lower
406 /// where `u` is a suffix of `v[0..period(v)]`.
435 /// The lower bound on the period is then the period of the chosen suffix.
458 /// The lower bound on the period is then the period of the chosen suffix.
477 /// A suffix extracted from a needle along with its period.
480 /// The starting position of this suffix
501 let mut suffix = Suffix { pos: 0, period: 1 }; forward() variables
550 let mut suffix = Suffix { pos: needle.len(), period: 1 }; reverse() variables
[all...]
/base/web/webview/ohos_interface/ohos_glue/scripts/
H A Dmake_file_base.py196 def get_func_pointer_name(cls, func, prefix, suffix):
198 func_name = func.get_capi_name() + suffix
200 func_name = prefix + '_' + func.get_capi_name() + suffix
201 func_type = cls.get_name() + func.get_name() + 'Func' + suffix
208 def get_func_variable_name(func, suffix):
210 if len(suffix) == 0:
213 var_name = func.get_capi_name() + suffix
215 var_name = func.get_capi_name() + suffix
H A Dmake_capi_header.py36 suffix = ''
39 suffix = str(new_list.count(func.get_capi_name()))
41 result += '\n' + indent + 'ARK_WEB_EXPORT ' + func.get_capi_proto(defined_names, suffix) + ';\n'
57 suffix = ''
60 suffix = str(new_list.count(func.get_capi_name()))
62 suffix = '0'
65 result += indent+parts['retval']+' (ARK_WEB_CALLBACK *'+parts['name'] + suffix + \
/third_party/ffmpeg/libavfilter/
H A Daf_axcorrelate.c50 #define MEAN_SUM(suffix, type, zero) \
51 static type mean_sum_##suffix(const type *in, \
65 #define SQUARE_SUM(suffix, type, zero) \
66 static type square_sum_##suffix(const type *x, \
81 #define XCORRELATE(suffix, type, zero, small, sqrtfun)\
82 static type xcorrelate_##suffix(const type *x, \
108 #define XCORRELATE_SLOW(suffix, type) \
109 static int xcorrelate_slow_##suffix(AVFilterContext *ctx, \
125 sumx[0] = mean_sum_##suffix(x, size); \
126 sumy[0] = mean_sum_##suffix(
[all...]
/third_party/node/deps/v8/src/strings/
H A Dstring-search.h25 // search will not be optimal, since we only build tables for a suffix
160 // Store for the BoyerMoore good suffix shift table.
167 // Table used temporarily while building the BoyerMoore good suffix
371 int suffix = pattern_length + 1; in PopulateBoyerMooreTable() local
376 while (suffix <= pattern_length && c != pattern[suffix - 1]) { in PopulateBoyerMooreTable()
377 if (shift_table[suffix] == length) { in PopulateBoyerMooreTable()
378 shift_table[suffix] = suffix - i; in PopulateBoyerMooreTable()
380 suffix in PopulateBoyerMooreTable()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
H A DModifierTest.java36 FormattedStringBuilder suffix = new FormattedStringBuilder(); in testConstantMultiFieldModifier()
37 Modifier mod1 = new ConstantMultiFieldModifier(prefix, suffix, false, true); in testConstantMultiFieldModifier()
41 suffix.append("b", NumberFormat.Field.CURRENCY); in testConstantMultiFieldModifier()
42 Modifier mod2 = new ConstantMultiFieldModifier(prefix, suffix, false, true); in testConstantMultiFieldModifier()
96 FormattedStringBuilder suffix = new FormattedStringBuilder(); in testCurrencySpacingEnabledModifier()
97 Modifier mod1 = new CurrencySpacingEnabledModifier(prefix, suffix, false, true, symbols); in testCurrencySpacingEnabledModifier()
101 Modifier mod2 = new CurrencySpacingEnabledModifier(prefix, suffix, false, true, symbols); in testCurrencySpacingEnabledModifier()
121 suffix.append("XYZ", NumberFormat.Field.CURRENCY); in testCurrencySpacingEnabledModifier()
122 Modifier mod3 = new CurrencySpacingEnabledModifier(prefix, suffix, false, true, symbols); in testCurrencySpacingEnabledModifier()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DModifierTest.java33 FormattedStringBuilder suffix = new FormattedStringBuilder(); in testConstantMultiFieldModifier()
34 Modifier mod1 = new ConstantMultiFieldModifier(prefix, suffix, false, true); in testConstantMultiFieldModifier()
38 suffix.append("b", NumberFormat.Field.CURRENCY); in testConstantMultiFieldModifier()
39 Modifier mod2 = new ConstantMultiFieldModifier(prefix, suffix, false, true); in testConstantMultiFieldModifier()
93 FormattedStringBuilder suffix = new FormattedStringBuilder(); in testCurrencySpacingEnabledModifier()
94 Modifier mod1 = new CurrencySpacingEnabledModifier(prefix, suffix, false, true, symbols); in testCurrencySpacingEnabledModifier()
98 Modifier mod2 = new CurrencySpacingEnabledModifier(prefix, suffix, false, true, symbols); in testCurrencySpacingEnabledModifier()
118 suffix.append("XYZ", NumberFormat.Field.CURRENCY); in testCurrencySpacingEnabledModifier()
119 Modifier mod3 = new CurrencySpacingEnabledModifier(prefix, suffix, false, true, symbols); in testCurrencySpacingEnabledModifier()
/third_party/icu/icu4c/source/test/intltest/
H A Dnumbertest_modifiers.cpp40 FormattedStringBuilder suffix; in testConstantMultiFieldModifier() local
41 ConstantMultiFieldModifier mod1(prefix, suffix, false, true); in testConstantMultiFieldModifier()
46 suffix.append(u"b", {UFIELD_CATEGORY_NUMBER, UNUM_CURRENCY_FIELD}, status); in testConstantMultiFieldModifier()
47 ConstantMultiFieldModifier mod2(prefix, suffix, false, true); in testConstantMultiFieldModifier()
109 FormattedStringBuilder suffix; in testCurrencySpacingEnabledModifier() local
110 CurrencySpacingEnabledModifier mod1(prefix, suffix, false, true, symbols, status); in testCurrencySpacingEnabledModifier()
117 CurrencySpacingEnabledModifier mod2(prefix, suffix, false, true, symbols, status); in testCurrencySpacingEnabledModifier()
141 suffix.append("XYZ", {UFIELD_CATEGORY_NUMBER, UNUM_CURRENCY_FIELD}, status); in testCurrencySpacingEnabledModifier()
143 CurrencySpacingEnabledModifier mod3(prefix, suffix, false, true, symbols, status); in testCurrencySpacingEnabledModifier()
/third_party/skia/third_party/externals/angle2/src/common/
H A Dstring_utils.cpp26 const char *suffix, in EndsWithSuffix()
29 return suffixLen <= strLen && strncmp(str + strLen - suffixLen, suffix, suffixLen) == 0; in EndsWithSuffix()
194 bool EndsWith(const std::string &str, const std::string &suffix) in EndsWith() argument
196 return EndsWithSuffix(str.c_str(), str.length(), suffix.c_str(), suffix.length()); in EndsWith()
199 bool EndsWith(const std::string &str, const char *suffix) in EndsWith() argument
201 return EndsWithSuffix(str.c_str(), str.length(), suffix, strlen(suffix)); in EndsWith()
204 bool EndsWith(const char *str, const char *suffix) in EndsWith() argument
206 return EndsWithSuffix(str, strlen(str), suffix, strle in EndsWith()
24 EndsWithSuffix(const char *str, const size_t strLen, const char *suffix, const size_t suffixLen) EndsWithSuffix() argument
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dmatch.cc37 absl::string_view suffix) noexcept {
38 return (text.size() >= suffix.size()) &&
39 EqualsIgnoreCase(text.substr(text.size() - suffix.size()), suffix);
/third_party/vixl/src/aarch64/
H A Ddisasm-aarch64.cc1447 const char *suffix = (instr->ExtractBit(18) == 0) ? "'s1710" : "'u1710"; in Disassembler() local
1448 FormatWithDecodedMnemonic(instr, "'Rd, 'Rn, #", suffix); in Disassembler()
1533 const char *suffix = ", ['Xns'ILSi]!"; in Disassembler() local
1543 FormatWithDecodedMnemonic(instr, form, suffix); in Disassembler()
1549 const char *suffix = ", ['Xns]'ILSi"; in Disassembler() local
1559 FormatWithDecodedMnemonic(instr, form, suffix); in Disassembler()
1565 const char *suffix = ", ['Xns'ILU]"; in Disassembler() local
1577 FormatWithDecodedMnemonic(instr, form, suffix); in Disassembler()
1602 const char *suffix = ", ['Xns, 'Offsetreg]"; in Disassembler() local
1614 FormatWithDecodedMnemonic(instr, form, suffix); in Disassembler()
1620 const char *suffix = ", ['Xns'ILS]"; Disassembler() local
1660 const char *suffix = ", 'ILLiteral 'LValue"; Disassembler() local
1819 const char *suffix = ", ['Xns]"; Disassembler() local
1851 const char *suffix = ""; Disassembler() local
1864 const char *suffix = ", ['Xns]"; Disassembler() local
1951 const char *suffix = ", 'IFP"; Disassembler() local
1998 const char *suffix = ", 'IFPFBits"; Disassembler() local
2026 const char *suffix = NULL; Disassembler() local
2236 const char *suffix = NULL; Disassembler() local
2301 const char *suffix = NULL; Disassembler() local
2385 const char *suffix = NULL; Disassembler() local
2512 const char *suffix = "b, 'Vm.4b['u1111:2121]"; Disassembler() local
3198 const char *suffix = ", #0"; Disassembler() local
3213 const char *suffix = NULL; Disassembler() local
3248 const char *suffix = NULL; Disassembler() local
3403 const char *suffix = "'IsR"; Disassembler() local
3434 const char *suffix = "'IsR"; Disassembler() local
3461 const char *suffix = ", 'IsL"; Disassembler() local
3615 const char *suffix = NULL; Disassembler() local
3665 const char *suffix = NULL; Disassembler() local
3810 const char *suffix = "]"; Disassembler() local
3849 const char *suffix = NULL; Disassembler() local
4128 const char *suffix = "]"; Disassembler() local
4165 const char *suffix = Disassembler() local
4173 const char *suffix = Disassembler() local
4209 const char *suffix = Disassembler() local
4349 const char *suffix = NULL; Disassembler() local
4412 const char *suffix = i1 ? suffix10 : suffix00; Disassembler() local
4665 const char *suffix = "'u1205"; Disassembler() local
4690 const char *suffix = NULL; Disassembler() local
4752 const char *suffix = ", #'s1916*16]"; Disassembler() local
4770 const char *suffix = "'Rm, lsl #'u2423]"; Disassembler() local
4786 const char *suffix = ", 'Pgl/z, ['Xns'ISveSvl]"; Disassembler() local
4810 const char *suffix = ", 'Pgl/z, ['Xns, 'Xm'NSveS]"; Disassembler() local
4960 const char *suffix = ", 'Pgl, ['Xns'ISveSvl]"; Disassembler() local
4984 const char *suffix = ", 'Pgl, ['Xns, 'Xm'NSveS]"; Disassembler() local
5043 const char *suffix = NULL; Disassembler() local
5102 const char *suffix = NULL; Disassembler() local
5203 const char *suffix = ", #'u1110*90"; Disassembler() local
5326 const char *suffix = "d"; Disassembler() local
5342 const char *suffix = "'Zn.'t, 'Zm.'t"; Disassembler() local
5534 const char *suffix = Disassembler() local
5542 const char *suffix = "]"; Disassembler() local
5938 const char *suffix = (instr->ExtractBit(10) == 0) ? "90" : "270"; Disassembler() local
5956 const char *suffix = instr->GetRm() == 31 ? "]" : ", 'Xm]"; Disassembler() local
5962 const char *suffix = instr->GetRm() == 31 ? "]" : ", 'Xm]"; Disassembler() local
5968 const char *suffix = instr->GetRm() == 31 ? "]" : ", 'Xm]"; Disassembler() local
5974 const char *suffix = instr->GetRm() == 31 ? "]" : ", 'Xm]"; Disassembler() local
5980 const char *suffix = instr->GetRm() == 31 ? "" : ", 'Xm"; Disassembler() local
6006 const char *suffix = NULL; Disassembler() local
6031 const char *suffix = NULL; Disassembler() local
[all...]
/third_party/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DEscapeTransliterator.java18 * Escape forms have a prefix and suffix, either of which may be
49 private String suffix; field in EscapeTransliterator
73 * prefix, suffix, radix, and minDigits of this object are used
161 EscapeTransliterator(String ID, String prefix, String suffix, in EscapeTransliterator() argument
167 this.suffix = suffix; in EscapeTransliterator()
196 buf.append(supplementalHandler.suffix); in handleTransliterate()
207 buf.append(suffix); in handleTransliterate()
229 targetSet.addAll(it.suffix); in addSourceTargetSet()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DEscapeTransliterator.java19 * Escape forms have a prefix and suffix, either of which may be
50 private String suffix; field in EscapeTransliterator
74 * prefix, suffix, radix, and minDigits of this object are used
162 EscapeTransliterator(String ID, String prefix, String suffix, in EscapeTransliterator() argument
168 this.suffix = suffix; in EscapeTransliterator()
197 buf.append(supplementalHandler.suffix); in handleTransliterate()
208 buf.append(suffix); in handleTransliterate()
230 targetSet.addAll(it.suffix); in addSourceTargetSet()

Completed in 21 milliseconds

12345678910>>...36