Lines Matching refs:str
120 static string RemoveUnsupportedFormat(const char *str) {
124 size_t n = strlen(str);
129 res.push_back(str[0]);
131 if (str[i] == '\'' && *res.rbegin() == '%') continue;
132 res.push_back(str[i]);
136 return str;
200 long my_strtol(const char *str, char **end, int base) {
202 if (base == 16 || (base == 0 && str && str[0] == '0' && str[1] == 'x')) {
203 return VG_(strtoll16)((Char*)str, (Char**)end);
205 return VG_(strtoll10)((Char*)str, (Char**)end);
207 return strtoll(str, end, base);
451 void OpenFileWriteStringAndClose(const string &file_name, const string &str) {
461 write(fd, str.c_str(), str.size());