| /third_party/skia/modules/skottie/src/text/ |
| H A D | TextAdapter.cpp | 41 // Text path semantics 43 // * glyphs are positioned on the path based on their horizontal/x anchor point, interpreted as 44 // a distance along the path 46 // * horizontal alignment is applied relative to the path start/end points 48 // * "Reverse Path" allows reversing the path direction 50 // * "Perpendicular To Path" determines whether glyphs are rotated to be perpendicular 51 // to the path tangent, or not (just positioned). 53 // * two controls ("First Margin" and "Last Margin") allow arbitrary offseting along the path, 59 // * extranormal path position 75 auto path = static_cast<SkPath>(fPath); updateContourData() local [all...] |
| /third_party/rust/crates/nix/src/sys/ |
| H A D | statfs.rs | 43 (path: *const libc::c_char, buf: *mut type_of_statfs) -> libc::c_int 51 (path: *const libc::c_char, buf: *mut type_of_statfs) -> libc::c_int 728 /// `path` - Path to any file within the file system to describe 729 pub fn statfs<P: ?Sized + NixPath>(path: &P) -> Result<Statfs> { in statfs() 732 let res = path.with_nix_path(|path| { in statfs() 733 LIBC_STATFS(path.as_ptr(), stat.as_mut_ptr()) in statfs() 761 use std::path::Path; [all...] |
| /third_party/skia/third_party/externals/angle2/scripts/ |
| H A D | process_angle_perf_results.py | 30 d = os.path.dirname 31 ANGLE_DIR = d(d(os.path.realpath(__file__))) 32 sys.path.append(os.path.join(ANGLE_DIR, 'tools', 'perf')) 101 output_json: A path to a JSON file to which the merged results should be 136 with open(os.path.join(directory, 'test_results.json')) as json_data: 182 benchmark_log_file = os.path.join(directory, 'benchmark_log.txt') 183 if os.path.exists(benchmark_log_file): 212 return os.path.basename(directory).replace(" benchmark", "") 221 if not os.path [all...] |
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
| H A D | bundle_util.cpp | 74 APP_LOGE("bundle file path invalid"); in CheckFilePath() 85 APP_LOGE("file is not real path"); in CheckFilePath() 89 APP_LOGE("not access the bundle file path: %{public}s, errno:%{public}d", realPath.c_str(), errno); in CheckFilePath() 106 APP_LOGD("check file path"); in CheckFilePath() 142 APP_LOGD("finish check file path"); in CheckFilePath() 148 APP_LOGD("path is %{public}s, support suffix is %{public}s", fileName.c_str(), extensionName.c_str()); in CheckFileType() 170 APP_LOGE("bundle file path length %{public}zu too long", fileName.size()); in CheckFileName() 198 APP_LOGD("left free size in the disk path is %{public}" PRId64, freeSize); in CheckSystemSize() 210 bool BundleUtil::CheckSystemFreeSize(const std::string &path, int64_t size) in CheckSystemFreeSize() argument 213 if (statfs(path in CheckSystemFreeSize() 221 CheckSystemSizeAndHisysEvent(const std::string &path, const std::string &fileName) CheckSystemSizeAndHisysEvent() argument 497 IsExistFile(const std::string &path) IsExistFile() argument 512 IsExistFileNoLog(const std::string &path) IsExistFileNoLog() argument 526 IsExistDir(const std::string &path) IsExistDir() argument 541 IsExistDirNoLog(const std::string &path) IsExistDirNoLog() argument 581 DeleteDir(const std::string &path) DeleteDir() argument [all...] |
| /third_party/libwebsockets/doc-assets/ |
| H A D | lws-relpol-5.svg | 5 <path transform="matrix(-.2 0 0 -.2 -1.2 0)" d="m0 0 5-5-17.5 5 17.5 5z" fill-rule="evenodd" stroke="#000" stroke-width="1pt"/> 13 <path transform="matrix(-.3 0 0 -.3 .69 0)" d="m8.7186 4.0337-10.926-4.0177 10.926-4.0177c-1.7455 2.3721-1.7354 5.6175-6e-7 8.0354z" fill="#37abc8" fill-rule="evenodd" stroke="#37abc8" stroke-linejoin="round" stroke-width=".625"/> 16 <path transform="matrix(-.3 0 0 -.3 .69 0)" d="m8.7186 4.0337-10.926-4.0177 10.926-4.0177c-1.7455 2.3721-1.7354 5.6175-6e-7 8.0354z" fill="#37abc8" fill-rule="evenodd" stroke="#37abc8" stroke-linejoin="round" stroke-width=".625"/> 19 <path transform="matrix(-.3 0 0 -.3 .69 0)" d="m8.7186 4.0337-10.926-4.0177 10.926-4.0177c-1.7455 2.3721-1.7354 5.6175-6e-7 8.0354z" fill="#37abc8" fill-rule="evenodd" stroke="#37abc8" stroke-linejoin="round" stroke-width=".625"/> 22 <path transform="matrix(-.3 0 0 -.3 .69 0)" d="m8.7186 4.0337-10.926-4.0177 10.926-4.0177c-1.7455 2.3721-1.7354 5.6175-6e-7 8.0354z" fill="#5fbcd3" fill-rule="evenodd" stroke="#5fbcd3" stroke-linejoin="round" stroke-width=".625"/> 25 <path transform="matrix(-.3 0 0 -.3 .69 0)" d="m8.7186 4.0337-10.926-4.0177 10.926-4.0177c-1.7455 2.3721-1.7354 5.6175-6e-7 8.0354z" fill="#37abc8" fill-rule="evenodd" stroke="#37abc8" stroke-linejoin="round" stroke-width=".625"/> 28 <path transform="matrix(-.3 0 0 -.3 .69 0)" d="m8.7186 4.0337-10.926-4.0177 10.926-4.0177c-1.7455 2.3721-1.7354 5.6175-6e-7 8.0354z" fill="#37abc8" fill-rule="evenodd" stroke="#37abc8" stroke-linejoin="round" stroke-width=".625"/> 31 <path transform="matrix(-.3 0 0 -.3 .69 0)" d="m8.7186 4.0337-10.926-4.0177 10.926-4.0177c-1.7455 2.3721-1.7354 5.6175-6e-7 8.0354z" fill="#37abc8" fill-rule="evenodd" stroke="#37abc8" stroke-linejoin="round" stroke-width=".625"/> 45 <path d="m-2.7427 136.03 26.893-21.631 3.0902 3.6748-26.225 21.631z" stroke="#000" stroke-width=".014764px"/> 51 <path [all...] |
| /third_party/libinput/doc/user/svg/ |
| H A D | tablet-axes.svg | 30 <path 45 <path 60 <path 75 <path 91 <path 106 <path 121 <path 139 <path 144 <path 149 <path [all...] |
| H A D | touchscreen-gestures.svg | 29 <path 44 <path 60 <path 75 <path 90 <path 106 <path 121 <path 136 <path 151 <path 227 <path [all...] |
| /third_party/skia/src/svg/ |
| H A D | SkSVGDevice.cpp | 178 void AddPath(const SkGlyphRun& glyphRun, const SkPoint& offset, SkPath* path) { 183 } rec = { path, offset, glyphRun.positions().data() }; 186 [](const SkPath* path, const SkMatrix& mx, void* ctx) { 188 if (path) { 192 rec->fPath->addPath(*path, total); 324 // Path effects are applied to all vector graphics (rects, rrects, ovals, 325 // paths etc). This should only happen when a path effect is attached to 329 SkDebugf("Unsupported path effect in addPaint."); 631 void SkSVGDevice::AutoElement::addPathAttributes(const SkPath& path, 634 SkParsePath::ToSVGString(path, [all...] |
| /third_party/skia/src/utils/ |
| H A D | SkShadowTessellator.cpp | 295 // walk around the path polygon, generate outer ring and connect to inner ring in computeConvexShadow() 894 SkAmbientShadowTessellator(const SkPath& path, const SkMatrix& ctm, 898 bool computePathPolygon(const SkPath& path, const SkMatrix& ctm); 903 SkAmbientShadowTessellator::SkAmbientShadowTessellator(const SkPath& path, in SkAmbientShadowTessellator() argument 907 : INHERITED(zPlaneParams, path.getBounds(), transparent) { in SkAmbientShadowTessellator() 913 inset = SkTPin(inset, 0.0f, std::min(path.getBounds().width(), in SkAmbientShadowTessellator() 914 path.getBounds().height())); in SkAmbientShadowTessellator() 916 if (!this->computePathPolygon(path, ctm)) { in SkAmbientShadowTessellator() 927 fPositions.setReserve(4 * path.countPoints()); in SkAmbientShadowTessellator() 928 fColors.setReserve(4 * path in SkAmbientShadowTessellator() 940 computePathPolygon(const SkPath& path, const SkMatrix& ctm) computePathPolygon() argument 1000 SkSpotShadowTessellator(const SkPath& path, const SkMatrix& ctm, const SkPoint3& zPlaneParams, const SkPoint3& lightPos, SkScalar lightRadius, bool transparent, bool directional, bool isLimitElevation) SkSpotShadowTessellator() argument 1049 computeClipAndPathPolygons(const SkPath& path, const SkMatrix& ctm, const SkMatrix& shadowTransform) computeClipAndPathPolygons() argument 1147 MakeAmbient(const SkPath& path, const SkMatrix& ctm, const SkPoint3& zPlane, bool transparent) MakeAmbient() argument 1156 MakeSpot(const SkPath& path, const SkMatrix& ctm, const SkPoint3& zPlane, const SkPoint3& lightPos, SkScalar lightRadius, bool transparent, bool directional, bool isLimitElevation) MakeSpot() argument [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_zipimport.py | 45 def module_path_to_dotted_name(path): 46 return path.replace(os.sep, '.') 55 TEMP_DIR = os.path.abspath("junk95142") 56 TEMP_ZIP = os.path.abspath("junk95142.zip") 65 self.path = sys.path[:] 72 sys.path[:] = self.path 84 # We're reusing the zip archive path, so we must clear the 96 path [all...] |
| /foundation/multimedia/camera_framework/interfaces/inner_api/native/test/ |
| H A D | test_common.cpp | 54 char path[PATH_MAX] = {0}; in SaveYUV() local 65 retVal = sprintf_s(path, sizeof(path) / sizeof(path[0]), "/data/media/preview/%s_%lld.yuv", "preview", in SaveYUV() 68 MEDIA_ERR_LOG("Path Assignment failed"); in SaveYUV() 73 retVal = sprintf_s(path, sizeof(path) / sizeof(path[0]), "/data/media/photo/%s_%lld.jpg", "photo", in SaveYUV() 76 MEDIA_ERR_LOG("Path Assignment failed"); in SaveYUV() 81 retVal = sprintf_s(path, sizeo in SaveYUV() 123 char path[255] = {0}; SaveVideoFile() local [all...] |
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
| H A D | acl.cpp | 44 void PrintACLDetail(const std::string& path, const char* aclAttrName) in PrintACLDetail() argument 47 ssize_t len = getxattr(path.c_str(), aclAttrName, nullptr, 0); in PrintACLDetail() 54 len = getxattr(path.c_str(), aclAttrName, buf, len); in PrintACLDetail() 67 acl.Print(path); in PrintACLDetail() 281 int32_t Acl::RecursiveEnableAcl(const std::string& path, const char* aclAttrName, const uint16_t& permission, in RecursiveEnableAcl() argument 287 std::list<std::string> dirPathList{path}; in RecursiveEnableAcl() 322 int32_t Acl::EnableAcl(const std::string& path, const char* aclAttrName, const uint16_t& permission, uint32_t groupId) in EnableAcl() argument 326 int32_t err = EntryInsert(entry, path, aclAttrName); in EnableAcl() 328 MEDIA_ERR_LOG("Failed to set the acl permission for path %{private}s", path in EnableAcl() 349 IsDirExist(const std::string &path) IsDirExist() argument 403 EntryInsert(AclXattrEntry& entry, const std::string& path, const char* aclAttrName) EntryInsert() argument 454 Print(const std::string& path) Print() argument [all...] |
| /third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
| H A D | cpuset.h | 80 * cpuset_create(path, cp) - Create cpuset 'cp' at location 'path' 81 * cpuset_delete(path) - Delete cpuset at location 'path' (if empty) 82 * cpuset_query(cp, path) - Set cpuset cp to the cpuset at location 'path' 83 * cpuset_modify(path, cp) - Change cpuset at location 'path' to values of 'cp' 84 * cpuset_getcpusetpath(pid, buf, buflen) - Get cpuset path of pid into buf 88 * cpuset_nuke(path, unsigne [all...] |
| /third_party/node/deps/npm/node_modules/node-gyp/lib/ |
| H A D | install.js | 7 const path = require('path') 51 const devDir = path.resolve(gyp.devDir, release.versionDir) 73 const installVersionFile = path.resolve(devDir, 'installVersion') 96 const nodeLibPath = path.resolve(devDir, arch, 'node.lib') 132 await copyDirectory(path.join(src, entry.name), path.join(dest, entry.name)) 138 await fs.copyFile(path.join(src, entry.name), path.join(dest, entry.name)) 143 await fs.stat(path [all...] |
| /third_party/mesa3d/src/gallium/drivers/nouveau/ |
| H A D | nouveau_vp3_video.c | 236 static void vp3_getpath(enum pipe_video_profile profile, char *path) in vp3_getpath() argument 240 sprintf(path, "/lib/firmware/nouveau/vuc-vp3-mpeg12-0"); in vp3_getpath() 244 sprintf(path, "/lib/firmware/nouveau/vuc-vp3-vc1-0"); in vp3_getpath() 248 sprintf(path, "/lib/firmware/nouveau/vuc-vp3-h264-0"); in vp3_getpath() 255 static void vp4_getpath(enum pipe_video_profile profile, char *path) in vp4_getpath() argument 259 sprintf(path, "/lib/firmware/nouveau/vuc-mpeg12-0"); in vp4_getpath() 263 sprintf(path, "/lib/firmware/nouveau/vuc-mpeg4-0"); in vp4_getpath() 267 sprintf(path, "/lib/firmware/nouveau/vuc-vc1-0"); in vp4_getpath() 271 sprintf(path, "/lib/firmware/nouveau/vuc-h264-0"); in vp4_getpath() 284 char path[PATH_MA in nouveau_vp3_load_firmware() local 418 char path[PATH_MAX]; firmware_present() local [all...] |
| /third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
| H A D | PrefixTree.java | 254 private RangeSpecification path = RangeSpecification.empty(); field in PrefixTree.TrimmingVisitor 258 RangeSpecification oldPath = path; in visit() 259 path = path.extendByMask(edge.getDigitMask()); in visit() 261 paths.add(path); in visit() 265 path = oldPath; in visit() 295 * of the "included" path as possible (node), potentially splitting into several sub-recursive 296 * steps if the current included edge overlaps with multiple "excluded" paths. Once a path no 301 DfaNode node, RangeSpecification path, DfaNode exclude, RangeTree minimal, int minLength) { in recursivelyMinimize() 309 minimal = minimal.union(RangeTree.from(path in recursivelyMinimize() 300 recursivelyMinimize( DfaNode node, RangeSpecification path, DfaNode exclude, RangeTree minimal, int minLength) recursivelyMinimize() argument 339 emit( DfaNode node, RangeSpecification path, RangeTree minimal, int minLength) emit() argument [all...] |
| /third_party/rust/crates/autocfg/src/ |
| H A D | lib.rs | 66 use std::path::{Path, PathBuf}; 101 /// Writes a line telling Cargo to rerun the build script if `path` changes. 103 /// This looks like: `cargo:rerun-if-changed=PATH` 107 pub fn rerun_path(path: &str) { in rerun_path() 108 println!("cargo:rerun-if-changed={}", path); in rerun_path() 136 /// - `rustc` can't be executed, from `RUSTC` or in the `PATH`. 151 /// - `rustc` can't be executed, from `RUSTC` or in the `PATH`. 166 return Err(error::from_str("output path is not a writable directory")); in with_dir() 258 /// Tests whether the given path ca [all...] |
| /third_party/unity/auto/ |
| H A D | generate_module.rb | 130 # strip any leading path information from the module name and save for later 136 triad = [{ ext: '.c', path: @options[:path_src], prefix: '', template: TEMPLATE_SRC, inc: :src, boilerplate: @options[:boilerplates][:src] }, 137 { ext: '.h', path: @options[:path_inc], prefix: '', template: TEMPLATE_INC, inc: :inc, boilerplate: @options[:boilerplates][:inc] }, 138 { ext: '.c', path: @options[:path_tst], prefix: prefix, template: TEMPLATE_TST, inc: :tst, boilerplate: @options[:boilerplates][:tst], test_define: @options[:test_define] }] 148 # Assemble the path/names of the files we need to work with. 155 path: (Pathname.new("#{cfg[:path]}#{subfolder}") + filename).cleanpath, 200 all_files_exist = false unless File.exist?(file[:path]) 207 if File.exist?(file[:path]) 208 puts "File #{file[:path]} alread [all...] |
| /third_party/typescript/src/jsTyping/ |
| H A D | jsTyping.ts | 5 directoryExists(path: string): boolean;
7 readFile(path: string, encoding?: string): string | undefined;
56 "path",
96 export function loadSafeList(host: TypingResolutionHost, safeListPath: Path): SafeList {
97 const result = readConfigFile(safeListPath, path => host.readFile(path));
101 export function loadTypesMap(host: TypingResolutionHost, typesMapPath: Path): SafeList | undefined {
102 const result = readConfigFile(typesMapPath, path => host.readFile(path));
112 * @param projectRootPath is the path t [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | variableDeclaratorResolvedDuringContextualTyping.types | 196 getRequestUrl(service: string, path?: string): string;
197 >getRequestUrl : { (service: string, path?: string): string; (service: string, path?: string, absolute?: boolean): string; }
199 >path : string
201 getRequestUrl(service: string, path?: string, absolute?: boolean): string;
202 >getRequestUrl : { (service: string, path?: string): string; (service: string, path?: string, absolute?: boolean): string; }
204 >path : string
265 var path = "";
266 >path [all...] |
| /third_party/vulkan-loader/tests/framework/shim/ |
| H A D | windows_shim.cpp | 96 for (auto const &path : *paths) size = static_cast<ULONG>(path.length() * sizeof(wchar_t)); in ShimQueryAdapterInfo() 97 // size in bytes, so multiply path size by two and add 2 for the null terminator in ShimQueryAdapterInfo() 100 // only want to write data if there is path data to write in ShimQueryAdapterInfo() 105 for (auto const &path : *paths) { in ShimQueryAdapterInfo() 106 for (auto w : path) { in ShimQueryAdapterInfo() 297 return &key.path; in get_path_of_created_key() 302 std::vector<RegistryEntry> *get_registry_vector(std::string const &path) { in get_registry_vector() argument 303 if (path == "HKEY_LOCAL_MACHINE\\" VK_DRIVERS_INFO_REGISTRY_LOC) return &platform_shim.hkey_local_machine_drivers; in get_registry_vector() 304 if (path in get_registry_vector() 319 const std::string *path = get_path_of_created_key(hKey); ShimRegEnumValueA() local [all...] |
| /third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
| H A D | reify.js | 9 const { walkUp } = require('walk-up-path') 14 const { dirname, resolve, relative, join } = require('path') 31 const retirePath = require('../retire-path.js') 190 await mkdir(resolve(this.path), { recursive: true }) 193 await this[_validateNodeModules](resolve(this.path, 'node_modules')) 408 const paths = [node.path, ...node.binPaths] 411 for (const path of paths) { 413 const retired = retirePath(path) 414 moves[path] = retired 417 this[_trashList].add(path) [all...] |
| /third_party/node/deps/npm/node_modules/cacache/lib/util/ |
| H A D | glob.js | 4 const path = require('path') 6 const globify = (pattern) => pattern.split(path.win32.sep).join(path.posix.sep) 7 module.exports = (path, options) => glob(globify(path), options)
|
| /third_party/typescript/src/loggedIO/ |
| H A D | tsconfig.json | 13 { "path": "../compiler" },
14 { "path": "../services" },
15 { "path": "../jsTyping" },
16 { "path": "../server" },
17 { "path": "../typingsInstallerCore" },
18 { "path": "../harness" },
|
| /third_party/node/tools/gyp/pylib/gyp/generator/ |
| H A D | cmake.py | 99 If rel_path is an absolute path it is returned unchanged. 101 If the result is a relative path, it is forced to be relative to the 104 if os.path.isabs(rel_path): 109 return os.path.join( 110 "${CMAKE_CURRENT_LIST_DIR}", os.path.normpath(os.path.join(base_path, rel_path)) 122 return os.path.normpath(os.path.join(base_path, rel_path)) 255 path_to_gyp: relative path from CMakeLists.txt being generated to 279 dirs = {dir for dir in (os.path [all...] |