/dports/devel/ros-catkin/catkin-0.8.9/test/unit_tests/ |
H A D | test_init_workspace.py | 18 root_dir = tempfile.mkdtemp() 19 os.makedirs(join(root_dir, 'subdir')) 20 os.makedirs(join(root_dir, 'subdir2')) 25 join(root_dir, 'foolink')) 42 shutil.rmtree(root_dir) 46 root_dir = tempfile.mkdtemp() 47 os.makedirs(join(root_dir, 'ws1')) 55 os.makedirs(join(root_dir, 'ws2')) 59 init_workspace(join(root_dir, 'ws1')) 60 init_workspace(join(root_dir, 'ws2')) [all …]
|
H A D | test_find_in_workspace.py | 80 def create_mock_workspace(root_dir, ws): argument 81 ws1 = os.path.join(root_dir, ws) 96 root_dir = tempfile.mkdtemp() 103 create_mock_workspace(root_dir, 'ws1') 104 create_mock_workspace(root_dir, 'ws2') 121 …n_workspaces(None, None, None, _workspaces=[os.path.join(root_dir, 'ws1'), os.path.join(root_dir, … 123 os.path.join(root_dir, 'ws1', 'include'), 124 os.path.join(root_dir, 'ws1', 'share'), 125 os.path.join(root_dir, 'ws2', 'include'), 129 os.path.join(root_dir, 'ws1', 'include'), [all …]
|
/dports/textproc/py-license-expression/license-expression-0.99/etc/ |
H A D | configure.py | 108 def call(cmd, root_dir, quiet=True): argument 120 def find_pycache(root_dir): argument 134 def clean(root_dir): argument 212 call(vcmd, root_dir, quiet) 215 def activate(root_dir): argument 246 call(pcmd, root_dir, quiet) 258 call(cmd, root_dir, quiet) 267 call(cmd, root_dir, quiet) 343 clean(root_dir) 346 sys.path.insert(0, root_dir) [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/filesystem/test/ |
H A D | copy_test.cpp | 64 fs::path root_dir = fs::unique_path(); in create_tree() local 66 fs::create_directory(root_dir); in create_tree() 67 create_file(root_dir / "f1", "f1"); in create_tree() 68 create_file(root_dir / "f2", "f2"); in create_tree() 70 fs::create_directory(root_dir / "d1"); in create_tree() 78 fs::create_directory(root_dir / "d2"); in create_tree() 81 return root_dir; in create_tree() 112 fs::copy(root_dir / "f1", target_dir); in test_copy_file_default() 133 fs::copy(root_dir, target_dir); in test_copy_dir_default() 163 fs::copy(root_dir, target_dir, ec); in test_copy_dir_default_ec() [all …]
|
/dports/misc/mnn/MNN-1.2.0/pymnn/pip_package/ |
H A D | setup.py | 122 engine_library_dirs = [os.path.join(root_dir, BUILD_DIR)] 131 engine_include_dirs = [os.path.join(root_dir, "include")] 132 engine_include_dirs += [os.path.join(root_dir, "express")] 134 engine_include_dirs += [os.path.join(root_dir, "source")] 135 engine_include_dirs += [os.path.join(root_dir, "tools")] 156 tools_library_dirs = [os.path.join(root_dir, BUILD_DIR)] 180 tools_include_dirs += [os.path.join(root_dir, "include")] 181 tools_include_dirs += [os.path.join(root_dir, "tools")] 183 tools_include_dirs += [os.path.join(root_dir, "3rd_party",\ 185 tools_include_dirs += [os.path.join(root_dir, "3rd_party")] [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/media/libyuv/libyuv/ |
H A D | DEPS | 4 'root_dir': 'libyuv', 19 Var('root_dir') + '/build': 21 Var('root_dir') + '/buildtools': 23 Var('root_dir') + '/testing': 25 Var('root_dir') + '/testing/gtest': 29 Var('root_dir') + '/third_party': 39 Var('root_dir') + '/tools': 41 Var('root_dir') + '/tools/gyp': 57 Var('root_dir') + '/base': 79 Var('root_dir') + '/ios': [all …]
|
/dports/databases/py-litecli/litecli-1.6.0/litecli/packages/ |
H A D | filepaths.py | 9 def list_path(root_dir): argument 17 if os.path.isdir(root_dir): 18 for name in os.listdir(root_dir): 40 def parse_path(root_dir): argument 50 if root_dir: 56 def suggest_path(root_dir): argument 66 if not root_dir: 69 if "~" in root_dir: 70 root_dir = text_type(os.path.expanduser(root_dir)) 73 root_dir, _ = os.path.split(root_dir) [all …]
|
/dports/misc/mnn/MNN-1.2.0/tools/script/ |
H A D | modelTestForAndroid.py | 6 root_dir = model_root_dir + '/TestResource' variable 7 print('root: ', root_dir) 25 for name in os.listdir(root_dir): 28 modelName = os.path.join(root_dir, name, 'temp.bin') 29 inputName = os.path.join(root_dir, name, 'input_0.txt') 41 root_dir = model_root_dir + '/OpTestResource' variable 42 print('root: ', root_dir) 44 for name in os.listdir(root_dir): 47 modelName = os.path.join(root_dir, name, 'temp.bin') 62 print('Model Root Path: ' + root_dir + '\n') [all …]
|
H A D | modelTest.py | 27 root_dir = os.path.join(model_root_dir, 'TestResource') variable 28 print('root: ' + root_dir + '\n') 39 for name in os.listdir(root_dir): 42 modelName = os.path.join(root_dir, name, 'temp.bin') 64 root_dir = os.path.join(model_root_dir, 'OpTestResource') variable 65 print('Model Root Path For OpTest: ' + root_dir + '\n') 67 for name in os.listdir(root_dir): 70 modelName = os.path.join(root_dir, name, 'temp.bin') 93 print('Model Root Path: ' + root_dir + '\n') 95 for name in os.listdir(root_dir): [all …]
|
/dports/databases/py-mycli/mycli-1.23.2/mycli/packages/ |
H A D | filepaths.py | 14 def list_path(root_dir): argument 22 if os.path.isdir(root_dir): 45 def parse_path(root_dir): argument 55 if root_dir: 61 def suggest_path(root_dir): argument 71 if not root_dir: 74 if '~' in root_dir: 75 root_dir = os.path.expanduser(root_dir) 77 if not os.path.exists(root_dir): 78 root_dir, _ = os.path.split(root_dir) [all …]
|
/dports/deskutils/taskd/taskd-1.1.0/src/ |
H A D | admin.cpp | 47 Directory root_dir (root); in command_add() local 48 if (!root_dir.exists ()) in command_add() 63 if (taskd_is_org (root_dir, args[i])) in command_add() 83 if (! taskd_is_org (root_dir, args[2])) in command_add() 108 if (! taskd_is_org (root_dir, args[2])) in command_add() 143 Directory root_dir (root); in command_remove() local 144 if (!root_dir.exists ()) in command_remove() 239 Directory root_dir (root); in command_suspend() local 240 if (!root_dir.exists ()) in command_suspend() 335 Directory root_dir (root); in command_resume() local [all …]
|
/dports/devel/py-jupyter-server/jupyter_server-1.12.1/jupyter_server/tests/ |
H A D | test_serverapp.py | 60 app.root_dir = invalid_root_dir 74 root_dir = valid_root_dir 77 if root_dir != "/": 79 assert app.root_dir == root_dir 153 if root_dir: 154 root_dir = prefix_path(root_dir) 155 if root_dir.is_absolute(): 256 assert app.root_dir == path 266 assert app.root_dir == path 329 app.root_dir = new_path [all …]
|
/dports/devel/ros-catkin_pkg/catkin_pkg-0.4.14/test/ |
H A D | test_workspaces.py | 18 root_dir = tempfile.mkdtemp() 20 ensure_workspace_marker(root_dir) 23 ensure_workspace_marker(root_dir) 25 shutil.rmtree(root_dir) 29 root_dir = tempfile.mkdtemp() 31 self.assertEqual([], get_spaces([root_dir])) 34 self.assertEqual([root_dir], get_spaces([root_dir])) 36 shutil.rmtree(root_dir) 46 root_dir = tempfile.mkdtemp() 48 foo = os.path.join(root_dir, 'foo') [all …]
|
/dports/science/gnudatalanguage/gdl-1.0.1/src/pro/ |
H A D | filepath.pro | 65 function filepath, filename, root_dir=root_dir, subdirectory=subdirectory, terminal=terminal, tmp=t… 76 root_dir = getenv('IDL_TMPDIR') 77 if (root_dir eq '') then begin 79 root_dir = getenv('TMP') 80 if (root_dir eq '') then root_dir = getenv('TEMP') 81 if (root_dir eq '') then root_dir = getenv('WINDIR') 82 if (root_dir eq '') then root_dir = '\TMP' 84 root_dir = '/tmp' 87 path = root_dir 89 if n_elements(root_dir) eq 0 then root_dir = !dir [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/feed/tools/ |
H A D | protoc_util.py | 27 def get_protoc_common_args(root_dir, proto_path): argument 30 '-I' + os.path.join(root_dir, 'third_party/feed_library/src'), 31 '-I' + os.path.join(root_dir) 33 for root, _, files in os.walk(os.path.join(root_dir, proto_path)): 39 def encode_proto(text, message_name, root_dir, proto_path): argument 42 + get_protoc_common_args(root_dir, proto_path), 46 def decode_proto(data, message_name, root_dir, proto_path): argument 48 return run_command([protoc_path(root_dir), '--decode=' + message_name 49 ] + get_protoc_common_args(root_dir, proto_path), 53 def protoc_path(root_dir): argument [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/feed/tools/ |
H A D | protoc_util.py | 27 def get_protoc_common_args(root_dir, proto_path): argument 30 '-I' + os.path.join(root_dir, 'third_party/feed_library/src'), 31 '-I' + os.path.join(root_dir) 33 for root, _, files in os.walk(os.path.join(root_dir, proto_path)): 39 def encode_proto(text, message_name, root_dir, proto_path): argument 42 + get_protoc_common_args(root_dir, proto_path), 46 def decode_proto(data, message_name, root_dir, proto_path): argument 48 return run_command([protoc_path(root_dir), '--decode=' + message_name 49 ] + get_protoc_common_args(root_dir, proto_path), 53 def protoc_path(root_dir): argument [all …]
|
/dports/biology/samtools/samtools-1.14/misc/ |
H A D | seq_cache_populate.pl | 42 my $root_dir; 57 GetOptions("root=s" => \$root_dir, "subdirs=s" => \$subdirs, 60 unless ($root_dir && $subdirs =~ /^\d+$/) { die $usage; } 71 unless (-e $root_dir) { 72 make_path($root_dir); 106 my ($name, $root_dir, $dest_re, $max_acc) = @_; 132 my ($name, $in_fh, $root_dir, $dest_re, $max_acc) = @_; 174 $root_dir, $dest_re); 207 $root_dir, $dest_re); 226 ? catdir($root_dir, @segs[0..($#segs - 1)]) [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/buildscripts/ |
H A D | mount_drives.sh | 65 local root_dir=$1 102 rm -rf /$root_dir 104 mkdir $drive:\\$root_dir 105 cmd.exe /c mklink /J $system_drive:\\$root_dir $drive:\\$root_dir 106 ln -s /cygdrive/$drive/$root_dir /$root_dir 156 mkdir /$root_dir || true 157 chmod 777 /$root_dir 158 mount -t $fs_type $device_name /$root_dir 161 mkdir -p /$root_dir/$sub_dir 162 chmod 1777 /$root_dir/$sub_dir [all …]
|
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bbas/bpgl/icam/tests/ |
H A D | test_minimizer.cxx | 59 std::string root_dir = testlib_root_dir(); in test_minimizer() 64 images[0] = root_dir + "/contrib/gel/mrc/vpgl/tests/images/calibration/expected142.tiff"; in test_minimizer() 65 depth_images[0] = root_dir + "/contrib/gel/mrc/vpgl/tests/images/calibration/depth_142.tif"; in test_minimizer() 66 camera_f.push_back(root_dir + "/contrib/gel/mrc/vpgl/tests/images/calibration/camera_00142.txt"); in test_minimizer() 69 images[1] = root_dir + "/contrib/gel/mrc/vpgl/tests/images/calibration/frame_142.png"; in test_minimizer() 70 depth_images[1] = root_dir + "/contrib/gel/mrc/vpgl/tests/images/calibration/depth_142.tif"; in test_minimizer() 71 camera_f.push_back(root_dir + "/contrib/gel/mrc/vpgl/tests/images/calibration/camera_00142.txt"); in test_minimizer() 74 images[2] = root_dir + "/contrib/gel/mrc/vpgl/tests/images/calibration/expected142.tiff"; in test_minimizer() 75 depth_images[2] = root_dir + "/contrib/gel/mrc/vpgl/tests/images/calibration/depth_142.tif"; in test_minimizer() 79 images[3] = root_dir + "/contrib/gel/mrc/vpgl/tests/images/calibration/frame_142.png"; in test_minimizer() [all …]
|
/dports/archivers/opkg-openwrt/opkg-b07cde3/libopkg/ |
H A D | pkg_dest.c | 28 int pkg_dest_init(pkg_dest_t * dest, const char *name, const char *root_dir, in pkg_dest_init() argument 34 if (root_dir[strlen(root_dir) - 1] == '/') { in pkg_dest_init() 35 dest->root_dir = xstrdup(root_dir); in pkg_dest_init() 37 sprintf_alloc(&dest->root_dir, "%s/", root_dir); in pkg_dest_init() 39 file_mkdir_hier(dest->root_dir, 0755); in pkg_dest_init() 42 dest->root_dir, OPKG_STATE_DIR_PREFIX); in pkg_dest_init() 67 free(dest->root_dir); in pkg_dest_deinit() 68 dest->root_dir = NULL; in pkg_dest_deinit() 82 dest->root_dir = NULL; in pkg_dest_deinit()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/feed/core/v2/tools/ |
H A D | protoc_util.py | 26 def get_protoc_common_args(root_dir, proto_path): argument 29 '-I' + os.path.join(root_dir) 31 for root, _, files in os.walk(os.path.join(root_dir, proto_path)): 37 def encode_proto(text, message_name, root_dir, proto_path): argument 39 return run_command([protoc_path(root_dir), '--encode=' + message_name] 40 + get_protoc_common_args(root_dir, proto_path), 44 def decode_proto(data, message_name, root_dir, proto_path): argument 46 return run_command([protoc_path(root_dir), '--decode=' + message_name 47 ] + get_protoc_common_args(root_dir, proto_path), 51 def protoc_path(root_dir): argument [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/feed/core/v2/tools/ |
H A D | protoc_util.py | 27 def get_protoc_common_args(root_dir, proto_path): argument 29 result = ['-I' + os.path.join(root_dir)] 30 full_path = os.path.join(root_dir, proto_path) 41 def encode_proto(text, message_name, root_dir, proto_path): argument 47 return run_command([protoc_path(root_dir), '--encode=' + message_name 48 ] + get_protoc_common_args(root_dir, proto_path), 52 def decode_proto(data, message_name, root_dir, proto_path): argument 55 return run_command([protoc_path(root_dir), '--decode=' + message_name 56 ] + get_protoc_common_args(root_dir, proto_path), 60 def protoc_path(root_dir): argument [all …]
|
/dports/www/firefox/firefox-99.0/build/unix/build-gcc/ |
H A D | build-gcc.sh | 10 pushd $root_dir/$1 13 pushd $root_dir/gcc-source 34 mkdir $root_dir/binutils-objdir 35 pushd $root_dir/binutils-objdir 38 make install $make_flags DESTDIR=$root_dir 39 export PATH=$root_dir/${prefix-/tools/gcc}/bin:$PATH 48 mkdir $root_dir/gcc-objdir 49 pushd $root_dir/gcc-objdir 57 make $make_flags install DESTDIR=$root_dir 59 cd $root_dir/tools [all …]
|
/dports/devel/gconf2/GConf-3.2.6/backends/ |
H A D | xml-backend.c | 122 gchar* root_dir; member 280 char *root_dir; in get_dir_from_address() local 285 if (root_dir == NULL) in get_dir_from_address() 299 return root_dir; in get_dir_from_address() 316 gchar* root_dir; in resolve_address() local 328 if (root_dir == NULL) in resolve_address() 445 g_free(root_dir); in resolve_address() 461 g_free(root_dir); in resolve_address() 750 char *root_dir; in blow_away_locks() local 796 g_free (root_dir); in blow_away_locks() [all …]
|
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/scripts/ |
H A D | style-checker.sh | 26 root_dir="$2" 31 if [ "$root_dir" == "" ]; then 32 root_dir="$(pwd)" 38 …astyle --options="$root_dir/.astylerc" --exclude="$exclude_dir" --dry-run "$root_dir/*.h" "$root_d… 52 …astyle --options="$root_dir/.astylerc" --exclude="$exclude_dir" "$root_dir/*.h" "$root_dir/*.c" | …
|