Lines Matching defs:suffix
226 * form: K<keyname>+<alg>+<id>.<suffix>
231 dst_s_filename_length(const char *name, const char *suffix)
241 if (suffix == NULL)
243 if (strrchr(suffix, '\\'))
245 if (strrchr(suffix, '/'))
247 if (strrchr(suffix, ':'))
249 return (1 + strlen(name) + 6 + strlen(suffix));
255 * suffix. '\', '/' and ':' are not allowed. fA filename is of the
256 * form: K<keyname><id>.<suffix>
257 * form: K<keyname>+<alg>+<id>.<suffix>
267 int alg, const char *suffix, size_t filename_length)
275 if (suffix == NULL)
277 if (filename_length < 1 + strlen(name) + 4 + 6 + 1 + strlen(suffix))
281 (const char *) suffix);