Lines Matching refs:suffixlen
39 size_t suffixlen;
46 suffixlen = (strlen(name) - prefixlen) - 1; /* slash dropped */
49 suffixlen = strlen(name);
54 if (suffixlen > MD_MAXSUFFIX) {
57 suffixlen = strlen(lastslash);
58 (void) memcpy(SPN_SUFFIX(spn).suf_data, lastslash, suffixlen);
59 SPN_SUFFIX(spn).suf_len = suffixlen;
63 suffixlen);
64 SPN_SUFFIX(spn).suf_len = suffixlen;
79 size_t suffixlen;
82 suffixlen = SPN_SUFFIX(spn).suf_len;
83 name = Malloc(prefixlen + suffixlen + 2);
87 (void) memcpy(suffix, SPN_SUFFIX(spn).suf_data, suffixlen);
88 name[prefixlen + suffixlen + 1] = 0;