Searched refs:slash_pos (Results 1 – 5 of 5) sorted by relevance
40 size_t slash_pos = base_name.find_last_of(L"/\\"); in GetBaseName() local41 if (slash_pos != wstring::npos) { in GetBaseName()42 base_name.erase(0, slash_pos + 1); in GetBaseName()
226 if (const char *slash_pos = internal_strrchr(module, '/')) { in StripModuleName() local227 return slash_pos + 1; in StripModuleName()
502 size_t slash_pos = obj_file.find_last_of("/"); in WriteModuleInfo() local503 if (slash_pos != std::string::npos) in WriteModuleInfo()504 filename = obj_file.substr(slash_pos + 1); in WriteModuleInfo()
333 string::size_type slash_pos = name.find_last_of('/'); in CreateTempFile() local334 if (slash_pos != string::npos) { in CreateTempFile()335 string dir = name.substr(0, slash_pos); in CreateTempFile()
1091 string::size_type slash_pos = value.find_last_of('/'); in InterpretArgument() local1092 if (slash_pos == string::npos) { in InterpretArgument()1095 plugin_name = value.substr(slash_pos + 1); in InterpretArgument()