/dports/net/kea/kea-2.0.1/src/lib/process/ |
H A D | redact_config.cc | 21 redact(ElementPtrType const& element, list<string> json_path) { in redact() argument 26 string const next_key(json_path.empty() ? string() : json_path.front()); in redact() 34 json_path.pop_front(); in redact() 39 result->add(redact(child, json_path)); in redact() 46 if (next_key == "*" || json_path.empty()) { in redact() 61 if (json_path.empty()) { in redact() 67 result->set(key, redact(value, json_path)); in redact() 76 json_path.pop_front(); in redact() 77 result->set(next_key, redact(child, json_path)); in redact() 92 redactConfig(ConstElementPtr const& element, list<string> const& json_path) { in redactConfig() argument [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/arrow/ipc/ |
H A D | json_integration_test.cc | 190 if (json_path == "") { in RunCommand() 205 return ConvertArrowToJson(arrow_path, json_path); in RunCommand() 207 if (!file_exists(json_path.c_str())) { in RunCommand() 211 return ConvertJsonToArrow(json_path, arrow_path); in RunCommand() 213 if (!file_exists(json_path.c_str())) { in RunCommand() 221 return ValidateArrowVsJson(arrow_path, json_path); in RunCommand() 341 std::string json_path = this->mkstemp(); in TEST_F() local 344 ASSERT_OK(WriteJson(JSON_EXAMPLE, json_path)); in TEST_F() 358 std::string json_path = this->mkstemp(); in TEST_F() local 362 ASSERT_OK(WriteJson(JSON_EXAMPLE, json_path)); in TEST_F() [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/dev/archery/archery/integration/ |
H A D | tester_rust.py | 47 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 53 if json_path is not None: 54 cmd.append('--json=' + json_path) 63 def validate(self, json_path, arrow_path): argument 64 return self._run(arrow_path, json_path, 'VALIDATE') 66 def json_to_file(self, json_path, arrow_path): argument 67 return self._run(arrow_path, json_path, 'JSON_TO_ARROW') 102 def flight_request(self, port, json_path=None, scenario_name=None): argument 106 if json_path: 107 cmd.extend(('--path', json_path))
|
H A D | tester_cpp.py | 48 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 54 if json_path is not None: 55 cmd.append('--json=' + json_path) 64 def validate(self, json_path, arrow_path): argument 65 return self._run(arrow_path, json_path, 'VALIDATE') 67 def json_to_file(self, json_path, arrow_path): argument 68 return self._run(arrow_path, json_path, 'JSON_TO_ARROW') 103 def flight_request(self, port, json_path=None, scenario_name=None): argument 107 if json_path: 108 cmd.extend(('-path', json_path))
|
H A D | tester_java.py | 61 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 68 if json_path is not None: 69 cmd.extend(['-j', json_path]) 78 def validate(self, json_path, arrow_path): argument 79 return self._run(arrow_path, json_path, 'VALIDATE') 81 def json_to_file(self, json_path, arrow_path): argument 82 return self._run(arrow_path, json_path, 'JSON_TO_ARROW') 100 def flight_request(self, port, json_path=None, scenario_name=None): argument 105 if json_path: 106 cmd.extend(('-j', json_path))
|
H A D | tester_js.py | 36 def _run(self, exe_cmd, arrow_path=None, json_path=None, argument 43 if json_path is not None: 44 cmd.extend(['-j', json_path]) 53 def validate(self, json_path, arrow_path): argument 54 return self._run(self.VALIDATE, arrow_path, json_path, 'VALIDATE') 56 def json_to_file(self, json_path, arrow_path): argument 60 '-j', json_path]
|
H A D | tester_go.py | 39 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 45 if json_path is not None: 46 cmd.extend(['-json', json_path]) 55 def validate(self, json_path, arrow_path): argument 56 return self._run(arrow_path, json_path, 'VALIDATE') 58 def json_to_file(self, json_path, arrow_path): argument 59 return self._run(arrow_path, json_path, 'JSON_TO_ARROW')
|
/dports/databases/arrow/apache-arrow-6.0.1/dev/archery/archery/integration/ |
H A D | tester_rust.py | 47 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 53 if json_path is not None: 54 cmd.append('--json=' + json_path) 63 def validate(self, json_path, arrow_path): argument 64 return self._run(arrow_path, json_path, 'VALIDATE') 66 def json_to_file(self, json_path, arrow_path): argument 67 return self._run(arrow_path, json_path, 'JSON_TO_ARROW') 102 def flight_request(self, port, json_path=None, scenario_name=None): argument 106 if json_path: 107 cmd.extend(('--path', json_path))
|
H A D | tester_cpp.py | 48 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 54 if json_path is not None: 55 cmd.append('--json=' + json_path) 64 def validate(self, json_path, arrow_path): argument 65 return self._run(arrow_path, json_path, 'VALIDATE') 67 def json_to_file(self, json_path, arrow_path): argument 68 return self._run(arrow_path, json_path, 'JSON_TO_ARROW') 103 def flight_request(self, port, json_path=None, scenario_name=None): argument 107 if json_path: 108 cmd.extend(('-path', json_path))
|
H A D | tester_go.py | 49 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 55 if json_path is not None: 56 cmd.extend(['-json', json_path]) 65 def validate(self, json_path, arrow_path): argument 66 return self._run(arrow_path, json_path, 'VALIDATE') 68 def json_to_file(self, json_path, arrow_path): argument 69 return self._run(arrow_path, json_path, 'JSON_TO_ARROW') 106 def flight_request(self, port, json_path=None, scenario_name=None): argument 110 if json_path: 111 cmd.extend(('-path', json_path))
|
H A D | tester_csharp.py | 35 def _run(self, json_path=None, arrow_path=None, command='validate'): argument 40 if json_path is not None: 41 cmd.extend(['-j', json_path]) 51 def validate(self, json_path, arrow_path): argument 52 return self._run(json_path, arrow_path, 'validate') 54 def json_to_file(self, json_path, arrow_path): argument 55 return self._run(json_path, arrow_path, 'json-to-arrow')
|
H A D | tester_java.py | 61 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 68 if json_path is not None: 69 cmd.extend(['-j', json_path]) 78 def validate(self, json_path, arrow_path): argument 79 return self._run(arrow_path, json_path, 'VALIDATE') 81 def json_to_file(self, json_path, arrow_path): argument 82 return self._run(arrow_path, json_path, 'JSON_TO_ARROW') 100 def flight_request(self, port, json_path=None, scenario_name=None): argument 105 if json_path: 106 cmd.extend(('-j', json_path))
|
H A D | tester_js.py | 36 def _run(self, exe_cmd, arrow_path=None, json_path=None, argument 43 if json_path is not None: 44 cmd.extend(['-j', json_path]) 53 def validate(self, json_path, arrow_path): argument 54 return self._run(self.VALIDATE, arrow_path, json_path, 'VALIDATE') 56 def json_to_file(self, json_path, arrow_path): argument 60 '-j', json_path]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/dev/archery/archery/integration/ |
H A D | tester_cpp.py | 48 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 54 if json_path is not None: 55 cmd.append('--json=' + json_path) 64 def validate(self, json_path, arrow_path): argument 65 return self._run(arrow_path, json_path, 'VALIDATE') 67 def json_to_file(self, json_path, arrow_path): argument 68 return self._run(arrow_path, json_path, 'JSON_TO_ARROW') 103 def flight_request(self, port, json_path=None, scenario_name=None): argument 107 if json_path: 108 cmd.extend(('-path', json_path))
|
H A D | tester_java.py | 60 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 67 if json_path is not None: 68 cmd.extend(['-j', json_path]) 77 def validate(self, json_path, arrow_path): argument 78 return self._run(arrow_path, json_path, 'VALIDATE') 80 def json_to_file(self, json_path, arrow_path): argument 81 return self._run(arrow_path, json_path, 'JSON_TO_ARROW') 99 def flight_request(self, port, json_path=None, scenario_name=None): argument 104 if json_path: 105 cmd.extend(('-j', json_path))
|
H A D | tester_rust.py | 45 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 51 if json_path is not None: 52 cmd.append('--json=' + json_path) 61 def validate(self, json_path, arrow_path): argument 62 return self._run(arrow_path, json_path, 'VALIDATE') 64 def json_to_file(self, json_path, arrow_path): argument 65 return self._run(arrow_path, json_path, 'JSON_TO_ARROW')
|
H A D | tester_js.py | 36 def _run(self, exe_cmd, arrow_path=None, json_path=None, argument 43 if json_path is not None: 44 cmd.extend(['-j', json_path]) 53 def validate(self, json_path, arrow_path): argument 54 return self._run(self.VALIDATE, arrow_path, json_path, 'VALIDATE') 56 def json_to_file(self, json_path, arrow_path): argument 60 '-j', json_path]
|
H A D | tester_go.py | 38 def _run(self, arrow_path=None, json_path=None, command='VALIDATE'): argument 44 if json_path is not None: 45 cmd.extend(['-json', json_path]) 54 def validate(self, json_path, arrow_path): argument 55 return self._run(arrow_path, json_path, 'VALIDATE') 57 def json_to_file(self, json_path, arrow_path): argument 58 return self._run(arrow_path, json_path, 'JSON_TO_ARROW')
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/gpu/test/ |
H A D | image.cc | 112 base::FilePath json_path = file_path_.AddExtension(kMetadataSuffix); in LoadMetadata() local 115 LOG(ERROR) << "Image metadata file not found: " << json_path; in LoadMetadata() 118 json_path = resolved_path.value(); in LoadMetadata() 120 if (!base::PathExists(json_path)) { in LoadMetadata() 126 if (!base::ReadFileToString(json_path, &json_data)) { in LoadMetadata() 127 VLOGF(1) << "Failed to read image metadata file: " << json_path; in LoadMetadata() 134 VLOGF(1) << "Failed to parse image metadata: " << json_path << ": " in LoadMetadata() 144 VLOGF(1) << "Key \"pixel_format\" is not found in " << json_path; in LoadMetadata() 157 VLOGF(1) << "Key \"width\" is not found in " << json_path; in LoadMetadata() 163 VLOGF(1) << "Key \"height\" is not found in " << json_path; in LoadMetadata() [all …]
|
/dports/sysutils/dnf/dnf-4.9.0/dnf/ |
H A D | persistor.py | 42 def _check_json_db(self, json_path): argument 43 if not os.path.isfile(json_path): 45 dnf.util.ensure_dir(os.path.dirname(json_path)) 46 self._write_json_db(json_path, []) 48 def _get_json_db(self, json_path, default=[]): argument 49 with open(json_path, 'r') as f: 53 logger.warning(_("%s is empty file"), json_path) 54 self._write_json_db(json_path, default) 63 def _write_json_db(json_path, content): argument 64 with open(json_path, 'w') as f:
|
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/kubernetes/client/models/ |
H A D | v1beta1_custom_resource_column_definition.py | 49 json_path=None, argument 67 self.json_path = json_path 78 def json_path(self): member in V1beta1CustomResourceColumnDefinition 88 @json_path.setter 89 def json_path(self, json_path): member in V1beta1CustomResourceColumnDefinition 98 if json_path is None: 101 self._json_path = json_path
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/browser/api/declarative_net_request/ |
H A D | ruleset_source.cc | 64 std::string GetErrorWithFilename(const base::FilePath& json_path, in GetErrorWithFilename() argument 66 return base::StrCat({GetFilename(json_path), ": ", error}); in GetErrorWithFilename() 79 const base::FilePath& json_path, in AddRegexLimitExceededWarnings() argument 101 json_path, in AddRegexLimitExceededWarnings() 137 CreateInstallWarning(json_path, kRuleCountExceeded)); in ParseRulesFromJSON() 177 json_path, in ParseRulesFromJSON() 186 json_path, ErrorUtils::FormatErrorMessage( in ParseRulesFromJSON() 223 AddRegexLimitExceededWarnings(source.json_path(), &warnings, in IndexAndPersistRuleset() 232 void OnSafeJSONParse(const base::FilePath& json_path, in OnSafeJSONParse() argument 492 RulesetSource::RulesetSource(base::FilePath json_path, in RulesetSource() argument [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/api/declarative_net_request/ |
H A D | ruleset_source.cc | 66 std::string GetErrorWithFilename(const base::FilePath& json_path, in GetErrorWithFilename() argument 68 return base::StrCat({GetFilename(json_path), ": ", error}); in GetErrorWithFilename() 81 const base::FilePath& json_path, in AddRegexLimitExceededWarnings() argument 103 json_path, in AddRegexLimitExceededWarnings() 194 json_path, in ParseRulesFromJSON() 203 json_path, ErrorUtils::FormatErrorMessage( in ParseRulesFromJSON() 248 AddRegexLimitExceededWarnings(source.json_path(), &warnings, in IndexAndPersistRuleset() 256 void OnSafeJSONParse(const base::FilePath& json_path, in OnSafeJSONParse() argument 262 GetErrorWithFilename(json_path, *result.error))); in OnSafeJSONParse() 535 RulesetSource::RulesetSource(base::FilePath json_path, in RulesetSource() argument [all …]
|
/dports/devel/godot-tools/godot-3.2.3-stable/ |
H A D | platform_methods.py | 45 json_path = os.path.join(os.environ["TMP"], uuid.uuid4().hex + ".json") 46 with open(json_path, "wt") as json_file: 48 json_file_size = os.stat(json_path).st_size 53 % (module_path, json_path, json_file_size, target, source) 56 … exit_code = subprocess.call([sys.executable, module_path, json_path], env=subprocess_env) 59 os.remove(json_path) 63 …"WARNING: Could not delete temporary file: path=%r; [%s] %s" % (json_path, e.__class__.__name__, e)
|
/dports/devel/godot/godot-3.2.3-stable/ |
H A D | platform_methods.py | 45 json_path = os.path.join(os.environ["TMP"], uuid.uuid4().hex + ".json") 46 with open(json_path, "wt") as json_file: 48 json_file_size = os.stat(json_path).st_size 53 % (module_path, json_path, json_file_size, target, source) 56 … exit_code = subprocess.call([sys.executable, module_path, json_path], env=subprocess_env) 59 os.remove(json_path) 63 …"WARNING: Could not delete temporary file: path=%r; [%s] %s" % (json_path, e.__class__.__name__, e)
|