Home
last modified time | relevance | path

Searched +full:to +full:- +full:object +full:- +full:path (Results 1 – 25 of 1225) sorted by relevance

12345678910>>...49

/external/tpm2-tss/src/tss2-fapi/
Difapi_keystore.c1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright 2018-2019, Fraunhofer SIT sponsored by Infineon Technologies AG
21 /** Initialize the linked list for an explicit key path.
23 * An implicit key path will be expanded to a key path starting with the profile
25 * A linked list of the directories of the explicit path will be returned.
28 * implicit key path.
29 * @param[in] ipath the implicit key path which has to be expanded.
31 * @param[out] current_list_node The tail of the path list after the path
34 * @retval TSS2_RC_SUCCESS If the explicit path was created.
35 * @retval TSS2_FAPI_RC_MEMORY: If memory for the path list could not be allocated.
[all …]
/external/toolchain-utils/llvm_tools/
Dupdate_chromeos_llvm_hash_unittest.py3 # Use of this source code is governed by a BSD-style license that can be
9 from pathlib import Path
25 # These are unittests; protected access is OK to a point.
26 # pylint: disable=protected-access
34 relpath: Union[str, Path], workdir: Optional[Path] = None argument
35 ) -> patch_utils.PatchEntry:
37 workdir = Path("llvm_tools/update_chromeos_llvm_hash_unittest.py")
47 @mock.patch.object(os.path, "realpath")
50 "/path/to/cros/src/third_party/toolchain-utils/llvm_tools"
54 update_chromeos_llvm_hash.defaultCrosRoot(), Path("/path/to/cros")
[all …]
Dgit_unittest.py3 # Use of this source code is governed by a BSD-style license that can be
17 # These are unittests; protected access is OK to a point.
18 # pylint: disable=protected-access
42 @mock.patch.object(os.path, "isdir", return_value=False)
44 path_to_repo = "/invalid/path/to/repo"
45 branch = "branch-name"
48 # path.
54 "Invalid directory path provided: %s" % path_to_repo,
59 @mock.patch.object(os.path, "isdir", return_value=True)
60 @mock.patch.object(subprocess, "check_output", return_value=None)
[all …]
/external/python/apitools/samples/storage_sample/
Dstorage_v1.json13 "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
14 "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
36 "Responses with Content-Type of application/json"
42 "description": "Selector specifying which fields to include in a partial response.",
63 …"description": "Available to use for quota purposes for server-side applications. Can be any arbit…
68 …ddress of the site where the request originates. Use this if you want to enforce per-user limits.",
75 "https://www.googleapis.com/auth/cloud-platform": {
78 "https://www.googleapis.com/auth/cloud-platform.read-only": {
96 "type": "object",
113 "description": "The bucket's Cross-Origin Resource Sharing (CORS) configuration.",
[all …]
/external/python/cpython3/Doc/library/
Dos.path.rst1 :mod:`os.path` --- Common pathname manipulations
4 .. module:: os.path
10 .. index:: single: path; operations
12 --------------
14 This module implements some useful functions on pathnames. To read or write
16 module. The path parameters can be passed as strings, or bytes, or any object
19 Unlike a Unix shell, Python does not do any *automatic* path expansions.
21 explicitly when an application desires shell-like path expansion. (See also
26 The :mod:`pathlib` module offers high-level path objects.
32 their parameters. The result is an object of the same type, if a path or
[all …]
/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Dstorage.v1.json5 "https://www.googleapis.com/auth/cloud-platform": {
8 "https://www.googleapis.com/auth/cloud-platform.read-only": {
31 "x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
32 "x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
51 "Responses with Content-Type of application/json"
57 "description": "Selector specifying which fields to include in a partial response.",
103 "location": "path",
108 …on": "The entity holding the permission. Can be user-userId, user-emailAddress, group-groupId, gro…
109 "location": "path",
114 …"description": "The project to be billed for this request if the target bucket is requester-pays b…
[all …]
/external/cronet/testing/merge_scripts/code_coverage/
Dmerge_results_test.py3 # Use of this source code is governed by a BSD-style license that can be
22 # pylint: disable=super-with-arguments
26 # pylint: enable=super-with-arguments
29 """Test the step-level merge front-end."""
34 'object': 'thing',
39 profdata_dir = '/some/different/path/to/profdata/default.profdata'
40 profdata_file = os.path.join(profdata_dir, 'base_unittests.profdata')
42 'script_name', '--output-json', 'output.json', '--build-properties',
43 build_properties, '--summary-json', 'summary.json', '--task-output-dir',
44 task_output_dir, '--profdata-dir', profdata_dir, '--llvm-profdata',
[all …]
/external/tpm2-tss/src/tss2-fapi/api/
DFapi_Delete.c1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright 2018-2019, Fraunhofer SIT sponsored by Infineon Technologies AG
27 /** One-Call function for Fapi_Delete
32 * @param[in] path The path to the entity that is to be deleted
35 * @retval TSS2_FAPI_RC_BAD_REFERENCE: if context or path is NULL.
37 * @retval TSS2_FAPI_RC_BAD_PATH: if path does not map to a FAPI entity.
39 * path is read-only.
45 * @retval TSS2_FAPI_RC_NO_TPM if FAPI was initialized in no-TPM-mode via its
47 * @retval TSS2_FAPI_RC_PATH_NOT_FOUND if a FAPI object path was not found
53 * this function needs to be called again.
[all …]
DFapi_SetAppData.c1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright 2018-2019, Fraunhofer SIT sponsored by Infineon Technologies AG
25 /** One-Call function for Fapi_SetAppData
27 * Associates an arbitrary data blob with a given object.
30 * @param[in] path The path to the object the blob is associated with
31 * @param[in] appData The blob to associate with the object. May be NULL
36 * @retval TSS2_FAPI_RC_BAD_REFERENCE: if context or path is NULL or if appData
39 * @retval TSS2_FAPI_RC_BAD_PATH: if path does not map to a FAPI entity.
47 * @retval TSS2_FAPI_RC_PATH_NOT_FOUND if a FAPI object path was not found
51 * this function needs to be called again.
[all …]
DFapi_GetTpmBlobs.c1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright 2018-2019, Fraunhofer SIT sponsored by Infineon Technologies AG
27 /** One-Call function for Fapi_GetTpmBlobs
29 * Get the public and private blobs of a TPM object. They can be loaded with a
30 * lower-level API such as the SAPI or the ESAPI.
33 * @param[in] path The path to the key for which the blobs will be returned
34 * @param[out] tpm2bPublic The returned public area of the object. May be NULL
36 * @param[out] tpm2bPrivate The returned private area of the object. May be
39 * @param[out] policy The policy that is associated with the object encoded in
43 * @retval TSS2_FAPI_RC_BAD_REFERENCE: if context or path is NULL.
[all …]
/external/toolchain-utils/binary_search_tool/
Dbisect_driver.py1 # -*- coding: utf-8 -*-
3 # Use of this source code is governed by a BSD-style license that can be
6 # This script is used to help the compiler wrapper in the ChromeOS and
7 # Android build systems bisect for bad object files.
9 """Utilities for bisection of ChromeOS and Android object files.
11 This module contains a set of utilities to allow bisection between
12 two sets (good and bad) of object files. Mostly used to find compiler
16 …m/a/google.com/chromeos-toolchain-team-home2/home/team-tools-and-scripts/bisecting-chromeos-compil…
19 https://docs.google.com/document/d/1yDgaUIa2O5w6dc3sSTe1ry-1ehKajTGJGQCbyn0fcEM
35 LIST_FILE = os.path.join(GOOD_CACHE, "_LIST")
[all …]
/external/python/pyfakefs/pyfakefs/
Dfake_os.py7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
15 """ Uses :py:class:`FakeOsModule` to provide a
79 """Uses FakeFilesystem to provide a fake os module replacement.
81 Do not create os.path separately from os, as there is a necessary circular
82 dependency between os and os.path to replicate the behavior of the standard
83 Python modules. What you want to do is to just let FakeOsModule take care
84 of `os.path` setup itself.
86 # You always want to do this.
94 def dir() -> List[str]:
[all …]
Dfake_filesystem.py7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
22 >>> pathname = '/a/new/dir/new-file'
24 Create a new file object, creating parent directory objects as needed:
26 >>> os_module.path.exists(pathname)
32 >>> os_module.path.exists(pathname)
40 Remove a file object:
43 >>> os_module.path.exists(pathname)
46 Create a new file object at the previous path:
49 ... contents='Dear Prudence\\nWon\\'t you come out to play?\\n')
[all …]
/external/autotest/client/cros/cellular/pseudomodem/
Ddbus_std_ifaces.py3 # Use of this source code is governed by a BSD-style license that can be
8 - org.freedesktop.DBus.Properties
9 - org.freedesktop.DBus.Introspectable (TODO(armansito): May not be necessary)
10 - org.freedesktop.DBus.ObjectManager
26 to indicate that a value for the given interface or
46 class DBusProperties(dbus.service.Object):
51 properties. Each instance holds a mapping from DBus interface names to
52 property-value mappings, which are provided by the subclasses.
56 def __init__(self, path, bus=None, config=None): argument
58 @param bus: The pydbus bus object.
[all …]
Dsms_handler.py3 # Use of this source code is governed by a BSD-style license that can be
20 class SmsHandler(object):
27 # TODO(armansito): Apply a character limit to SMS messages for multi-part
29 # currently unusued. The value that is currently assigned to it is
36 self._messages = {} # Mapping from DBus Object paths to sms.SMS.
43 Returns the current bus assigned to this object. This is the bus
73 def delete_message(self, path): argument
75 Removes the message with DBus object path |path|. This operation
76 has no effect if and SMS object with path |path| is unknown.
78 @param path: DBus object path of the SMS object to remove.
[all …]
/external/aws-sdk-java-v2/services/mediastoredata/src/main/resources/codegen-resources/
Dservice-2.json4 "apiVersion":"2017-09-01",
6 "protocol":"rest-json",
12 "uid":"mediastore-data-2017-09-01"
19 "requestUri":"/{Path+}"
28 "documentation":"<p>Deletes an object at the specified path.</p>"
34 "requestUri":"/{Path+}"
43 "documentation":"<p>Gets the headers for an object at the specified path.</p>"
49 "requestUri":"/{Path+}"
59object at the specified path. If the object’s upload availability is set to <code>streaming</code>…
79 "requestUri":"/{Path+}"
[all …]
Ddocs-2.json3 …"service": "<p>An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon …
5 "DeleteObject": "<p>Deletes an object at the specified path.</p>",
6 "DescribeObject": "<p>Gets the headers for an object at the specified path.</p>",
7 "GetObject": "<p>Downloads the object at the specified path.</p>",
9 … "PutObject": "<p>Uploads an object to the specified path. Object sizes are limited to 25 MB.</p>"
20 "GetObjectResponse$ContentRange": "<p>The range of bytes to retrieve.</p>"
26 "DescribeObjectResponse$ContentType": "<p>The content type of the object.</p>",
27 "GetObjectResponse$ContentType": "<p>The content type of the object.</p>",
29 "PutObjectRequest$ContentType": "<p>The content type of the object.</p>"
55 … "DescribeObjectResponse$ETag": "<p>The ETag that represents a unique instance of the object.</p>",
[all …]
/external/tensorflow/tensorflow/python/util/
Dcompat.py7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
56 import collections.abc as collections_abc # pylint: disable=unused-import
58 import collections as collections_abc # pylint: disable=unused-import
61 def as_bytes(bytes_or_text, encoding='utf-8'):
62 """Converts `bytearray`, `bytes`, or unicode python input types to `bytes`.
64 Uses utf-8 encoding for text by default.
67 bytes_or_text: A `bytearray`, `bytes`, `str`, or `unicode` object.
71 A `bytes` object.
89 def as_text(bytes_or_text, encoding='utf-8'):
[all …]
/external/angle/build/lacros/
Dtest_runner_test.py3 # Use of this source code is governed by a BSD-style license that can be
28 @mock.patch.object(os.path,
32 args = ['--some_flag="flag"']
36 'testing/buildbot/filters/linux-lacros.browser_tests.filter'))
37 self.assertTrue(args[1].startswith('--test-launcher-filter-file='))
39 args = ['--some_flag="flag"']
43 args = ['--test-launcher-filter-file=new/filter']
54 @mock.patch.object(os.path, 'isfile', return_value=True)
55 @mock.patch.object(test_runner, '_DownloadAshChromeIfNecessary')
56 @mock.patch.object(subprocess, 'Popen', return_value=mock.Mock())
[all …]
/external/cronet/build/lacros/
Dtest_runner_test.py3 # Use of this source code is governed by a BSD-style license that can be
28 @mock.patch.object(os.path,
32 args = ['--some_flag="flag"']
36 'testing/buildbot/filters/linux-lacros.browser_tests.filter'))
37 self.assertTrue(args[1].startswith('--test-launcher-filter-file='))
39 args = ['--some_flag="flag"']
43 args = ['--test-launcher-filter-file=new/filter']
54 @mock.patch.object(os.path, 'isfile', return_value=True)
55 @mock.patch.object(test_runner, '_DownloadAshChromeIfNecessary')
56 @mock.patch.object(subprocess, 'Popen', return_value=mock.Mock())
[all …]
/external/pdfium/public/
Dfpdf_edit.h2 // Use of this source code is governed by a BSD-style license that can be
23 // Refer to PDF Reference version 1.7 table 4.12 for all color space families.
37 // The page object constants.
45 // The path segment constants.
46 #define FPDF_SEGMENT_UNKNOWN -1
82 // The image's horizontal pixel-per-inch.
84 // The image's vertical pixel-per-inch.
86 // The number of bits used to represent each pixel.
90 // The image's marked content ID. Useful for pairing with associated alt-text.
91 // A value of -1 indicates no ID.
[all …]
/external/chromium-trace/catapult/third_party/polymer/components/app-route/
DREADME.md2 <!---
5 app-location.html app-route-converter-behavior.html app-route-converter.html app-route.html
13 -->
15 …Build status](https://travis-ci.org/PolymerElements/app-route.svg?branch=master)](https://travis-c…
18 ## &lt;app-route&gt;
20 `app-route` is an element that enables declarative, self-describing routing
23 > *n.b. app-route is still in beta. We expect it will need some changes. We're counting on your fee…
25 In its typical usage, a `app-route` element consumes an object that describes
28 related to the `route`, and a `tail` that contains the rest of the `route` that
31 Here is a basic example, when used with `app-location`:
[all …]
/external/toolchain-utils/rust_tools/
Drust_uprev_test.py3 # Use of this source code is governed by a BSD-style license that can be
9 from pathlib import Path
19 # rust_uprev sets SOURCE_ROOT to the output of `repo --show-toplevel`.
33 """Creates a patcher, starts it, and registers a cleanup to stop it.
37 the object to attach the cleanup to
39 passed to mock.patch()
41 passsed to mock.patch()
52 @mock.patch.object(
53 rust_uprev, "get_distdir", return_value=Path("/fake/distfiles")
55 @mock.patch.object(subprocess, "call", side_effect=_fail_command)
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DFileCleaningTracker.java2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
22 import java.nio.file.Path;
32 * marker object is reclaimed by the garbage collector.
34 * This utility creates a background thread to handle file deletion.
35 * Each file to be deleted is registered with a handler object.
36 * When the handler object is garbage collected, the file is deleted.
48 // Note: fields are package protected to allow use by test cases
[all …]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_helpers.c2 * WPA Supplicant / dbus-based control interface
31 for (dsc = props; dsc && dsc->dbus_property; dsc++) { in fill_dict_with_properties()
32 /* Only return properties for the requested D-Bus interface */ in fill_dict_with_properties()
33 if (os_strncmp(dsc->dbus_interface, interface, in fill_dict_with_properties()
37 /* Skip write-only properties */ in fill_dict_with_properties()
38 if (dsc->getter == NULL) in fill_dict_with_properties()
46 &dsc->dbus_property)) in fill_dict_with_properties()
50 if (!dsc->getter(dsc, &entry_iter, error, user_data)) { in fill_dict_with_properties()
53 __func__, dsc->dbus_interface, in fill_dict_with_properties()
54 dsc->dbus_property); in fill_dict_with_properties()
[all …]

12345678910>>...49