Home
last modified time | relevance | path

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

/third_party/curl/lib/
Dhostcheck.c69 size_t prefixlen, suffixlen; in hostmatch() local
113 suffixlen = pattern_label_end - (pattern_wildcard + 1); in hostmatch()
115 strncasecompare(pattern_wildcard + 1, hostname_label_end - suffixlen, in hostmatch()
116 suffixlen) ? in hostmatch()
/third_party/libinput/src/
Dutil-strings.h350 size_t suffixlen = strlen(suffix); in strendswith() local
353 if (slen == 0 || suffixlen == 0 || suffixlen > slen) in strendswith()
356 offset = slen - suffixlen; in strendswith()
357 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/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/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/libinput/test/
Dlitest.c1367 int suffixlen; in litest_copy_file() local
1369 suffixlen = file->path + in litest_copy_file()
1372 out = mkstemps(file->path, suffixlen); in litest_copy_file()