/external/one-true-awk/testdir/ |
D | lilly.progs | 91 {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 …]
|
D | funstack.awk | 213 gsub(/\\-/,"",Journal) # remove discretionary hyphens 666 gsub(/[^A-Za-z0-9():,;.\/\-]/,"",label) 675 gsub(/<\/?[^>]*>/,"",s) # remove SGML tags 676 gsub(/&[A-Za-z0-9]+;/,"",s) # remove SGML entities 846 gsub(/&/,"\\&",s) # NB: this one MUST be first 847 gsub(/</,"\\<",s) 848 gsub(/>/,"\\>",s) 849 gsub(/\"/,"\\"",s) 907 gsub(/[$][$]/,"$$",s) # change display math to triple dollars for split 916 gsub(/[$][$][$]/,"$$",s) # restore display math [all …]
|
D | t.sub0 | 5 {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}
|
D | lilly.out | 1044 ### {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 …]
|
D | T.latin1 | 11 $awk '{ gsub(/\351/, "\370"); print }' latin1 >foo0 12 $awk '{ gsub(/�/, "�"); print }' latin1 >foo1 15 $awk '{ gsub(/[^\300-\370]/, ""); print }' latin1 >foo0 16 $awk '{ gsub(/[^�-�]/, ""); print } ' latin1 >foo1
|
D | T.gawk | 40 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 …]
|
D | t.gsub4 | 3 {gsub("[" $1 "]","(&)"); print} 4 {gsub("[" $1 "]","(\\&)"); print}
|
D | chem.awk | 171 gsub(/[^A-Za-z0-9]/, "", n) # for stuff like C(OH3): zap non-alnum 333 gsub(/[^A-Za-z0-9]/, "", m) 437 gsub(/([0-9]+\.[0-9]+)|([0-9]+)/, "\\s-3\\d&\\u\\s+3", s) 439 gsub(/\./, "\\v#-.3m#.\\v#.3m#", s) 453 gsub(/([0-9]+\.[0-9]+)|([0-9]+)/, "\\s-3\\d&\\u\\s+3", s1) 455 gsub(/\./, "\\v#-.3m#.\\v#.3m#", s1)
|
D | T.sub | 1 echo T.sub: tests of sub and gsub code 4 # pattern replacement input-string sub-output gsub-output 26 $5 != "" { # new gsub output 43 gsub(/\\/, "&&", repl) # in case of \ enclosed 48 sprintf(" gsub(/%s/, \"%s\")\n", pat, repl) \ 49 sprintf(" if ($0 != \"%s\") print \"gsub %d fails:\", $0, \"should be %s in %s\"\n}",
|
D | t.gsub1 | 1 {gsub(/$/,"x"); print}
|
D | t.gsub | 1 {gsub(/[aeiou]/,"foo"); print}
|
/external/brotli/research/ |
D | BUILD.libdivsufsort | 25 "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/ |
D | featureVars.py | 280 gsub = font["GSUB"].table 282 if gsub.Version < 0x00010001: 283 gsub.Version = 0x00010001 # allow gsub.FeatureVariations 285 gsub.FeatureVariations = None # delete any existing FeatureVariations 288 for index, feature in enumerate(gsub.FeatureList.FeatureRecord): 294 gsub.FeatureList.FeatureRecord.append(varFeature) 295 gsub.FeatureList.FeatureCount = len(gsub.FeatureList.FeatureRecord) 297 sortFeatureList(gsub) 298 varFeatureIndex = gsub.FeatureList.FeatureRecord.index(varFeature) 300 for scriptRecord in gsub.ScriptList.ScriptRecord: [all …]
|
/external/llvm-project/clang/utils/ |
D | make-ast-dump-check.sh | 68 gsub("0x[0-9a-fA-F]+", "{{.*}}", s) 69 gsub("$testdir/", "{{.*}}", s) 71 gsub(" imported", "{{( imported)?}}", s) 72 gsub(" <undeserialized declarations>", "{{( <undeserialized declarations>)?}}", s) 73 gsub("line:[0-9]+:[0-9]+", "line:{{.*}}", s) 74 gsub("line:[0-9]+", "line:{{.*}}", s) 75 gsub("col:[0-9]+", "col:{{.*}}", s) 76 gsub(":[0-9]+:[0-9]+", "{{.*}}", s)
|
/external/bcc/src/lua/src/ |
D | squish.lua | 9 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/freetype/src/otvalid/ |
D | otvmod.c | 79 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()
|
D | otvalid.h | 42 FT_Bytes gsub, 61 FT_Bytes gsub,
|
D | otvjstf.c | 206 FT_Bytes gsub, in otv_JSTF_validate() argument 234 if ( gsub ) in otv_JSTF_validate() 235 otvalid->extra1 = otv_GSUBGPOS_get_Lookup_count( gsub ); in otv_JSTF_validate()
|
/external/gflags/bazel/ |
D | gflags.bzl | 9 "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/pdfium/core/fpdfapi/font/ |
D | cfx_cttgsubtable.cpp | 27 CFX_CTTGSUBTable::CFX_CTTGSUBTable(FT_Bytes gsub) { in CFX_CTTGSUBTable() argument 28 if (!LoadGSUBTable(gsub)) in CFX_CTTGSUBTable() 52 bool CFX_CTTGSUBTable::LoadGSUBTable(FT_Bytes gsub) { in LoadGSUBTable() argument 53 if ((gsub[0] << 24u | gsub[1] << 16u | gsub[2] << 8u | gsub[3]) != 0x00010000) in LoadGSUBTable() 56 return Parse(&gsub[gsub[4] << 8 | gsub[5]], &gsub[gsub[6] << 8 | gsub[7]], in LoadGSUBTable() 57 &gsub[gsub[8] << 8 | gsub[9]]); in LoadGSUBTable()
|
/external/bcc/tools/ |
D | tcplife.lua | 332 program = program.gsub('FILTER_PID', filter) 346 program = program:gsub('FILTER_DPORT', filter) 359 program = program:gsub('FILTER_LPORT', filter) 361 program = program:gsub('FILTER_PID', '') 362 program = program:gsub('FILTER_DPORT', '') 363 program = program:gsub('FILTER_LPORT', '')
|
/external/bcc/examples/lua/ |
D | memleak.lua | 122 text = text:gsub("SIZE_FILTER", size_filter) 123 text = text:gsub("STACK_FLAGS", stack_flags) 124 text = text:gsub("SHOULD_PRINT", args.trace and "1" or "0") 125 text = text:gsub("SAMPLE_EVERY_N", tostring(args.sample_rate))
|
/external/tcpdump/ |
D | makemib | 97 { sub(/--\*.*\*--/, ""); sub(/--.*/, ""); gsub(/[{}]/, " & "); } 189 gsub(/[-&\/]/,"",new) 190 gsub(/[-&\/]/,"",parent)
|
/external/noto-fonts/scripts/ |
D | color_emoji_image_diff.py | 46 gsub = ttf['GSUB'] 51 for lookup in gsub.table.LookupList.Lookup: 59 … add_gsub_context_subtable(subtable, gsub.table.LookupList, glyph_to_codepoint_map, codepoint_map)
|
/external/fonttools/Tests/varLib/instancer/ |
D | instancer_test.py | 1465 def _getSubstitutions(gsub, lookupIndices): argument 1467 for index, lookup in enumerate(gsub.LookupList.Lookup): 1554 gsub = font["GSUB"].table 1555 featureVariations = gsub.FeatureVariations 1568 substitutions = _getSubstitutions(gsub, lookupIndices) 1572 appliedLookupIndices = gsub.FeatureList.FeatureRecord[0].Feature.LookupListIndex 1574 assert _getSubstitutions(gsub, appliedLookupIndices) == appliedSubs 1604 gsub = font["GSUB"].table 1605 assert not hasattr(gsub, "FeatureVariations") 1608 lookupIndices = gsub.FeatureList.FeatureRecord[0].Feature.LookupListIndex [all …]
|