/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
EdkIIGlueDevicePathLib.h | 19 Public header file for Device Path Lib
39 Returns the size of a device path in bytes.
41 This function returns the size, in bytes, of the device path data structure specified by
42 DevicePath including the end of device path node. If DevicePath is NULL, then 0 is returned.
44 @param DevicePath A pointer to a device path data structure.
46 @return The size of a device path in bytes.
56 Creates a new device path by appending a second device path to a first device path.
58 This function allocates space for a new copy of the device path specified by DevicePath. If [all...] |
/external/python/cpython2/Lib/ |
posixpath.py | 4 this module as os.path. The "os.path" name is an alias for this 6 os.path provides the same operations in a manner specific to that 29 # strings representing various path-related bits and pieces 49 # Return whether a path is absolute. 53 """Test whether a path is absolute""" 63 If any component is an absolute path, all previous path components 64 will be discarded. An empty last part will result in a path that 66 path = [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
posixpath.py | 4 this module as os.path. The "os.path" name is an alias for this 6 os.path provides the same operations in a manner specific to that 36 # strings representing various path-related bits and pieces 56 # Return whether a path is absolute. 60 """Test whether a path is absolute""" 70 If any component is an absolute path, all previous path components 71 will be discarded. An empty last part will result in a path that 73 path = [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
posixpath.py | 4 this module as os.path. The "os.path" name is an alias for this 6 os.path provides the same operations in a manner specific to that 36 # strings representing various path-related bits and pieces 56 # Return whether a path is absolute. 60 """Test whether a path is absolute""" 70 If any component is an absolute path, all previous path components 71 will be discarded. An empty last part will result in a path that 73 path = [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
posixpath.py | 4 this module as os.path. The "os.path" name is an alias for this 6 os.path provides the same operations in a manner specific to that 36 # strings representing various path-related bits and pieces 56 # Return whether a path is absolute. 60 """Test whether a path is absolute""" 70 If any component is an absolute path, all previous path components 71 will be discarded. An empty last part will result in a path that 73 path = [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
posixpath.py | 4 this module as os.path. The "os.path" name is an alias for this 6 os.path provides the same operations in a manner specific to that 36 # strings representing various path-related bits and pieces 56 # Return whether a path is absolute. 60 """Test whether a path is absolute""" 70 If any component is an absolute path, all previous path components 71 will be discarded. An empty last part will result in a path that 73 path = [all...] |
/external/chromium-trace/catapult/common/eslint/eslint/ |
__init__.py | 10 _CATAPULT_PATH = os.path.join( 11 os.path.dirname(os.path.abspath(__file__)), 12 os.path.pardir, os.path.pardir, os.path.pardir) 15 def _AddToPathIfNeeded(path): 16 if path not in sys.path: 17 sys.path.insert(0, path [all...] |
/external/chromium-trace/catapult/common/node_runner/node_runner/ |
node_util.py | 15 return os.path.realpath(os.path.join( 16 os.path.dirname(os.path.abspath(__file__)), 'node_binaries.json')) 35 old_dir = os.path.abspath(os.curdir) 36 os.chdir(os.path.join(os.path.abspath( 55 path = os.path.abspath(os.path.join(os.path.dirname(__file__) [all...] |
/external/desugar/java/com/google/devtools/build/android/desugar/ |
DirectoryOutputFileProvider.java | 21 import java.nio.file.Path; 26 private final Path root; 28 public DirectoryOutputFileProvider(Path root) { 34 Path path = root.resolve(filename); local 35 createParentFolder(path); 37 OutputStream os = Files.newOutputStream(path)) { 44 Path path = root.resolve(filename); local 45 createParentFolder(path); [all...] |
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/ |
fileutil_unittest.py | 6 import os.path 15 path = os.path.abspath(__file__) 17 path, tail = os.path.split(path) 20 return path 25 sys.path.append(os.path.join(_GetDirAbove("pylib"), "pylib")) 36 self.assertTrue(os.path.exists(temp_dir) [all...] |
/prebuilts/go/darwin-x86/src/os/exec/ |
lp_unix.go | 12 "path/filepath" 16 // ErrNotFound is the error resulting if a path search failed to find an executable file. 17 var ErrNotFound = errors.New("executable file not found in $PATH") 31 // in the directories named by the PATH environment variable. 32 // If file contains a slash, it is tried directly and the PATH is not consulted. 33 // The result may be an absolute path or a path relative to the current directory. 36 // (only bypass the path if file begins with / or ./ or ../) 46 path := os.Getenv("PATH") [all...] |
/prebuilts/go/linux-x86/src/os/exec/ |
lp_unix.go | 12 "path/filepath" 16 // ErrNotFound is the error resulting if a path search failed to find an executable file. 17 var ErrNotFound = errors.New("executable file not found in $PATH") 31 // in the directories named by the PATH environment variable. 32 // If file contains a slash, it is tried directly and the PATH is not consulted. 33 // The result may be an absolute path or a path relative to the current directory. 36 // (only bypass the path if file begins with / or ./ or ../) 46 path := os.Getenv("PATH") [all...] |
/external/chromium-trace/catapult/devil/devil/utils/ |
zip_utils.py | 13 _DEVIL_ROOT_DIR = os.path.abspath( 14 os.path.join(os.path.dirname(__file__), '..', '..')) 15 _PY_UTILS_ROOT_DIR = os.path.abspath( 16 os.path.join(_DEVIL_ROOT_DIR, '..', 'common', 'py_utils')) 17 sys.path.extend((_DEVIL_ROOT_DIR, _PY_UTILS_ROOT_DIR)) 32 def _WriteToZipFile(zip_file, path, arc_path): 33 """Recursively write |path| to |zip_file| as |arc_path|. 36 path: An absolute path to the file or directory to be zipped [all...] |
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.canonical/ |
canonical.pass.cpp | 14 // path canonical(const path& p, const path& base = current_path()); 15 // path canonical(const path& p, error_code& ec); 16 // path canonical(const path& p, const path& base, error_code& ec); 32 const path p; ((void)p); 40 // There are 4 cases is the proposal for absolute path [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/experimental/filesystem/fs.op.funcs/fs.op.canonical/ |
canonical.pass.cpp | 14 // path canonical(const path& p, const path& base = current_path()); 15 // path canonical(const path& p, error_code& ec); 16 // path canonical(const path& p, const path& base, error_code& ec); 32 const path p; ((void)p); 40 // There are 4 cases is the proposal for absolute path [all...] |
/external/autotest/apache/ |
autotest.wsgi | 7 # The frontend directory needs to be added to our path for the WSGI 9 frontend_path = os.path.abspath( 10 os.path.join(os.path.dirname(__file__, '..', 'frontend')) 11 sys.path.append(frontend_path)
|
/external/autotest/client/bin/result_tools/ |
unittest_lib.py | 8 def create_file(path, size=SIZE): 9 """Create a temp file at given path with the given size. 11 @param path: Path to the temp file. 14 with open(path, 'w') as f:
|
/external/autotest/client/cros/cellular/ |
common.py | 7 dirname = os.path.dirname(sys.modules[__name__].__file__) 8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir)) 9 sys.path.insert(0, client_dir) 11 sys.path.pop(0)
|
/external/autotest/client/cros/cellular/mbim_compliance/assertions/ |
common.py | 7 dirname = os.path.dirname(sys.modules[__name__].__file__) 8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir, 10 sys.path.insert(0, client_dir) 12 sys.path.pop(0)
|
/external/autotest/client/cros/cellular/mbim_compliance/ |
common.py | 7 dirname = os.path.dirname(sys.modules[__name__].__file__) 8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir, 10 sys.path.insert(0, client_dir) 12 sys.path.pop(0)
|
/external/autotest/client/cros/cellular/mbim_compliance/sequences/ |
common.py | 7 dirname = os.path.dirname(sys.modules[__name__].__file__) 8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir, 10 sys.path.insert(0, client_dir) 12 sys.path.pop(0)
|
/external/autotest/client/cros/cellular/mbim_compliance/tests/ |
common.py | 7 dirname = os.path.dirname(sys.modules[__name__].__file__) 8 client_dir = os.path.abspath(os.path.join(dirname, os.pardir, os.pardir, 10 sys.path.insert(0, client_dir) 12 sys.path.pop(0)
|
/external/autotest/client/cros/cellular/pseudomodem/ |
common.py | 11 dirname = os.path.dirname(sys.modules[__name__].__file__) 12 client_dir = os.path.abspath(os.path.join(dirname, "..", "..", "..")) 13 sys.path.insert(0, client_dir) 17 sys.path.pop(0)
|
/external/autotest/client/cros/ |
tty.py | 15 for path in candidates: 18 os.path.realpath('/sys/class/tty/%s/device/driver' % 19 os.path.basename(path))): 20 return path
|
/external/autotest/client/deps/camera_hal3/ |
common.py | 6 dirname = os.path.dirname(sys.modules[__name__].__file__) 7 client_dir = os.path.abspath(os.path.join(dirname, "..", "..")) 8 sys.path.insert(0, client_dir) 10 sys.path.pop(0)
|