Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 64) sorted by relevance

123

/glogg/glogg/src/data/
H A Dthreadprivatestore.h
H A Dlogfiltereddata.cpp
H A Dlogfiltereddataworkerthread.cpp
/glogg/src/data/
H A Dthreadprivatestore.h38 for ( int i=0; i<(MAX_THREADS+1); ++i ) in ThreadPrivateStore() local
39 thread_ids_[i] = 0; in ThreadPrivateStore()
67 int i; in threadIndex() local
68 for ( i=0; thread_ids_[i]; ++i ) { in threadIndex()
69 if ( thread_ids_[i].load() == in threadIndex()
70 std::hash<std::thread::id>()(std::this_thread::get_id() ) ) { return i; } in threadIndex()
75 while ( i < MAX_THREADS ) { in threadIndex()
77 if ( thread_ids_[i++].compare_exchange_weak( expected, thread_id ) ) { in threadIndex()
78 LOG(logDEBUG) << "Created thread for " << thread_id << " at index " << i-1; in threadIndex()
79 return i-1; in threadIndex()
H A Dlogfiltereddata.cpp213 for ( auto i = marks_.begin(); i != marks_.end(); ++i ) { in getMarkAfter() local
214 if ( i->lineNumber() > line ) { in getMarkAfter()
215 marked_line = i->lineNumber(); in getMarkAfter()
227 for ( auto i = marks_.begin(); i != marks_.end(); ++i ) { in getMarkBefore() local
228 if ( i->lineNumber() >= line ) { in getMarkBefore()
231 marked_line = i->lineNumber(); in getMarkBefore()
254 for ( Marks::const_iterator i = marks_.begin(); in deleteMark() local
255 i != marks_.end(); ++i ) { in deleteMark()
256 LOG(logDEBUG) << "line " << i->lineNumber(); in deleteMark()
258 sourceLogData_->getLineLength( i->lineNumber() ) ); in deleteMark()
[all …]
/glogg/glogg/tests/
H A DencodingspeculatorTest.cpp
H A Dtestlogfiltereddata.cpp
H A DlogfiltereddataTest.cpp
H A DlinepositionarrayTest.cpp
H A DlogdataPerfTest.cpp
/glogg/tests/
H A DencodingspeculatorTest.cpp25 for ( uint8_t i = 0; i < 127; ++i ) in TEST_F() local
26 speculator.inject_byte( i ); in TEST_F()
32 for ( uint8_t i = 0; i < 127; ++i ) in TEST_F() local
33 speculator.inject_byte( i ); in TEST_F()
73 for ( uint16_t i = 0x80; i < ( 1 << 11 ); ++i ) { in TEST_F() local
74 auto utf8_bytes = utf8encode2bytes( i ); in TEST_F()
87 for ( uint16_t i = 0x80; i < ( 1 << 11 ); ++i ) { in TEST_F() local
88 auto utf8_bytes = utf8encode2bytes( i ); in TEST_F()
100 for ( uint16_t i = 0x80; i < ( 1 << 11 ); ++i ) { in TEST_F() local
101 auto utf8_bytes = utf8encode2bytes( i ); in TEST_F()
[all …]
H A Dtestlogfiltereddata.cpp100 for ( int i = 0; i < 4; i++ ) { in simpleSearchTest()
181 for ( int i = 0; i < 3; i++ ) { in multipleSearchTest() local
246 for ( int i = 0; i < 2; i++ ) { in updateSearchTest() local
262 for (int i = 0; i < 3000; i++) { in updateSearchTest() local
263 snprintf(newLine, 89, sl_format, i); in updateSearchTest()
282 for ( int i = 0; i < 2; i++ ) { in updateSearchTest() local
296 for (int i = 0; i < 20; i++) { in updateSearchTest() local
297 snprintf(newLine, 89, sl_format, i); in updateSearchTest()
313 for ( int i = 0; i < 2; i++ ) { in updateSearchTest() local
327 for (int i = 0; i < 20; i++) { in updateSearchTest() local
[all …]
H A DlogfiltereddataTest.cpp40 for (int i = 0; i < SL_NB_LINES; i++) { in generateDataFiles() local
41 snprintf(newLine, 89, sl_format, i); in generateDataFiles()
59 for ( int i = 0; i < SL_NB_LINES; i++ ) in TEST_F() local
60 ASSERT_FALSE( filtered_data->isLineMarked( i ) ); in TEST_F()
H A DlinepositionarrayTest.cpp90 for ( int i = 0; i < 255; i++ ) in LinePositionArrayLong() local
91 line_array.append( i * 4 ); in LinePositionArrayLong()
104 for ( uint64_t i = 0; i < 1000; ++i ) { in TEST_F() local
105 uint64_t pos = ( 257LL * 4 ) + i*35LL; in TEST_F()
108 ASSERT_THAT( line_array[256 + i], Eq( pos ) ); in TEST_F()
110 ASSERT_THAT( line_array[256 + i], Eq( pos + 21LL ) ); in TEST_F()
150 for ( uint64_t i = 0; i < 1000; ++i ) { in TEST_F() local
151 uint64_t pos = 3LL*UINT32_MAX + 524LL + i*35LL; in TEST_F()
154 ASSERT_THAT( line_array[9 + i], Eq( pos ) ); in TEST_F()
156 ASSERT_THAT( line_array[9 + i], Eq( pos + 21LL ) ); in TEST_F()
H A DlogdataPerfTest.cpp32 for (int i = 0; i < VBL_NB_LINES; i++) { in generateDataFiles() local
33 snprintf(newLine, 89, vbl_format, i); in generateDataFiles()
90 for (int i = 0; i < VBL_NB_LINES; i++) { in TEST_F() local
91 s = log_data.getLineString(i); in TEST_F()
103 for (int i = 0; i < VBL_NB_LINES; i++) { in TEST_F() local
104 s = log_data.getExpandedLineString(i); in TEST_F()
/glogg/glogg/src/
H A Drecentfiles.cpp
H A Dfilteredview.cpp
H A Dsessioninfo.cpp
H A Dsavedsearches.cpp
H A Dfilterset.cpp
/glogg/src/
H A Drecentfiles.cpp38 QMutableStringListIterator i(recentFiles_); in addRecent() local
39 while ( i.hasNext() ) { in addRecent()
40 if ( !QFile::exists(i.next()) ) in addRecent()
41 i.remove(); in addRecent()
71 for (int i = 0; i < recentFiles_.size(); ++i) { in saveToStorage() local
72 settings.setArrayIndex( i ); in saveToStorage()
73 settings.setValue( "name", recentFiles_.at( i ) ); in saveToStorage()
90 for (int i = 0; i < size; ++i) { in retrieveFromStorage() local
91 settings.setArrayIndex(i); in retrieveFromStorage()
H A Dfilteredview.cpp86 for ( qint64 i = static_cast<qint64>( getViewPosition() ) - 1; i >= 0; --i ) { in keyPressEvent() local
87 if ( lineType( i ) == Marked ) { in keyPressEvent()
88 selectAndDisplayLine( static_cast<LineNumber>( i ) ); in keyPressEvent()
95 for ( qint64 i = getViewPosition() + 1; in keyPressEvent() local
96 i < logFilteredData_->getNbLine(); ++i ) { in keyPressEvent()
97 if ( lineType( i ) == Marked ) { in keyPressEvent()
98 selectAndDisplayLine( static_cast<LineNumber>( i ) ); in keyPressEvent()
H A Dsessioninfo.cpp41 for (int i = 0; i < size; ++i) { in retrieveFromStorage() local
42 settings.setArrayIndex(i); in retrieveFromStorage()
67 for ( unsigned i = 0; i < openFiles_.size(); ++i ) { in saveToStorage() local
68 settings.setArrayIndex( i ); in saveToStorage()
69 const OpenFile* open_file = &(openFiles_.at( i )); in saveToStorage()
H A Dsavedsearches.cpp93 for (int i = 0; i < savedSearches_.size(); ++i) { in saveToStorage() local
94 settings.setArrayIndex( i ); in saveToStorage()
95 settings.setValue( "string", savedSearches_.at( i ) ); in saveToStorage()
112 for (int i = 0; i < size; ++i) { in retrieveFromStorage() local
113 settings.setArrayIndex(i); in retrieveFromStorage()
H A Dfilterset.cpp137 for ( QList<Filter>::const_iterator i = filterList.constBegin(); in matchLine() local
138 i != filterList.constEnd(); i++ ) { in matchLine()
139 if ( i->hasMatch( line ) ) { in matchLine()
140 foreColor->setNamedColor( i->foreColorName() ); in matchLine()
141 backColor->setNamedColor( i->backColorName() ); in matchLine()
202 for (int i = 0; i < filterList.size(); ++i) { in saveToStorage() local
203 settings.setArrayIndex(i); in saveToStorage()
204 filterList[i].saveToStorage( settings ); in saveToStorage()
220 for (int i = 0; i < size; ++i) { in retrieveFromStorage() local
221 settings.setArrayIndex(i); in retrieveFromStorage()

123