Home
last modified time | relevance | path

Searched refs:suffixlen (Results 1 – 16 of 16) sorted by relevance

/third_party/libinput/src/
Dutil-strings.h380 size_t suffixlen = strlen(suffix); in strendswith() local
383 if (slen == 0 || suffixlen == 0 || suffixlen > slen) in strendswith()
386 offset = slen - suffixlen; in strendswith()
387 return strneq(&str[offset], suffix, suffixlen); in strendswith()
/third_party/python/Lib/unittest/
Dutil.py18 def _shorten(s, prefixlen, suffixlen): argument
19 skip = len(s) - prefixlen - suffixlen
21 s = '%s[%d chars]%s' % (s[:prefixlen], skip, s[len(s) - suffixlen:])
/third_party/curl/
Dbackport-CVE-2023-28321.patch75 - size_t prefixlen, suffixlen;
147 - suffixlen = pattern_label_end - (pattern_wildcard + 1);
149 - strncasecompare(pattern_wildcard + 1, hostname_label_end - suffixlen,
150 - suffixlen) ?
/third_party/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c3992 size_t suffixlen = strlen(suffix); in main() local
3994 if (outlen+suffixlen > FILENAME_MAX) in main()
4002 memcpy(temp_name+outlen, suffix, suffixlen); in main()
4003 outlen += suffixlen; in main()
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/
Dpngfix.c3992 size_t suffixlen = strlen(suffix); in main() local
3994 if (outlen+suffixlen > FILENAME_MAX) in main()
4002 memcpy(temp_name+outlen, suffix, suffixlen); in main()
4003 outlen += suffixlen; in main()
/third_party/tzdata/
Dzic.c998 int suffixlen = 6; in random_dirent() local
1005 dst = emalloc(dirlen + prefixlen + suffixlen + 1); in random_dirent()
1008 dst[dirlen + prefixlen + suffixlen] = '\0'; in random_dirent()
1017 for (i = 0; i < suffixlen; i++) in random_dirent()
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/
Dmod.rs673 pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int; in mkostemps()
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
Dmod.rs1798 pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int; in mkostemps()
1857 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
/third_party/rust/crates/libc/src/unix/bsd/
Dmod.rs716 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
/third_party/libinput/test/
Dlitest.c1365 int suffixlen; in litest_copy_file() local
1367 suffixlen = file->path + in litest_copy_file()
1370 out = mkstemps(file->path, suffixlen); in litest_copy_file()
/third_party/rust/crates/libc/src/unix/nto/
Dmod.rs2772 pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int; in mkostemps()
2810 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
/third_party/rust/crates/libc/src/unix/haiku/
Dmod.rs1736 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs4026 pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int; in mkostemps()
4104 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
/third_party/rust/crates/libc/src/fuchsia/
Dmod.rs4005 pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int; in mkostemps()
4066 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
/third_party/rust/crates/libc/src/unix/solarish/
Dmod.rs2851 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs4071 pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int; in mkostemps()