Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Genivia/ugrep
/ functions
Functions
1,386 in github.com/Genivia/ugrep
⨍
Functions
1,386
◇
Types & classes
177
Method
operator[]
Returns a pair <text(),size() for any n
include/reflex/linematcher.h:84
Method
operator[]
Returns a pair of pointer and length of the captured match for n > 0 capture index or <text(),size() for n == 0.
include/reflex/boostmatcher.h:155
Method
operator[]
Reference n'th bit in the bit vector to assign a value to that bit.
include/reflex/bits.h:201
Method
operator[]
include/reflex/stdmatcher.h:156
Method
operator[]
Returns a pair of pointer and length of the captured match for n > 0 capture index or <text(),size() for n == 0.
include/reflex/pcre2matcher.h:219
Method
operator^
include/reflex/pattern.h:633
Method
operator^
Bit-xor of two bit vectors.
include/reflex/bits.h:362
Method
operator^=
Bit-xor bit value.
include/reflex/bits.h:145
Method
operator|
include/reflex/pattern.h:631
Method
operator|
Bit-or (set union) of two bit vectors.
include/reflex/bits.h:348
Method
operator|
Returns the union of two range sets.
include/reflex/ranges.h:368
Method
operator|
Returns the union of two range sets.
include/reflex/ranges.h:835
Method
operator|=
Bit-or bit value.
include/reflex/bits.h:127
Method
operator~
include/reflex/pattern.h:634
Method
operator~
Complement of the bit vector with all bits flipped.
include/reflex/bits.h:376
Method
output
Output one character.
include/reflex/flexlexer.h:499
Method
output_before_context
output the inverted before context
src/ugrep.cpp:2999
Method
output_restline
output the rest of the matching line or save it for later, this is necessary when the buffer shifts
src/ugrep.cpp:4051
Method
own_pattern
Returns true if this matcher has its own pattern not received from another matcher (responsible to delete).
include/reflex/absmatcher.h:1845
Method
own_pattern
Returns true if this matcher has its own pattern not received from another matcher (responsible to delete).
include/reflex/absmatcher.h:1982
Method
pair
Returns std::pair<size_t,std::string>(accept(), str()), useful for tokenizing input into containers of pairs.
include/reflex/absmatcher.h:942
Method
pan_down
scroll screen down
src/screen.hpp:112
Method
pan_up
scroll screen up
src/screen.hpp:106
Method
parse
lib/pattern.cpp:743
Method
parse
parse a pattern into an operator tree using a recursive descent parser
src/cnf.cpp:41
Method
parse1
lib/pattern.cpp:975
Method
parse2
lib/pattern.cpp:1032
Method
parse3
lib/pattern.cpp:1160
Method
parse4
lib/pattern.cpp:1325
Method
parse_esc
lib/pattern.cpp:1600
Function
pclose
POSIX pclose()
src/zthread.hpp:74
Method
peek
Peek at the next character available for reading from the current input source.
include/reflex/absmatcher.h:1123
Method
peek_more
Peek at the next character and grow the buffer to make more room if necessary, unless EOF.
include/reflex/absmatcher.h:1700
Method
perf_report
Dummy performance reporter, to prevent link errors when reflex option -p is omitted.
include/reflex/abslexer.h:125
Method
pgdn
page down the display
src/query.cpp:2081
Method
pgup
page up the display
src/query.cpp:2042
Method
point
Set backtrack point.
include/reflex/fuzzymatcher.h:207
Method
poll
poll the keys for timeout ms, return true if a key is pressed and is available to read
src/vkey.cpp:295
Method
pop_matcher
Pop matcher from the stack and continue scanning where it left off, delete the current matcher.
include/reflex/abslexer.h:267
Method
pop_state
Pop the stack start condition state and transition to that state.
include/reflex/abslexer.h:404
Method
pop_stops
Pop indent stops.
include/reflex/matcher.h:276
Function
popen
POSIX popen()
src/zthread.hpp:68
Method
pos
include/reflex/pattern.h:672
Method
pos_add
include/reflex/pattern.h:689
Method
pos_insert
include/reflex/pattern.h:688
Method
posix
lib/pattern.cpp:2759
Method
preview
preview the file located under the cursor when the screen is split into multiple windows
src/query.cpp:2686
Method
print
print selected query results when done
src/query.cpp:3712
Method
push_matcher
Push the current matcher on the stack and use the given matcher for scanning.
include/reflex/abslexer.h:261
Method
push_state
Push the current start condition state on the stack and transition to the given start condition state.
include/reflex/abslexer.h:398
Method
push_stops
Push current indent stops and clear current indent stops.
include/reflex/matcher.h:270
Method
put
emit text
src/screen.hpp:251
Method
put
emit text at the specified screen position, where (0,0) is home, return row number of the updated cursor position
src/screen.cpp:501
Method
query
called by the main program
src/query.cpp:831
Method
query_ui
run the query UI
src/query.cpp:918
Method
quote
output a quoted string with escapes for \ and "
src/output.cpp:1970
Method
quote
output a quoted matching line or a match if -o with escapes for \ and "
src/output.hpp:521
Method
quote
quote a pattern with \Q and \E
src/cnf.hpp:147
Function
range
lib/unicode.cpp:101
Method
raw_get
wait until key press and return raw VKey::xxx code
src/vkey.cpp:74
Method
raw_in
wait until key press and return raw VKey::xxx code, time out after timeout ms
src/vkey.cpp:136
Method
reachable
Check if subpattern is reachable by a match.
include/reflex/pattern.h:320
Function
read_line
specify a line of input for the matcher to read, matcher must not use text() or rest() to keep the line contents unmodified
src/ugrep.cpp:733
Function
read_next_file
src/ugrep-indexer.cpp:481
Method
recurse
recurse over directory, searching for pattern matches in files and subdirectories
src/ugrep.cpp:9777
Method
redraw
redraw the screen
src/query.cpp:602
Method
regex_error
< cannot load tables from predictor string Construct regex error info.
include/reflex/error.h:85
Method
regex_error_message
lib/error.cpp:71
Method
regex_error_message_code
lib/error.cpp:43
Method
release
release output access in UNORDERED mode, otherwise do nothing (until finish() is called later)
src/output.hpp:131
Method
report
report the statistics
src/stats.cpp:42
Method
reset
src/query.hpp:96
Method
reset
Reset this matcher's state to the initial state.
include/reflex/matcher.h:181
Method
reset
Reset this matcher's state to the initial state and when assigned new input.
include/reflex/linematcher.h:77
Method
reset
Reset this matcher's state to the initial state and when assigned new input.
include/reflex/boostmatcher.h:106
Method
reset
Reset this matcher's state to the initial state and set options (when provided).
include/reflex/absmatcher.h:370
Method
reset
Reset this matcher's state to the initial state and when assigned new input.
include/reflex/stdmatcher.h:103
Method
reset
Reset this matcher's state to the initial state and when assigned new input.
include/reflex/pcre2matcher.h:150
Method
reset_text
Reset the matched text by removing the terminating `\0` when applicable, which is needed to search for a new match.
include/reflex/absmatcher.h:1648
Method
rest
Fetch the rest of the input as text, useful for searching/splitting up to n times after which the rest is needed.
include/reflex/absmatcher.h:1345
Method
restore
src/query.hpp:118
Method
restore
src/query.hpp:158
Method
rev_comp_by_best
reverse compare two entries by edit distance cost
src/ugrep.cpp:2023
Method
rev_comp_by_info
reverse compare two entries by size or time (atime, mtime, or ctime), if equal reverse compare by pathname
src/ugrep.cpp:2017
Method
rev_comp_by_path
reverse compare two entries by pathname
src/ugrep.cpp:2011
Method
root
return the root of the tree.
include/reflex/pattern.h:720
Method
rot_keybuf
rotate the key buffer
src/vkey.cpp:57
Method
save
src/query.hpp:108
Method
save
src/query.hpp:152
Method
score_added
score a non-indexed file that was added and searched (stale index file)
src/stats.hpp:105
Method
score_changed
score an indexed file that was changed and searched (stale index file)
src/stats.hpp:99
Method
score_dir
score a directory searched
src/stats.hpp:81
Method
score_file
score a file searched
src/stats.hpp:75
Method
score_indexed
score an indexed file
src/stats.hpp:87
Method
score_matches
score matches
src/stats.hpp:111
Method
score_skipped
score an indexed file that was skipped from search
src/stats.hpp:93
Method
search
start a new search, cancel the previous search when still running
src/query.cpp:1474
Method
search
search a file by submitting it as a job to a worker
src/ugrep.cpp:4198
Method
search
search input to output the pattern matches
src/ugrep.cpp:10550
Method
searched_added
number of non-indexed files added and searched (stale index file)
src/stats.hpp:148
← previous
next →
1,101–1,200 of 1,386, ranked by callers