Minetest  5.4.0
test_filepath.cpp File Reference
#include "test.h"
#include <sstream>
#include "log.h"
#include "serialization.h"
#include "nodedef.h"
#include "noise.h"
+ Include dependency graph for test_filepath.cpp:

Classes

class  TestFilePath
 

Functions

std::string p (std::string path)
 

Variables

static TestFilePath g_test_instance
 

Function Documentation

◆ p()

std::string p ( std::string  path)

References DIR_DELIM.

Referenced by irr::core::ustring16< TAlloc >::_ustring16_const_iterator::_ustring16_const_iterator(), MapBlockMesh::MapBlockMesh(), Particle::Particle(), RollbackNode::RollbackNode(), TextDestNodeMetadata::TextDestNodeMetadata(), TextDrawer::TextDrawer(), ArrayGridNodeContainer::access(), MapGridNodeContainer::access(), ServerEnvironment::activateBlock(), ServerEnvironment::addActiveObjectRaw(), MeshUpdateQueue::addBlock(), Client::addNode(), Map::addNodeAndUpdate(), ParticleManager::addNodeParticle(), Map::addNodeWithEvent(), Server::addParticleSpawner(), VoxelArea::addPoint(), Client::addUpdateMeshTask(), Client::addUpdateMeshTaskForNode(), Client::addUpdateMeshTaskWithEdge(), analyze_block(), MeshCollector::append(), irr::core::ustring16< TAlloc >::append(), ABMHandler::apply(), Schematic::applyProbabilities(), MapgenV6::baseTerrainLevelFromMap(), MapgenV6::baseTerrainLevelFromNoise(), MMVManip::blitBackAll(), Schematic::blitToVManip(), ServerMap::blockpos_over_mapgen_limit(), blockpos_over_max_limit(), MeshUpdateQueue::cacheBlock(), Decoration::canPlaceDecoration(), CavesRandomWalk::carveRoute(), CavesV6::carveRoute(), check_v2f(), con::ConnectionReceiveThread::checkIncomingBuffers(), ServerEnvironment::clearObjects(), collisionMoveSimple(), ActiveBlockList::contains(), VoxelArea::contains(), content_nodemeta_deserialize_legacy(), NodeMetaRef::create(), NodeTimerRef::create(), ServerMap::createBlock(), ServerInventoryManager::createDetachedInventory(), InvRef::createNodeMeta(), createSpecialNodeMesh(), Client::CSMGetNode(), delete_alccontext(), delete_alcdevice(), PlayerDatabaseFiles::deSerialize(), NodeMetadataList::deSerialize(), NodeTimerList::deSerialize(), doubleToInt(), GUIInventoryList::draw(), TextDrawer::draw(), ProfilerGraph::draw(), drawItemStack(), Hud::drawStatbar(), Map::emergeBlock(), ServerMap::emergeBlock(), VoxelManipulator::exists(), MeshUpdateQueue::fillDataFromMapBlockCache(), fillRadiusBlock(), fillViewConeBlock(), MeshCollector::findBuffer(), Map::findNodesWithMetadata(), DungeonGen::findPlaceForDoor(), DungeonGen::findPlaceForRoomDoor(), floatToInt(), DecoSimple::generate(), DecoSchematic::generate(), LuaEntitySAO::generateSetSpriteCommand(), NodeTimerList::get(), NodeMetadataList::get(), MapgenV6::get_blockseed(), get_spatial_point(), RollbackManager::getActionsSince_range(), MapgenV6::getBiome(), Mapgen::getBlockSeed(), Mapgen::getBlockSeed2(), MeshUpdateQueue::getCachedBlock(), getContainerPos(), getContainerPosWithOffset(), irr::gui::CGUITTFont::getDimension(), irr::gui::CGUITTFont::getDimensionUntilEndOfLine(), TextDrawer::getElementAt(), con::ReliablePacketBuffer::getFirstSeqnum(), VoxelManipulator::getFlagsRefUnsafe(), EmergeManager::getGroundLevelAtPoint(), MapgenV6::getGroundLevelAtPoint(), MapgenV6::getHaveAppleTree(), MapgenV6::getHaveBeach(), MapgenV6::getHumidity(), GUIFormSpecMenu::getItemAtPos(), ScriptApiItem::getItemCallback(), GUIInventoryList::getItemIndexAtPos(), MinimapMapblock::getMinimapNodes(), MapgenV6::getMudAmount(), getNeighborConnectingFace(), MapNode::getNeighbors(), RemoteClient::GetNextBlocks(), VoxelManipulator::getNode(), Map::getNode(), MapBlock::getNode(), getNodeBlockPos(), getNodeBlockPosWithOffset(), getNodeBox(), Map::getNodeMetadata(), MapBlock::getNodeNoCheck(), VoxelManipulator::getNodeNoEx(), MapBlock::getNodeNoEx(), VoxelManipulator::getNodeNoExNoEmerge(), MapBlock::getNodeParent(), ParticleManager::getNodeParticleParams(), MapBlock::getNodeRef(), VoxelManipulator::getNodeRefUnsafe(), VoxelManipulator::getNodeRefUnsafeCheckFlags(), getNodeTile(), getNodeTileN(), MapBlock::getNodeTimer(), Map::getNodeTimer(), MapBlock::getNodeUnsafe(), SourceShaderCache::getOrLoad(), GUIScrollBar::getPosFromMousePos(), RollbackManager::getRowsSince_range(), Map::getSectorNoGenerate(), Map::getSectorNoGenerateNoLock(), getSmoothLightCombined(), getSmoothLightSolid(), getSmoothLightTransparent(), EmergeManager::getSpawnLevelAtPoint(), MapgenCarpathian::getSpawnLevelAtPoint(), MapgenFlat::getSpawnLevelAtPoint(), MapgenFractal::getSpawnLevelAtPoint(), MapgenV5::getSpawnLevelAtPoint(), MapgenV6::getSpawnLevelAtPoint(), MapgenV7::getSpawnLevelAtPoint(), MapgenValleys::getSpawnLevelAtPoint(), CavesV6::getSurfaceFromHeightmap(), RollbackManager::getSuspect(), getTileInfo(), MapgenV6::getTreeAmount(), getVisibleBrightness(), RemoteClient::GotBlock(), Client::handleCommand_AddNode(), Client::handleCommand_AddParticleSpawner(), Client::handleCommand_BlockData(), Server::handleCommand_DeletedBlocks(), Server::handleCommand_GotBlocks(), Server::handleCommand_NodeMetaFields(), Client::handleCommand_RemoveNode(), Client::handleCommand_SpawnParticle(), con::ConnectionReceiveThread::handlePacketType_Control(), ParticleManager::handleParticleEvent(), HASH_FINAL(), HASH_UPDATE(), VoxelArea::index(), ServerMap::initBlockMake(), MMVManip::initialEmerge(), EmergeManager::initMapgens(), con::ReliablePacketBuffer::insert(), con::IncomingSplitBuffer::insert(), SourceShaderCache::insert(), NodeTimerList::insert(), intToFloat(), RemoteClient::isBlockSent(), isInArea(), Map::isNodeUnderground(), CavesRandomWalk::isPosAboveSurface(), Map::isValidPosition(), MapBlock::isValidPosition(), MapBlock::isValidPositionParent(), ModApiParticles::l_add_particle(), ModApiParticlesLocal::l_add_particle(), ModApiParticles::l_add_particlespawner(), ModApiParticlesLocal::l_add_particlespawner(), LuaPerlinNoiseMap::l_calc_2d_map(), LuaPerlinNoiseMap::l_calc_3d_map(), ModApiEnvMod::l_find_node_near(), ModApiEnvMod::l_find_nodes_in_area(), ModApiEnvMod::l_find_nodes_in_area_under_air(), LuaPerlinNoise::l_get_2d(), LuaPerlinNoiseMap::l_get_2d_map(), LuaPerlinNoiseMap::l_get_2d_map_flat(), LuaPerlinNoise::l_get_3d(), LuaPerlinNoiseMap::l_get_3d_map(), LuaPerlinNoiseMap::l_get_3d_map_flat(), ModApiClient::l_get_meta(), ModApiEnvMod::l_get_meta(), ModApiEnvMod::l_get_node_timer(), ModApiEnvMod::l_line_of_sight(), ModApiMapgen::l_place_schematic(), ModApiMapgen::l_place_schematic_on_vmanip(), Mapgen::lightSpread(), Environment::line_of_sight(), ServerMap::listAllLoadedBlocks(), luaL_checkudata_is_metadataref(), treegen::make_jungletree(), treegen::make_pine_tree(), treegen::make_tree(), DungeonGen::makeCorridor(), DungeonGen::makeDungeon(), makeFastFace(), DungeonGen::makeFill(), con::makePacket(), DungeonGen::makeRoom(), MapBlockMesh::moveMinimapMapblock(), PlayerSAO::noCheatDigStart(), ScriptApiNode::node_after_destruct(), ScriptApiNode::node_on_construct(), ScriptApiNode::node_on_destruct(), ScriptApiNode::node_on_dig(), ScriptApiNode::node_on_flood(), ScriptApiNode::node_on_punch(), ScriptApiNode::node_on_receive_fields(), ScriptApiNode::node_on_timer(), Game::nodePlacement(), objectpos_over_limit(), LocalPlayer::old_move(), ScriptApiClient::on_dignode(), ScriptApiClient::on_punchnode(), GUIScrollBar::OnEvent(), GUITable::OnEvent(), GUIEditBox::onKeyControlV(), OPENSSL_cleanse(), irr::core::ustring16< TAlloc >::_ustring16_const_iterator::operator*(), irr::core::ustring16< TAlloc >::_ustring16_iterator::operator*(), irr::core::ustring16< TAlloc >::operator=(), TextDrawer::place(), Schematic::placeOnMap(), Schematic::placeOnVManip(), MapgenV6::placeTreesAndJungleGrass(), con::ReliablePacketBuffer::popFirst(), con::ReliablePacketBuffer::popSeqnum(), GUIEditBox::processKey(), GenericCAO::processMessage(), con::UDPPeer::processReliableSendCommand(), push_v2_float_string(), push_v2f(), push_v2s16(), push_v2s32(), push_v3_float_string(), push_v3f(), push_v3s16(), pushFloatPos(), con::ConnectionSendThread::rawSendAsPacket(), read_server_sound_params(), read_v2f(), read_v2s16(), read_v2s32(), readARGB8(), readV2F32(), readV2S16(), readV2S32(), readV3F1000(), readV3F32(), readV3S16(), readV3S32(), server::ActiveObjectMgr::registerObject(), NodeMetadataList::remove(), NodeTimerList::remove(), ModChannel::removeConsumer(), Client::removeNode(), ServerEnvironment::removeNode(), Map::removeNodeAndUpdate(), Map::removeNodeMetadata(), MapBlock::removeNodeTimer(), Map::removeNodeTimer(), Map::removeNodeWithEvent(), removeStringEnd(), con::IncomingSplitBuffer::removeUnreliableTimedOuts(), RollbackManager::reportAction(), RemoteClient::ResendBlockIfOnWire(), Server::sendAddNode(), Server::SendAddParticleSpawner(), con::ConnectionSendThread::sendAsPacketReliable(), Client::sendNodemetaFields(), con::ConnectionSendThread::sendPackets(), Server::sendRemoveNode(), Server::SendSpawnParticle(), RemoteClient::SentBlock(), PlayerDatabaseFiles::serialize(), NodeMetadataList::serialize(), NodeTimerList::serialize(), NodeMetadataList::set(), RemoteClient::SetBlockNotSent(), RemoteClient::SetBlocksNotSent(), VoxelManipulator::setNode(), ServerEnvironment::setNode(), Map::setNode(), MapBlock::setNode(), Map::setNodeMetadata(), MapBlock::setNodeNoCheck(), VoxelManipulator::setNodeNoEmerge(), VoxelManipulator::setNodeNoRef(), Map::setNodeTimer(), MapNode::setParam1(), MapNode::setParam2(), LuaEntitySAO::setSprite(), BasicStrfnd< T >::skip_over(), Server::spawnParticle(), Mapgen::spreadLight(), ClientEnvironment::step(), ServerEnvironment::step(), PlayerSAO::step(), GenericCAO::step(), ServerEnvironment::swapNode(), TestServerActiveObjectMgr::testGetAddedActiveObjectsAroundPos(), TestServerActiveObjectMgr::testGetObjectsInsideRadius(), TestFilePath::testPathStartsWith(), TestProfiler::testProfilerAverage(), TestFilePath::testRemoveLastPathComponent(), TestFilePath::testRemoveLastPathComponentWithTrailingDelimiter(), TestFilePath::testRemoveRelativePathComponent(), Map::timerUpdate(), KeyList::toggle(), Map::transforming_liquid_add(), Map::transformLiquids(), LuaLBM::trigger(), LuaABM::trigger(), KeyList::unset(), ActiveBlockList::update(), voxalgo::update_lighting_nodes(), MeshUpdateThread::updateBlock(), updateFastFaceRow(), Particle::updateLight(), Game::updatePointedThing(), LocalPlayer::updateSneakNode(), Sky::updateStars(), writeARGB8(), writeV2F32(), writeV2S16(), writeV2S32(), writeV3F1000(), writeV3F32(), writeV3S16(), and writeV3S32().

Variable Documentation

◆ g_test_instance

TestFilePath g_test_instance
static