/external/pdfium/testing/utils/ |
path_service.cpp | 21 bool PathService::EndsWithSeparator(const std::string& path) { 22 return path.size() > 1 && path[path.size() - 1] == PATH_SEPARATOR; 26 bool PathService::GetExecutableDir(std::string* path) { 27 // Get the current executable file path. 34 *path = std::string(path_buffer); 36 ASSERT(path); 42 path->reserve(path_length); 43 path->resize(path_length - 1) [all...] |
/external/chromium-trace/catapult/common/eslint/bin/ |
run_tests | 10 _CATAPULT_PATH = os.path.abspath( 11 os.path.join(os.path.dirname(__file__), 12 os.path.pardir, os.path.pardir, os.path.pardir)) 15 _ESLINT_PATH = os.path.abspath( 16 os.path.join(os.path.dirname(__file__), os.path.pardir) [all...] |
/external/libmojo/build/android/pylib/constants/ |
host_paths.py | 11 os.path.abspath(os.path.join(os.path.dirname(__file__), 14 BUILD_COMMON_PATH = os.path.join( 18 ANDROID_PLATFORM_DEVELOPMENT_SCRIPTS_PATH = os.path.join( 21 DEVIL_PATH = os.path.join( 23 PYMOCK_PATH = os.path.join( 27 def SysPath(path, position=None): 29 sys.path.append(path) [all...] |
/bootable/recovery/ |
fuse_sdcard_provider.h | 20 bool start_sdcard_fuse(const char* path);
|
/external/fio/os/windows/posix/include/ |
libgen.h | 4 char *basename(char *path);
|
/bionic/libc/bionic/ |
rmdir.cpp | 32 int rmdir(const char* path) { 33 return unlinkat(AT_FDCWD, path, AT_REMOVEDIR);
|
unlink.cpp | 32 int unlink(const char* path) { 33 return unlinkat(AT_FDCWD, path, 0);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
mktemp.c | 54 _mktemp(char *path)
56 _DIAGASSERT(path != NULL);
58 return (__gettemp(path, (int *)NULL, 0) ? path : (char *)NULL);
65 mktemp(char *path)
68 _DIAGASSERT(path != NULL);
70 return (__gettemp(path, (int *)NULL, 0) ? path : (char *)NULL);
|
/external/libmojo/third_party/catapult/devil/devil/utils/ |
host_utils.py | 8 def GetRecursiveDiskUsage(path): 9 """Returns the disk usage in bytes of |path|. Similar to `du -sb |path|`.""" 10 running_size = os.path.getsize(path) 11 if os.path.isdir(path): 12 for root, dirs, files in os.walk(path): 13 running_size += sum([os.path.getsize(os.path.join(root, f) [all...] |
/external/perf_data_converter/src/ |
path_matching.h | 19 bool IsDeletedSharedObject(const string& path); 21 bool IsVersionedSharedObject(const string& path);
|
/external/v8/tools/clang/pylib/clang/ |
compile_db.py | 11 def GenerateWithNinja(path): 15 path: The build directory to generate a compile database for. 19 print 'Generating compile database in %s...' % path 20 args = ['ninja', '-C', path, '-t', 'compdb', 'cc', 'cxx', 'objc', 'objcxx'] 22 with file(os.path.join(path, 'compile_commands.json'), 'w') as f: 26 def Read(path): 30 path: Directory that contains the compile database. 32 with open(os.path.join(path, 'compile_commands.json'), 'rb') as db [all...] |
/external/curl/tests/ |
pathhelp.pm | 23 # This Perl package helps with path transforming when running curl tests on 28 # (1) /some/path - absolute path in Unix-style 29 # (2) D:/some/path - absolute path in Win32-style 30 # (3) some/path - relative path 31 # (4) D:some/path - path relative to current directory on Win32 drive (paths 33 # (5) \some/path - path from root directory on current Win32 drive (* [all...] |
/external/autotest/client/bin/result_tools/ |
result_info_lib.py | 11 def _get_file_stat(path): 12 """Get the os.stat of the file at the given path. 14 @param path: Path to the file. 18 return os.stat(path) 24 def get_file_size(path): 25 """Get the size of the file in bytes for the given path. 27 @param path: Path to the file. 30 stat = _get_file_stat(path) [all...] |
/external/jsoncpp/test/ |
generate_expected.py | 3 import os.path 4 for path in glob.glob( '*.json' ): 5 text = file(path,'rt').read() 6 target = os.path.splitext(path)[0] + '.expected' 7 if os.path.exists( target ):
|
/external/libyuv/files/ |
download_vs_toolchain.py | 20 checkout_root = os.path.dirname(os.path.realpath(__file__)) 21 sys.path.insert(0, os.path.join(checkout_root, 'build')) 22 sys.path.insert(0, os.path.join(checkout_root, 'tools', 'find_depot_tools'))
|
/external/python/cpython2/Lib/idlelib/ |
idle.py | 1 import os.path 8 idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 9 if idlelib_dir not in sys.path: 10 sys.path.insert(0, idlelib_dir)
|
/external/python/cpython3/Lib/idlelib/ |
idle.py | 1 import os.path 9 idlelib_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 10 if idlelib_dir not in sys.path: 11 sys.path.insert(0, idlelib_dir)
|
/external/skia/gm/ |
crbug_788500.cpp | 14 SkPath path; local 15 path.setFillType(SkPath::kEvenOdd_FillType); 16 path.moveTo(0, 0); 17 path.moveTo(245.5f, 98.5f); 18 path.cubicTo(245.5f, 98.5f, 242, 78, 260, 75); 22 canvas->drawPath(path, paint);
|
/external/skqp/gm/ |
crbug_788500.cpp | 14 SkPath path; local 15 path.setFillType(SkPath::kEvenOdd_FillType); 16 path.moveTo(0, 0); 17 path.moveTo(245.5f, 98.5f); 18 path.cubicTo(245.5f, 98.5f, 242, 78, 260, 75); 22 canvas->drawPath(path, paint);
|
/external/turbine/java/com/google/turbine/diag/ |
SourceFile.java | 22 private final String path; field in class:SourceFile 25 public SourceFile(String path, String source) { 26 this.path = path; 30 /** The path. */ 31 public String path() { method in class:SourceFile 32 return path;
|
/external/webrtc/webrtc/base/ |
pathutils_unittest.cc | 18 rtc::Pathname path("/", ""); 19 EXPECT_FALSE(path.empty()); 20 EXPECT_FALSE(path.folder().empty()); 21 EXPECT_TRUE (path.filename().empty()); 22 EXPECT_FALSE(path.pathname().empty()); 23 EXPECT_EQ(std::string("/"), path.pathname()); 25 path.SetPathname("", "foo"); 26 EXPECT_FALSE(path.empty()); 27 EXPECT_TRUE (path.folder().empty()); 28 EXPECT_FALSE(path.filename().empty()) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailUriType.java | 30 private final String path; field in class:VoicemailUriType 32 private VoicemailUriType(String path) { 33 this.path = path; 37 public String path() { method in class:VoicemailUriType 38 return path;
|
/external/annotation-tools/annotation-file-utilities/src/annotator/scanner/ |
CommonScanner.java | 27 * This is a path to a method or a field/instance/static initializer. 29 public static TreePath findCountingContext(TreePath path) { 30 while (path != null) { 31 if (path.getLeaf().getKind() == Tree.Kind.METHOD || 32 isFieldInit(path) || 33 isInitBlock(path)) { 34 return path; 36 path = path.getParentPath(); 38 return path; [all...] |
/external/chromium-trace/catapult/common/battor/battor/ |
__init__.py | 8 return os.path.abspath(os.path.join(*path_parts)) 12 path = _JoinPath(*path_parts) 13 if os.path.isdir(path) and path not in sys.path: 14 # Some call sites that use Telemetry assume that sys.path[0] is the 16 # after sys.path[0]. 17 sys.path.insert(1, path [all...] |
/external/libmojo/build/android/pylib/ |
__init__.py | 9 _CATAPULT_PATH = os.path.abspath(os.path.join( 10 os.path.dirname(__file__), '..', '..', '..', 'third_party', 'catapult')) 12 _DEVIL_PATH = os.path.join(_CATAPULT_PATH, 'devil') 14 _PYTRACE_PATH = os.path.join(_CATAPULT_PATH, 'common', 'py_trace_event') 16 _PY_UTILS_PATH = os.path.join(_CATAPULT_PATH, 'common', 'py_utils') 18 _TRACE2HTML_PATH = os.path.join(_CATAPULT_PATH, 'tracing') 21 if _DEVIL_PATH not in sys.path: 22 sys.path.append(_DEVIL_PATH) 24 if _PYTRACE_PATH not in sys.path [all...] |