PageRenderTime 605ms queryFilters 0ms Sphinxql 181ms GetByIds 114ms meta 0ms repositoryFilters 90ms languageFilters 2ms sourceFilters 136ms

108,898 results for 'gsub' (605 ms)

Source

Language

Repository

gsub.cc git://pkgs.fedoraproject.org/firefox | C++ | 676 lines
68  sizeof(kGsubTypeParsers) / sizeof(kGsubTypeParsers[0]),
69  GSUB_TYPE_EXTENSION_SUBSTITUTION, kGsubTypeParsers
70};
531#define DROP_THIS_TABLE \
532  do { file->gsub->data = 0; file->gsub->length = 0; } while (0)
533
593
594  OpenTypeGSUB *gsub = new OpenTypeGSUB;
595  file->gsub = gsub;
657      (file->gpos && file->gpos->data == NULL);
658  return file->gsub != NULL && file->gsub->data != NULL
659      && !needed_tables_dropped;
662bool ots_gsub_serialise(OTSStream *out, OpenTypeFile *file) {
663  if (!out->Write(file->gsub->data, file->gsub->length)) {
664    return OTS_FAILURE();
hb-ot-layout-gsub-table.hh https://bitbucket.org/khaledhosny/xetex.git | C++ Header | 1,413 lines
28
29#ifndef HB_OT_LAYOUT_GSUB_TABLE_HH
30#define HB_OT_LAYOUT_GSUB_TABLE_HH
1333/*
1334 * GSUB -- The Glyph Substitution Table
1335 */
1336
1337struct GSUB : GSUBGPOS
1338{
1391{
1392  const GSUB &gsub = *(hb_ot_layout_from_face (c->face)->gsub);
1393  const SubstLookup &l = gsub.get_lookup (lookup_index);
1398{
1399  const GSUB &gsub = *(hb_ot_layout_from_face (c->face)->gsub);
1400  const SubstLookup &l = gsub.get_lookup (lookup_index);
harfbuzz-gsub.h http://jslibs.googlecode.com/svn/trunk/ | C++ Header | 141 lines
88
89HB_Error  HB_Done_GSUB_Table( HB_GSUBHeader*  gsub );
90
121
122HB_Error  HB_GSUB_Add_Feature( HB_GSUBHeader*  gsub,
123			       HB_UShort        feature_index,
125
126HB_Error  HB_GSUB_Clear_Features( HB_GSUBHeader*  gsub );
127
128
129HB_Error  HB_GSUB_Register_Alternate_Function( HB_GSUBHeader*  gsub,
130					       HB_AltFunction  altfunc,
133
134HB_Error  HB_GSUB_Apply_String( HB_GSUBHeader*   gsub,
135				HB_Buffer        buffer );
harfbuzz-gsub.h http://skia.googlecode.com/svn/trunk/ | C++ Header | 142 lines
89
90HB_Error  HB_Done_GSUB_Table( HB_GSUBHeader*  gsub );
91
122
123HB_Error  HB_GSUB_Add_Feature( HB_GSUBHeader*  gsub,
124			       HB_UShort        feature_index,
126
127HB_Error  HB_GSUB_Clear_Features( HB_GSUBHeader*  gsub );
128
129
130HB_Error  HB_GSUB_Register_Alternate_Function( HB_GSUBHeader*  gsub,
131					       HB_AltFunction  altfunc,
134
135HB_Error  HB_GSUB_Apply_String( HB_GSUBHeader*   gsub,
136				HB_Buffer        buffer );
harfbuzz-gsub.h git://pkgs.fedoraproject.org/mingw-qt | C++ Header | 140 lines
88
89HB_Error  HB_Done_GSUB_Table( HB_GSUBHeader*  gsub );
90
121
122HB_Error  HB_GSUB_Add_Feature( HB_GSUBHeader*  gsub,
123			       HB_UShort        feature_index,
125
126HB_Error  HB_GSUB_Clear_Features( HB_GSUBHeader*  gsub );
127
128
129HB_Error  HB_GSUB_Register_Alternate_Function( HB_GSUBHeader*  gsub,
130					       HB_AltFunction  altfunc,
133
134HB_Error  HB_GSUB_Apply_String( HB_GSUBHeader*   gsub,
135				HB_Buffer        buffer );
harfbuzz-gsub.h https://bitbucket.org/jjgod/qt-vtl.git | C Header | 139 lines
88
89HB_Error  HB_Done_GSUB_Table( HB_GSUBHeader*  gsub );
90
121
122HB_Error  HB_GSUB_Add_Feature( HB_GSUBHeader*  gsub,
123			       HB_UShort        feature_index,
125
126HB_Error  HB_GSUB_Clear_Features( HB_GSUBHeader*  gsub );
127
128
129HB_Error  HB_GSUB_Register_Alternate_Function( HB_GSUBHeader*  gsub,
130					       HB_AltFunction  altfunc,
133
134HB_Error  HB_GSUB_Apply_String( HB_GSUBHeader*   gsub,
135				HB_Buffer        buffer );
harfbuzz-gsub.h https://bitbucket.org/kennethendfinger/chromium.git | C++ Header | 149 lines
93
94HB_Error  HB_Done_GSUB_Table( HB_GSUBHeader*  gsub );
95
126
127HB_Error  HB_GSUB_Add_Feature( HB_GSUBHeader*  gsub,
128			       HB_UShort        feature_index,
130
131HB_Error  HB_GSUB_Clear_Features( HB_GSUBHeader*  gsub );
132
133
134HB_Error  HB_GSUB_Register_Alternate_Function( HB_GSUBHeader*  gsub,
135					       HB_AltFunction  altfunc,
138
139HB_Error  HB_GSUB_Apply_String( HB_GSUBHeader*   gsub,
140				HB_Buffer        buffer );
040-gsub-o.t git://github.com/chaoslawful/lua-nginx-module.git | Unknown | 182 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("[hello, world]", "[a-z]+", "howdy", "o")
25            ngx.say(s)
40        content_by_lua '
41            local s, n = ngx.re.gsub("hello, world", "[a-z]+", "howdy", "o")
42            ngx.say(s)
57        content_by_lua '
58            local s, n = ngx.re.gsub("hello, world", "[A-Z]+", "howdy", "o")
59            ngx.say(s)
78
79            local s, n = ngx.re.gsub("hello, world", "([a-z])[a-z]+", f, "o")
80            ngx.say(s)
99
100            local s, n = ngx.re.gsub("{hello, world}", "([a-z])[a-z]+", f, "o")
101            ngx.say(s)
037-gsub.t git://github.com/chaoslawful/lua-nginx-module.git | Unknown | 182 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("[hello, world]", "[a-z]+", "howdy")
25            ngx.say(s)
40        content_by_lua '
41            local s, n = ngx.re.gsub("hello, world", "[a-z]+", "howdy")
42            ngx.say(s)
57        content_by_lua '
58            local s, n = ngx.re.gsub("hello, world", "[A-Z]+", "howdy")
59            ngx.say(s)
78
79            local s, n = ngx.re.gsub("hello, world", "([a-z])[a-z]+", f)
80            ngx.say(s)
99
100            local s, n = ngx.re.gsub("{hello, world}", "([a-z])[a-z]+", f)
101            ngx.say(s)
hb-ot-layout-gsub-private.hh git://pkgs.fedoraproject.org/mingw-pango | C++ Header | 910 lines
26
27#ifndef HB_OT_LAYOUT_GSUB_PRIVATE_HH
28#define HB_OT_LAYOUT_GSUB_PRIVATE_HH
840/*
841 * GSUB
842 */
843
844struct GSUB : GSUBGPOS
845{
848  static inline const GSUB& get_for_data (const char *data)
849  { return (const GSUB&) GSUBGPOS::get_for_data (data); }
850
894{
895  const GSUB &gsub = *(context->face->ot_layout.gsub);
896  const SubstLookup &l = gsub.get_lookup (lookup_index);
hb-ot-layout-gsub-table.hh https://github.com/marcussaad/firefox.git | C++ Header | 1,415 lines
28
29#ifndef HB_OT_LAYOUT_GSUB_TABLE_HH
30#define HB_OT_LAYOUT_GSUB_TABLE_HH
1333/*
1334 * GSUB -- The Glyph Substitution Table
1335 */
1336
1337struct GSUB : GSUBGPOS
1338{
1391{
1392  const GSUB &gsub = *(hb_ot_layout_from_face (c->face)->gsub);
1393  const SubstLookup &l = gsub.get_lookup (lookup_index);
1398{
1399  const GSUB &gsub = *(hb_ot_layout_from_face (c->face)->gsub);
1400  const SubstLookup &l = gsub.get_lookup (lookup_index);
hb-ot-layout-gsub-private.hh https://review.tizen.org/git/ | C++ Header | 924 lines
26
27#ifndef HB_OT_LAYOUT_GSUB_PRIVATE_HH
28#define HB_OT_LAYOUT_GSUB_PRIVATE_HH
854/*
855 * GSUB
856 */
857
858struct GSUB : GSUBGPOS
859{
862  static inline const GSUB& get_for_data (const char *data)
863  { return (const GSUB&) GSUBGPOS::get_for_data (data); }
864
908{
909  const GSUB &gsub = *(context->face->ot_layout.gsub);
910  const SubstLookup &l = gsub.get_lookup (lookup_index);
gsub.rb git://github.com/IronLanguages/main.git | Ruby | 29 lines
1x = "foo"
2p x.gsub(/(o)/, '1')
3p $1
4
5r = x.gsub!(/a/) { break '2' }
6p r.object_id == x.object_id
6p r.object_id == x.object_id
7r = x.gsub(/a/) { break '2' }
8p r.object_id == x.object_id
15
16x.gsub!(/a/) { '2' } 
17x.gsub!(/a/, '2') rescue p ($!).class
22begin
23  x.gsub!(/o/) { '2' } 
24rescue 
hb-ot-layout-gsub-table.hh https://bitbucket.org/soko/mozilla-central | C++ Header | 933 lines
28
29#ifndef HB_OT_LAYOUT_GSUB_TABLE_HH
30#define HB_OT_LAYOUT_GSUB_TABLE_HH
31
32#include "hb-ot-layout-gsubgpos-private.hh"
33
841/*
842 * GSUB -- The Glyph Substitution Table
843 */
844
845struct GSUB : GSUBGPOS
846{
916{
917  const GSUB &gsub = *(c->face->ot_layout->gsub);
918  const SubstLookup &l = gsub.get_lookup (lookup_index);
hb-ot-layout-gsub-private.hh https://bitbucket.org/romaxa/mozilla-central | C++ Header | 940 lines
26
27#ifndef HB_OT_LAYOUT_GSUB_PRIVATE_HH
28#define HB_OT_LAYOUT_GSUB_PRIVATE_HH
871/*
872 * GSUB
873 */
874
875struct GSUB : GSUBGPOS
876{
876{
877  static const hb_tag_t Tag	= HB_OT_TAG_GSUB;
878
925{
926  const GSUB &gsub = *(c->layout->face->ot_layout->gsub);
927  const SubstLookup &l = gsub.get_lookup (lookup_index);
gsub.h http://andar.googlecode.com/svn/trunk/ | C++ Header | 332 lines
6/**
7*  \file gsub.h
8*  \brief ARToolkit OpenGL subroutines.
27
28#ifndef AR_GSUB_H
29#define AR_GSUB_H
79/** \fn argInit( ARParam *cparam, double zoom, int fullFlag, int xwin, int ywin, int hmd_flag )
80* \brief Initialise the gsub library 
81*
81*
82*  This function performs required initialisation of the gsub library.
83*  It must be called before any other argl*() functions are called.
104/** \fn void argCleanup( void )
105* \brief Close the gsub library.
106*
053-gsub-jit.t git://github.com/chaoslawful/lua-nginx-module.git | Unknown | 140 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("hello, 1234 5678", "([0-9]+)", "world", "j")
25            if n then
44        content_by_lua '
45            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "j")
46            if n then
65        content_by_lua '
66            local s, n = ngx.re.gsub("hello, 1234 5678", "([0-9]+)", "world", "jo")
67            if n then
86        content_by_lua '
87            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "jo")
88            if n then
107        content_by_lua '
108            local rc, s, n = pcall(ngx.re.gsub, "hello\\nworld", "(abc", "world", "j")
109            if rc then
054-gsub-dfa.t git://github.com/chaoslawful/lua-nginx-module.git | Unknown | 124 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("hello, 1234 5678", "[0-9]|[0-9][0-9]", "world", "d")
25            if n then
42        content_by_lua '
43            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "d")
44            if n then
61        content_by_lua '
62            local s, n = ngx.re.gsub("hello, 1234 5678", "[0-9]|[0-9][0-9]", "world", "do")
63            if n then
80        content_by_lua '
81            local s, n = ngx.re.gsub("hello, world", "[0-9]+", "hiya", "do")
82            if n then
99        content_by_lua '
100            rc, m = pcall(ngx.re.gsub, "hello\\nworld", "(abc", "world", "j")
101            ngx.say(rc, ": ", m)
037-gsub.t https://github.com/liyao0409/tengine.git | Unknown | 433 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("[hello, world]", "[a-z]+", "howdy")
25            ngx.say(s)
40        content_by_lua '
41            local s, n = ngx.re.gsub("hello, world", "[a-z]+", "howdy")
42            ngx.say(s)
57        content_by_lua '
58            local s, n = ngx.re.gsub("hello, world", "[A-Z]+", "howdy")
59            ngx.say(s)
78
79            local s, n = ngx.re.gsub("hello, world", "([a-z])[a-z]+", f)
80            ngx.say(s)
99
100            local s, n = ngx.re.gsub("{hello, world}", "([a-z])[a-z]+", f)
101            ngx.say(s)
037-gsub.t https://github.com/dome/lixen_app.git | Unknown | 576 lines
23        content_by_lua '
24            local s, n = ngx.re.gsub("[hello, world]", "[a-z]+", "howdy")
25            ngx.say(s)
40        content_by_lua '
41            local s, n = ngx.re.gsub("hello, world", "[a-z]+", "howdy")
42            ngx.say(s)
57        content_by_lua '
58            local s, n = ngx.re.gsub("hello, world", "[A-Z]+", "howdy")
59            ngx.say(s)
78
79            local s, n = ngx.re.gsub("hello, world", "([a-z])[a-z]+", f)
80            ngx.say(s)
99
100            local s, n = ngx.re.gsub("{hello, world}", "([a-z])[a-z]+", f)
101            ngx.say(s)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21