Searched refs:gid (Results 1 - 25 of 150) sorted by relevance

123456

/external/fonttools/Lib/fontTools/ttLib/tables/
H A DsbixBitmap.py19 def __init__(self, glyphName=None, referenceGlyphName=None, usReserved1=0, usReserved2=0, imageFormatTag=None, imageData=None, rawdata=None, gid=0):
20 self.gid = gid
30 self.glyphName = ttFont.getGlyphName(self.gid)
37 #print "Bitmap %i header too short: Expected %x, got %x." % (self.gid, sbixBitmapHeaderFormatSize, len(self.rawdata))
44 gid, = struct.unpack(">H", self.rawdata[sbixBitmapHeaderFormatSize:])
45 self.referenceGlyphName = ttFont.getGlyphName(gid)
51 del self.gid
59 self.gid = struct.pack(">H", ttFont.getGlyphID(self.glyphName))
H A DG_M_A_P_.py23 gid: H
31 def __init__(self, uv = 0, cid = 0, gid = 0, ggid = 0, name = ""):
34 self.gid = gid
45 writer.simpletag("gid", value=self.gid)
47 writer.simpletag("glyphletGid", value=self.gid)
73 return "GMAPRecord[ UV: " + str(self.UV) + ", cid: " + str(self.cid) + ", gid: " + str(self.gid) + ", ggid: " + str(self.ggid) + ", Glyphlet Name: " + str(self.name) + " ]"
H A DC_O_L_R_.py29 gid, firstLayerIndex, numLayers = struct.unpack(">HHH", data[glyphPos:glyphPos+6])
31 gids.append(gid)
61 gid = ttFont.getGlyphID(glyphName)
64 ordered.append([gid, glyphName, self.ColorLayers[glyphName]])
69 for (gid, glyphName, layers) in ordered:
70 glyphMap.append(struct.pack(">HHH", gid, len(layerMap), len(layers)))
87 gid = ttFont.getGlyphID(glyphName)
90 ordered.append([gid, glyphName, self.ColorLayers[glyphName]])
123 # its a gid, convert to glyph name
133 # its a gid, conver
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DsbixBitmap.py19 def __init__(self, glyphName=None, referenceGlyphName=None, usReserved1=0, usReserved2=0, imageFormatTag=None, imageData=None, rawdata=None, gid=0):
20 self.gid = gid
30 self.glyphName = ttFont.getGlyphName(self.gid)
37 #print "Bitmap %i header too short: Expected %x, got %x." % (self.gid, sbixBitmapHeaderFormatSize, len(self.rawdata))
44 gid, = struct.unpack(">H", self.rawdata[sbixBitmapHeaderFormatSize:])
45 self.referenceGlyphName = ttFont.getGlyphName(gid)
51 del self.gid
59 self.gid = struct.pack(">H", ttFont.getGlyphID(self.glyphName))
H A DG_M_A_P_.py23 gid: H
31 def __init__(self, uv = 0, cid = 0, gid = 0, ggid = 0, name = ""):
34 self.gid = gid
45 writer.simpletag("gid", value=self.gid)
47 writer.simpletag("glyphletGid", value=self.gid)
73 return "GMAPRecord[ UV: " + str(self.UV) + ", cid: " + str(self.cid) + ", gid: " + str(self.gid) + ", ggid: " + str(self.ggid) + ", Glyphlet Name: " + str(self.name) + " ]"
H A DC_O_L_R_.py29 gid, firstLayerIndex, numLayers = struct.unpack(">HHH", data[glyphPos:glyphPos+6])
31 gids.append(gid)
61 gid = ttFont.getGlyphID(glyphName)
64 ordered.append([gid, glyphName, self.ColorLayers[glyphName]])
69 for (gid, glyphName, layers) in ordered:
70 glyphMap.append(struct.pack(">HHH", gid, len(layerMap), len(layers)))
87 gid = ttFont.getGlyphID(glyphName)
90 ordered.append([gid, glyphName, self.ColorLayers[glyphName]])
123 # its a gid, convert to glyph name
133 # its a gid, conver
[all...]
/external/kernel-headers/original/uapi/asm-generic/
H A Dipcbuf.h22 __kernel_gid32_t gid; member in struct:ipc64_perm
/external/kernel-headers/original/uapi/linux/
H A Dncp_mount.h39 __kernel_gid_t gid; member in struct:ncp_mount_data
63 unsigned long gid; member in struct:ncp_mount_data_v4
H A Dcramfs_fs.h32 __u32 size:CRAMFS_SIZE_WIDTH, gid:CRAMFS_GID_WIDTH; member in struct:cramfs_inode
H A Dipc.h13 __kernel_gid_t gid; member in struct:ipc_perm
/external/qemu/distrib/ext4_utils/src/
H A Dcontents.h29 u16 gid; member in struct:dentry
40 int inode_set_permissions(u32 inode_num, u16 mode, u16 uid, u16 gid, u32 mtime);
/external/iproute2/ip/
H A Diptuntap.c48 static int tap_add_ioctl(struct ifreq *ifr, uid_t uid, gid_t gid) argument
70 if (gid != -1 && ioctl(fd, TUNSETGROUP, gid)) {
107 static int parse_args(int argc, char **argv, struct ifreq *ifr, uid_t *uid, gid_t *gid) argument
149 } else if (gid && matches(*argv, "group") == 0) {
156 *gid = group;
163 *gid = gr->gr_gid;
195 gid_t gid = -1; local
197 if (parse_args(argc, argv, &ifr, &uid, &gid) < 0)
204 return tap_add_ioctl(&ifr, uid, gid);
[all...]
/external/icu/icu4c/source/layout/
H A DStateTableProcessor2.cpp89 LEGlyphID gid = glyphStorage[currGlyph]; local
90 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
95 classCode = SWAPW(lookupTable0->valueArray[gid]);
120 LEGlyphID gid = glyphStorage[currGlyph]; local
121 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
127 lookupTable2->lookupSegment(lookupTable2, lookupTable2->segments, gid, success);
161 LEGlyphID gid = glyphStorage[currGlyph]; local
162 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
167 const LookupSingle *segment = lookupTable6->lookupSingle(lookupTable6, lookupTable6->entries, gid, success);
H A DContextualGlyphSubstProc2.cpp76 TTGlyphID ContextualGlyphSubstitutionProcessor2::lookup(le_uint32 offset, LEGlyphID gid, LEErrorCode &success) argument
91 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
100 const LookupSegment *segment = lookupTable2->lookupSegment(lookupTable2->segments, gid);
116 const LEReferenceTo<LookupSingle> segment = lookupTable6->lookupSingle(lookupTable6->entries, gid);
129 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(gid);
H A DLETypes.h174 #define LE_GET_GLYPH(gid) ((gid & LE_GLYPH_MASK) >> LE_GLYPH_SHIFT)
182 #define LE_GET_SUB_FONT(gid) ((gid & LE_SUB_FONT_MASK) >> LE_SUB_FONT_SHIFT)
190 #define LE_GET_CLIENT(gid) ((gid & LE_CLIENT_MASK) >> LE_CLIENT_SHIFT)
199 #define LE_SET_GLYPH(gid, glyph) ((gid & ~LE_GLYPH_MASK) | ((glyph << LE_GLYPH_SHIFT) & LE_GLYPH_MASK))
207 #define LE_SET_SUB_FONT(gid, font) ((gid
[all...]
H A DContextualGlyphSubstProc2.h53 TTGlyphID lookup(le_uint32 offset, LEGlyphID gid, LEErrorCode &success);
/external/kernel-headers/original/uapi/rdma/
H A Dib_user_mad.h69 * @gid - Remote GID in GRH
87 __u8 gid[16]; member in struct:ib_user_mad_hdr_old
112 * @gid - Remote GID in GRH
131 __u8 gid[16]; member in struct:ib_user_mad_hdr
/external/libcap-ng/libcap-ng-0.7/utils/
H A Dcaptest.c58 gid_t gid, egid, sgid; local
68 getresgid(&gid, &egid, &sgid);
79 getresgid(&gid, &egid, &sgid);
89 printf("Group credentials gid:%d egid:%d sgid:%d\n", gid, egid, sgid);
90 if (uid != euid || gid != egid)
/external/chromium_org/sandbox/linux/bpf_dsl/
H A Dbpf_dsl_unittest.cc39 static int setgid(gid_t gid) { return Syscall::Call(__NR_setgid, gid); } argument
231 const Arg<gid_t> gid(0);
232 return If((gid & 0xf0) == 0xf0, Error(EINVAL)).Else(Error(EACCES));
251 for (gid_t gid = 0; gid < 0x100; ++gid) {
252 const int expect_errno = (gid & 0xf0) == 0xf0 ? EINVAL : EACCES;
253 ASSERT_SYSCALL_RESULT(-expect_errno, setgid, gid);
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-ot-cmap-table.hh47 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0; local
48 if (!gid)
50 *glyph = gid;
108 hb_codepoint_t gid; local
111 gid = codepoint + idDelta[i];
118 gid = glyphIdArray[index];
119 if (unlikely (!gid))
121 gid += idDelta[i];
124 *glyph = gid & 0xFFFFu;
206 hb_codepoint_t gid local
[all...]
/external/harfbuzz_ng/src/
H A Dhb-ot-cmap-table.hh47 hb_codepoint_t gid = codepoint < 256 ? glyphIdArray[codepoint] : 0; local
48 if (!gid)
50 *glyph = gid;
108 hb_codepoint_t gid; local
111 gid = codepoint + idDelta[i];
118 gid = glyphIdArray[index];
119 if (unlikely (!gid))
121 gid += idDelta[i];
124 *glyph = gid & 0xFFFFu;
206 hb_codepoint_t gid local
[all...]
/external/fio/os/windows/posix/include/sys/
H A Dshm.h17 gid_t gid; /* owner's group ID */ member in struct:ipc_perm
/external/lldb/include/lldb/Target/
H A DPlatform.h276 GetGroupName (uint32_t gid);
617 GetCachedGroupName (uint32_t gid) argument
620 IDToNameMap::iterator pos = m_gid_map.find (gid);
633 SetCachedGroupName (uint32_t gid, const char *name, size_t name_len) argument
637 m_gid_map[gid] = const_name;
645 SetGroupNameNotFound (uint32_t gid) argument
648 m_gid_map[gid] = ConstString();
/external/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.cpp270 PlatformRemoteGDBServer::GetGroupName (uint32_t gid) argument
272 const char *cached_group_name = Platform::GetGroupName(gid);
276 if (m_gdb_client.GetGroupName(gid, name))
277 return SetCachedGroupName(gid, name.c_str(), name.size());
279 SetGroupNameNotFound(gid); // Negative cache so we don't keep sending packets
/external/strace/
H A Dprocess.c495 GETGROUPS_T gid; local
509 size = len * sizeof(gid);
511 if (!verbose(tcp) || size / sizeof(gid) != len || end < start) {
516 abbrev_end = start + max_strlen * sizeof(gid);
523 for (cur = start; cur < end; cur += sizeof(gid)) {
530 if (umoven(tcp, cur, sizeof(gid), (char *) &gid) < 0) {
535 tprintf("%lu", (unsigned long) gid);
554 GETGROUPS_T gid; local
571 size = len * sizeof(gid);
612 GETGROUPS32_T gid; local
671 GETGROUPS32_T gid; local
[all...]

Completed in 559 milliseconds

123456