Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ functions
Functions
8,799 in github.com/DFHack/dfhack
⨍
Functions
8,799
◇
Types & classes
1,320
↓ 20 callers
Method
InitAsDefaultInstance
depends/protobuf/google/protobuf/descriptor.pb.cc:721
↓ 20 callers
Method
index
To save space, index() is computed by looking at the descriptor's position in the parent's array of children.
depends/protobuf/google/protobuf/descriptor.h:1307
↓ 20 callers
Function
int_to_string
library/include/MiscUtils.h:445
↓ 20 callers
Function
isValid
Is everything OK?
library/include/Core.h:162
↓ 20 callers
Function
merge_incursion_into_world_tile
plugins/embark-assistant/matcher.cpp:2698
↓ 20 callers
Method
unlock
library/include/Core.h:472
↓ 19 callers
Function
HasDescriptorMethods
Do message classes in this file have descriptor and refelction methods?
depends/protobuf/google/protobuf/compiler/cpp/cpp_helpers.h:130
↓ 19 callers
Function
OpenModule
library/LuaApi.cpp:1305
↓ 19 callers
Method
ReadVarint32
depends/protobuf/google/protobuf/io/coded_stream.h:727
↓ 19 callers
Function
cpp_type
depends/protobuf/google/protobuf/extension_set.cc:57
↓ 19 callers
Function
get_item_filters
plugins/buildingplan/plannedbuilding.cpp:64
↓ 19 callers
Method
init
plugins/stockflow.cpp:75
↓ 19 callers
Function
luaO_pushfstring
depends/lua/src/lobject.c:468
↓ 19 callers
Function
printerr
library/include/Core.h:212
↓ 19 callers
Function
resize
library/include/DataIdentity.h:148
↓ 18 callers
Function
DumpByte
depends/lua/src/ldump.c:52
↓ 18 callers
Method
Find
depends/tinyxml/tinyxml.cpp:1549
↓ 18 callers
Method
Next
implements ZeroCopyOutputStream ---------------------------------
depends/protobuf/google/protobuf/compiler/command_line_interface.cc:279
↓ 18 callers
Method
ParseFromString
depends/protobuf/google/protobuf/text_format.cc:825
↓ 18 callers
Function
PushModulePublic
library/include/LuaTools.h:511
↓ 18 callers
Method
RecordLegacyLocation
depends/protobuf/google/protobuf/compiler/parser.cc:310
↓ 18 callers
Function
clear
library/LuaApi.cpp:3448
↓ 18 callers
Function
lua_geti
depends/lua/src/lapi.c:628
↓ 17 callers
Function
OutputHotkeyString
plugins/uicommon.h:82
↓ 17 callers
Method
WriteAll
library/modules/MapCache.cpp:1304
↓ 17 callers
Method
WriteLittleEndian32
depends/protobuf/google/protobuf/io/coded_stream.cc:594
↓ 17 callers
Method
add_option
plugins/manipulator.cpp:478
↓ 17 callers
Function
lodepng_chunk_init
Sets length and name and allocates the space for data and crc but does not set data or crc yet. Returns the start of the chunk in chunk. The start of
depends/lodepng/lodepng.cpp:2587
↓ 17 callers
Function
lodepng_strlen
does not check memory out of bounds, do not use on untrusted data */
depends/lodepng/lodepng.cpp:133
↓ 17 callers
Function
lua_isstring
depends/lua/src/lapi.c:283
↓ 17 callers
Function
set_flag
plugins/stockpiles/StockpileSerializer.cpp:236
↓ 17 callers
Function
stl_sprintf
library/MiscUtils.cpp:169
↓ 16 callers
Method
AddVarint
depends/protobuf/google/protobuf/unknown_field_set.cc:93
↓ 16 callers
Method
BlockAt
library/modules/MapCache.cpp:1336
↓ 16 callers
Function
Substitute
depends/protobuf/google/protobuf/stubs/substitute.cc:53
↓ 16 callers
Function
binsearch_in_vector
library/include/MiscUtils.h:272
↓ 16 callers
Function
get
library/include/DataIdentity.h:639
↓ 16 callers
Function
init_exp
depends/lua/src/lparser.c:144
↓ 16 callers
Method
is_unmanaged
plugins/autolabor/labormanager.cpp:131
↓ 16 callers
Function
lodepng_set32bitInt
buffer must have at least 4 allocated bytes available*/
depends/lodepng/lodepng.cpp:330
↓ 16 callers
Function
luaT_trybinTM
depends/lua/src/ltm.c:135
↓ 16 callers
Function
lua_tolstring
depends/lua/src/lapi.c:373
↓ 16 callers
Function
name
library/include/VTableInterpose.h:192
↓ 16 callers
Method
resize
plugins/listcolumn.h:70
↓ 16 callers
Function
tileVariant
library/include/TileTypes.h:168
↓ 16 callers
Function
write
(line)
docs/sphinx_extensions/dfhack/changelog.py:177
↓ 16 callers
Method
write
library/MemoryPatcher.cpp:64
↓ 15 callers
Method
CopyFrom
depends/protobuf/google/protobuf/message.cc:74
↓ 15 callers
Function
begin
library/include/modules/Buildings.h:239
↓ 15 callers
Method
empty
Checks if a TiXmlString is empty
depends/tinyxml/tinystr.h:140
↓ 15 callers
Method
format
plugins/manipulator.cpp:512
↓ 15 callers
Function
getBlock
library/include/modules/Maps.h:338
↓ 15 callers
Method
isInRange
plugins/siege-engine.cpp:358
↓ 15 callers
Function
luaL_checkstack
** Ensures the stack has at least 'space' extra slots, raising an error ** if it cannot fulfill the request. (The error handling needs a few ** extra
depends/lua/src/lauxlib.c:368
↓ 15 callers
Function
luaL_setfuncs
** set functions from list 'l' into table at top - 'nup'; each ** function gets the 'nup' elements at the top as upvalues. ** Returns with only the ta
depends/lua/src/lauxlib.c:934
↓ 15 callers
Function
lua_xmove
depends/lua/src/lapi.c:118
↓ 15 callers
Method
matches
library/modules/Items.cpp:222
↓ 15 callers
Method
message_set_wire_format
depends/protobuf/google/protobuf/descriptor.pb.h:4429
↓ 15 callers
Function
show
library/include/modules/Screen.h:223
↓ 15 callers
Function
string_to_int
library/include/MiscUtils.h:451
↓ 15 callers
Function
testnext
depends/lua/src/lparser.c:97
↓ 15 callers
Function
toupper
plugins/tiletypes.cpp:494
↓ 15 callers
Function
writeBits
LSB of value is written first, and LSB of bytes is used first */
depends/lodepng/lodepng.cpp:432
↓ 14 callers
Method
Close
depends/protobuf/google/protobuf/io/gzip_stream.cc:318
↓ 14 callers
Function
HasUnknownFields
Do message classes in this file keep track of unknown fields?
depends/protobuf/google/protobuf/compiler/cpp/cpp_helpers.h:119
↓ 14 callers
Method
Next
depends/protobuf/google/protobuf/io/tokenizer.cc:466
↓ 14 callers
Method
NextSibling
depends/tinyxml/tinyxml.cpp:413
↓ 14 callers
Function
checkaddr
library/LuaApi.cpp:3464
↓ 14 callers
Function
erase_from_vector
library/include/MiscUtils.h:256
↓ 14 callers
Function
find_enum_item
library/include/DataDefs.h:848
↓ 14 callers
Method
has_options
optional .google.protobuf.FileOptions options = 8;
depends/protobuf/google/protobuf/descriptor.pb.h:2927
↓ 14 callers
Function
in
library/include/RemoteClient.h:114
↓ 14 callers
Function
insert_into_vector
library/include/MiscUtils.h:234
↓ 14 callers
Function
isOpenTerrain
library/include/TileTypes.h:292
↓ 14 callers
Function
luaL_buffinit
depends/lua/src/lauxlib.c:569
↓ 14 callers
Function
luaL_pushresult
depends/lua/src/lauxlib.c:542
↓ 14 callers
Function
lua_gettable
depends/lua/src/lapi.c:612
↓ 14 callers
Function
lua_isinteger
depends/lua/src/lapi.c:270
↓ 14 callers
Method
mutable_options
depends/protobuf/google/protobuf/descriptor.pb.h:2943
↓ 14 callers
Method
set_type
depends/protobuf/google/protobuf/descriptor.pb.h:3372
↓ 14 callers
Function
string_as_array
Return a mutable char* pointing to a string's internal buffer, which may not be null-terminated. Writing through this pointer will modify the string.
depends/protobuf/google/protobuf/stubs/stl_util-inl.h:83
↓ 14 callers
Method
valid
library/include/modules/Screen.h:90
↓ 14 callers
Function
write
write an arbitrary amount of bytes
library/include/MemAccess.h:176
↓ 13 callers
Function
CEscape
---------------------------------------------------------------------- CEscape() CHexEscape() Copies 'src' to result, escaping dangerous characters us
depends/protobuf/google/protobuf/stubs/strutil.cc:487
↓ 13 callers
Function
CopyMat
plugins/remotefortressreader/remotefortressreader.cpp:634
↓ 13 callers
Function
FieldName
depends/protobuf/google/protobuf/compiler/cpp/cpp_helpers.cc:153
↓ 13 callers
Function
InsertIfNotPresent
depends/protobuf/google/protobuf/stubs/map-util.h:109
↓ 13 callers
Function
cache
We use const char * throughout this code instead of std::string to avoid having to allocate memory for all the small string literals. This significant
plugins/blueprint.cpp:240
↓ 13 callers
Function
checknext
depends/lua/src/lparser.c:112
↓ 13 callers
Method
clear
plugins/rendermax/renderer_light.cpp:267
↓ 13 callers
Method
get
library/DataDefs.cpp:349
↓ 13 callers
Function
getConfigPath
library/Core.cpp:138
↓ 13 callers
Method
incCounter
library/Core.cpp:175
↓ 13 callers
Function
increment_counter
plugins/timestream.cpp:414
↓ 13 callers
Function
lodepng_chunk_generate_crc
depends/lodepng/lodepng.cpp:2510
↓ 13 callers
Function
luaK_exp2nextreg
** Ensures final expression result (including results from its jump ** lists) is in next available register. */
depends/lua/src/lcode.c:703
↓ 13 callers
Function
luaL_fileresult
depends/lua/src/lauxlib.c:234
↓ 13 callers
Method
positive_int_value
depends/protobuf/google/protobuf/descriptor.pb.h:4939
↓ 13 callers
Method
setTiletypeAt
library/modules/MapCache.cpp:267
↓ 13 callers
Method
size
Alias for length()
depends/tinyxml/tinystr.h:137
← previous
next →
201–300 of 8,799, ranked by callers