Home
last modified time | relevance | path

Searched full:gsub (Results 1 – 25 of 444) sorted by relevance

12345678910>>...18

/external/fonttools/Tests/ttLib/tables/
Dtables_test.py34 "aots/classdef1_font1.otf": ("GSUB",),
35 "aots/classdef1_font2.otf": ("GSUB",),
36 "aots/classdef1_font3.otf": ("GSUB",),
37 "aots/classdef1_font4.otf": ("GSUB",),
38 "aots/classdef2_font1.otf": ("GSUB",),
39 "aots/classdef2_font2.otf": ("GSUB",),
40 "aots/classdef2_font3.otf": ("GSUB",),
41 "aots/classdef2_font4.otf": ("GSUB",),
87 "aots/gpos5_font1.otf": ("GDEF", "GPOS", "GSUB"),
154 "aots/gsub1_1_lookupflag_f1.otf": ("GDEF", "GSUB"),
[all …]
/external/fonttools/Tests/varLib/
DfeatureVars_test.py36 assert "GSUB" not in varfont
40 assert "GSUB" in varfont
41 gsub = varfont["GSUB"].table
43 assert len(gsub.ScriptList.ScriptRecord) == 1
44 assert gsub.ScriptList.ScriptRecord[0].ScriptTag == "DFLT"
46 assert len(gsub.FeatureList.FeatureRecord) == 1
47 assert gsub.FeatureList.FeatureRecord[0].FeatureTag == "rvrn"
49 assert len(gsub.LookupList.Lookup) == 1
50 assert gsub.LookupList.Lookup[0].LookupType == 1
51 assert len(gsub.LookupList.Lookup[0].SubTable) == 1
[all …]
/external/one-true-awk/testdir/
Dfunstack.awk213 gsub(/\\-/,"",Journal) # remove discretionary hyphens
235 gsub(/[\"]/,"",Month)
236 gsub(/ *# *\\slash *# */," / ",Month)
237 gsub(/ *# *-+ *# */," / ",Month)
371 gsub(/{\\\a}/, "\\à", s)
372 gsub(/{\\'a}/, "\\á", s)
373 gsub(/{\\[\^]a}/,"\\â", s)
374 gsub(/{\\~a}/, "\\ã", s)
375 gsub(/{\\\"a}/, "\\ä", s)
376 gsub(/{\\aa}/, "\\å", s)
[all …]
Dlilly.progs91 {if(gsub(/=/,"#"))print $0}
92 {if(gsub(/\=/,"#"))print $0}
93 {if(gsub(/==/,"#"))print $0}
94 {if(gsub(/\+=/,"#"))print $0}
95 {if(gsub(/\*=/,"#"))print $0}
96 {if(gsub(/-=/,"#"))print $0}
97 {if(gsub(/\/=/,"#"))print $0}
98 {if(gsub(/%=/,"#"))print $0}
99 {if(gsub(/^=/,"#"))print $0}
100 {if(gsub(/!=/,"#"))print $0}
[all …]
Dt.sub05 {gsub(/[aeiou]/, "foo"); print}
6 {gsub("[aeiou]", "foo"); print}
11 {gsub(/[aeiou]/, "&foo"); print}
12 {gsub("[aeiou]", "&foo"); print}
17 {gsub(/[aeiou]/, "\&foo"); print}
18 {gsub("[aeiou]", "\&foo"); print}
DT.gawk40 gsub( /\\\\/, "A", x); print x
41 gsub( "\\\\", "A", y); print y
60 gsub( /\\\\/, "\\", w); print " " w
61 gsub( /\\\\/, "\\\\", x); print " " x
62 gsub( /\\\\/, "\\\\\\", y); print " " y
84 gsub( /a/, "\&", w); print " " w
85 gsub( /a/, "\\&", x); print " " x
86 gsub( /a/, "\\\&", y); print " " y
87 gsub( /a/, "\\\\&", z); print " " z
88 gsub( /a/, "\\\\\&", z1); print " " z1
[all …]
Dlilly.out1044 ### {if(gsub(/=/,"#"))print $0}:
1059 ### {if(gsub(/=/,"#"))print $0}:
1074 ### {if(gsub(/==/,"#"))print $0}:
1077 ### {if(gsub(/+=/,"#"))print $0}:
1081 >>> {if(gsub(/+=/,"#") <<<
1083 ### {if(gsub(/*=/,"#"))print $0}:
1087 >>> {if(gsub(/*=/,"#") <<<
1089 ### {if(gsub(/-=/,"#"))print $0}:
1092 ### {if(gsub(//=/,"#"))print $0}:
1096 >>> {if(gsub(//= <<< /,"#"))print $0}
[all …]
/external/brotli/research/
DBUILD.libdivsufsort25 "gsub(/#cmakedefine/, \"#define\"); " +
26 "gsub(/@DIVSUFSORT_EXPORT@/, \"\"); " +
27 "gsub(/@DIVSUFSORT_IMPORT@/, \"\"); " +
28 "gsub(/@INLINE@/, \"inline\"); " +
29 "gsub(/@INCFILE@/, \"#include <inttypes.h>\"); " +
30 "gsub(/@SAUCHAR_TYPE@/, \"uint8_t\"); " +
31 "gsub(/@SAINT32_TYPE@/, \"int32_t\"); " +
32 "gsub(/@SAINT_PRId@/, \"PRId32\"); "
40 "gsub(/@HAVE_IO_H 1@/, \"HAVE_IO_H 0\"); " +
50 "gsub(/@W64BIT@/, \"\"); " +
[all …]
/external/fonttools/Lib/fontTools/varLib/
DfeatureVars.py71 if "GSUB" not in font:
72 font["GSUB"] = buildGSUB()
74 existingTags = _existingVariableFeatures(font["GSUB"].table).intersection(
84 font["GSUB"].table, allSubstitutions, processLast
96 addFeatureVariationsRaw(font, font["GSUB"].table, conditionsAndLookups, featureTags)
475 # Building GSUB/FeatureVariations internals
480 """Build a GSUB table from scratch."""
481 fontTable = newTable("GSUB")
482 gsub = fontTable.table = ot.GSUB()
483 gsub.Version = 0x00010001 # allow gsub.FeatureVariations
[all …]
/external/harfbuzz_ng/src/
DMakefile.sources94 hb-ot-layout-gsub-table.hh \
150 OT/Layout/GSUB/AlternateSet.hh \
151 OT/Layout/GSUB/AlternateSubstFormat1.hh \
152 OT/Layout/GSUB/AlternateSubst.hh \
153 OT/Layout/GSUB/ChainContextSubst.hh \
154 OT/Layout/GSUB/Common.hh \
155 OT/Layout/GSUB/ContextSubst.hh \
156 OT/Layout/GSUB/ExtensionSubst.hh \
157 OT/Layout/GSUB/GSUB.hh \
158 OT/Layout/GSUB/Ligature.hh \
[all …]
Dhb-ot-layout-gsub-table.hh32 #include "OT/Layout/GSUB/GSUB.hh"
49 const SubstLookup &l = c->face->table.GSUB.get_relaxed ()->table->get_lookup (lookup_index); in dispatch_recurse_func()
55 const SubstLookup &l = c->face->table.GSUB.get_relaxed ()->table->get_lookup (lookup_index); in closure_glyphs_recurse_func()
65 const SubstLookup &l = c->face->table.GSUB.get_relaxed ()->table->get_lookup (this_index); in dispatch_recurse_func()
72 auto *gsub = c->face->table.GSUB.get_relaxed (); in dispatch_recurse_func() local
73 const SubstLookup &l = gsub->table->get_lookup (lookup_index); in dispatch_recurse_func()
80 auto *accel = gsub->get_accel (lookup_index); in dispatch_recurse_func()
Dmeson.build98 'hb-ot-layout-gsub-table.hh',
153 'OT/Layout/GSUB/AlternateSet.hh',
154 'OT/Layout/GSUB/AlternateSubstFormat1.hh',
155 'OT/Layout/GSUB/AlternateSubst.hh',
156 'OT/Layout/GSUB/ChainContextSubst.hh',
157 'OT/Layout/GSUB/Common.hh',
158 'OT/Layout/GSUB/ContextSubst.hh',
159 'OT/Layout/GSUB/ExtensionSubst.hh',
160 'OT/Layout/GSUB/GSUB.hh',
161 'OT/Layout/GSUB/Ligature.hh',
[all …]
/external/fonttools/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/
Dfeatures.fea50 # GSUB =========================================
51 # Merging of GSUB is not performed. The variable
52 # font will inherit the GSUB table from the
56 sub A by A.sc; # GSUB LookupType 1
67 sub ampersand by a n d; # GSUB LookupType 2
71 sub a from [a.alt A.sc]; # GSUB LookupType 3
75 sub f t by f_t; # GSUB LookupType 4
79 sub a' t by a.alt; # GSUB LookupType 6
/external/skia/bazel/external/harfbuzz/
DBUILD.bazel89 "src/OT/Layout/GSUB/AlternateSet.hh",
90 "src/OT/Layout/GSUB/AlternateSubst.hh",
91 "src/OT/Layout/GSUB/AlternateSubstFormat1.hh",
92 "src/OT/Layout/GSUB/ChainContextSubst.hh",
93 "src/OT/Layout/GSUB/Common.hh",
94 "src/OT/Layout/GSUB/ContextSubst.hh",
95 "src/OT/Layout/GSUB/ExtensionSubst.hh",
96 "src/OT/Layout/GSUB/GSUB.hh",
97 "src/OT/Layout/GSUB/Ligature.hh",
98 "src/OT/Layout/GSUB/LigatureSet.hh",
[all …]
/external/bcc/src/lua/src/
Dsquish.lua9 name = (short_opts[name] or name):gsub("%-+", "_");
74 name = name:gsub("%-", "_");
86 return opts[name:gsub('%-', '_')];
106 base_path = (base_path or "."):gsub("/$", "").."/"
176 local package_path = package.path:gsub("[^;]+", function (path)
180 end):gsub("/%./", "/");
181 local package_cpath = package.cpath:gsub("[^;]+", function (path)
185 end):gsub("/%./", "/");
188 name = name:gsub("%.", LUA_DIRSEP);
190 c = c:gsub("%"..LUA_PATH_MARK, name);
[all …]
/external/antlr/runtime/Ruby/lib/antlr3/test/
Dcore-extensions.rb16 self.gsub!( exp,'' )
25 here_indent!( chr ).gsub!( /\n\s+/,' ' )
37 gsub( /^/, ' ' * n )
39 gsub( /^ {0,#{ -n }}/, "" )
87 gsub( /\n\s*\Z/,'' ).gsub( /^\s*[#{ d }]/, '' )
89 gsub( /\n\s*\Z/,'' ).gsub( /^\s*[#{ d }]/, ' ' * n )
105 return gsub( /\t/, "" ) if n == 0
106 return gsub( /\t/, " " ) if n == 1
109 str.gsub!( /^([^\t\n]*)(\t+)/ ) { |f|
128 gsub( /::/, '/' ). # NOT SO SURE ABOUT THIS -T
[all …]
/external/skia/third_party/harfbuzz/
DBUILD.gn105 "$_src/OT/Layout/GSUB/AlternateSet.hh",
106 "$_src/OT/Layout/GSUB/AlternateSubst.hh",
107 "$_src/OT/Layout/GSUB/AlternateSubstFormat1.hh",
108 "$_src/OT/Layout/GSUB/ChainContextSubst.hh",
109 "$_src/OT/Layout/GSUB/Common.hh",
110 "$_src/OT/Layout/GSUB/ContextSubst.hh",
111 "$_src/OT/Layout/GSUB/ExtensionSubst.hh",
112 "$_src/OT/Layout/GSUB/GSUB.hh",
113 "$_src/OT/Layout/GSUB/Ligature.hh",
114 "$_src/OT/Layout/GSUB/LigatureSet.hh",
[all …]
/external/harfbuzz_ng/src/OT/Layout/GSUB/
DGSUB.hh15 * GSUB -- Glyph Substitution
16 * https://docs.microsoft.com/en-us/typography/opentype/spec/gsub
19 struct GSUB : GSUBGPOS struct
48 typedef GSUBGPOS::accelerator_t<GSUB> accelerator_t; argument
54 struct GSUB_accelerator_t : Layout::GSUB::accelerator_t {
55 GSUB_accelerator_t (hb_face_t *face) : Layout::GSUB::accelerator_t (face) {} in GSUB_accelerator_t()
/external/freetype/src/otvalid/
Dotvmod.c79 FT_Byte* volatile gsub; in otv_validate() local
88 base = gdef = gpos = gsub = jstf = math = NULL; in otv_validate()
128 error = otv_load_table( face, TTAG_GSUB, &gsub, &len_gsub ); in otv_validate()
169 if ( gsub ) in otv_validate()
171 ft_validator_init( &valid, gsub, gsub + len_gsub, FT_VALIDATE_DEFAULT ); in otv_validate()
173 otv_GSUB_validate( gsub, num_glyphs, &valid ); in otv_validate()
183 otv_GDEF_validate( gdef, gsub, gpos, num_glyphs, &valid ); in otv_validate()
193 otv_JSTF_validate( jstf, gsub, gpos, num_glyphs, &valid ); in otv_validate()
212 *ot_gsub = (FT_Bytes)gsub; in otv_validate()
224 FT_FREE( gsub ); in otv_validate()
/external/fonttools/Lib/fontTools/otlLib/
DmaxContextCalc.py8 for tag in ("GSUB", "GPOS"):
27 tag == "GSUB" and lookupType in (1, 2, 3)
36 elif tag == "GSUB" and lookupType == 4:
42 elif (tag == "GPOS" and lookupType == 7) or (tag == "GSUB" and lookupType == 5):
46 elif (tag == "GPOS" and lookupType == 8) or (tag == "GSUB" and lookupType == 6):
52 elif (tag == "GPOS" and lookupType == 9) or (tag == "GSUB" and lookupType == 7):
56 elif tag == "GSUB" and lookupType == 8:
/external/gflags/bazel/
Dgflags.bzl9 "gsub(/@GFLAGS_NAMESPACE@/, \"" + namespace[0] + "\"); " +
10 … "gsub(/@(HAVE_STDINT_H|HAVE_SYS_TYPES_H|HAVE_INTTYPES_H|GFLAGS_INTTYPES_FORMAT_C99)@/, \"1\"); " +
11 "gsub(/@([A-Z0-9_]+)@/, \"0\"); " +
22 "gsub(/@ns@/, \"" + ns + "\"); " +
23 "gsub(/@NS@/, \"" + ns.upper() + "\"); " +
32 "gsub(/@GFLAGS_ATTRIBUTE_UNUSED@/, \"\"); " +
33 …"gsub(/@INCLUDE_GFLAGS_NS_H@/, \"" + '\n'.join(["#include \\\"gflags/{}\\\"".format(hdr) for hdr i…
40 cmd = "awk '{ gsub(/@GFLAGS_NAMESPACE@/, \"" + namespace[0] + "\"); print; }' $(<) > $(@)"
/external/rust/crates/yaml-rust/tests/specs/
Dcpp2rust.rb25 .gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
26 .gsub(/([a-z\d])([A-Z])/, '\1_\2')
28 .gsub(/\s/, '_')
29 .gsub(/__+/, '_')
47 v = line.gsub('(', ' ').gsub(')', ' ').split
/external/harfbuzz_ng/
Dgenerate_notice.py159 "src/OT/Layout/GSUB/AlternateSet.hh",
160 "src/OT/Layout/GSUB/AlternateSubst.hh",
161 "src/OT/Layout/GSUB/AlternateSubstFormat1.hh",
162 "src/OT/Layout/GSUB/ChainContextSubst.hh",
163 "src/OT/Layout/GSUB/Common.hh",
164 "src/OT/Layout/GSUB/ContextSubst.hh",
165 "src/OT/Layout/GSUB/ExtensionSubst.hh",
166 "src/OT/Layout/GSUB/GSUB.hh",
167 "src/OT/Layout/GSUB/Ligature.hh",
168 "src/OT/Layout/GSUB/LigatureSet.hh",
[all …]
/external/harfbuzz_ng/docs/
Drepacker.md12 layout rules ([GSUB/GPOS](https://docs.microsoft.com/en-us/typography/opentype/spec/gsub)) to be
24 * In GSUB/GPOS overflows from Lookup subtables can be resolved by changing the Lookup to an extens…
58 tables (eg. GSUB, GPOS) then in some cases preprocessing can be done to increase the chance of
59 successfully packing the graph. For example for GSUB and GPOS we can preprocess the graph and
198 of overflows. Currently the repacker implements preprocessing only for GPOS and GSUB tables.
200 ## GSUB/GPOS Table Splitting
202 The GSUB/GPOS preprocessor scans each lookup subtable and determines if the subtable's children are
216 ## GSUB/GPOS Extension Lookup Promotion
218 In GSUB/GPOS tables lookups can be regular lookups which use 16 bit offsets to the children subtabl…
279 general case of font compilation repacking. However for GSUB the repacker is only sufficient for
[all …]
/external/pdfium/core/fpdfapi/font/
Dcfx_cttgsubtable.cpp30 CFX_CTTGSUBTable::CFX_CTTGSUBTable(pdfium::span<const uint8_t> gsub) { in CFX_CTTGSUBTable() argument
31 if (!LoadGSUBTable(gsub)) in CFX_CTTGSUBTable()
58 bool CFX_CTTGSUBTable::LoadGSUBTable(pdfium::span<const uint8_t> gsub) { in LoadGSUBTable() argument
59 if (FXSYS_UINT32_GET_MSBFIRST(gsub) != 0x00010000) in LoadGSUBTable()
62 auto scriptlist_span = gsub.subspan(4, 2); in LoadGSUBTable()
63 auto featurelist_span = gsub.subspan(6, 2); in LoadGSUBTable()
64 auto lookuplist_span = gsub.subspan(8, 2); in LoadGSUBTable()
68 Parse(gsub.subspan(scriptlist_index), gsub.subspan(featurelist_index), in LoadGSUBTable()
69 gsub.subspan(lookuplist_index)); in LoadGSUBTable()

12345678910>>...18