Lines Matching refs:file_split

299 static char *win32_joiner(DSO *dso, const struct file_st *file_split)  in win32_joiner()  argument
305 if (!file_split) { in win32_joiner()
309 if (file_split->node) { in win32_joiner()
310 len += 2 + file_split->nodelen; /* 2 for starting \\ */ in win32_joiner()
311 if (file_split->predir || file_split->dir || file_split->file) in win32_joiner()
313 } else if (file_split->device) { in win32_joiner()
314 len += file_split->devicelen + 1; /* 1 for ending : */ in win32_joiner()
316 len += file_split->predirlen; in win32_joiner()
317 if (file_split->predir && (file_split->dir || file_split->file)) { in win32_joiner()
320 len += file_split->dirlen; in win32_joiner()
321 if (file_split->dir && file_split->file) { in win32_joiner()
324 len += file_split->filelen; in win32_joiner()
335 if (file_split->node) { in win32_joiner()
338 strncpy(&result[offset], file_split->node, file_split->nodelen); in win32_joiner()
339 offset += file_split->nodelen; in win32_joiner()
340 if (file_split->predir || file_split->dir || file_split->file) { in win32_joiner()
344 } else if (file_split->device) { in win32_joiner()
345 strncpy(&result[offset], file_split->device, file_split->devicelen); in win32_joiner()
346 offset += file_split->devicelen; in win32_joiner()
350 start = file_split->predir; in win32_joiner()
351 while (file_split->predirlen > (start - file_split->predir)) { in win32_joiner()
353 file_split->predirlen - (start - in win32_joiner()
354 file_split->predir)); in win32_joiner()
357 + file_split->predirlen - (start - file_split->predir); in win32_joiner()
364 start = file_split->dir; in win32_joiner()
365 while (file_split->dirlen > (start - file_split->dir)) { in win32_joiner()
367 file_split->dirlen - (start - in win32_joiner()
368 file_split->dir)); in win32_joiner()
370 end = start + file_split->dirlen - (start - file_split->dir); in win32_joiner()
377 strncpy(&result[offset], file_split->file, file_split->filelen); in win32_joiner()
378 offset += file_split->filelen; in win32_joiner()