/dports/devel/py-jupyter-server/jupyter_server-1.12.1/jupyter_server/services/contents/ |
H A D | filemanager.py | 92 self.post_save_hook(os_path=os_path, model=model, contents_manager=self) 214 return exists(os_path) 219 info = os.lstat(os_path) 404 if os.path.isdir(os_path): 426 os.mkdir(os_path) 478 self.run_post_save_hook(model=model, os_path=os_path) 490 def _check_trash(os_path): argument 526 os_path, 539 rm(os_path) 802 self.run_post_save_hook(model=model, os_path=os_path) [all …]
|
H A D | fileio.py | 200 with self.perm_to_403(os_path): 209 with self.perm_to_403(os_path): 218 def perm_to_403(self, os_path=""): argument 227 if not os_path: 259 os_path = to_os_path(path, root) 262 return os_path 286 replace_file(tmp_path, os_path) 289 def _save_notebook(self, os_path, nb): argument 294 def _read_file(self, os_path, format): argument 303 if not os.path.isfile(os_path): [all …]
|
H A D | largefilemanager.py | 33 os_path = self._get_os_path(path) 56 self.run_post_save_hook(model=model, os_path=os_path) 77 with self.perm_to_403(os_path): 78 if os.path.islink(os_path): 79 os_path = os.path.join(os.path.dirname(os_path), os.readlink(os_path)) 80 with io.open(os_path, "ab") as f: 105 os_path = self._get_os_path(path) 128 self.run_post_save_hook(model=model, os_path=os_path) 149 with self.perm_to_403(os_path): 150 if os.path.islink(os_path): [all …]
|
/dports/www/py-notebook/notebook-6.4.5/notebook/services/contents/ |
H A D | filemanager.py | 132 self.post_save_hook(os_path=os_path, model=model, contents_manager=self) 240 return exists(os_path) 245 info = os.lstat(os_path) 301 os_path 346 os_path, 433 if os.path.isdir(os_path): 453 os.mkdir(os_path) 504 self.run_post_save_hook(model=model, os_path=os_path) 533 send2trash(os_path) 538 if os.path.isdir(os_path): [all …]
|
H A D | fileio.py | 199 with self.perm_to_403(os_path): 208 with self.perm_to_403(os_path): 217 def perm_to_403(self, os_path=''): argument 226 if not os_path: 258 os_path = to_os_path(path, root) 261 return os_path 285 replace_file(tmp_path, os_path) 288 def _save_notebook(self, os_path, nb): argument 293 def _read_file(self, os_path, format): argument 302 if not os.path.isfile(os_path): [all …]
|
H A D | largefilemanager.py | 24 os_path = self._get_os_path(path) 28 self.log.debug("Saving %s", os_path) 30 super()._save_file(os_path, model['content'], model.get('format')) 32 self._save_large_file(os_path, model['content'], model.get('format')) 43 self.run_post_save_hook(model=model, os_path=os_path) 48 def _save_large_file(self, os_path, content, format): argument 63 400, u'Encoding error saving %s: %s' % (os_path, e) 66 with self.perm_to_403(os_path): 67 if os.path.islink(os_path): 68 os_path = os.path.join(os.path.dirname(os_path), os.readlink(os_path)) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/telemetry/ |
H A D | PRESUBMIT.py | 40 input_api.os_path.join(telemetry_dir, 'json_format'), 68 presubmit_dir = input_api.os_path.join( 92 catapult_dir = input_api.os_path.join(telemetry_dir, '..') 103 input_api.os_path.join(catapult_dir, 'common', 'py_utils'), 104 input_api.os_path.join(catapult_dir, 'dependency_manager'), 105 input_api.os_path.join(catapult_dir, 'devil'), 106 input_api.os_path.join(catapult_dir, 'systrace'), 107 input_api.os_path.join(catapult_dir, 'tracing'), 113 input_api.os_path.join(catapult_dir, 'third_party', 'typ'), 120 binary_dependencies = input_api.os_path.join( [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/devtools-frontend/src/ |
H A D | PRESUBMIT.py | 74 file = input_api.os_path.dirname(file) 191 front_end_directory = input_api.os_path.join( 193 inspector_overlay_directory = input_api.os_path.join( 209 input_api.os_path.join(input_api.PresubmitLocalPath(), 211 input_api.os_path.join(scripts_directory, 'test', 213 input_api.os_path.join(scripts_directory, 'test', 239 front_end_directory = input_api.os_path.join( 241 inspector_overlay_directory = input_api.os_path.join( 253 input_api.os_path.join(input_api.PresubmitLocalPath(), 255 input_api.os_path.join(input_api.PresubmitLocalPath(), [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/catapult_build/ |
H A D | PRESUBMIT.py | 24 catapult_dir = input_api.os_path.join(project_dir, '..') 28 input_api.os_path.join(catapult_dir, 'common', 'eslint'), 29 input_api.os_path.join(catapult_dir, 'common', 'py_utils'), 30 input_api.os_path.join(catapult_dir, 'common', 'py_vulcanize'), 31 input_api.os_path.join(catapult_dir, 'dashboard'), 32 input_api.os_path.join(catapult_dir, 'netlog_viewer'), 33 input_api.os_path.join(catapult_dir, 'third_party', 'Paste'), 35 input_api.os_path.join(catapult_dir, 'third_party', 'mock'), 36 input_api.os_path.join(catapult_dir, 'third_party', 'typ'), 38 input_api.os_path.join(catapult_dir, 'third_party', 'WebOb'), [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/catapult/catapult_build/ |
H A D | PRESUBMIT.py | 24 catapult_dir = input_api.os_path.join(project_dir, '..') 28 input_api.os_path.join(catapult_dir, 'common', 'eslint'), 29 input_api.os_path.join(catapult_dir, 'common', 'py_utils'), 30 input_api.os_path.join(catapult_dir, 'common', 'py_vulcanize'), 31 input_api.os_path.join(catapult_dir, 'dashboard'), 32 input_api.os_path.join(catapult_dir, 'netlog_viewer'), 33 input_api.os_path.join(catapult_dir, 'third_party', 'Paste'), 35 input_api.os_path.join(catapult_dir, 'third_party', 'mock'), 36 input_api.os_path.join(catapult_dir, 'third_party', 'typ'), 38 input_api.os_path.join(catapult_dir, 'third_party', 'WebOb'), [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ |
H A D | PRESUBMIT.py | 48 if input_api.os_path.dirname(local_path) == 'third_party': 50 if (local_path.startswith('third_party' + input_api.os_path.sep) and 51 not local_path.startswith('third_party' + input_api.os_path.sep + 52 'WebKit' + input_api.os_path.sep) and 53 not local_path.startswith('third_party' + input_api.os_path.sep + 54 'blink' + input_api.os_path.sep) and 55 not local_path.startswith('third_party' + input_api.os_path.sep + 56 'mojo' + input_api.os_path.sep) and 57 not local_path.startswith('third_party' + input_api.os_path.sep + 59 not local_path.startswith('third_party' + input_api.os_path.sep + [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ |
H A D | PRESUBMIT.py | 48 if input_api.os_path.dirname(local_path) == 'third_party': 50 if (local_path.startswith('third_party' + input_api.os_path.sep) and 51 not local_path.startswith('third_party' + input_api.os_path.sep + 52 'blink' + input_api.os_path.sep) and 53 not local_path.startswith('third_party' + input_api.os_path.sep + 55 not local_path.startswith('third_party' + input_api.os_path.sep + 57 'externs' + input_api.os_path.sep) and 58 not local_path.startswith('third_party' + input_api.os_path.sep + 61 not local_path.startswith('third_party' + input_api.os_path.sep + 63 not local_path.startswith('third_party' + input_api.os_path.sep + [all …]
|
/dports/devel/py-jedi/jedi-0.18.0/test/test_api/ |
H A D | test_completion.py | 199 os_path = 'from os.path import *\n' variable 264 (f2, os_path + 'join("tes', 9, ['t"']), 265 (f2, os_path + 'join(\'tes)', 9, ["t'"]), 266 (f2, os_path + 'join(r"tes"', 10, ['t']), 267 (f2, os_path + 'join("""tes""")', 11, ['t']), 270 (f2, os_path + 'join["tes', 9, ['t' + s]), 271 (f2, os_path + 'join["tes"', 9, ['t' + s]), 272 (f2, os_path + 'join["tes"]', 9, ['t' + s]), 288 (f2, os_path + 'join(["tes', 10, ['t' + s]), 289 (f2, os_path + 'join(["tes"]', 10, ['t' + s]), [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/devtools-frontend/src/ |
H A D | PRESUBMIT.py | 68 file = input_api.os_path.dirname(file) 124 devtools_front_end = input_api.os_path.join(devtools_root, 'front_end') 147 test_directory = input_api.os_path.join(input_api.PresubmitLocalPath(), 'test') 153 input_api.os_path.join(input_api.PresubmitLocalPath(), '.eslintrc.js'), 154 input_api.os_path.join(input_api.PresubmitLocalPath(), '.eslintignore'), 155 input_api.os_path.join(scripts_directory, 'test', 'run_lint_check.py'), 156 input_api.os_path.join(scripts_directory, '.eslintrc.js'), 157 input_api.os_path.join(scripts_directory, 'eslint_rules'), 196 hashes_file_path = input_api.os_path.join(image_sources_path, hashes_file_name) 209 v8_directory_path = input_api.os_path.join(input_api.PresubmitLocalPath(), 'v8') [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/polymer/v1_0/ |
H A D | extract_inline_scripts.py | 11 from os import path as os_path unknown 15 _HERE_PATH = os_path.dirname(__file__) 16 _SRC_PATH = os_path.normpath(os_path.join(_HERE_PATH, '..', '..', '..')) 17 sys.path.append(os_path.join(_SRC_PATH, 'third_party', 'node')) 23 name = os_path.splitext(os_path.basename(original_html))[0] 24 dst_dir = os_path.dirname(original_html) 25 extracted_html = os_path.join(dst_dir, name + '-extracted.html') 26 extracted_js = os_path.join(dst_dir, name + '-extracted.js')
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/polymer/v1_0/ |
H A D | extract_inline_scripts.py | 11 from os import path as os_path unknown 15 _HERE_PATH = os_path.dirname(__file__) 16 _SRC_PATH = os_path.normpath(os_path.join(_HERE_PATH, '..', '..', '..')) 17 sys.path.append(os_path.join(_SRC_PATH, 'third_party', 'node')) 23 name = os_path.splitext(os_path.basename(original_html))[0] 24 dst_dir = os_path.dirname(original_html) 25 extracted_html = os_path.join(dst_dir, name + '-extracted.html') 26 extracted_js = os_path.join(dst_dir, name + '-extracted.js')
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/cronet/ |
H A D | PRESUBMIT.py | 21 chromium_src_dir = input_api.os_path.join(current_dir, '..', '..') 23 input_api.os_path.join(chromium_src_dir, 'components'), 24 input_api.os_path.join(chromium_src_dir, 'tools', 'perf'), 25 input_api.os_path.join(chromium_src_dir, 'build', 'android'), 26 input_api.os_path.join(chromium_src_dir, 'build', 'android', 'gyp'), 27 input_api.os_path.join(chromium_src_dir, 30 input_api.os_path.join(chromium_src_dir, 'tools'), 31 input_api.os_path.join(chromium_src_dir, 'third_party'), 32 input_api.os_path.join(chromium_src_dir, 34 input_api.os_path.join(chromium_src_dir, [all …]
|
/dports/lang/seed7/seed7/src/ |
H A D | dir_rtl.c | 104 os_charType os_path[PREFIX_LEN + 4]; in readVolumeName() local 117 os_path[PREFIX_LEN + 1] = (os_charType) ':'; in readVolumeName() 118 os_path[PREFIX_LEN + 2] = (os_charType) '\\'; in readVolumeName() 119 os_path[PREFIX_LEN + 3] = (os_charType) '\0'; in readVolumeName() 129 stat_result = os_stat(os_path, &stat_buf); in readVolumeName() 134 directory = os_opendir(os_path); in readVolumeName() 203 os_striType os_path; in dirOpen() local 210 os_path = cp_to_os_path(path, &path_info, &err_info); in dirOpen() 211 if (unlikely(os_path == NULL)) { in dirOpen() 225 directory = os_opendir(os_path); in dirOpen() [all …]
|
H A D | cmd_unx.c | 550 os_striType os_path; in cmdGetGroup() local 573 os_stri_free(os_path); in cmdGetGroup() 577 os_stri_free(os_path); in cmdGetGroup() 591 os_striType os_path; in cmdGetOwner() local 614 os_stri_free(os_path); in cmdGetOwner() 618 os_stri_free(os_path); in cmdGetOwner() 632 os_striType os_path; in cmdSetGroup() local 649 os_stri_free(os_path); in cmdSetGroup() 656 os_stri_free(os_path); in cmdSetGroup() 670 os_striType os_path; in cmdSetOwner() local [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/resources/vr/assets/ |
H A D | PRESUBMIT.py | 31 basename = input_api.os_path.basename(file.LocalPath()) 32 extension = input_api.os_path.splitext(basename)[1][1:].strip().lower() 33 basename_without_extension = input_api.os_path.splitext(basename)[ 36 basename_without_extension = input_api.os_path.splitext( 38 dirname = input_api.os_path.basename( 39 input_api.os_path.dirname(file.LocalPath())) 53 local_version_filename = input_api.os_path.join( 54 input_api.os_path.dirname(input_api.AffectedFiles()[0].LocalPath()), 56 local_component_list_filename = input_api.os_path.join( 57 input_api.os_path.dirname(input_api.AffectedFiles()[0].LocalPath()), [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/resources/vr/assets/ |
H A D | PRESUBMIT.py | 31 basename = input_api.os_path.basename(file.LocalPath()) 32 extension = input_api.os_path.splitext(basename)[1][1:].strip().lower() 33 basename_without_extension = input_api.os_path.splitext(basename)[ 36 basename_without_extension = input_api.os_path.splitext( 38 dirname = input_api.os_path.basename( 39 input_api.os_path.dirname(file.LocalPath())) 53 local_version_filename = input_api.os_path.join( 54 input_api.os_path.dirname(input_api.AffectedFiles()[0].LocalPath()), 56 local_component_list_filename = input_api.os_path.join( 57 input_api.os_path.dirname(input_api.AffectedFiles()[0].LocalPath()), [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/tools/web_dev_style/ |
H A D | eslint.py | 7 def Run(os_path=None, args=None): argument 9 _HERE_PATH = os_path.dirname(os_path.realpath(__file__)) 10 _SRC_PATH = os_path.normpath(os_path.join(_HERE_PATH, '..', '..')) 14 sys.path.append(os_path.join(_SRC_PATH, 'third_party', 'node')) 26 Run(os_path=os.path, args=sys.argv[1:])
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/web_dev_style/ |
H A D | eslint.py | 7 def Run(os_path=None, args=None): argument 9 _HERE_PATH = os_path.dirname(os_path.realpath(__file__)) 10 _SRC_PATH = os_path.normpath(os_path.join(_HERE_PATH, '..', '..')) 14 sys.path.append(os_path.join(_SRC_PATH, 'third_party', 'node')) 26 Run(os_path=os.path, args=sys.argv[1:])
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/ |
H A D | owners.py | 116 def __init__(self, root, fopen, os_path): argument 125 self.os_path = os_path 172 filename = self.os_path.split(path)[-1] 208 return self.os_path.abspath(self.os_path.join(pfx, f)).startswith(pfx) 210 assert all(not self.os_path.isabs(f) and 226 objname = self.os_path.dirname(objname) 235 dirpath = self.os_path.dirname(dirpath) 244 dirpath = self.os_path.dirname(f) 310 dirpath = self.os_path.dirname(path) 459 start = self.os_path.dirname(self.os_path.relpath(start, self.root)) [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/tools/resources/ |
H A D | svgo.py | 9 def Run(os_path=None, args=None): argument 10 _HERE_PATH = os_path.dirname(os_path.realpath(__file__)) 11 _SRC_PATH = os_path.normpath(os_path.join(_HERE_PATH, '..', '..')) 15 sys.path.append(os_path.join(_SRC_PATH, 'third_party', 'node')) 32 print(Run(os_path=os.path, args=sys.argv[1:]))
|