Searched refs:prev_was_slash (Results 1 – 2 of 2) sorted by relevance
292 int prev_was_slash = 0; in pathdup() local307 prev_was_slash = 0; in pathdup()309 if (!prev_was_slash || c != '/') { in pathdup()313 prev_was_slash = 1; in pathdup()315 prev_was_slash = 0; in pathdup()320 if (prev_was_slash && dp != dup && dp - 1 != dup) { in pathdup()
370 int prev_was_slash = 0; in pathdup() local385 prev_was_slash = 0; in pathdup()387 if (!prev_was_slash || c != '/') { in pathdup()391 prev_was_slash = 1; in pathdup()393 prev_was_slash = 0; in pathdup()398 if (prev_was_slash && dp != dup && dp - 1 != dup) { in pathdup()