Lines Matching refs:sep
93 char *sep;
123 sep = strchr(contp, FORM_TYPE_SEPARATOR);
127 if(sep2 && (sep2 < sep)) {
128 sep = sep2;
135 if(sep) {
138 if(FORM_FILE_SEPARATOR == *sep)
141 ptr = sep+1;
143 *sep = '\0'; /* terminate file name at separator */
165 sep = (char *)type + strlen(major)+strlen(minor)+1;
171 if((*sep==';') && !checkprefix(";filename=", sep)) {
172 sep2 = strchr(sep+1, ';');
174 sep = sep2;
176 sep = sep + strlen(sep); /* point to end of string */
179 if(*sep) {
180 *sep = '\0'; /* zero terminate type string */
182 ptr = sep+1;
204 sep = strchr(ptr, FORM_FILE_SEPARATOR);
206 sep = NULL;
209 sep = strchr(contp, FORM_FILE_SEPARATOR);
211 if(sep) {
213 *sep = '\0';
214 sep++;
225 contp = sep; /* move the contents pointer to after the separator */
227 } while(sep && *sep); /* loop if there's another file name */