MCPcopy Create free account

hub / github.com/Genivia/ugrep / functions

Functions1,386 in github.com/Genivia/ugrep

Methodsearched_changed
number of indexed files changed and searched (stale index file)
src/stats.hpp:142
Methodsearched_dirs
number of directories visited
src/stats.hpp:124
Methodsearched_files
number of files searched
src/stats.hpp:118
Methodsearched_indexed
number of indexed files visited
src/stats.hpp:130
Methodsearched_lines
number of lines searched
src/stats.hpp:154
Methodsearched_skipped
numbder of indexed files skipped from search
src/stats.hpp:136
Methodselect
chdir one level down into the directory of the file located under the cursor or just above the screen
src/query.cpp:2806
Methodselect
show selections
src/screen.hpp:124
Methodselect
select file or directory to search for pattern matches, return SKIP, DIRECTORY or OTHER
src/ugrep.cpp:9301
Methodselect_matching
true if path matches search constraints or buf contains matching magic bytes
src/ugrep.cpp:1809
Methodselections
true if at least one line is selected
src/query.cpp:3699
Functionset_add
include/reflex/setop.h:168
Methodset_bob
Set/reset the begin of a buffer state.
include/reflex/absmatcher.h:972
Methodset_bol
Set/reset the begin of a new line state.
include/reflex/absmatcher.h:1006
Methodset_current
Set the current position in the buffer for the next match.
include/reflex/absmatcher.h:1657
Methodset_current_and_peek_more
Set the current match position in the buffer and peek for more text, allows large buffer shifts that aren't pinned to txt_.
include/reflex/absmatcher.h:1668
Methodset_debug
Set debug flag value.
include/reflex/abslexer.h:114
Functionset_delete
include/reflex/setop.h:177
Methodset_end
Set and force the end of input state.
include/reflex/absmatcher.h:992
Functionset_erase
include/reflex/setop.h:206
Methodset_flags
set the global flags to the local flags
src/query.cpp:3988
Methodset_flush
enable line buffered mode to flush each line to output
src/output.hpp:731
Methodset_grep_handle
set the handle to be able to use cancel_ugrep()
src/ugrep.cpp:9199
Methodset_handler
Set event handler functor to invoke when the buffer contents are shifted out, e.g. for logging the data searched.
include/reflex/absmatcher.h:486
Functionset_insert
include/reflex/setop.h:156
Methodset_prompt
src/query.cpp:4107
Methodsetpos
set the cursor position, where (0,0) is home
src/screen.cpp:81
Methodsetup
setup vkey in VKey::NORMAL tty or VKey::TTYRAW raw tty mode (cfmakeraw), returns 0 on success <0 on failure
src/vkey.cpp:762
Methodsetup
setup screen using an alternative screen buffer and optional title, returns true on success
src/screen.cpp:232
Functionshowmanyc
std::streambuf::showmanyc()
src/zstream.hpp:2849
Methodshowmanyc
include/reflex/input.h:856
Methodshowmanyc
include/reflex/input.h:908
Methodshowmanyc
include/reflex/input.h:1112
Methodshowmanyc
include/reflex/input.h:1169
Functionsigint
CTRL-C handler
src/ugrep.cpp:503
Methodsigint
CTRL-C/BREAK handler
src/query.cpp:720
Methodsigwinch
src/query.cpp:731
Methodsigwinch
SIGWINCH signal handler
src/screen.cpp:869
Methodsimd_advance_chars_avx2
lib/matcher_avx2.cpp:731
Methodsimd_advance_chars_avx512bw
lib/matcher_avx512bw.cpp:85
Methodsimd_advance_chars_pma_avx2
lib/matcher_avx2.cpp:792
Methodsimd_advance_chars_pma_avx512bw
lib/matcher_avx512bw.cpp:144
Methodsimd_advance_pattern_min4_avx2
lib/matcher_avx2.cpp:648
Methodsimd_advance_pattern_pin1_pma_avx2
My homegrown "needle search" method when needle pin=1
lib/matcher_avx2.cpp:141
Methodsimd_advance_string_avx2
Implements AVX2 string search scheme based on http://0x80.pl/articles/simd-friendly-karp-rabin.html
lib/matcher_avx2.cpp:859
Methodsimd_advance_string_avx512bw
Implements AVX512BW string search scheme based on http://0x80.pl/articles/simd-friendly-karp-rabin.html
lib/matcher_avx512bw.cpp:209
Methodsimd_advance_string_neon
Implements NEON/AArch64 string search scheme based on http://0x80.pl/articles/simd-friendly-karp-rabin.html 64 bit optimized
lib/matcher.cpp:2637
Methodsimd_advance_string_pma_avx2
Implements AVX2 string search scheme based on http://0x80.pl/articles/simd-friendly-karp-rabin.html
lib/matcher_avx2.cpp:918
Methodsimd_advance_string_pma_avx512bw
Implements AVX512BW string search scheme based on http://0x80.pl/articles/simd-friendly-karp-rabin.html
lib/matcher_avx512bw.cpp:266
Methodsimd_advance_string_pma_neon
Implements NEON/AArch64 string search scheme based on http://0x80.pl/articles/simd-friendly-karp-rabin.html 64 bit optimized
lib/matcher.cpp:2699
Methodsimd_init_advance_avx2
AVX2 runtime optimized function callback overrides
lib/matcher_avx2.cpp:56
Methodsimd_init_advance_avx512bw
AVX512BW runtime optimized function callback overrides
lib/matcher_avx512bw.cpp:50
Methodsize
Get the number of subpatterns of this pattern object.
include/reflex/pattern.h:304
Methodsize
Get the size of the input character sequence in number of ASCII/UTF-8 bytes (zero if size is not determinable from a `FILE*` or `std::istream` source)
include/reflex/input.h:1012
Methodskip_space
skip space
src/cnf.hpp:250
Methodsort_info
get sortable info from stat buf
src/ugrep.cpp:1963
Methodspan
Enlarge the match to span the entire line of input (excluding `\n`), return text().
include/reflex/absmatcher.h:1244
Methodstart
start decompression thread if not running, open new pipe, returns pipe or NULL on failure, this function is called by the main thread
src/zthread.hpp:119
Methodstart
start state the DFA is the first state created.
include/reflex/pattern.h:1015
Methodstart
Returns the current start condition state.
include/reflex/abslexer.h:392
Methodstart_stdin
start a new stdin sender thread and pipe from sender to the search engine
src/query.cpp:4173
Methodstart_workers
start worker threads
src/ugrep.cpp:4281
Methodstate
include/reflex/pattern.h:881
Methodstates_empty
Returns true if the condition state stack is empty.
include/reflex/abslexer.h:421
Methodstatus
display the status line
src/query.cpp:1590
Methodstdin_sender
push standard input down the specified pipe fd
src/query.cpp:4213
Methodstop_stdin
stop stdin sender thread
src/query.cpp:4197
Methodstop_workers
stop all workers
src/ugrep.cpp:4303
Methodstr
Returns the text matched as a string, a copy of text(), including pattern-matched `\0`s.
include/reflex/absmatcher.h:658
Functionstrcasecmp
POSIX strcasecmp
src/ugrep.hpp:103
Methodstreambuf
include/reflex/input.h:824
Methodstreambuf
include/reflex/input.h:1089
Methodstrview
Returns the pattern match as a string_view (zero copy), does not include a terminating \0, this is a constant-time operation.
include/reflex/abslexer.h:293
Methodstrview
Returns the pattern match as a string_view (zero copy), does not include a terminating `\0`, this is a constant-time operation.
include/reflex/absmatcher.h:651
Methodsubmit
submit a job with a pathname to a worker
src/ugrep.cpp:4315
Methodswitch_streams
Switch input and output streams.
include/reflex/flexlexer.h:511
Methodtext
Returns 0-terminated pattern match as a char pointer, does not include matched `\0`s, this is a constant-time operation.
include/reflex/absmatcher.h:639
Methodtolower
lib/letter_case.cpp:12
Methodtop_state
Returns the stack top start condition state or 0 (INITIAL) if the stack is empty.
include/reflex/abslexer.h:413
Methodtoupper
lib/letter_case.cpp:1668
Methodtransition
lib/pattern.cpp:2613
Methodtrim_anchors
lib/pattern.cpp:2292
Methodtrim_lazy
lib/pattern.cpp:2325
Methodtry_enqueue
try to add a job to the queue if the queue is not too large
src/ugrep.cpp:2109
Functionuflow
std::streambuf::uflow()
src/zstream.hpp:2843
Methoduflow
include/reflex/input.h:834
Methoduflow
include/reflex/input.h:890
Methoduflow
include/reflex/input.h:1103
Methoduflow
include/reflex/input.h:1151
Functionunderflow
std::streambuf::underflow()
src/zstream.hpp:2837
Methodunderflow
include/reflex/input.h:830
Methodunderflow
include/reflex/input.h:874
Methodunderflow
include/reflex/input.h:1098
Methodunderflow
include/reflex/input.h:1135
Methodunderline
enable underline
src/screen.hpp:149
Methodundo_found_part
undo found_part
src/stats.hpp:174
Methodunput
Put back one character (8-bit) on the input character sequence for matching, DANGER: invalidates the previous text() pointer and match info, unput is
include/reflex/absmatcher.h:1067
Methodunput
Put back one character on the input character sequence for matching, invalidating the current match info and text.
include/reflex/flexlexer.h:489
Methodunselect
chdir back to the starting working directory
src/query.cpp:3039
Methodup
cursor up
src/query.cpp:1983
← previousnext →1,201–1,300 of 1,386, ranked by callers