geany
1.38
About: Geany is a text editor (using GTK2) with basic features of an integrated development environment (syntax highlighting, code folding, symbol name auto-completion, ...). F: office T: editor programming GTK+ IDE
![]() ![]() |
#include "general.h"
#include <stdio.h>
#include "entry_p.h"
#include "options_p.h"
#include "stats_p.h"
Go to the source code of this file.
Macros | |
#define | plural(value) (((unsigned long)(value) == 1L) ? "" : "s") |
Functions | |
void | addTotals (const unsigned int files, const long unsigned int lines, const long unsigned int bytes) |
void | printTotals (const clock_t *const timeStamps, bool append, sortType sorted) |
Variables | |
struct { | |
long files | |
long lines | |
long bytes | |
} | Totals = { 0, 0, 0 } |
#define plural | ( | value | ) | (((unsigned long)(value) == 1L) ? "" : "s") |
void addTotals | ( | const unsigned int | files, |
const long unsigned int | lines, | ||
const long unsigned int | bytes | ||
) |
Definition at line 38 of file stats.c.
References bytes, files, lines, and Totals.
Referenced by closeInputFile(), and parseFileWithMio().
void printTotals | ( | const clock_t *const | timeStamps, |
bool | append, | ||
sortType | sorted | ||
) |
Definition at line 47 of file stats.c.
References maxTagsLine(), numTagsAdded(), numTagsTotal(), plural, SO_UNSORTED, and Totals.
Referenced by batchMakeTags().
long bytes |
Definition at line 32 of file stats.c.
Referenced by addTotals(), Scintilla::Document::FindText(), Scintilla::Document::LineEnd(), and Scintilla::CellBuffer::UTF8LineEndOverlaps().
long files |
Definition at line 32 of file stats.c.
Referenced by add_group_keys(), addTotals(), batchMakeTags(), and open_selected_files().
long lines |
Definition at line 32 of file stats.c.
Referenced by Scintilla::LineMarkers::AddMark(), addTotals(), LineStartIndex< POS >::Allocate(), LineVector< POS >::AllocateLineCharacterIndex(), Scintilla::Editor::CheckModificationForWrap(), colprintLinesPrint(), colprintUpdateMaxWidths(), filetypes_detect_from_document(), filetypes_detect_from_file(), filetypes_detect_from_file_internal(), fold_all(), Scintilla::LineLayout::InLine(), LineVector< POS >::InsertLines(), LineStartIndex< POS >::InsertLines(), Scintilla::Document::InsertLines(), Scintilla::LineMarkers::InsertLines(), Scintilla::LineLevels::InsertLines(), Scintilla::LineState::InsertLines(), Scintilla::LineAnnotation::InsertLines(), Scintilla::LineTabstops::InsertLines(), line_filler(), Scintilla::LineLayout::LineLastVisible(), Scintilla::LineAnnotation::Lines(), Scintilla::LineLayout::LineStart(), make_comment_block(), Scintilla::LineLayout::PointFromPosition(), promiseAttachLineFiller(), Scintilla::EditView::RangeDisplayLine(), Scintilla::LineLevels::SetLevel(), Scintilla::EditView::SPositionFromLocation(), tools_word_count(), word_count(), and Scintilla::Editor::WrapLines().
struct { ... } Totals |
Referenced by addTotals(), and printTotals().