/third_party/libinput/src/ |
D | util-strings.h | 380 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/ |
D | util.py | 18 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/ |
D | backport-CVE-2023-28321.patch | 75 - 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/ |
D | pngfix.c | 3992 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/ |
D | pngfix.c | 3992 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/ |
D | zic.c | 998 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/ |
D | mod.rs | 673 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/ |
D | mod.rs | 1798 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/ |
D | mod.rs | 716 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
|
/third_party/libinput/test/ |
D | litest.c | 1365 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/ |
D | mod.rs | 2772 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/ |
D | mod.rs | 1736 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
|
/third_party/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 4026 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/ |
D | mod.rs | 4005 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/ |
D | mod.rs | 2851 pub fn mkstemps(template: *mut ::c_char, suffixlen: ::c_int) -> ::c_int; in mkstemps()
|
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/ |
D | mod.rs | 4071 pub fn mkostemps(template: *mut ::c_char, suffixlen: ::c_int, flags: ::c_int) -> ::c_int; in mkostemps()
|