Home | History | Annotate | Download | only in scripts

Lines Matching refs:line

11 // this function takes a line that may contain a name and/or email address,
13 std::string contributor_name(const std::string& line)
19 if(line.find("markb@localhost.localdomain") != string::npos)
24 if(line.find("kayhman@contact.intra.cea.fr") != string::npos)
35 size_t position_of_email_address = line.find_first_of('<');
41 if(line.find("hauke.heibel") != string::npos)
46 result = line.substr(0, position_of_email_address);
53 if(line.find("convert-repo") != string::npos)
56 result = line;
71 string line;
74 while(!getline(churn_out,line).eof())
77 size_t first_star = line.find_first_of('*');
78 if(first_star != string::npos) line.erase(first_star);
81 size_t length = line.length();
82 while(length >= 1 && line[length-1] == ' ') line.erase(--length);
85 size_t last_space = line.find_last_of(' ');
89 istringstream(line.substr(last_space+1)) >> number;
92 line.erase(last_space);
93 string name = contributor_name(line);
135 string line;
138 while(!getline(online_info,line).eof())
142 size_t last_bar = line.find_last_of('|');
144 if(last_bar < line.length())
145 misc = line.substr(last_bar+1);
146 line.erase(last_bar);
148 last_bar = line.find_last_of('|');
150 if(last_bar < line.length())
151 url = line.substr(last_bar+1);
152 line.erase(last_bar);
154 last_bar = line.find_last_of('|');
156 if(last_bar < line.length())
157 realname = line.substr(last_bar+1);
158 line.erase(last_bar);
160 hgname = line;
162 // remove the example line