/third_party/skia/docs/examples/ |
H A D | Path_toggleInverseFillType.cpp | 8 SkPath path; in REG_FIDDLE() local 12 paint.getTextPath("ABC", 3, 20, 80, &path); in REG_FIDDLE() 13 canvas->drawPath(path, paint); in REG_FIDDLE() 14 path.toggleInverseFillType(); in REG_FIDDLE() 16 canvas->drawPath(path, paint); in REG_FIDDLE()
|
H A D | Path_transform_2.cpp | 7 SkPath path; in REG_FIDDLE() local 8 path.moveTo(100, 100); in REG_FIDDLE() 9 path.quadTo(100, 20, 20, 100); in REG_FIDDLE() 15 path.transform(matrix); in REG_FIDDLE() 16 canvas->drawPath(path, paint); in REG_FIDDLE()
|
H A D | Paint_getPosTextPath.cpp | 10 SkPath path, path2; in REG_FIDDLE() local 12 paint.getPosTextPath("ABC", 3, pos, &path); in REG_FIDDLE() 13 Simplify(path, &path); in REG_FIDDLE() 15 canvas->drawPath(path, paint); in REG_FIDDLE()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | dtfmtsym.cpp | 1518 // Alias' relative path populated whenever an alias is read 1636 UnicodeString *path = (UnicodeString*)aliasPathPairs[i + 1]; in put() local 1637 if (arrays.get(*path) == NULL) { in put() 1644 arrays.put(*path, aliasArrayCopy.orphan(), errorCode); in put() 1645 arraySizes.puti(*path, aliasArraySize, errorCode); in put() 1650 UnicodeString *path = (UnicodeString*)aliasPathPairs[i + 1]; in put() local 1651 if (maps.get(*path) == NULL) { in put() 1652 maps.put(*path, aliasMap, errorCode); in put() 1674 void processResource(UnicodeString &path, const char *key, ResourceValue &value, UErrorCode &errorCode) { in processResource() 1700 maps.put(path, stringMa in processResource() 1914 initLeapMonthPattern(UnicodeString *field, int32_t index, CalendarDataSink &sink, CharString &path, UErrorCode &status) initLeapMonthPattern() argument 1934 buildResourcePath(CharString &path, const char* segment1, UErrorCode &errorCode) buildResourcePath() argument 1939 buildResourcePath(CharString &path, const char* segment1, const char* segment2, UErrorCode &errorCode) buildResourcePath() argument 1946 buildResourcePath(CharString &path, const char* segment1, const char* segment2, const char* segment3, UErrorCode &errorCode) buildResourcePath() argument 1953 buildResourcePath(CharString &path, const char* segment1, const char* segment2, const char* segment3, const char* segment4, UErrorCode &errorCode) buildResourcePath() argument 1989 loadDayPeriodStrings(CalendarDataSink &sink, CharString &path, int32_t &stringCount, UErrorCode &status) loadDayPeriodStrings() argument 2156 CharString path; initializeData() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_tempfile.py | 68 def __init__(self, path): 69 self.path = path 72 return self.path 99 (ndir, nbase) = os.path.split(name) 121 self.assertEqual(os.path.abspath(ndir), os.path.abspath(dir), 248 env[envname] = os.path.abspath(envname) 355 tempdir = os.path.join(tempfile.tempdir, 'nonexistent') 362 tempdir = os.path [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | free-space-tree.h | 36 struct btrfs_path *path, int cow); 39 struct btrfs_path *path, u64 start, u64 size); 42 struct btrfs_path *path, u64 start, u64 size); 45 struct btrfs_path *path); 48 struct btrfs_path *path); 50 struct btrfs_path *path, u64 offset);
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | free-space-tree.h | 37 struct btrfs_path *path, int cow); 40 struct btrfs_path *path, u64 start, u64 size); 43 struct btrfs_path *path, u64 start, u64 size); 46 struct btrfs_path *path); 49 struct btrfs_path *path); 51 struct btrfs_path *path, u64 offset);
|
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | path.h | 23 /* device path management */ 34 /* path pipelines management */ 61 void avs_path_free(struct avs_path *path); 66 int avs_path_bind(struct avs_path *path); 67 int avs_path_unbind(struct avs_path *path); 68 int avs_path_reset(struct avs_path *path); 69 int avs_path_pause(struct avs_path *path); 70 int avs_path_run(struct avs_path *path, int trigger);
|
/third_party/flatbuffers/ |
H A D | install.py | 34 if os.path.exists(old_dir): 44 args_parser.add_argument('--gen-dir', help='generate path of log', required=True) 45 args_parser.add_argument('--source-dir', help='generate path of log', required=True) 48 tar_file_path = os.path.join(args.source_dir, "v2.0.0.tar.gz") 49 target_dir = os.path.join(args.gen_dir, "flatbuffers-2.0.0") 51 clear_dir(os.path.join(args.source_dir, "include")) 53 move_dir(os.path.join(target_dir, "include"), os.path.join(args.source_dir, "include"))
|
/third_party/ltp/lib/ |
H A D | get_path.c | 28 * returned and absolute path to the file is filled into buf. In case buf is 29 * too short to hold the absolute path + prog_name for the file we are looking 43 static int file_exist(const char *path) in file_exist() argument 47 if (!access(path, R_OK) && !stat(path, &st) && S_ISREG(st.st_mode)) in file_exist() 55 const char *path = (const char *)getenv("PATH"); in tst_get_path() local 56 const char *start = path; in tst_get_path() 60 if (path == NULL) in tst_get_path() 84 * If there is no '/' ad the end of path from $PATH add it. in tst_get_path()
|
/third_party/node/test/parallel/ |
H A D | test-fs-watch-encoding.js | 23 const path = require('path'); 29 const a = path.join(tmpdir.path, fn); 48 tmpdir.path, 61 tmpdir.path, 73 tmpdir.path,
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/mutators/ |
H A D | crossover_mutator.js | 29 ExpressionStatement(path) { 34 const canHaveSuper = Boolean(path.findParent(x => x.isClassMethod())); 45 const variables = common.availableVariables(path); 71 thisMutator.insertBeforeSkip(path, toInsert); 73 thisMutator.insertAfterSkip(path, toInsert); 76 path.skip();
|
/third_party/node/test/addons/openssl-client-cert-engine/ |
H A D | test.js | 9 const path = require('path'); 11 const engine = path.join(__dirname, 20 const agentKey = fs.readFileSync(fixture.path('/keys/agent1-key.pem')); 21 const agentCert = fs.readFileSync(fixture.path('/keys/agent1-cert.pem')); 22 const agentCa = fs.readFileSync(fixture.path('/keys/ca1-cert.pem')); 40 path: '/test',
|
/third_party/node/test/fixtures/source-map/ |
H A D | istanbul-throw.js | 1 var cov_ono70fls3=function(){var path="/Users/bencoe/oss/source-map-testing/istanbul-throw-original.js";var hash="4302fcea4eb0ea4d9af6e63a478f214aa61f9dd8";var global=new Function("return this")();var gcv="__coverage__";var coverageData={path:"/Users/bencoe/oss/source-map-testing/istanbul-throw-original.js",statementMap:{"0":{start:{line:5,column:2},end:{line:5,column:25}},"1":{start:{line:8,column:0},end:{line:10,column:3}},"2":{start:{line:9,column:2},end:{line:9,column:10}}},fnMap:{"0":{name:"Hello",decl:{start:{line:4,column:9},end:{line:4,column:14}},loc:{start:{line:4,column:17},end:{line:6,column:1}},line:4},"1":{name:"(anonymous_1)",decl:{start:{line:8,column:13},end:{line:8,column:14}},loc:{start:{line:8,column:24},end:{line:10,column:1}},line:8}},branchMap:{},s:{"0":0,"1":0,"2":0},f:{"0":0,"1":0},b:{},_coverageSchema:"43e27e138ebf9cfc5966b082cf9a028302ed4184",hash:"4302fcea4eb0ea4d9af6e63a478f214aa61f9dd8"};var coverage=global[gcv]||(global[gcv]={});if(coverage[path]&&coverage[path].hash===hash){return coverage[path];}return coverage[path]=coverageData;}();/*
|
/third_party/libffi/ |
H A D | install.py | 43 patch_dir = os.path.join(src_path, "patch") 45 src_file = os.path.join(patch_dir, file) 46 dst_file = os.path.join(dst_path, file) 51 if not os.path.exists(target_dir): 65 libffi_path.add_argument('--gen-dir', help='generate path of log', required=True) 66 libffi_path.add_argument('--source-dir', help='generate path of log', required=True) 68 tar_file_path = os.path.join(args.source_dir, "libffi-3.4.2.tar.gz") 69 target_dir = os.path.join(args.gen_dir, "libffi-3.4.2")
|
/third_party/ltp/testcases/open_posix_testsuite/include/ |
H A D | noatime.h | 45 * contained in path. 47 int mounted_noatime(const char *path) in mounted_noatime() argument 66 prefix = strpref(path, mnt->mnt_dir); in mounted_noatime() 77 int mounted_noatime(const char *path) in mounted_noatime() argument 81 if (statfs(path, &_statfs) == -1) { in mounted_noatime() 82 printf("statfs for %s failed: %s\n", path, strerror(errno)); in mounted_noatime() 89 int mounted_noatime(const char *path PTS_ATTRIBUTE_UNUSED) in mounted_noatime()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaltstack/ |
H A D | 9-1.c | 41 char path[PATH_MAX + 1]; in main() local 60 /* Get abs path if needed and exec ourself */ in main() 62 if (getcwd(path, PATH_MAX) == NULL) { in main() 66 strcat(path, "/"); in main() 67 strcat(path, argv[0]); in main() 69 strcpy(path, argv[0]); in main() 71 execl(path, argv[0], "verify", NULL); in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/dirent/ |
H A D | opendir.c | 30 char *path = "/data/local/tmp/opendirtest"; in opendir_0100() local 31 if (access(path, F_OK) == 0) { in opendir_0100() 32 remove(path); in opendir_0100() 34 int ret = mkdir(path, 0777); in opendir_0100() 38 DIR *dir = opendir(path); in opendir_0100() 54 ret = remove(path); in opendir_0100() 62 * @tc.desc : When the path is not a folder or not exit, test the return value of the function 84 * @tc.desc : When the path is NULL, test the return value of the function
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | setxattr.c | 34 char path[PATH_MAX] = {0}; in setxattr_0100() local 35 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in setxattr_0100() 36 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in setxattr_0100() 46 int result = setxattr(path, name, value, strlen(value), XATTR_CREATE); in setxattr_0100() 58 result = getxattr(path, name, buf, sizeof(buf)); in setxattr_0100() 71 remove(path); in setxattr_0100()
|
/third_party/mesa3d/src/util/tests/ |
H A D | process_test.c | 65 static void posixify_path(char *path) { in posixify_path() argument 66 /* Always using posix separator '/' to check path equal */ in posixify_path() 67 char *p = path; in posixify_path() 75 /* This test gets the real path from Meson (BUILD_FULL_PATH env var), 81 char path[PATH_MAX]; in test_util_get_process_exec_path() local 82 if (util_get_process_exec_path(path, PATH_MAX) == 0) { in test_util_get_process_exec_path() 86 posixify_path(path); in test_util_get_process_exec_path() 100 expect_equal_str(build_path, path, "test_util_get_process_exec_path"); in test_util_get_process_exec_path()
|
/third_party/rust/crates/bitflags/tests/ |
H A D | compile.rs | 5 path::Path, 32 fn prepare_stderr_files(path: impl AsRef<Path>) -> io::Result<()> { in prepare_stderr_files() 33 for entry in WalkDir::new(path) { in prepare_stderr_files() 36 if entry.path().extension().and_then(OsStr::to_str) == Some("beta") { in prepare_stderr_files() 37 let renamed = entry.path().with_extension(""); in prepare_stderr_files() 46 rename_beta_stderr(entry.path(), renamed)?; in prepare_stderr_files()
|
/third_party/python/Tools/c-analyzer/c_parser/ |
H A D | source.py | 2 import os.path namespace 30 if not os.path.exists(filename): 42 if os.path.isabs(filename): 46 filename = os.path.join('.', filename) 50 elif os.path.abspath(filename) == os.path.abspath(alt):
|
/third_party/skia/src/core/ |
H A D | SkOSFile.h | 24 FILE* sk_fopen(const char path[], SkFILE_Flags); 61 /** Returns true if something (file, directory, ???) exists at this path, 64 bool sk_exists(const char *path, SkFILE_Flags = (SkFILE_Flags)0); 66 // Returns true if a directory exists at this path. 67 bool sk_isdir(const char *path); 74 // Create a new directory at this path; returns true if successful. 77 bool sk_mkdir(const char* path); 85 SK_SPI Iter(const char path[], const char suffix[] = nullptr); 88 SK_SPI void reset(const char path[], const char suffix[] = nullptr);
|
/third_party/python/Modules/_multiprocessing/ |
H A D | posixshmem.c | 28 path: unicode 32 # "shm_open(path, flags, mode=0o777)\n\n\ 39 _posixshmem_shm_open_impl(PyObject *module, PyObject *path, int flags, in _posixshmem_shm_open_impl() argument 45 const char *name = PyUnicode_AsUTF8(path); in _posixshmem_shm_open_impl() 57 PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path); in _posixshmem_shm_open_impl() 68 path: unicode 79 _posixshmem_shm_unlink_impl(PyObject *module, PyObject *path) in _posixshmem_shm_unlink_impl() argument 84 const char *name = PyUnicode_AsUTF8(path); in _posixshmem_shm_unlink_impl() 96 PyErr_SetFromErrnoWithFilenameObject(PyExc_OSError, path); in _posixshmem_shm_unlink_impl()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Testing/Support/ |
H A D | SupportHelpers.cpp | 17 SmallString<128> BaseDir = llvm::sys::path::parent_path(Argv0); in findSrcDirMap() 22 llvm::sys::path::append(PathInSameDir, "llvm.srcdir.txt"); in findSrcDirMap() 27 SmallString<128> PathInParentDir = llvm::sys::path::parent_path(BaseDir); in findSrcDirMap() 29 llvm::sys::path::append(PathInParentDir, "llvm.srcdir.txt"); in findSrcDirMap() 50 llvm::sys::path::append(InputFilePath, "Inputs"); in getInputFileDirectory() 51 llvm::sys::path::native(InputFilePath); in getInputFileDirectory()
|