Lines Matching refs:dest_i
526 size_t dest_i = top_index; in NormalizePath() local
535 pathbuf[dest_i++] = pathbuf[src_i++]; in NormalizePath()
544 if (dest_i > top_index) { in NormalizePath()
546 dest_i--; in NormalizePath()
549 if (dest_i == top_index) { in NormalizePath()
554 pathbuf[dest_i++] = '.'; in NormalizePath()
555 pathbuf[dest_i++] = '.'; in NormalizePath()
557 pathbuf[dest_i++] = '/'; in NormalizePath()
562 top_index = dest_i; in NormalizePath()
595 dest_i += source_root_len - 2; in NormalizePath()
599 while (dest_i > 0 && !IsSlash(pathbuf[dest_i - 1])) in NormalizePath()
600 dest_i--; in NormalizePath()
607 while (dest_i > 0 && !IsSlash(pathbuf[dest_i - 1])) in NormalizePath()
608 dest_i--; in NormalizePath()
614 pathbuf[dest_i++] = pathbuf[src_i++]; in NormalizePath()
622 pathbuf[dest_i] = '/'; in NormalizePath()
623 dest_i++; in NormalizePath()
628 pathbuf[dest_i++] = pathbuf[src_i++]; in NormalizePath()
631 path->resize(dest_i); in NormalizePath()