Lines Matching refs:Input
69 static bool ParseHead(const StringRef &Input, StringRef &FName, in ParseHead() argument
71 if (Input[0] == ' ') in ParseHead()
73 size_t n2 = Input.rfind(':'); in ParseHead()
74 size_t n1 = Input.rfind(':', n2 - 1); in ParseHead()
75 FName = Input.substr(0, n1); in ParseHead()
76 if (Input.substr(n1 + 1, n2 - n1 - 1).getAsInteger(10, NumSamples)) in ParseHead()
78 if (Input.substr(n2 + 1).getAsInteger(10, NumHeadSamples)) in ParseHead()
97 static bool ParseLine(const StringRef &Input, bool &IsCallsite, uint32_t &Depth, in ParseLine() argument
101 for (Depth = 0; Input[Depth] == ' '; Depth++) in ParseLine()
106 size_t n1 = Input.find(':'); in ParseLine()
107 StringRef Loc = Input.substr(Depth, n1 - Depth); in ParseLine()
120 StringRef Rest = Input.substr(n1 + 2); in ParseLine()