Lines Matching refs:suffix
228 * form: K<keyname>+<alg>+<id>.<suffix>
233 dst_s_filename_length(const char *name, const char *suffix)
243 if (suffix == NULL)
245 if (strrchr(suffix, '\\'))
247 if (strrchr(suffix, '/'))
249 if (strrchr(suffix, ':'))
251 return (1 + strlen(name) + 6 + strlen(suffix));
257 * suffix. '\', '/' and ':' are not allowed. fA filename is of the
258 * form: K<keyname><id>.<suffix>
259 * form: K<keyname>+<alg>+<id>.<suffix>
269 int alg, const char *suffix, size_t filename_length)
277 if (suffix == NULL)
279 if (filename_length < 1 + strlen(name) + 4 + 6 + 1 + strlen(suffix))
283 (const char *) suffix);