Lines Matching refs:fpnp
129 String RustCodeEmitter::TrimDot(const String& fpnp) in TrimDot() argument
131 if (fpnp.IsEmpty()) { in TrimDot()
136 int right = fpnp.GetLength() - 1; in TrimDot()
137 while (fpnp[left] == ' ' || fpnp[left] == '.') { in TrimDot()
141 while (fpnp[right] == ' ' || fpnp[right] == '.') { in TrimDot()
149 return fpnp.Substring(left, right + 1); in TrimDot()
152 String RustCodeEmitter::GeneratePath(const String& fpnp) in GeneratePath() argument
154 int pos = fpnp.IndexOf(".."); in GeneratePath()
156 String path = TrimDot(fpnp); in GeneratePath()
163 String path = TrimDot(fpnp.Substring(0, pos + 1)); in GeneratePath()
164 String file = TrimDot(fpnp.Substring(pos)); in GeneratePath()