/dports/devel/sysfsutils/sysfsutils-2.1.0/lib/ |
H A D | sysfs_dir.c | 395 if (sysdir != NULL) { in sysfs_close_directory() 402 free(sysdir); in sysfs_close_directory() 403 sysdir = NULL; in sysfs_close_directory() 436 if (sysdir == NULL) { in sysfs_read_all_subdirs() 613 if (sysdir == NULL) { in sysfs_read_dir_attributes() 652 if (sysdir == NULL) { in sysfs_read_dir_links() 694 if (sysdir == NULL) { in sysfs_read_dir_subdirs() 734 if (sysdir == NULL) { in sysfs_read_directory() 793 sysdir->path); in sysfs_refresh_dir_attributes() 822 sysdir->path); in sysfs_refresh_dir_links() [all …]
|
/dports/net/cloud-init/cloud-init-21.4/cloudinit/net/tests/ |
H A D | test_init.py | 44 self.sysdir = self.tmp_dir() + '/' 45 self.m_sys_path.return_value = self.sysdir 93 "'{0}dev/attr".format(self.sysdir), 230 self.sysdir = self.tmp_dir() + '/' 231 self.m_sys_path.return_value = self.sysdir 342 self.sysdir = self.tmp_dir() + '/' 343 self.m_sys_path.return_value = self.sysdir 364 self.sysdir = self.tmp_dir() + '/' 404 self.sysdir = self.tmp_dir() + '/' 528 self.sysdir = self.tmp_dir() + '/' [all …]
|
/dports/editors/fpc-ide/fpc-3.2.2/compiler/utils/ |
H A D | samplecfg | 21 sysdir="$2" 22 [ -d "$sysdir" ] || mkdir "$sysdir" 24 sysdir=/etc 41 if [ -w "$sysdir" ] ; then 42 echo Write permission in $sysdir. 43 fpccfgfile="$sysdir"/fpc.cfg 44 fppkgfile="$sysdir"/fppkg.cfg 45 defaultfile="$sysdir"/fppkg/default 46 compilerconfigdir="-d CompilerConfigDir=$sysdir/fppkg" 47 fppkgconfdir=$sysdir/fppkg/conf.d [all …]
|
/dports/lang/fpc/fpc-3.2.2/compiler/utils/ |
H A D | samplecfg | 21 sysdir="$2" 22 [ -d "$sysdir" ] || mkdir "$sysdir" 24 sysdir=/etc 41 if [ -w "$sysdir" ] ; then 42 echo Write permission in $sysdir. 43 fpccfgfile="$sysdir"/fpc.cfg.sample 44 fppkgfile="$sysdir"/fppkg.cfg.sample 45 defaultfile="$sysdir"/fppkg/default 46 compilerconfigdir="-d CompilerConfigDir=$sysdir/fppkg" 47 fppkgconfdir=$sysdir/fppkg/conf.d [all …]
|
/dports/lang/fpc-source/fpc-3.2.2/compiler/utils/ |
H A D | samplecfg | 21 sysdir="$2" 22 [ -d "$sysdir" ] || mkdir "$sysdir" 24 sysdir=/etc 41 if [ -w "$sysdir" ] ; then 42 echo Write permission in $sysdir. 43 fpccfgfile="$sysdir"/fpc.cfg.sample 44 fppkgfile="$sysdir"/fppkg.cfg.sample 45 defaultfile="$sysdir"/fppkg/default 46 compilerconfigdir="-d CompilerConfigDir=$sysdir/fppkg" 47 fppkgconfdir=$sysdir/fppkg/conf.d [all …]
|
/dports/devel/hpx/hpx-1.2.1/src/components/process/util/windows/ |
H A D | shell_path.cpp | 23 TCHAR sysdir[MAX_PATH]; in shell_path() local 24 UINT size = ::GetSystemDirectory(sysdir, sizeof(sysdir)); in shell_path() 31 boost::filesystem::path p = sysdir; in shell_path() 37 TCHAR sysdir[MAX_PATH]; in shell_path() local 38 UINT size = ::GetSystemDirectory(sysdir, sizeof(sysdir)); in shell_path() 49 p = sysdir; in shell_path()
|
/dports/devel/boost-docs/boost_1_72_0/boost/process/detail/windows/ |
H A D | shell_path.hpp | 23 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 24 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 28 boost::filesystem::path p = sysdir; in shell_path() 35 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 36 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 45 p = sysdir; in shell_path()
|
/dports/devel/R-cran-BH/BH/inst/include/boost/process/detail/windows/ |
H A D | shell_path.hpp | 23 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 24 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 28 boost::filesystem::path p = sysdir; in shell_path() 35 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 36 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 45 p = sysdir; in shell_path()
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/boost/process/detail/windows/ |
H A D | shell_path.hpp | 23 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 24 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 28 boost::filesystem::path p = sysdir; in shell_path() 35 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 36 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 45 p = sysdir; in shell_path()
|
/dports/science/py-scipy/scipy-1.7.1/scipy/_lib/boost/boost/process/detail/windows/ |
H A D | shell_path.hpp | 23 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 24 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 28 boost::filesystem::path p = sysdir; in shell_path() 35 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 36 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 45 p = sysdir; in shell_path()
|
/dports/devel/boost-libs/boost_1_72_0/boost/process/detail/windows/ |
H A D | shell_path.hpp | 23 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 24 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 28 boost::filesystem::path p = sysdir; in shell_path() 35 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 36 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 45 p = sysdir; in shell_path()
|
/dports/devel/boost-python-libs/boost_1_72_0/boost/process/detail/windows/ |
H A D | shell_path.hpp | 23 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 24 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 28 boost::filesystem::path p = sysdir; in shell_path() 35 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 36 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 45 p = sysdir; in shell_path()
|
/dports/math/py-pystan/pystan-2.19.0.0/pystan/stan/lib/stan_math/lib/boost_1.69.0/boost/process/detail/windows/ |
H A D | shell_path.hpp | 23 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 24 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 28 boost::filesystem::path p = sysdir; in shell_path() 35 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 36 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 45 p = sysdir; in shell_path()
|
/dports/devel/hyperscan/boost_1_75_0/boost/process/detail/windows/ |
H A D | shell_path.hpp | 23 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 24 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 28 boost::filesystem::path p = sysdir; in shell_path() 35 ::boost::winapi::WCHAR_ sysdir[260]; in shell_path() 36 unsigned int size = ::boost::winapi::get_system_directory(sysdir, sizeof(sysdir)); in shell_path() 45 p = sysdir; in shell_path()
|
/dports/science/siconos/siconos-4.4.0/numerics/src/LCP/ |
H A D | lcp_gams.c | 56 char sysdir[GMS_SSSIZE], model[GMS_SSSIZE], msg[GMS_SSSIZE]; in lcp_gams() 60 …SN_Gams_set_dirs((SN_GAMSparams*)options->solverParameters, defModel, defGAMSdir, model, sysdir, "… in lcp_gams() 63 if(! gamsxCreateD(&Gptr, sysdir, msg, sizeof(msg))) in lcp_gams() 69 if(! idxCreateD(&Xptr, sysdir, msg, sizeof(msg))) in lcp_gams() 75 if(! optCreateD(&solverOptPtr, sysdir, msg, sizeof(msg))) in lcp_gams() 81 if(! optCreateD(&Optr, sysdir, msg, sizeof(msg))) in lcp_gams() 105 getGamsOpt(Optr, sysdir); in lcp_gams() 110 getGamsSolverOpt(solverOptPtr, sysdir, "path"); in lcp_gams() 135 if((status=CallGams(Gptr, Optr, sysdir, model))) in lcp_gams()
|
/dports/devel/hwloc/hwloc-1.11.13/include/hwloc/ |
H A D | intel-mic.h | 66 DIR *sysdir = NULL; in hwloc_intel_mic_get_device_cpuset() local 77 sysdir = opendir(path); in hwloc_intel_mic_get_device_cpuset() 78 if (!sysdir) in hwloc_intel_mic_get_device_cpuset() 81 while ((dirent = readdir(sysdir)) != NULL) { in hwloc_intel_mic_get_device_cpuset() 86 closedir(sysdir); in hwloc_intel_mic_get_device_cpuset() 99 closedir(sysdir); in hwloc_intel_mic_get_device_cpuset()
|
/dports/net/openmpi3/openmpi-3.1.6/opal/mca/hwloc/hwloc1117/hwloc/include/hwloc/ |
H A D | intel-mic.h | 66 DIR *sysdir = NULL; in hwloc_intel_mic_get_device_cpuset() local 77 sysdir = opendir(path); in hwloc_intel_mic_get_device_cpuset() 78 if (!sysdir) in hwloc_intel_mic_get_device_cpuset() 81 while ((dirent = readdir(sysdir)) != NULL) { in hwloc_intel_mic_get_device_cpuset() 86 closedir(sysdir); in hwloc_intel_mic_get_device_cpuset() 99 closedir(sysdir); in hwloc_intel_mic_get_device_cpuset()
|
/dports/net/openmpi/openmpi-4.1.1/opal/mca/hwloc/hwloc201/hwloc/include/hwloc/ |
H A D | intel-mic.h | 66 DIR *sysdir = NULL; in hwloc_intel_mic_get_device_cpuset() local 76 sysdir = opendir(path); in hwloc_intel_mic_get_device_cpuset() 77 if (!sysdir) in hwloc_intel_mic_get_device_cpuset() 80 while ((dirent = readdir(sysdir)) != NULL) { in hwloc_intel_mic_get_device_cpuset() 90 closedir(sysdir); in hwloc_intel_mic_get_device_cpuset()
|
/dports/multimedia/py-gstreamer1/gst-python-1.16.3/plugin/ |
H A D | gstpythonplugin.c | 157 gchar *sysdir = g_build_filename (list[i], "python", NULL); in gst_python_plugin_load() local 158 PyList_Insert (sys_path, 0, PyUnicode_FromString (sysdir)); in gst_python_plugin_load() 159 gst_python_load_directory (plugin, sysdir); in gst_python_plugin_load() 160 g_free (sysdir); in gst_python_plugin_load() 193 gchar *sysdir; in gst_python_plugin_load() local 195 sysdir = g_build_filename (list[i], "python", NULL); in gst_python_plugin_load() 197 PyList_Insert (sys_path, 0, PyUnicode_FromString (sysdir)); in gst_python_plugin_load() 198 gst_python_load_directory (plugin, sysdir); in gst_python_plugin_load() 199 g_free (sysdir); in gst_python_plugin_load()
|
/dports/games/heroes/heroes-0.21/src/ |
H A D | persona.c | 104 char *sysdir; in sys_persona_if_needed() local 116 sysdir = get_non_null_rsc_file_secure ("sys-dir", &sec); in sys_persona_if_needed() 123 syslen = strlen (sysdir); in sys_persona_if_needed() 124 if (strncmp (file, sysdir, syslen) == 0) in sys_persona_if_needed() 128 free (sysdir); in sys_persona_if_needed()
|
/dports/devel/libgit2/libgit2-1.3.0/tests/attr/ |
H A D | repo.c | 314 git_buf sysdir = GIT_BUF_INIT; in test_attr_repo__sysdir() local 319 cl_git_pass(git_buf_joinpath(&sysdir, clar_sandbox_path(), "system")); in test_attr_repo__sysdir() 320 cl_git_pass(git_sysdir_set(GIT_SYSDIR_SYSTEM, sysdir.ptr)); in test_attr_repo__sysdir() 328 git_buf_dispose(&sysdir); in test_attr_repo__sysdir() 334 git_buf sysdir = GIT_BUF_INIT; in test_attr_repo__sysdir_with_session() local 339 cl_git_pass(git_buf_joinpath(&sysdir, clar_sandbox_path(), "system")); in test_attr_repo__sysdir_with_session() 340 cl_git_pass(git_sysdir_set(GIT_SYSDIR_SYSTEM, sysdir.ptr)); in test_attr_repo__sysdir_with_session() 351 git_buf_dispose(&sysdir); in test_attr_repo__sysdir_with_session() 374 git_buf sysdir = GIT_BUF_INIT; in test_attr_repo__rewrite_sysdir() local 379 cl_git_pass(git_sysdir_set(GIT_SYSDIR_SYSTEM, sysdir.ptr)); in test_attr_repo__rewrite_sysdir() [all …]
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/module_utils/facts/hardware/ |
H A D | linux.py | 589 def get_holders(self, block_dev_dict, sysdir): argument 591 if os.path.isdir(sysdir + "/holders"): 592 for folder in os.listdir(sysdir + "/holders"): 645 sysdir = os.path.join("/sys/block", path) 647 for folder in os.listdir(sysdir): 656 diskname = os.path.basename(sysdir) 673 d[key] = get_file_content(sysdir + test) 679 for folder in os.listdir(sysdir): 684 part_sysdir = sysdir + "/" + partname 710 d['sectors'] = get_file_content(sysdir + "/size") [all …]
|
/dports/editors/impress/impress-1.1b9/pstoedit_3.21/src/ |
H A D | callgs.cpp | 157 char sysdir[2000]; in whichPI() local 158 sysdir[0] = '\0'; in whichPI() 159 UINT ret = GetWindowsDirectory( sysdir,2000); in whichPI() 160 if (ret) errstream << sysdir << '\\'; in whichPI() 317 char sysdir[2000]; in defaultPIoptions() local 318 sysdir[0] = '\0'; in defaultPIoptions() 319 UINT ret = GetWindowsDirectory( sysdir,2000); in defaultPIoptions() 320 if (ret) errstream << sysdir << '\\'; in defaultPIoptions()
|
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/module_utils/facts/hardware/ |
H A D | linux.py | 630 def get_holders(self, block_dev_dict, sysdir): argument 632 if os.path.isdir(sysdir + "/holders"): 633 for folder in os.listdir(sysdir + "/holders"): 686 sysdir = os.path.join("/sys/block", path) 688 for folder in os.listdir(sysdir): 697 diskname = os.path.basename(sysdir) 714 d[key] = get_file_content(sysdir + test) 720 for folder in os.listdir(sysdir): 725 part_sysdir = sysdir + "/" + partname 751 d['sectors'] = get_file_content(sysdir + "/size") [all …]
|
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/module_utils/facts/hardware/ |
H A D | linux.py | 630 def get_holders(self, block_dev_dict, sysdir): argument 632 if os.path.isdir(sysdir + "/holders"): 633 for folder in os.listdir(sysdir + "/holders"): 686 sysdir = os.path.join("/sys/block", path) 688 for folder in os.listdir(sysdir): 697 diskname = os.path.basename(sysdir) 721 d[key] = get_file_content(sysdir + test) 727 for folder in os.listdir(sysdir): 732 part_sysdir = sysdir + "/" + partname 758 d['sectors'] = get_file_content(sysdir + "/size") [all …]
|