/external/python/asn1crypto/tests/ |
D | test_x509.py | 29 def _load_cert(self, relative_path): argument 30 with open(os.path.join(fixtures_dir, relative_path), 'rb') as f: 555 def signature_algo(self, relative_path, signature_algo, hash_algo): argument 556 cert = self._load_cert(relative_path) 630 def critical_extensions(self, relative_path, critical_extensions): argument 631 cert = self._load_cert(relative_path) 710 def subject_directory_attributes_value(self, relative_path, sda_value): argument 711 cert = self._load_cert(relative_path) 785 def key_identifier_value(self, relative_path, key_identifier_value): argument 786 cert = self._load_cert(relative_path) [all …]
|
D | test_pem.py | 60 def detect(self, relative_path, is_pem): argument 61 with open(os.path.join(fixtures_dir, relative_path), 'rb') as f: 110 def unarmor(self, relative_path, expected_bytes_filename, expected_type_name, expected_headers): argument 111 with open(os.path.join(fixtures_dir, relative_path), 'rb') as f: 139 def armor(self, expected_bytes_filename, relative_path, type_name, headers): argument 140 with open(os.path.join(fixtures_dir, relative_path), 'rb') as f:
|
/external/python/apitools/samples/storage_sample/storage_v1/ |
D | storage_v1_client.py | 76 relative_path=u'b/{bucket}/acl/{entity}', 102 relative_path=u'b/{bucket}/acl/{entity}', 128 relative_path=u'b/{bucket}/acl', 154 relative_path=u'b/{bucket}/acl', 180 relative_path=u'b/{bucket}/acl/{entity}', 206 relative_path=u'b/{bucket}/acl/{entity}', 242 relative_path=u'b/{bucket}', 268 relative_path=u'b/{bucket}', 294 relative_path=u'b/{bucket}/iam', 320 relative_path=u'b', [all …]
|
/external/python/apitools/samples/fusiontables_sample/fusiontables_v1/ |
D | fusiontables_v1_client.py | 75 relative_path=u'tables/{tableId}/columns/{columnId}', 101 relative_path=u'tables/{tableId}/columns/{columnId}', 127 relative_path=u'tables/{tableId}/columns', 153 relative_path=u'tables/{tableId}/columns', 179 relative_path=u'tables/{tableId}/columns/{columnId}', 205 relative_path=u'tables/{tableId}/columns/{columnId}', 244 relative_path=u'query', 273 relative_path=u'query', 309 relative_path=u'tables/{tableId}/styles/{styleId}', 335 relative_path=u'tables/{tableId}/styles/{styleId}', [all …]
|
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/ |
D | servicemanagement_v1_client.py | 78 relative_path=u'v1/operations/{operationsId}', 121 relative_path=u'v1/services/{serviceName}/accessPolicy:query', 159 relative_path=u'v1/services/{serviceName}/configs', 186 relative_path=u'v1/services/{serviceName}/configs/{configId}', 213 relative_path=u'v1/services/{serviceName}/configs', 245 relative_path=u'v1/services/{serviceName}/configs:submit', 282 relative_path=u'v1/services/{serviceName}/customerSettings/{customerId}', 312 relative_path=u'v1/services/{serviceName}/customerSettings/{customerId}', 349 relative_path=u'v1/services/{serviceName}/projectSettings/{consumerProjectId}', 379 relative_path=u'v1/services/{serviceName}/projectSettings/{consumerProjectId}', [all …]
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | resource.py | 21 def relative_path(self): member in Resource 27 return self.relative_path.replace(os.sep, '/') 32 return self.name_from_relative_path(self.relative_path) 35 def name_from_relative_path(relative_path): argument 36 dirname = os.path.dirname(relative_path) 37 basename = os.path.basename(relative_path)
|
/external/python/apitools/samples/bigquery_sample/bigquery_v2/ |
D | bigquery_v2_client.py | 74 relative_path=u'projects/{projectId}/datasets/{datasetId}', 100 relative_path=u'projects/{projectId}/datasets/{datasetId}', 126 relative_path=u'projects/{projectId}/datasets', 152 relative_path=u'projects/{projectId}/datasets', 178 relative_path=u'projects/{projectId}/datasets/{datasetId}', 204 relative_path=u'projects/{projectId}/datasets/{datasetId}', 248 relative_path=u'project/{projectId}/jobs/{jobId}/cancel', 274 relative_path=u'projects/{projectId}/jobs/{jobId}', 300 relative_path=u'projects/{projectId}/queries/{jobId}', 330 relative_path=u'projects/{projectId}/jobs', [all …]
|
/external/libchrome/mojo/core/test/ |
D | test_support_impl.cc | 28 base::FilePath ResolveSourceRootRelativePath(const char* relative_path) { in ResolveSourceRootRelativePath() argument 34 relative_path, "/", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL)) { in ResolveSourceRootRelativePath() 61 FILE* TestSupportImpl::OpenSourceRootRelativeFile(const char* relative_path) { in OpenSourceRootRelativeFile() argument 62 return base::OpenFile(ResolveSourceRootRelativePath(relative_path), "rb"); in OpenSourceRootRelativeFile() 66 const char* relative_path) { in EnumerateSourceRootRelativeDirectory() argument 68 base::FileEnumerator e(ResolveSourceRootRelativePath(relative_path), false, in EnumerateSourceRootRelativeDirectory()
|
/external/skia/build/fuchsia/skqp/ |
D | append_assets_to_manifest | 40 relative_path = os.path.relpath(args.manifest, root_build_dir) variable 41 deps_file.write('%s: ' % relative_path) 54 relative_path = os.path.relpath(base_line_rhs, root_build_dir) variable 55 deps_file.write(relative_path + " ") 69 relative_path = os.path.relpath(source, root_build_dir) variable 70 deps_file.write(relative_path + " ")
|
/external/python/apitools/samples/iam_sample/iam_v1/ |
D | iam_v1_client.py | 75 relative_path=u'v1/iamPolicies:getPolicyDetails', 113 relative_path=u'v1/{+name}/keys', 140 relative_path=u'v1/{+name}', 168 relative_path=u'v1/{+name}', 195 relative_path=u'v1/{+name}/keys', 233 relative_path=u'v1/{+name}/serviceAccounts', 260 relative_path=u'v1/{+name}', 287 relative_path=u'v1/{+name}', 314 relative_path=u'v1/{+resource}:getIamPolicy', 341 relative_path=u'v1/{+name}/serviceAccounts', [all …]
|
/external/libtextclassifier/native/utils/ |
D | test-data-test-utils.h | 28 inline std::string GetTestDataPath(const std::string& relative_path) { in GetTestDataPath() argument 29 return "/data/local/tmp/" + relative_path; in GetTestDataPath() 32 inline std::string GetTestFileContent(const std::string& relative_path) { in GetTestFileContent() argument 33 const std::string full_path = GetTestDataPath(relative_path); in GetTestFileContent()
|
/external/google-fruit/tests/ |
D | test_defn_h_includes.py | 42 relative_path = os.path.join(root_relative_path, file) 43 if relative_path.startswith(os.sep): 44 relative_path = relative_path[1:] 45 includes[relative_path] = current_includes
|
/external/libchrome/mojo/public/tests/ |
D | test_support_private.cc | 31 FILE* MojoTestSupportOpenSourceRootRelativeFile(const char* relative_path) { in MojoTestSupportOpenSourceRootRelativeFile() argument 33 return g_test_support->OpenSourceRootRelativeFile(relative_path); in MojoTestSupportOpenSourceRootRelativeFile() 39 const char* relative_path) { in MojoTestSupportEnumerateSourceRootRelativeDirectory() argument 41 return g_test_support->EnumerateSourceRootRelativeDirectory(relative_path); in MojoTestSupportEnumerateSourceRootRelativeDirectory()
|
D | test_support_private.h | 29 virtual FILE* OpenSourceRootRelativeFile(const char* relative_path) = 0; 31 const char* relative_path) = 0;
|
/external/googletest/googletest/scripts/ |
D | fuse_gtest_files.py | 89 def VerifyFileExists(directory, relative_path): argument 95 if not os.path.isfile(os.path.join(directory, relative_path)): 96 print('ERROR: Cannot find %s in directory %s.' % (relative_path, 113 def VerifyOutputFile(output_dir, relative_path): argument 120 output_file = os.path.join(output_dir, relative_path) 126 (relative_path, output_dir))
|
/external/python/apitools/apitools/base/py/ |
D | util_test.py | 27 def __init__(self, relative_path, path_params): argument 28 self.relative_path = relative_path 54 method_config_xy = MockedMethodConfig(relative_path='{x}/y/{z}', 63 relative_path='{x}/y/{z}/q'), 67 method_config_reserved = MockedMethodConfig(relative_path='{+x}/baz', 71 method_config_no_reserved = MockedMethodConfig(relative_path='{x}/baz',
|
D | base_api.py | 105 relative_path = messages.StringField(1) variable in ApiMethodInfo 169 def __init__(self, base_url, relative_path=None, query_params=None): argument 171 base_url, relative_path or '')) 180 self.relative_path = components.path or '' 188 relative_path = urlparts.path or '' 190 base_url, relative_path=relative_path, query_params=query_params) 216 if '{' in self.relative_path or '}' in self.relative_path: 218 'Cannot create url with relative path %s' % self.relative_path) 220 self.__scheme, self.__netloc, self.relative_path, self.query, '')) 576 relative_path=None): argument [all …]
|
/external/python/apitools/samples/dns_sample/dns_v1/ |
D | dns_v1_client.py | 73 relative_path=u'projects/{project}/managedZones/{managedZone}/changes', 99 relative_path=u'projects/{project}/managedZones/{managedZone}/changes/{changeId}', 125 relative_path=u'projects/{project}/managedZones/{managedZone}/changes', 161 relative_path=u'projects/{project}/managedZones', 187 relative_path=u'projects/{project}/managedZones/{managedZone}', 213 relative_path=u'projects/{project}/managedZones/{managedZone}', 239 relative_path=u'projects/{project}/managedZones', 275 relative_path=u'projects/{project}', 311 relative_path=u'projects/{project}/managedZones/{managedZone}/rrsets',
|
/external/libchrome/mojo/public/cpp/test_support/ |
D | test_support.h | 24 inline FILE* OpenSourceRootRelativeFile(const std::string& relative_path) { in OpenSourceRootRelativeFile() argument 25 return MojoTestSupportOpenSourceRootRelativeFile(relative_path.c_str()); in OpenSourceRootRelativeFile() 30 const std::string& relative_path);
|
/external/angle/third_party/zlib/google/ |
D | zip_writer.cc | 209 const base::FilePath& relative_path = relative_paths[i]; in AddMixedEntries() local 210 DCHECK(!relative_path.empty()); in AddMixedEntries() 215 if (!AddFileEntry(relative_path, std::move(file))) in AddMixedEntries() 219 directories.push_back(&relative_path); in AddMixedEntries() 251 const base::FilePath& relative_path = relative_paths[i]; in AddFileEntries() local 252 DCHECK(!relative_path.empty()); in AddFileEntries() 256 LOG(ERROR) << "Cannot open " << Redact(relative_path); in AddFileEntries() 260 if (!AddFileEntry(relative_path, std::move(file))) in AddFileEntries()
|
/external/zlib/google/ |
D | zip_writer.cc | 173 const base::FilePath& relative_path = relative_paths[i]; in FlushEntriesIfNeeded() local 177 if (!AddFileEntryToZip(zip_file_, relative_path, std::move(file))) { in FlushEntriesIfNeeded() 178 LOG(ERROR) << "Failed to write file " << relative_path.value() in FlushEntriesIfNeeded() 187 LOG(ERROR) << "Failed to write entry " << relative_path.value() in FlushEntriesIfNeeded() 192 if (!AddDirectoryEntryToZip(zip_file_, relative_path, last_modified)) { in FlushEntriesIfNeeded() 193 LOG(ERROR) << "Failed to write directory " << relative_path.value() in FlushEntriesIfNeeded()
|
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/ |
D | path.decompose.pass.cpp | 72 std::string relative_path; member 139 ASSERT_EQ(p.relative_path(), TC.relative_path); in decompPathTest() 140 ASSERT_NEQ(p.has_relative_path(), TC.relative_path.empty()); in decompPathTest()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/ |
D | path.decompose.pass.cpp | 72 std::string relative_path; member 137 assert(p.relative_path() == TC.relative_path); in decompPathTest() 138 assert(p.has_relative_path() != TC.relative_path.empty()); in decompPathTest()
|
/external/tensorflow/tensorflow/core/platform/default/ |
D | resource_loader.cc | 26 std::string GetDataDependencyFilepath(const std::string& relative_path) { in GetDataDependencyFilepath() argument 34 return runfiles->Rlocation(io::JoinPath("org_tensorflow", relative_path)); in GetDataDependencyFilepath()
|
/external/libchrome/mojo/public/cpp/test_support/lib/ |
D | test_support.cc | 13 const std::string& relative_path) { in EnumerateSourceRootRelativeDirectory() argument 15 relative_path.c_str()); in EnumerateSourceRootRelativeDirectory()
|