Lines Matching refs:empty
516 bool empty() const noexcept { return file[0] == '\0'; }
649 constexpr auto empty() const noexcept -> bool {
663 // If start > size(), then the substring is empty.
2873 std::string description; // !Deprecated: this will always be empty
4723 if (m_elems.empty()) {
5690 // Default empty implementation provided
5882 if( m_sectionStack.empty() ) {
5907 assert(!m_sectionStack.empty());
5919 assert(!m_sectionStack.empty());
8218 os << "{** error - unchecked empty expression requested **}";
8301 if( reconstructedExpression.empty() ) {
8331 return !m_info.capturedExpression.empty();
8335 return !m_resultData.message.empty();
8353 if( m_info.macroName.empty() )
8371 return expr.empty()
8875 // Skip any empty strings
8876 while( it != itEnd && it->empty() )
8911 return !m_tokenBuffer.empty() || it != itEnd;
8917 assert( !m_tokenBuffer.empty() );
8922 assert( !m_tokenBuffer.empty() );
9408 if( !m_hint.empty() )
9461 if( m_optNames.empty() )
9464 if( name.empty() )
9465 return Result::logicError( "Option name cannot be empty" );
9540 if (!m_exeName.name().empty()) {
9558 if( !m_options.empty() )
9733 if( !line.empty() && !startsWith( line, '#' ) ) {
9741 if(!config.testsOrTags.empty())
9970 if (!m_data.testsOrTags.empty()) {
10002 std::string Config::name() const { return m_data.name.empty() ? m_data.processName : m_data.name; }
10737 if (m_translators.empty()) {
10765 // do not have to do anything, and can be empty.
11277 if( description.empty() )
11281 if( !testCaseInfo.tags.empty() )
11410 if( m_cachedToString.empty() )
11698 if (desc.empty()) {
11913 if (start != pos && openings.empty()) {
11921 assert(openings.empty() && "Mismatched openings");
12645 // **The check for m_children.empty cannot be removed**.
12649 if ( m_children.empty() ) {
12678 if ( filters.empty() ) {
12861 if (!m_activeSections.empty()) {
12872 if (m_unfinishedSections.empty())
13310 if (Catch::getRegistryHub().getReporterRegistry().getListeners().empty()) {
13339 if (m_matches.empty() && invalidArgs.empty()) {
13361 if (match.tests.empty()) {
13367 if (!invalidArgs.empty()) {
13423 if ( !exceptions.empty() ) {
13746 if( filename.empty() )
13765 if( m_unused.empty() ) {
13826 return !s.empty() && s[0] == prefix;
13832 return !s.empty() && s[s.size()-1] == suffix;
14307 if( name.empty() ) {
14319 if( m_sortedFunctions.empty() )
14322 if( m_currentSortOrder != config.runOrder() || m_sortedFunctions.empty() ) {
14421 return !m_children.empty();
14526 if (m_filters.empty()
14560 if( !filters.empty() ) {
14680 return !m_filters.empty();
14847 if( !m_currentFilter.m_patterns.empty() ) {
14895 if (!token.empty()) {
14909 if (!token.empty()) {
15386 // branchName is never null -> 0th char is \0 if it is empty
15651 while (!m_tags.empty()) {
15697 if( !name.empty() && !attribute.empty() )
15708 if( !text.empty() ){
15987 if (!passOrFail.empty()) {
16232 if (!passOrFail.empty()) {
16253 if (!messageLabel.empty())
16636 if (!currentGroupInfo->name.empty() && currentGroupInfo->groupsCounts > 1) {
16642 assert(!m_sectionStack.empty());
16743 if (col.label.empty()) {
16963 if( className.empty() ) {
16965 if ( className.empty() )
16969 if ( !m_config->name().empty() )
16980 if( !rootName.empty() )
16983 if( !sectionNode.assertions.empty() ||
16984 !sectionNode.stdOut.empty() ||
16985 !sectionNode.stdErr.empty() ) {
16987 if( className.empty() ) {
17009 if( !sectionNode.stdOut.empty() )
17011 if( !sectionNode.stdErr.empty() )
17015 if( className.empty() )
17073 if( !result.getMessage().empty() )
17284 if( !stylesheetRef.empty() )
17287 if( !m_config->name().empty() )
17425 if( !testCaseStats.stdOut.empty() )
17427 if( !testCaseStats.stdErr.empty() )