Lines Matching refs:line
368 std::_tstring line; in readLine() local
383 line.append( szBuffer ); in readLine()
386 rLine = line; in readLine()
402 std::_tstring line; in getProfileString() local
405 while ( readLine( fp, line ) ) in getProfileString()
407 line = trim( line ); in getProfileString()
409 if ( line.length() && line[0] == '[' ) in getProfileString()
411 line.erase( 0, 1 ); in getProfileString()
412 std::_tstring::size_type end = line.find( ']', 0 ); in getProfileString()
415 section = trim( line.substr( 0, end ) ); in getProfileString()
420 std::_tstring::size_type iEqualSign = line.find( '=', 0 ); in getProfileString()
424 std::_tstring keyname = line.substr( 0, iEqualSign ); in getProfileString()
427 std::_tstring value = line.substr( iEqualSign + 1 /*, std::_tstring::npos */ ); in getProfileString()
457 std::_tstring line; in getProfileSections() local
460 while ( readLine( fp, line ) ) in getProfileSections()
462 line = trim( line ); in getProfileSections()
464 if ( line.length() && line[0] == '[' ) in getProfileSections()
466 line.erase( 0, 1 ); in getProfileSections()
467 std::_tstring::size_type end = line.find( ']', 0 ); in getProfileSections()
470 section = trim( line.substr( 0, end ) ); in getProfileSections()
496 std::_tstring line; in getProfileKeys() local
499 while ( readLine( fp, line ) ) in getProfileKeys()
501 line = trim( line ); in getProfileKeys()
503 if ( line.length() && line[0] == '[' ) in getProfileKeys()
505 line.erase( 0, 1 ); in getProfileKeys()
506 std::_tstring::size_type end = line.find( ']', 0 ); in getProfileKeys()
509 section = trim( line.substr( 0, end ) ); in getProfileKeys()
514 std::_tstring::size_type iEqualSign = line.find( '=', 0 ); in getProfileKeys()
518 std::_tstring keyname = line.substr( 0, iEqualSign ); in getProfileKeys()