/third_party/mesa3d/src/drm-shim/ |
H A D | drm_shim.c | 95 /* Full path of /dev/dri/renderD* */ 106 const char *path; member 165 char *path; in drm_shim_override_file() local 168 nfvasprintf(&path, path_format, ap); in drm_shim_override_file() 172 override->path = path; in drm_shim_override_file() 255 PUBLIC FILE *fopen(const char *path, const char *mode) in fopen() argument 260 if (strcmp(file_overrides[i].path, path) == 0) { in fopen() 270 return real_fopen(path, mod in fopen() 276 open(const char *path, int flags, ...) open() argument 307 __xstat(int ver, const char *path, struct stat *st) __xstat() argument 341 __xstat64(int ver, const char *path, struct stat64 *st) __xstat64() argument 409 stat(const char* path, struct stat* stat_buf) stat() argument 442 stat64(const char* path, struct stat64* stat_buf) stat64() argument 604 readlink(const char *path, char *buf, size_t size) readlink() argument 636 realpath(const char *path, char *resolved_path) realpath() argument [all...] |
/third_party/rust/crates/syn/src/ |
H A D | attr.rs | 37 /// Every attribute has a `path` that indicates the intended interpretation 38 /// of the rest of the attribute's contents. The path and the optional 43 /// path, for example the `#[test]` attribute. 46 /// path, surrounded by a delimiter (parenthesis, bracket, or brace). For 49 /// - Meta::NameValue — attributes with an `=` sign after the path, 50 /// followed by a Rust expression. For example `#[path = 53 /// All doc comments are represented in the NameValue style with a path of 62 /// #[path = "sys/windows.rs"] 90 /// // #[path = "s.tmpl"] 118 /// TokenStream`. Macros are expected to check the `path` o 178 pub fn path(&self) -> &Path { path() functions 501 pub fn path(&self) -> &Path { path() functions [all...] |
/third_party/ltp/include/ |
H A D | tst_safe_file_ops.h | 10 #define FILE_SCANF(path, fmt, ...) \ 11 file_scanf(__FILE__, __LINE__, (path), (fmt), ## __VA_ARGS__) 13 #define SAFE_FILE_SCANF(path, fmt, ...) \ 15 (path), (fmt), ## __VA_ARGS__) 17 #define FILE_LINES_SCANF(path, fmt, ...) \ 19 (path), (fmt), ## __VA_ARGS__) 21 #define SAFE_FILE_LINES_SCANF(path, fmt, ...) \ 23 (path), (fmt), ## __VA_ARGS__) 39 #define FILE_PRINTF(path, fmt, ...) \ 41 (path), (fm [all...] |
/third_party/node/deps/v8/third_party/test262-harness/src/ |
H A D | _packagerConfig.py | 22 TEST262_ROOT = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..") 23 TEST262_ROOT = os.path.abspath(TEST262_ROOT) 27 TEST262_CASES_DIR = os.path.join(TEST262_ROOT, "test") 31 TEST262_HARNESS_DIR = os.path.join(TEST262_ROOT, "harness") 34 TEST262_WEB_CASES_DIR = os.path.join(TEST262_ROOT, WEBSITE_SHORT_NAME, "json") 35 TEST262_CONSOLE_CASES_DIR = os.path.join(TEST262_ROOT, CONSOLE_SHORT_NAME) 39 TEST262_WEB_HARNESS_DIR = os.path.join(TEST262_ROOT, WEBSITE_SHORT_NAME, 41 TEST262_CONSOLE_HARNESS_DIR = os.path [all...] |
/third_party/node/test/parallel/ |
H A D | test-http-response-status-message.js | 30 { path: '/200', statusMessage: 'OK', 32 { path: '/500', statusMessage: 'Internal Server Error', 34 { path: '/302', statusMessage: 'Moved Temporarily', 36 { path: '/missing', statusMessage: '', 38 { path: '/missing-no-space', statusMessage: '', 41 testCases.findByPath = function(path) { 43 return testCase.path === path; 46 assert.fail(`failed to find test case with path ${path}`); [all...] |
/third_party/node/deps/v8/tools/ |
H A D | generate-header-include-checks.py | 21 import os.path namespace 28 MY_DIR = os.path.dirname(os.path.realpath(__file__)) 29 V8_DIR = os.path.dirname(MY_DIR) 30 OUT_DIR = os.path.join(V8_DIR, 'check-header-includes') 81 full_name = os.path.join(V8_DIR, filename) 82 if not os.path.exists(full_name): 84 if os.path.isdir(full_name): 86 full_name = os.path.join(filename, subfile) 104 split = os.path [all...] |
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | nftw.c | 22 static int do_nftw(char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags, struct history *h) in do_nftw() argument 24 size_t l = strlen(path), j = l && path[l-1]=='/' ? l-1 : l; in do_nftw() 31 if ((flags & FTW_PHYS) ? lstat(path, &st) : stat(path, &st) < 0) { in do_nftw() 32 if (!(flags & FTW_PHYS) && errno==ENOENT && !lstat(path, &st)) in do_nftw() 37 if (access(path, R_OK) < 0) type = FTW_DNR; in do_nftw() 61 for (k=j; k && path[k]=='/'; k--); in do_nftw() 62 for (; k && path[k-1]!='/'; k--); in do_nftw() 66 if (!(flags & FTW_DEPTH) && (r=fn(path, in do_nftw() 107 nftw(const char *path, int (*fn)(const char *, const struct stat *, int, struct FTW *), int fd_limit, int flags) nftw() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/check_build_files/ |
H A D | main.go | 25 "path/filepath" 55 filepath.Walk(wd, func(path string, info os.FileInfo, err error) error { 60 rel, err := filepath.Rel(wd, path) 74 content, err := ioutil.ReadFile(path) 80 switch filepath.Ext(path) { 82 errs = append(errs, checkBlueprint(path, string(content))...) 84 errs = append(errs, checkGn(path, string(content))...) 86 errs = append(errs, checkBazel(path, string(content))...) 109 func checkBlueprint(path, content string) []error { 116 if err := checkSource(path, sourc [all...] |
/third_party/skia/src/pathops/ |
H A D | SkOpBuilder.cpp | 15 static bool one_contour(const SkPath& path) { in one_contour() argument 17 int verbCount = path.countVerbs(); in one_contour() 19 (void) path.getVerbs(verbs, verbCount); in one_contour() 28 void SkOpBuilder::ReversePath(SkPath* path) { in ReversePath() argument 31 SkAssertResult(path->getLastPt(&lastPt)); in ReversePath() 33 temp.reversePathTo(*path); in ReversePath() 35 *path = temp; in ReversePath() 38 bool SkOpBuilder::FixWinding(SkPath* path) { in FixWinding() argument 39 SkPathFillType fillType = path->getFillType(); in FixWinding() 45 if (one_contour(*path)) { in FixWinding() 111 add(const SkPath& path, SkPathOp op) add() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | IntervalMap.cpp | 19 assert(!path.empty() && "Can't replace missing root"); in replaceRoot() 20 path.front() = Entry(Root, Size, Offsets.first); in replaceRoot() 21 path.insert(path.begin() + 1, Entry(subtree(0), Offsets.second)); in replaceRoot() 31 while (l && path[l].offset == 0) in getLeftSibling() 35 if (path[l].offset == 0) in getLeftSibling() 39 NodeRef NR = path[l].subtree(path[l].offset - 1); in getLeftSibling() 54 while (path[l].offset == 0) { in moveLeft() 59 // end() may have created a height=0 path in moveLeft() [all...] |
/third_party/toybox/lib/ |
H A D | dirtree.c | 24 // Create a dirtree node from a path, with stat and symlink info. 63 char *path = parent ? dirtree_path(parent, 0) : ""; in dirtree_add_node() local 65 perror_msg("%s%s%s", path, parent ? "/" : "", name); in dirtree_add_node() 66 if (parent) free(path); in dirtree_add_node() 73 // Return path to this node, assembled recursively. 76 // to return the length of the path, or a value greater than 0 to allocate 81 char *path; in dirtree_path() local 85 path = xmalloc(*plen); in dirtree_path() 87 return path; in dirtree_path() 91 path in dirtree_path() 144 char *path = dirtree_path(node, 0); dirtree_recurse() local 189 dirtree_flagread(char *path, int flags, int (*callback)(struct dirtree *node)) dirtree_flagread() argument 196 dirtree_read(char *path, int (*callback)(struct dirtree *node)) dirtree_read() argument [all...] |
/third_party/toybox/porting/liteos_a/lib/ |
H A D | dirtree.c | 32 // Create a dirtree node from a path, with stat and symlink info. 71 char *path = parent ? dirtree_path(parent, 0) : ""; in dirtree_add_node() local 73 perror_msg("%s%s%s", path, parent ? "/" : "", name); in dirtree_add_node() 74 if (parent) free(path); in dirtree_add_node() 81 // Return path to this node, assembled recursively. 84 // to return the length of the path, or a value greater than 0 to allocate 89 char *path; in dirtree_path() local 93 path = xmalloc(*plen); in dirtree_path() 95 return path; in dirtree_path() 99 path in dirtree_path() 151 char *path = dirtree_path(node, 0); dirtree_recurse() local 196 dirtree_flagread(char *path, int flags, int (*callback)(struct dirtree *node)) dirtree_flagread() argument 203 dirtree_read(char *path, int (*callback)(struct dirtree *node)) dirtree_read() argument [all...] |
/third_party/skia/docs/examples/ |
H A D | Path_arcTo.cpp | 8 SkPath path; in REG_FIDDLE() local 11 path.moveTo(0, 0); in REG_FIDDLE() 12 path.arcTo({20, 20, 120, 120}, -90, 90, false); in REG_FIDDLE() 13 canvas->drawPath(path, paint); in REG_FIDDLE() 14 path.rewind(); in REG_FIDDLE() 15 path.arcTo({120, 20, 220, 120}, -90, 90, false); in REG_FIDDLE() 16 canvas->drawPath(path, paint); in REG_FIDDLE() 17 path.rewind(); in REG_FIDDLE() 18 path.moveTo(0, 0); in REG_FIDDLE() 19 path in REG_FIDDLE() [all...] |
/third_party/jinja2/ |
H A D | loaders.py | 25 """Split a path into segments and perform a sanity check. If it detects 26 '..' in the path it will raise a `TemplateNotFound` error. 31 os.path.sep in piece 32 or (os.path.altsep and os.path.altsep in piece) 33 or piece == os.path.pardir 51 from os.path import join, exists, getmtime 55 def __init__(self, path): 56 self.path = path [all...] |
/third_party/libfuse/include/ |
H A D | fuse.h | 268 * following operations will not receive path information: 273 * operations the path will be provided only if the struct 322 * Almost all operations take a path which can be of any length. 594 * path parameter will be NULL. 601 * path parameter will be NULL. 979 * @param mountpoint the mount point path 1116 * Invalidates cache for the given path. 1122 * no entry to be invalidated, e.g., because the path has not 1126 int fuse_invalidate_path(struct fuse *f, const char *path); 1184 int fuse_fs_getattr(struct fuse_fs *fs, const char *path, struc [all...] |
/third_party/lwip/src/apps/http/makefsdata/ |
H A D | tinydir.h | 181 _tinydir_char_t path[_TINYDIR_PATH_MAX]; member 198 _tinydir_char_t path[_TINYDIR_PATH_MAX]; member 219 int tinydir_open(tinydir_dir *dir, const _tinydir_char_t *path); 221 int tinydir_open_sorted(tinydir_dir *dir, const _tinydir_char_t *path); 235 int tinydir_file_open(tinydir_file *file, const _tinydir_char_t *path); 251 int tinydir_open(tinydir_dir *dir, const _tinydir_char_t *path) in tinydir_open() argument 263 if (dir == NULL || path == NULL || _tinydir_strlen(path) == 0) in tinydir_open() 268 if (_tinydir_strlen(path) + _TINYDIR_PATH_EXTRA >= _TINYDIR_PATH_MAX) in tinydir_open() 286 _tinydir_strcpy(dir->path, pat in tinydir_open() 342 tinydir_open_sorted(tinydir_dir *dir, const _tinydir_char_t *path) tinydir_open() argument [all...] |
/third_party/skia/tests/ |
H A D | AAClipTest.cpp | 158 static void setRgnToPath(SkRegion* rgn, const SkPath& path) { in setRgnToPath() argument 160 path.getBounds().round(&ir); in setRgnToPath() 161 rgn->setPath(path, SkRegion(ir)); in setRgnToPath() 175 SkPath path; in test_rgn() local 176 path.addCircle(0, 0, SkIntToScalar(30)); in test_rgn() 177 setRgnToPath(&rgn, path); in test_rgn() 180 path.reset(); in test_rgn() 181 path.moveTo(0, 0); in test_rgn() 182 path.lineTo(SkIntToScalar(100), 0); in test_rgn() 183 path in test_rgn() 190 imoveTo(SkPath& path, int x, int y) imoveTo() argument 194 icubicTo(SkPath& path, int x0, int y0, int x1, int y1, int x2, int y2) icubicTo() argument 201 SkPath path; test_path_bounds() local 318 SkPath path; test_path_with_hole() local 340 SkPath path; test_really_a_rect() local 420 SkPath path; test_crbug_422693() local [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_xmp_sdk.cpp | 523 const char *path) const in CountArrayItems() 532 return fPrivate->fMeta->CountArrayItems (ns, path); in CountArrayItems() 547 const char *path) const in Exists() 556 return fPrivate->fMeta->DoesPropertyExist (ns, path); in Exists() 614 const char *path) in Remove() 623 fPrivate->fMeta->DeleteProperty (ns, path); in Remove() 663 const char *path) in IsEmptyString() 677 path, in IsEmptyString() 709 const char *path) in IsEmptyArray() 723 path, in IsEmptyArray() 613 Remove(const char *ns, const char *path) Remove() argument 662 IsEmptyString(const char *ns, const char *path) IsEmptyString() argument 708 IsEmptyArray(const char *ns, const char *path) IsEmptyArray() argument 880 GetString(const char *ns, const char *path, dng_string &s) const GetString() argument 916 ValidateStringList(const char *ns, const char *path) ValidateStringList() argument 960 GetStringList(const char *ns, const char *path, dng_string_list &list) const GetStringList() argument 1006 GetAltLangDefault(const char *ns, const char *path, dng_string &s) const GetAltLangDefault() argument 1082 GetStructField(const char *ns, const char *path, const char *fieldNS, const char *fieldName, dng_string &s) const GetStructField() argument 1125 Set(const char *ns, const char *path, const char *text) Set() argument 1165 SetString(const char *ns, const char *path, const dng_string &s) SetString() argument 1182 SetStringList(const char *ns, const char *path, const dng_string_list &list, bool isBag) SetStringList() argument 1229 SetAltLangDefault(const char *ns, const char *path, const dng_string &s) SetAltLangDefault() argument 1261 SetStructField(const char *ns, const char *path, const char *fieldNS, const char *fieldName, const char *text) SetStructField() argument [all...] |
/third_party/skia/gm/ |
H A D | cubicpaths.cpp | 33 SkPath path; variable 34 path.moveTo(0, 0); 35 path.cubicTo(140, 150, 40, 10, 170, 150); 38 SkRect bounds = path.getBounds(); 46 canvas->drawPath(path, paint); 86 void drawOne(SkCanvas* canvas, const SkPath& path, const SkRect& clip) { in drawOne() argument 90 canvas->drawPath(path, framePaint); in drawOne() 93 canvas->drawPath(path, fillPaint); in drawOne() 126 void drawPath(SkPath& path,SkCanvas* canvas,SkColor color, in drawPath() argument 130 path in drawPath() 177 PathAndName path; global() variable 245 drawPath(SkPath& path,SkCanvas* canvas,SkColor color, const SkRect& clip,SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPathFillType fill, SkScalar strokeWidth) drawPath() argument 296 PathAndName path; global() variable 368 SkPath path; DEF_SIMPLE_GM() local 381 SkPath path; DEF_SIMPLE_GM() local [all...] |
/third_party/mesa3d/src/util/ |
H A D | disk_cache_os.c | 107 /* Create a directory named 'path' if it does not already exist. 109 * Returns: 0 if path already exists as a directory or if created. 113 mkdir_if_needed(const char *path) in mkdir_if_needed() argument 117 /* If the path exists already, then our work is done if it's a in mkdir_if_needed() 120 if (stat(path, &sb) == 0) { in mkdir_if_needed() 125 "---disabling.\n", path); in mkdir_if_needed() 130 int ret = mkdir(path, 0755); in mkdir_if_needed() 135 path, strerror(errno)); in mkdir_if_needed() 140 /* Concatenate an existing path and a new name to form a new path 151 concatenate_and_mkdir(void *ctx, const char *path, const char *name) concatenate_and_mkdir() argument 307 is_regular_non_tmp_file(const char *path, const struct stat *sb, const char *d_name, const size_t len) is_regular_non_tmp_file() argument 321 unlink_lru_file_from_directory(const char *path) unlink_lru_file_from_directory() argument 345 is_two_character_sub_directory(const char *path, const struct stat *sb, const char *d_name, const size_t len) is_two_character_sub_directory() argument 820 char *path = getenv("MESA_SHADER_CACHE_DIR"); disk_cache_generate_cache_dir() local 968 disk_cache_mmap_cache_index(void *mem_ctx, struct disk_cache *cache, char *path) disk_cache_mmap_cache_index() argument [all...] |
/third_party/node/lib/internal/fs/ |
H A D | utils.js | 61 const pathModule = require('path'); 164 constructor(name, type, path, filepath = path && join(path, name)) { 166 this.parentPath = path; 167 this.path = filepath; 201 constructor(name, stats, path, filepath) { 202 super(name, null, path, filepath); 225 function join(path, name) { 226 if ((typeof path [all...] |
H A D | dir.js | 13 const pathModule = require('path'); 48 constructor(handle, path, options) { 52 this[kDirPath] = path; 74 get path() { 150 processReadResult(path, result) { 155 path, 165 const ctx = { path: dirent.path }; 167 pathModule.toNamespacedPath(dirent.path), 181 this.processReadResult(dirent.path, resul [all...] |
/third_party/ninja/misc/ |
H A D | write_fake_manifests.py | 73 def path(self): member in GenRandom 74 return os.path.sep.join([ 78 def src_obj_pairs(self, path, name): 80 return [(os.path.join(self.src_dir, path, s + '.cc'), 81 os.path.join('obj', path, '%s.%s.o' % (name, s))) 94 self.dir_path = gen.path() 95 self.ninja_file_path = os.path.join( 99 self.output = os.path [all...] |
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | generate_loader.py | 22 path, 30 header_path = registry_xml.path_to(path, file_name) 47 script_name=os.path.basename(sys.argv[0]), 66 path, 73 source_path = registry_xml.path_to(path, file_name) 92 script_name=os.path.basename(sys.argv[0]), 122 path = os.path.join("..", "src", "libEGL") 128 path, 132 write_source(data_source_name, all_cmds, "egl", path, prefi [all...] |
/third_party/skia/tools/skqp/ |
H A D | create_apk.py | 17 Additionally, `ninja` should be in your path. 62 yield os.path.join(dirpath, filename) 70 if not os.path.islink(p) and os.path.isdir(p): 72 elif os.path.lexists(p): 74 assert not os.path.exists(p) 77 if not os.path.exists(dst): 99 newdir = os.path.join(working_dir, os.path.basename(target)) 101 os.symlink(os.path [all...] |