Home
last modified time | relevance | path

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

12345678910>>...23

/aosp_15_r20/external/fonttools/Tests/ttLib/tables/
H A 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 …]
/aosp_15_r20/external/fonttools/Tests/varLib/
H A 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 …]
/aosp_15_r20/external/one-true-awk/testdir/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/aosp_15_r20/external/fonttools/Lib/fontTools/varLib/
H A 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 …]
/aosp_15_r20/external/skia/bazel/external/harfbuzz/
H A DBUILD.bazel90 "src/OT/Layout/GSUB/AlternateSet.hh",
91 "src/OT/Layout/GSUB/AlternateSubst.hh",
92 "src/OT/Layout/GSUB/AlternateSubstFormat1.hh",
93 "src/OT/Layout/GSUB/ChainContextSubst.hh",
94 "src/OT/Layout/GSUB/Common.hh",
95 "src/OT/Layout/GSUB/ContextSubst.hh",
96 "src/OT/Layout/GSUB/ExtensionSubst.hh",
97 "src/OT/Layout/GSUB/GSUB.hh",
98 "src/OT/Layout/GSUB/Ligature.hh",
99 "src/OT/Layout/GSUB/LigatureSet.hh",
[all …]
/aosp_15_r20/external/skia/third_party/harfbuzz/
H A 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 …]
/aosp_15_r20/external/brotli/research/
H A 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 …]
/aosp_15_r20/external/bcc/src/lua/src/
H A 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 …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/read-fonts-0.15.6/src/tables/gsub/
H A Dclosure.rs20 AlternateSubstFormat1, ChainedSequenceContext, ClassDef, Gsub, LigatureSubstFormat1,
31 impl<'a> Gsub<'a> { implementation
522 fn get_gsub(test_data: &'static [u8]) -> Gsub<'_> { in get_gsub()
524 font.gsub().unwrap() in get_gsub()
527 fn compute_closure(gsub: &Gsub, glyph_map: &GlyphMap, input: &[&str]) -> HashSet<GlyphId> { in compute_closure() argument
532 gsub.closure_glyphs(input_glyphs).unwrap() in compute_closure()
562 let gsub = get_gsub(test_data::SIMPLE); in smoke_test() localVariable
564 let result = compute_closure(&gsub, &glyph_map, &["a"]); in smoke_test()
579 let gsub = get_gsub(test_data::RECURSIVE); in recursive() localVariable
581 let result = compute_closure(&gsub, &glyph_map, &["a"]); in recursive()
[all …]
/aosp_15_r20/external/harfbuzz_ng/src/
H A Dhb-ot-layout.cc47 #include "hb-ot-layout-gsub-table.hh"
57 using OT::Layout::GSUB;
175 face->table.GSUB->table.get_length (), in is_blocklisted()
393 * GSUB/GPOS
397 GSUB::is_blocklisted (hb_blob_t *blob HB_UNUSED, in is_blocklisted()
421 case HB_OT_TAG_GSUB: return *face->table.GSUB->table; in get_gsubgpos_table()
437 * Fetches a list of all scripts enumerated in the specified face's GSUB table
464 * Fetches the index if a given script tag in the specified face's GSUB table
606 * Fetches a list of all feature tags in the given face's GSUB or GPOS table.
635 * Fetches the index for a given feature tag in the specified face's GSUB table
[all …]
H A Dmeson.build99 'hb-ot-layout-gsub-table.hh',
154 'OT/Layout/GSUB/AlternateSet.hh',
155 'OT/Layout/GSUB/AlternateSubstFormat1.hh',
156 'OT/Layout/GSUB/AlternateSubst.hh',
157 'OT/Layout/GSUB/ChainContextSubst.hh',
158 'OT/Layout/GSUB/Common.hh',
159 'OT/Layout/GSUB/ContextSubst.hh',
160 'OT/Layout/GSUB/ExtensionSubst.hh',
161 'OT/Layout/GSUB/GSUB.hh',
162 'OT/Layout/GSUB/Ligature.hh',
[all …]
H A 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()
/aosp_15_r20/external/harfbuzz_ng/
H A Dgenerate_notice.py153 "src/OT/Layout/GSUB/AlternateSet.hh",
154 "src/OT/Layout/GSUB/AlternateSubst.hh",
155 "src/OT/Layout/GSUB/AlternateSubstFormat1.hh",
156 "src/OT/Layout/GSUB/ChainContextSubst.hh",
157 "src/OT/Layout/GSUB/Common.hh",
158 "src/OT/Layout/GSUB/ContextSubst.hh",
159 "src/OT/Layout/GSUB/ExtensionSubst.hh",
160 "src/OT/Layout/GSUB/GSUB.hh",
161 "src/OT/Layout/GSUB/Ligature.hh",
162 "src/OT/Layout/GSUB/LigatureSet.hh",
[all …]
/aosp_15_r20/external/antlr/runtime/Ruby/lib/antlr3/test/
H A 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 …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/read-fonts-0.15.6/generated/
H A Dgenerated_gsub.rs8 /// [GSUB](https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#gsub-header)
38 impl TopLevelTable for Gsub<'_> { implementation
39 /// `GSUB`
40 const TAG: Tag = Tag::new(b"GSUB");
43 impl<'a> FontRead<'a> for Gsub<'a> { implementation
63 /// [GSUB](https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#gsub-header)
64 pub type Gsub<'a> = TableRef<'a, GsubMarker>; typedef
66 impl<'a> Gsub<'a> { implementation
67 /// The major and minor version of the GSUB table, as a tuple (u16, u16)
73 /// Offset to ScriptList table, from beginning of GSUB table
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/read-fonts-0.15.6/src/tests/
H A Dtest_gsub.rs2 use font_test_data::gsub as test_data;
6 …// https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#example-2-singlesubstformat1-su… in singlesubstformat1()
13 …// https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#example-3-singlesubstformat2-su… in singlesubstformat2()
28 …// https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#example-4-multiplesubstformat1-… in multiplesubstformat1()
40 …// https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#example-5-alternatesubstformat-… in alternatesubstformat1()
52 …// https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#example-6-ligaturesubstformat1-… in ligaturesubstformat1()
75 // - https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#example-7-contextual-substitut…
76 // - https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#example-8-contextual-substitut…
77 // - https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#example-9-contextual-substitut…
78 // - https://learn.microsoft.com/en-us/typography/opentype/spec/gsub#example-10-reversechainsingles…
/aosp_15_r20/out/soong/.intermediates/external/harfbuzz_ng/libharfbuzz_ng/android_arm64_armv8-2a_cortex-a55_static/obj/external/harfbuzz_ng/src/
Dhb-ot-shaper-arabic.o.d894 external/harfbuzz_ng/src/hb-ot-layout-gsub-table.hh \
895 external/harfbuzz_ng/src/OT/Layout/GSUB/GSUB.hh \
896 external/harfbuzz_ng/src/OT/Layout/GSUB/../../../hb-ot-layout-gsubgpos.hh \
897 external/harfbuzz_ng/src/OT/Layout/GSUB/../../../hb.hh \
898 external/harfbuzz_ng/src/OT/Layout/GSUB/../../../hb-buffer.hh \
899 external/harfbuzz_ng/src/OT/Layout/GSUB/../../../hb-map.hh \
900 external/harfbuzz_ng/src/OT/Layout/GSUB/../../../hb-set.hh \
901 external/harfbuzz_ng/src/OT/Layout/GSUB/../../../hb-ot-map.hh \
902 external/harfbuzz_ng/src/OT/Layout/GSUB/../../../hb-ot-layout-common.hh \
903 external/harfbuzz_ng/src/OT/Layout/GSUB/../../../hb-ot-layout.hh \
[all …]
/aosp_15_r20/external/freetype/src/otvalid/
H A 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()
/aosp_15_r20/external/harfbuzz_ng/docs/
H A 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 …]
/aosp_15_r20/external/fonttools/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/
H A 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
/aosp_15_r20/external/pdfium/core/fpdfapi/font/
H A 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()
/aosp_15_r20/external/gflags/bazel/
H A 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; }' $(<) > $(@)"

12345678910>>...23