Home
last modified time | relevance | path

Searched refs:gids (Results 1 – 25 of 25) sorted by relevance

/external/compiler-rt/test/msan/Linux/
Dgetresid.cc18 gid_t gids[6]; in main() local
19 assert(0 == __msan_test_shadow(gids, 6 * sizeof(gid_t))); in main()
20 assert(0 == getresgid(&gids[0], &gids[2], &gids[4])); in main()
23 __msan_test_shadow(gids + 2 * i, 2 * sizeof(gid_t))); in main()
/external/harfbuzz_ng/src/
Dhb-ot-post-table.hh151 uint16_t *gids = gids_sorted_by_name.get (); in get_glyph_from_name()
153 if (unlikely (!gids)) in get_glyph_from_name()
155 gids = (uint16_t *) malloc (count * sizeof (gids[0])); in get_glyph_from_name()
156 if (unlikely (!gids)) in get_glyph_from_name()
160 gids[i] = i; in get_glyph_from_name()
161 hb_sort_r (gids, count, sizeof (gids[0]), cmp_gids, (void *) this); in get_glyph_from_name()
163 if (unlikely (!gids_sorted_by_name.cmpexch (nullptr, gids))) in get_glyph_from_name()
165 free (gids); in get_glyph_from_name()
171 const uint16_t *gid = (const uint16_t *) hb_bsearch_r (hb_addressof (st), gids, count, in get_glyph_from_name()
172 sizeof (gids[0]), cmp_key, (void *) this); in get_glyph_from_name()
Dhb-ot-hmtx-table.hh96 hb_vector_t<hb_codepoint_t> &gids = plan->glyphs; in subset() local
97 unsigned int num_advances = gids.len; in subset()
98 unsigned int last_advance = _mtx.get_advance (gids[num_advances - 1]); in subset()
100 last_advance == _mtx.get_advance (gids[num_advances - 2])) in subset()
107 + (gids.len - num_advances) * 2; in subset()
114 …has %d advances, %d lsbs, %u bytes", HB_UNTAG(T::tableTag), num_advances, gids.len - num_advances,… in subset()
123 for (unsigned int i = 0; i < gids.len; i++) in subset()
126 LongMetric *src_metric = old_metrics + MIN ((hb_codepoint_t) _mtx.num_advances - 1, gids[i]); in subset()
127 if (gids[i] < _mtx.num_advances) in subset()
143 if (gids[i] >= _mtx.num_metrics) in subset()
[all …]
Dhb-graphite2.cc319 ALLOCATE_ARRAY (hb_codepoint_t, gids, glyph_count); in _hb_graphite2_shape()
325 hb_codepoint_t *pg = gids; in _hb_graphite2_shape()
384 info->codepoint = gids[clusters[i].base_glyph + j]; in _hb_graphite2_shape()
/external/fonttools/Lib/fontTools/ttLib/tables/
D_c_m_a_p.py17 def _make_map(font, chars, gids): argument
18 assert len(chars) == len(gids)
21 for char,gid in zip(chars,gids):
255 gids = array.array("B")
256 gids.fromstring(self.data)
257 charCodes = list(range(len(gids)))
258 self.cmap = _make_map(self.ttFont, charCodes, gids)
269 gids = array.array("B", valueList)
270 data = struct.pack(">HHH", 0, 262, self.language) + gids.tostring()
430 gids = list(cmap.values())
[all …]
DV_O_R_G_.py22 gids = []
27 gids.append(gid)
33 names = [glyphOrder[gid] for gid in gids]
36 names = map(getGlyphName, gids)
46 gids = [nameMap[name] for name in names]
49 gids = [nameMap[name] for name in names]
50 vOriginTable = list(zip(gids, vorgs))
DC_O_L_R_.py24 gids = []
30 gids.append(gid)
46 names = [glyphOrder[gid] for gid in gids]
49 names = map(getGlyphName, gids)
DotConverters.py272 gids = reader.readUShortArray(count)
274 l = [glyphOrder[gid] for gid in gids]
277 l = [font.getGlyphName(gid) for gid in gids]
/external/freetype/src/cff/
Dcffcmap.c46 cmap->gids = encoding->codes; in cff_cmap_encoding_init()
55 cmap->gids = NULL; in cff_cmap_encoding_done()
67 result = cmap->gids[char_code]; in cff_cmap_encoding_char_index()
93 result = cmap->gids[code]; in cff_cmap_encoding_char_next()
Dcffcmap.h41 FT_UShort* gids; /* up to 256 elements */ member
/external/syzkaller/vendor/golang.org/x/sys/unix/
Dsyscall_bsd.go28 func Getgroups() (gids []int, err error) {
47 gids = make([]int, n)
49 gids[i] = int(v)
54 func Setgroups(gids []int) (err error) {
55 if len(gids) == 0 {
59 a := make([]_Gid_t, len(gids))
60 for i, v := range gids {
Dsyscall_solaris.go155 func Getgroups() (gids []int, err error) {
173 gids = make([]int, n)
175 gids[i] = int(v)
180 func Setgroups(gids []int) (err error) {
181 if len(gids) == 0 {
185 a := make([]_Gid_t, len(gids))
186 for i, v := range gids {
Dsyscall_linux.go241 func Getgroups() (gids []int, err error) {
260 gids = make([]int, n)
262 gids[i] = int(v)
267 func Setgroups(gids []int) (err error) {
268 if len(gids) == 0 {
272 a := make([]_Gid_t, len(gids))
273 for i, v := range gids {
/external/harfbuzz_ng/test/shaping/
Drecord-test.sh58 --gids="$glyph_ids" \
65 --gids="$glyph_ids" \
/external/squashfs-tools/RELEASE-READMEs/
DREADME-2.035 options. These allow the uids/gids of files in the generated
36 filesystem to be specified, overriding the uids/gids in the
90 uids/gids in the generated Squashfs filesystem to be root.
/external/autotest/client/site_tests/platform_ToolchainTests/src/
Dclang-fortify-tests.cpp376 gid_t gids[2]; in TestUnistd() local
378 EXPECT_DEATH(getgroups(3, gids)); in TestUnistd()
/external/python/cpython2/Demo/rpc/
Drpc.py53 def pack_auth_unix(self, stamp, machinename, uid, gid, gids): argument
58 self.pack_uint(len(gids))
59 for i in gids:
/external/squashfs-tools/kernel/Documentation/filesystems/
Dsquashfs.txt39 32-bit uids/gids: yes no
176 converted to 32-bit uids/gids using an id look up table. This table is
/external/fonttools/Lib/fontTools/subset/
D__init__.py2413 def populate(self, glyphs=[], gids=[], unicodes=[], text=""): argument
2422 self.glyph_ids_requested.update(gids)
2753 gids = []
2784 gids.extend(parse_gids(g[7:]))
2789 gids.extend(parse_gids(line.split('#')[0]))
2827 log.info("Gids: %s", gids)
2829 subsetter.populate(glyphs=glyphs, gids=gids, unicodes=unicodes, text=text)
/external/squashfs-tools/
DCHANGES501 options. These allow the uids/gids of files in the generated
502 filesystem to be specified, overriding the uids/gids in the
508 filesystems in certain cases file gids were corrupted.
DRELEASE-README26 2. Squashfs stores full uid/gids (32 bits), and file creation time.
125 -force-gid gid set all file gids to gid
401 file uids/gids in the generated Squashfs filesystem to be root. This allows
965 converted to 32-bit uids/gids using an id look up table. This table is
/external/fonttools/
DNEWS.rst20 option ``--retain-gids`` is used.
84 - [subset] Insert empty widths into hdmx when retaining gids (#1458).
98 - [subset] Added ``--retain-gids`` option to subset font without modifying the
DPKG-INFO437 option ``--retain-gids`` is used.
501 - [subset] Insert empty widths into hdmx when retaining gids (#1458).
515 - [subset] Added ``--retain-gids`` option to subset font without modifying the
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc3490 gid_t *gids = new gid_t[n]; in TEST() local
3491 int res = getgroups(n, gids); in TEST()
3494 EXPECT_NOT_POISONED(gids[i]); in TEST()
/external/fonttools/Lib/fonttools.egg-info/
DPKG-INFO437 option ``--retain-gids`` is used.
501 - [subset] Insert empty widths into hdmx when retaining gids (#1458).
515 - [subset] Added ``--retain-gids`` option to subset font without modifying the