Home
last modified time | relevance | path

Searched refs:pos_newline (Results 1 – 2 of 2) sorted by relevance

/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/base/
H A Dutilities.cc778 std::size_t pos_newline = text.find_first_of('\n', 0); in break_text_into_lines() local
779 if (pos_newline != std::string::npos && pos_newline <= width) in break_text_into_lines()
781 std::string line(text, 0, pos_newline); in break_text_into_lines()
786 text.erase(0, pos_newline + 1); in break_text_into_lines()
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/lib/hotint/HotInt_V1/Parser/
H A Dscript_parser.cpp3162 int pos_newline = text.Find(pos_in_string,elc); in ReadMatrixVector() local
3170 …if ((pos_semi==-1)&&(pos_newline==-1)) { rowsep = semicolonc; } // separation will not be found si… in ReadMatrixVector()
3171 if ((pos_semi > 0)&&(pos_newline==-1)) { rowsep = semicolonc; } // separation with ';' in ReadMatrixVector()
3172 if ((pos_semi==-1)&&(pos_newline > 0)) { rowsep = elc; } // separation with '\n' in ReadMatrixVector()
3173 …if ((pos_semi > 0)&&(pos_newline > 0)) { rowsep = semicolonc; } // mbs->UO(UO_LVL_warn) << "String… in ReadMatrixVector()