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
csv
output a match as a quoted string in CSV
src/output.hpp:561
Method
debug
Get debug flag value.
include/reflex/abslexer.h:119
Function
decompress
copy or decompress a block of data into buf[0..len-1], return number of bytes decompressed, zero on EOF or negative on error
src/zstream.hpp:1700
Method
decompress
read and decompress 7zip file data into buf[0..len-1], return number of bytes decompressed, 0 for EOF or -1 for error
src/zstream.hpp:167
Function
decompressing
return true if decompressing a file in any of the decompression chain stages
src/ugrep-indexer.cpp:544
Function
decompressing
return true if decompressing a file
src/zstream.hpp:1685
Method
dedent
Returns true if looking at dedent.
include/reflex/matcher.h:1434
Method
del_matcher
Delete a matcher.
include/reflex/abslexer.h:253
Method
delete_stop
Remove all stop positions from position n and up until the last.
include/reflex/matcher.h:243
Method
deselect
chdir back up one level
src/query.cpp:2920
Method
deselect
hide selections
src/screen.hpp:131
Method
discard
discard buffered output
src/output.hpp:795
Method
disp
view one row of text by drawing it on screen
src/query.cpp:582
Method
display
draw the textual part of the query search line, this function is called by draw()
src/query.cpp:170
Method
displen
lib/error.cpp:99
Method
disppos
lib/error.cpp:137
Method
done
include/reflex/pattern.h:904
Method
dos_streambuf
include/reflex/input.h:867
Method
dos_streambuf
include/reflex/input.h:1122
Method
down
cursor down
src/query.cpp:2011
Method
down
move cursor down
src/screen.hpp:88
Method
draw
draw the query search line
src/query.cpp:466
Method
echo
Echo the matched text to the current output.
include/reflex/abslexer.h:281
Method
empty
True if match was empty, same as (size() == 0), only possible with matcher init option "N" for Const::FIND, Const::SPLIT, Const::MATCH.
include/reflex/absmatcher.h:686
Method
encode_dfa
lib/pattern.cpp:2868
Method
end
erase from cursor to the end of the screen
src/screen.hpp:70
Method
end
include/reflex/setop.h:302
Method
end
AbstractMatcher::Operation.end() returns a std::input_iterator to the end of matches.
include/reflex/absmatcher.h:304
Method
end
Returns pointer to the exclusive end of the matched text, a constant-time operation.
include/reflex/absmatcher.h:633
Method
eof
Check if input reached EOF.
include/reflex/input.h:1024
Method
eq_at
include/reflex/pattern.h:1246
Method
erase
erase from cursor to the end of the line
src/screen.hpp:64
Method
error
lib/pattern.cpp:176
Method
escape_at
include/reflex/pattern.h:1252
Method
escapes_at
include/reflex/pattern.h:1258
Method
execute
execute the search in a new thread and send results to a pipe
src/query.cpp:1929
Method
execute
execute worker thread
src/ugrep.cpp:4421
Method
export_code
lib/pattern.cpp:3753
Method
fetch
fetch rows up to and including the specified row, when available, i.e. do not block when pipe is non-blocking
src/query.cpp:1765
Method
fetch
Return number of bytes available after the match position given len bytes to fetch ahead after the match, limited by input size and buffer size, DANGE
include/reflex/absmatcher.h:1197
Method
file
Get the FILE* of this Input object, returns NULL when this Input is not a FILE*.
include/reflex/input.h:550
Method
file_encoding
Get encoding of the current `FILE*` input.
include/reflex/input.h:752
Method
file_init
lib/input.cpp:652
Method
file_read
Read n bytes into buffer s from file, block when IO is non-blocking, return false when fewer bytes read on failure or eof.
include/reflex/input.h:783
Method
file_ready
lib/input.cpp:1029
Method
file_size
lib/input.cpp:1098
Method
filter
--filter: return true on success, create a pipe to replace file input if filtering files in a forked process
src/ugrep.cpp:3567
Method
filter_cpio
if cpio file, extract regular file contents and push into pipes one by one, return true when done
src/zthread.hpp:797
Method
filter_cpio
if cpio file, extract regular file contents and push into pipes one by one, return true when done
src/ugrep.cpp:1492
Method
filter_tar
if tar/pax file, extract regular file contents and push into pipes one by one, return true when done
src/zthread.hpp:563
Method
filter_tar
if tar/pax file, extract regular file contents and push into pipes one by one, return true when done
src/ugrep.cpp:1248
Method
find
include/reflex/setop.h:268
Method
find
Find the first range that overlaps the given range.
include/reflex/ranges.h:714
Method
find_at
include/reflex/pattern.h:1236
Method
find_filename
true if view_[ref] has a valid filename/filepath identified by three \0 markers and differs from the given filename, then assigns filename
src/query.cpp:4256
Method
find_first
Returns the position of the first bit set in the bit vector, or Bits::npos if none.
include/reflex/bits.h:538
Method
find_next
Returns the next position of a bit set in the bit vector, or Bits::npos if none.
include/reflex/bits.h:555
Method
first
Returns the position of the first character of the match in the input character sequence, a constant-time operation.
include/reflex/absmatcher.h:954
Method
flush
acquire lock and flush the buffers, if not held back
src/output.hpp:879
Method
flush
flush the key buffer and remove pending key presses until no key is pressed
src/vkey.cpp:743
Method
flush
Flush and delete the buffer's remaining content.
include/reflex/absmatcher.h:529
Method
flush_truncated_lines
flush a block of data as truncated lines limited to --width columns, taking into account tabs, UTF-8, ANSI
src/output.cpp:2260
Method
fn_key
return VKey::FN or VKey::META key press or META+/hex/ Unicode code point
src/vkey.cpp:456
Method
forward
move cursor forward
src/screen.hpp:94
Method
found_any_file
any matching file was found
src/stats.hpp:194
Method
found_file
atomically update the number of matching files found, excluding files in archives returns true if max file matches (+ number of threads-1 when sorting
src/stats.hpp:160
Method
found_files
the number of matching files found, excluding files in archives
src/stats.hpp:180
Method
found_matches
found matches
src/stats.hpp:200
Method
found_part
atomically update the number of matching files found, including files in archives, returns true if max file matches (+ number of threads-1 when sortin
src/stats.hpp:167
Method
found_parts
the number of matching files found, including files in archives
src/stats.hpp:187
Method
frequency
Relative frequency of English letters with upper/lower-case ratio = 0.0563, punctuation and UTF-8 bytes.
include/reflex/pattern.h:552
Method
gen_match_hfa
lib/pattern.cpp:4663
Method
gen_match_hfa_start
lib/pattern.cpp:4687
Method
gen_match_hfa_transitions
lib/pattern.cpp:4706
Method
gen_min
lib/pattern.cpp:4421
Method
gen_predict_match
lib/pattern.cpp:4460
Method
gen_predict_match_start
lib/pattern.cpp:4472
Method
gen_predict_match_transitions
lib/pattern.cpp:4529
Method
gencode_dfa
lib/pattern.cpp:3110
Method
gencode_dfa_closure
lib/pattern.cpp:3426
Method
get
Returns more input data directly from the source (method can be overriden, as by reflex::FlexLexer::get(s, n) for example that invokes reflex::FlexLex
include/reflex/absmatcher.h:535
Method
get
include/reflex/input.h:912
Method
get
Get a single character (unsigned char 0..255) or EOF (-1) when end-of-input is reached.
include/reflex/input.h:1043
Method
get
include/reflex/input.h:1173
Function
get_buffer
get pointer to the internal buffer and its max size
src/zstream.hpp:1719
Method
get_filename
get filename from the output, return position at last \0 marker or -1 when not found
src/query.cpp:4377
Method
get_flags
initialze local flags with the global flags
src/query.cpp:3865
Method
get_line_number
get line number from the output, assumes option -n is active
src/query.cpp:4407
Method
get_more
Get the next character and grow the buffer to make more room if necessary, unless EOF.
include/reflex/absmatcher.h:1681
Method
get_stdin
src/query.cpp:4156
Method
getpos
get the cursor position
src/screen.cpp:87
Method
getsize
get the screen size Screen::rows and Screen::cols, returns Screen::cols
src/screen.cpp:157
Method
good
Check if input is available.
include/reflex/input.h:1018
Method
graph_dfa
lib/pattern.cpp:3582
Method
greedy
lib/pattern.cpp:2286
Method
group_next_id
Returns (0,NULL)
include/reflex/linematcher.h:98
Method
group_next_id
Returns the next group capture identifier containing the group capture index >0 and name (or NULL) of a named group capture, or (0,NULL) when no more
include/reflex/boostmatcher.h:178
Method
group_next_id
Returns the next group capture identifier containing the group capture index >0 and name (or NULL) of a named group capture, or (0,NULL) when no more
include/reflex/stdmatcher.h:177
Method
group_next_id
Returns the next group capture identifier containing the group capture index >0 and name (or NULL) of a named group capture, or (0,NULL) when no more
include/reflex/pcre2matcher.h:247
Method
grow
allocate a new buffer to grow the buffers container
src/output.hpp:992
← previous
next →
801–900 of 1,386, ranked by callers