/third_party/skia/src/pdf/ |
H A D | SkPDFFont.cpp | 178 static SkGlyphID first_nonzero_glyph_for_single_byte_encoding(SkGlyphID gid) { in first_nonzero_glyph_for_single_byte_encoding() argument 179 return gid != 0 ? gid - (gid - 1) % 255 : 1; in first_nonzero_glyph_for_single_byte_encoding() 444 static ImageAndOffset to_image(SkGlyphID gid, SkBulkGlyphMetricsAndImages* smallGlyphs) { in to_image() argument 445 const SkGlyph* glyph = smallGlyphs->glyph(SkPackedGlyphID{gid}); in to_image()
|
H A D | SkPDFSubsetFont.cpp | 94 glyphUsage.getSetValues([&glyphs](unsigned gid) { hb_set_add(glyphs, gid);});
|
/third_party/ntfs-3g/libntfs-3g/ |
H A D | acls.c | 333 * from a gid an be inserted with no overflow. 349 * Compute the uid or gid associated to a SID 359 u32 xid; /* uid or gid */ in findimplicit() 454 gid_t gid, SID *defgsid) in ntfs_find_gsid() 462 if (!gid) in ntfs_find_gsid() 466 while (p && p->xid && ((gid_t)p->xid != gid)) in ntfs_find_gsid() 478 uauth = le32_to_cpu(leauth) + 2*(gid & 0x3fffffff) + 1; in ntfs_find_gsid() 480 if (gid & 0xc0000000) { in ntfs_find_gsid() 482 uauth = le32_to_cpu(leauth) + ((gid >> 30) & 3); in ntfs_find_gsid() 522 gid_t gid; in ntfs_find_group() local 453 ntfs_find_gsid(const struct MAPPING* groupmapping, gid_t gid, SID *defgsid) ntfs_find_gsid() argument 3693 gid_t gid; ntfs_build_permissions_posix() local 4448 int gid; ntfs_do_group_mapping() local [all...] |
/third_party/ntfs-3g/src/ |
H A D | ntfs-3g.c | 206 "Options: ro (read-only mount), windows_names, uid=, gid=,\n" 303 scx->gid = fusecontext->gid; in ntfs_fuse_fill_security_context() 1039 stbuf->st_gid = ctx->gid; in ntfs_fuse_getattr() 1964 static int ntfs_fuse_chown(const char *path, uid_t uid, gid_t gid) in ntfs_fuse_chown() argument 1980 if (uid == ctx->uid && gid == ctx->gid) in ntfs_fuse_chown() 1985 if (((int)uid != -1) || ((int)gid != -1)) { in ntfs_fuse_chown() 1997 ni,uid,gid)) in ntfs_fuse_chown() 2068 gid_t gid; in ntfs_fuse_create() local [all...] |
H A D | lowntfs-3g.c | 270 "Options: ro (read-only mount), windows_names, uid=, gid=,\n" 356 scx->gid = fusecontext->gid; in ntfs_fuse_fill_security_context() 368 scx->gid = 0; in ntfs_fuse_fill_security_context() 937 stbuf->st_gid = ctx->gid; in ntfs_fuse_getstat() 1902 uid_t uid, gid_t gid, struct stat *stbuf) in ntfs_fuse_chown() 1910 && ((uid != ctx->uid) || (gid != ctx->gid))) in ntfs_fuse_chown() 1921 && (((int)uid != -1) || ((int)gid != -1))) { in ntfs_fuse_chown() 1922 if (ntfs_set_owner(scx, ni, uid, gid)) in ntfs_fuse_chown() 1901 ntfs_fuse_chown(struct SECURITY_CONTEXT *scx, fuse_ino_t ino, uid_t uid, gid_t gid, struct stat *stbuf) ntfs_fuse_chown() argument 1943 ntfs_fuse_chownmod(struct SECURITY_CONTEXT *scx, fuse_ino_t ino, uid_t uid, gid_t gid, mode_t mode, struct stat *stbuf) ntfs_fuse_chownmod() argument 2349 gid_t gid; ntfs_fuse_create() local [all...] |
/third_party/libuv/src/unix/ |
H A D | fs.c | 1587 X(CHOWN, chown(req->path, req->uid, req->gid)); in uv__fs_work() 1591 X(FCHOWN, fchown(req->file, req->uid, req->gid)); in uv__fs_work() 1592 X(LCHOWN, lchown(req->path, req->uid, req->gid)); in uv__fs_work() 1695 uv_gid_t gid, in uv_fs_chown() 1700 req->gid = gid; in uv_fs_chown() 1731 uv_gid_t gid, in uv_fs_fchown() 1736 req->gid = gid; in uv_fs_fchown() 1745 uv_gid_t gid, in uv_fs_lchown() 1691 uv_fs_chown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_chown() argument 1727 uv_fs_fchown(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_fchown() argument 1741 uv_fs_lchown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_lchown() argument [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | fs.c | 1717 X(CHOWN, chown(req->path, req->uid, req->gid)); in uv__fs_work() 1721 X(FCHOWN, fchown(req->file, req->uid, req->gid)); in uv__fs_work() 1722 X(LCHOWN, lchown(req->path, req->uid, req->gid)); in uv__fs_work() 1812 uv_gid_t gid, in uv_fs_chown() 1817 req->gid = gid; in uv_fs_chown() 1845 uv_gid_t gid, in uv_fs_fchown() 1850 req->gid = gid; in uv_fs_fchown() 1859 uv_gid_t gid, in uv_fs_lchown() 1808 uv_fs_chown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_chown() argument 1841 uv_fs_fchown(uv_loop_t* loop, uv_fs_t* req, uv_file file, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_fchown() argument 1855 uv_fs_lchown(uv_loop_t* loop, uv_fs_t* req, const char* path, uv_uid_t uid, uv_gid_t gid, uv_fs_cb cb) uv_fs_lchown() argument [all...] |
/third_party/skia/tools/fonts/ |
H A D | TestSVGTypeface.cpp | 717 SkGlyphID gid = i; in exportTtxCbdt() 720 font.getWidthsBounds(&gid, 1, &advance, &bounds, nullptr); in exportTtxCbdt() 756 SkGlyphID gid = i; in exportTtxCbdt() local 759 font.getWidthsBounds(&gid, 1, &advance, &bounds, nullptr); in exportTtxCbdt() 771 canvas->drawSimpleText(&gid, in exportTtxCbdt() 772 sizeof(gid), in exportTtxCbdt() 886 SkGlyphID gid = i; in exportTtxCbdt() local 888 font.getBounds(&gid, 1, &bounds, nullptr); in exportTtxCbdt() 978 SkGlyphID gid = i; in exportTtxSbix() local 981 font.getWidthsBounds(&gid, in exportTtxSbix() [all...] |
/third_party/eudev/src/shared/ |
H A D | mkdir.h | 31 int mkdir_safe_internal(const char *path, mode_t mode, uid_t uid, gid_t gid, mkdir_func_t _mkdir);
|
/third_party/musl/libc-test/src/api/ |
H A D | sys_ipc.c | 14 F(gid_t,gid) in f()
|
H A D | sys_sem.c | 42 F(gid_t,gid) in f()
|
H A D | sys_shm.c | 37 F(gid_t,gid) in f()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | core-util.c | 278 int pa_make_secure_dir(const char* dir, mode_t m, uid_t uid, gid_t gid, bool update_perms) { in pa_make_secure_dir() argument 300 pa_make_secure_parent_dir(dir, m, uid, gid, false); in pa_make_secure_dir() 343 if (gid == (gid_t) -1) in pa_make_secure_dir() 344 gid = getgid(); in pa_make_secure_dir() 345 if (((st.st_uid != uid) || (st.st_gid != gid)) && fchown(fd, uid, gid) < 0) { in pa_make_secure_dir() 389 int pa_make_secure_parent_dir(const char *fn, mode_t m, uid_t uid, gid_t gid, bool update_perms) { in pa_make_secure_parent_dir() argument 396 if (pa_make_secure_dir(dir, m, uid, gid, update_perms) < 0) in pa_make_secure_parent_dir() 1151 static int is_group(gid_t gid, const char *name) { in is_group() argument 1156 if (!(group = pa_getgrgid_malloc(gid))) { in is_group() 1174 pa_own_uid_in_group(const char *name, gid_t *gid) pa_own_uid_in_group() argument 1286 pa_own_uid_in_group(const char *name, gid_t *gid) pa_own_uid_in_group() argument [all...] |
/third_party/eudev/src/udev/ |
H A D | udev.h | 42 gid_t gid; member 111 mode_t mode, uid_t uid, gid_t gid,
|
/third_party/NuttX/fs/nfs/ |
H A D | rpc.h | 284 uint32_t gid; member 560 void rpcclnt_setuidgid(uint32_t uid, uint32_t gid);
|
/third_party/ntfs-3g/include/fuse-lite/ |
H A D | fuse.h | 455 * The uid, gid and pid fields are not filled in case of a writepage 466 gid_t gid; member 601 int fuse_fs_chown(struct fuse_fs *fs, const char *path, uid_t uid, gid_t gid);
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/ |
H A D | CMapEditingTests.java | 179 int gid = newCMap.glyphId(c); in testCMap4Editing() 181 System.out.printf("char = %x => original gid = %x, new gid = %x\n", c, gid, newGid); in testCMap4Editing()
|
/third_party/mbedtls/library/ |
H A D | ecdsa.c | 225 int mbedtls_ecdsa_can_do(mbedtls_ecp_group_id gid) in mbedtls_ecdsa_can_do() argument 227 switch (gid) { in mbedtls_ecdsa_can_do() 776 int mbedtls_ecdsa_genkey(mbedtls_ecdsa_context *ctx, mbedtls_ecp_group_id gid, in mbedtls_ecdsa_genkey() argument 780 ret = mbedtls_ecp_group_load(&ctx->grp, gid); in mbedtls_ecdsa_genkey()
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
H A D | hb-subset.cc | 278 hb_codepoint_t gid; in parse_glyphs() local 279 if (!hb_font_get_glyph_from_name (font, p, end - p, &gid)) in parse_glyphs() 287 hb_set_add (gids, gid); in parse_glyphs() 289 hb_set_del (gids, gid); in parse_glyphs()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-cff1-table.hh | 1281 for (hb_codepoint_t gid = 0; gid < num_glyphs; gid++) in init() 1283 hb_codepoint_t sid = glyph_to_sid (gid); in init() 1343 hb_codepoint_t gid = sid_to_glyph (gname->sid); in get_glyph_from_name() 1344 if (!gid && gname->sid) return false; in get_glyph_from_name() 1345 *glyph = gid; in get_glyph_from_name()
|
/third_party/ltp/include/ |
H A D | tst_safe_macros.h | 110 #define SAFE_SETGID(gid) \ 111 safe_setgid(__FILE__, __LINE__, NULL, (gid)) 563 struct group *safe_getgrgid(const char *file, const int lineno, gid_t gid); 564 #define SAFE_GETGRGID(gid) \ 565 safe_getgrgid(__FILE__, __LINE__, (gid))
|
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/ |
H A D | semctl04.c | 40 perm.sem_perm.gid = getgid() + 1; in do_child()
|
/third_party/rust/crates/libc/src/fuchsia/ |
H A D | aarch64.rs | 55 pub gid: ::gid_t,
|
/third_party/python/Lib/ |
H A D | tarfile.py | 132 "uid", "gid", "uname", "gname") 144 "gid": int, 794 if member.gid is not None: 795 new_attrs['gid'] = None 852 gid = 'Group ID of the user who originally stored this member.', variable in TarInfo 882 self.gid = 0 # group id 922 uid=_KEEP, gid=_KEEP, uname=_KEEP, gname=_KEEP, 940 if gid is not _KEEP: 941 result.gid = gid [all...] |
/third_party/NuttX/fs/tmpfs/ |
H A D | fs_tmpfs.c | 1212 vp->gid = tfo->gid; in tmpfs_create() 1718 tdo->gid = mnt->vnodeBeCovered->gid; in tmpfs_mount() 1725 vp->gid = tdo->gid; in tmpfs_mount() 1861 vp->gid = to->gid; in tmpfs_lookup() 2080 vp->gid = tdo->gid; in tmpfs_mkdir() [all...] |