Lines Matching defs:pos
115 size_t pos = str.npos;
120 pos = (std::min)(pos, tmp);
123 if (str.npos != pos) {
124 token = str.substr(0, pos);
125 if (str.npos != pos + 1) {
126 str = str.substr(pos + 1, str.npos);
128 if (pos == 0) {
240 std::string::size_type pos = filePath.find_last_of('.');
241 if (pos == std::string::npos) {
245 return (filePath.substr(pos + 1, filePath.npos) == checkExtension);
448 size_t pos = tmp.find('#');
449 if (pos != tmp.npos && pos != COMMENT_SUBSCRIPT) {
457 pos = tmp.find('=');
458 if ((pos == std::string::npos) || (tmp.back() == '=')) {
463 std::string configItem = tmp.substr(0, pos);
464 std::string value = tmp.substr(pos + 1);