jaulib v1.3.6
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
os_support.cpp File Reference
#include <cstring>
#include <ctime>
#include <jau/cpuid.hpp>
#include <jau/string_util.hpp>
#include <jau/debug.hpp>
#include <jau/file_util.hpp>
#include <jau/os/dyn_linker.hpp>
#include <jau/os/os_support.hpp>
#include <jau/os/user_info.hpp>
#include <sys/utsname.h>
Include dependency graph for os_support.cpp:

Go to the source code of this file.

Macros

#define CASE_TO_STRING(U, V)
 

Functions

static void DynamicLinker_addAbsPaths (const std::string &cause, const std::string &abs_path, const std::vector< std::string > &baseNames, std::vector< std::string > &paths) noexcept
 
static void DynamicLinker_addBasenames (const std::string &cause, const std::vector< std::string > &baseNames, std::vector< std::string > &paths) noexcept
 
static void DynamicLinker_addSysPaths (const std::string &cause, const std::vector< std::string > &baseNames, std::vector< std::string > &paths) noexcept
 
static std::vector< std::string > DynamicLinker_buildNames (const std::string &libName) noexcept
 
static std::pair< std::string, bool > DynamicLinker_processCanonicalNameImpl (bool strip, const std::string &filename, const bool isBasename, const bool caseInsensitive=jau::os::is_windows()) noexcept
 

Macro Definition Documentation

◆ CASE_TO_STRING

#define CASE_TO_STRING ( U,
V )
Value:
case U::V: return #V;

Definition at line 44 of file os_support.cpp.

Function Documentation

◆ DynamicLinker_processCanonicalNameImpl()

static std::pair< std::string, bool > DynamicLinker_processCanonicalNameImpl ( bool strip,
const std::string & filename,
const bool isBasename,
const bool caseInsensitive = jau::os::is_windows() )
staticnoexcept

Definition at line 188 of file os_support.cpp.

Here is the caller graph for this function:

◆ DynamicLinker_buildNames()

static std::vector< std::string > DynamicLinker_buildNames ( const std::string & libName)
staticnoexcept

Definition at line 229 of file os_support.cpp.

Here is the caller graph for this function:

◆ DynamicLinker_addBasenames()

static void DynamicLinker_addBasenames ( const std::string & cause,
const std::vector< std::string > & baseNames,
std::vector< std::string > & paths )
staticnoexcept

Definition at line 247 of file os_support.cpp.

Here is the caller graph for this function:

◆ DynamicLinker_addAbsPaths()

static void DynamicLinker_addAbsPaths ( const std::string & cause,
const std::string & abs_path,
const std::vector< std::string > & baseNames,
std::vector< std::string > & paths )
staticnoexcept

Definition at line 253 of file os_support.cpp.

Here is the caller graph for this function:

◆ DynamicLinker_addSysPaths()

static void DynamicLinker_addSysPaths ( const std::string & cause,
const std::vector< std::string > & baseNames,
std::vector< std::string > & paths )
staticnoexcept

Definition at line 260 of file os_support.cpp.

Here is the caller graph for this function: