Home
last modified time | relevance | path

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

12345678910>>...59

/dports/lang/mawk/mawk-1.3.4-20190203/examples/
H A Dgdecl.awk19 function gobble(s, x) function
49 x = gobble("[* ]+") # get list of *** ...
56 if ( gobble("\\(") )
67 if ( (x = gobble(id)) == "" ) return ""
75 if ( gobble( funct_mark ) ) x = x " function returning"
77 if ( t = gobble( array_mark ) )
112 scope = gobble( "extern|static" )
114 if ( type = gobble("(struct|union|enum) ") )
115 type = type gobble(id) # get the tag
119 type = gobble("(un)?signed ") gobble( types )
[all …]
H A Ddecl.awk26 function gobble(s, x) function
56 x = gobble("[* ]+") # get list of *** ...
63 if ( gobble("\(") )
74 if ( (x = gobble(id)) == "" ) return ""
82 if ( gobble( funct_mark ) ) x = x " function returning"
84 if ( t = gobble( array_mark ) )
119 scope = gobble( "extern|static" )
121 if ( type = gobble("(struct|union|enum) ") )
122 type = type gobble(id) # get the tag
126 type = gobble("(un)?signed ") gobble( types )
[all …]
/dports/www/firefox-esr/firefox-91.8.0/build/clang-plugin/tests/
H A DTestNonHeapClass.cpp16 void gobble(void *) { } in gobble() function
24 gobble(&valid); in misuseNonHeapClass()
25 gobble(&validStatic); in misuseNonHeapClass()
26 gobble(&alsoValid[0]); in misuseNonHeapClass()
28gobble(new NonHeap); // expected-error {{variable of type 'NonHeap' is not valid on the heap}} exp… in misuseNonHeapClass()
29gobble(new NonHeap[10]); // expected-error {{variable of type 'NonHeap' is not valid on the heap}}… in misuseNonHeapClass()
30gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is not v… in misuseNonHeapClass()
31gobble(len <= 5 ? &valid : new NonHeap); // expected-error {{variable of type 'NonHeap' is not val… in misuseNonHeapClass()
34 gobble(new (buffer) NonHeap); in misuseNonHeapClass()
51gobble(new BadInherit); // expected-error {{variable of type 'BadInherit' is not valid on the heap… in useStuffWrongly()
[all …]
H A DTestStackClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&valid); in misuseStackClass()
24 gobble(&notValid); in misuseStackClass()
25 gobble(&alsoValid[0]); in misuseStackClass()
27gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass()
28gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass()
30gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass()
33 gobble(new (buffer) Stack); in misuseStackClass()
H A DTestStaticLocalClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&notValid); in misuseStaticLocalClass()
24 gobble(&valid); in misuseStaticLocalClass()
25 gobble(&alsoValid[0]); in misuseStaticLocalClass()
27gobble(new StaticLocal); // expected-error {{variable of type 'StaticLocal' is only valid as a sta… in misuseStaticLocalClass()
28gobble(new StaticLocal[10]); // expected-error {{variable of type 'StaticLocal' is only valid as a… in misuseStaticLocalClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is only … in misuseStaticLocalClass()
30gobble(len <= 5 ? &valid : new StaticLocal); // expected-error {{variable of type 'StaticLocal' is… in misuseStaticLocalClass()
33 gobble(new (buffer) StaticLocal); in misuseStaticLocalClass()
H A DTestGlobalClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&notValid); in misuseGlobalClass()
24 gobble(&valid); in misuseGlobalClass()
25 gobble(&alsoValid[0]); in misuseGlobalClass()
27gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass()
28gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass()
30gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass()
33 gobble(new (buffer) Global); in misuseGlobalClass()
H A DTestHeapClass.cpp20 void gobble(void *) { } in gobble() function
30 gobble(&invalid); in misuseHeapClass()
31 gobble(&invalidStatic); in misuseHeapClass()
32 gobble(&alsoInvalid[0]); in misuseHeapClass()
39 gobble(new Heap); in misuseHeapClass()
40 gobble(new Heap[10]); in misuseHeapClass()
41 gobble(new TemplateClass<int>); in misuseHeapClass()
42 gobble(len <= 5 ? &invalid : new Heap); in misuseHeapClass()
45 gobble(new (buffer) Heap); in misuseHeapClass()
/dports/lang/spidermonkey78/firefox-78.9.0/build/clang-plugin/tests/
H A DTestNonHeapClass.cpp16 void gobble(void *) { } in gobble() function
24 gobble(&valid); in misuseNonHeapClass()
25 gobble(&validStatic); in misuseNonHeapClass()
26 gobble(&alsoValid[0]); in misuseNonHeapClass()
28gobble(new NonHeap); // expected-error {{variable of type 'NonHeap' is not valid on the heap}} exp… in misuseNonHeapClass()
29gobble(new NonHeap[10]); // expected-error {{variable of type 'NonHeap' is not valid on the heap}}… in misuseNonHeapClass()
30gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is not v… in misuseNonHeapClass()
31gobble(len <= 5 ? &valid : new NonHeap); // expected-error {{variable of type 'NonHeap' is not val… in misuseNonHeapClass()
34 gobble(new (buffer) NonHeap); in misuseNonHeapClass()
51gobble(new BadInherit); // expected-error {{variable of type 'BadInherit' is not valid on the heap… in useStuffWrongly()
[all …]
H A DTestStackClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&valid); in misuseStackClass()
24 gobble(&notValid); in misuseStackClass()
25 gobble(&alsoValid[0]); in misuseStackClass()
27gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass()
28gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass()
30gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass()
33 gobble(new (buffer) Stack); in misuseStackClass()
H A DTestStaticLocalClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&notValid); in misuseStaticLocalClass()
24 gobble(&valid); in misuseStaticLocalClass()
25 gobble(&alsoValid[0]); in misuseStaticLocalClass()
27gobble(new StaticLocal); // expected-error {{variable of type 'StaticLocal' is only valid as a sta… in misuseStaticLocalClass()
28gobble(new StaticLocal[10]); // expected-error {{variable of type 'StaticLocal' is only valid as a… in misuseStaticLocalClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is only … in misuseStaticLocalClass()
30gobble(len <= 5 ? &valid : new StaticLocal); // expected-error {{variable of type 'StaticLocal' is… in misuseStaticLocalClass()
33 gobble(new (buffer) StaticLocal); in misuseStaticLocalClass()
H A DTestGlobalClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&notValid); in misuseGlobalClass()
24 gobble(&valid); in misuseGlobalClass()
25 gobble(&alsoValid[0]); in misuseGlobalClass()
27gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass()
28gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass()
30gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass()
33 gobble(new (buffer) Global); in misuseGlobalClass()
/dports/www/firefox/firefox-99.0/build/clang-plugin/tests/
H A DTestNonHeapClass.cpp16 void gobble(void *) { } in gobble() function
24 gobble(&valid); in misuseNonHeapClass()
25 gobble(&validStatic); in misuseNonHeapClass()
26 gobble(&alsoValid[0]); in misuseNonHeapClass()
28gobble(new NonHeap); // expected-error {{variable of type 'NonHeap' is not valid on the heap}} exp… in misuseNonHeapClass()
29gobble(new NonHeap[10]); // expected-error {{variable of type 'NonHeap' is not valid on the heap}}… in misuseNonHeapClass()
30gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is not v… in misuseNonHeapClass()
31gobble(len <= 5 ? &valid : new NonHeap); // expected-error {{variable of type 'NonHeap' is not val… in misuseNonHeapClass()
34 gobble(new (buffer) NonHeap); in misuseNonHeapClass()
51gobble(new BadInherit); // expected-error {{variable of type 'BadInherit' is not valid on the heap… in useStuffWrongly()
[all …]
H A DTestStackClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&valid); in misuseStackClass()
24 gobble(&notValid); in misuseStackClass()
25 gobble(&alsoValid[0]); in misuseStackClass()
27gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass()
28gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass()
30gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass()
33 gobble(new (buffer) Stack); in misuseStackClass()
H A DTestGlobalClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&notValid); in misuseGlobalClass()
24 gobble(&valid); in misuseGlobalClass()
25 gobble(&alsoValid[0]); in misuseGlobalClass()
27gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass()
28gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass()
30gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass()
33 gobble(new (buffer) Global); in misuseGlobalClass()
H A DTestStaticLocalClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&notValid); in misuseStaticLocalClass()
24 gobble(&valid); in misuseStaticLocalClass()
25 gobble(&alsoValid[0]); in misuseStaticLocalClass()
27gobble(new StaticLocal); // expected-error {{variable of type 'StaticLocal' is only valid as a sta… in misuseStaticLocalClass()
28gobble(new StaticLocal[10]); // expected-error {{variable of type 'StaticLocal' is only valid as a… in misuseStaticLocalClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is only … in misuseStaticLocalClass()
30gobble(len <= 5 ? &valid : new StaticLocal); // expected-error {{variable of type 'StaticLocal' is… in misuseStaticLocalClass()
33 gobble(new (buffer) StaticLocal); in misuseStaticLocalClass()
/dports/mail/thunderbird/thunderbird-91.8.0/build/clang-plugin/tests/
H A DTestNonHeapClass.cpp16 void gobble(void *) { } in gobble() function
24 gobble(&valid); in misuseNonHeapClass()
25 gobble(&validStatic); in misuseNonHeapClass()
26 gobble(&alsoValid[0]); in misuseNonHeapClass()
28gobble(new NonHeap); // expected-error {{variable of type 'NonHeap' is not valid on the heap}} exp… in misuseNonHeapClass()
29gobble(new NonHeap[10]); // expected-error {{variable of type 'NonHeap' is not valid on the heap}}… in misuseNonHeapClass()
30gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is not v… in misuseNonHeapClass()
31gobble(len <= 5 ? &valid : new NonHeap); // expected-error {{variable of type 'NonHeap' is not val… in misuseNonHeapClass()
34 gobble(new (buffer) NonHeap); in misuseNonHeapClass()
51gobble(new BadInherit); // expected-error {{variable of type 'BadInherit' is not valid on the heap… in useStuffWrongly()
[all …]
H A DTestStackClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&valid); in misuseStackClass()
24 gobble(&notValid); in misuseStackClass()
25 gobble(&alsoValid[0]); in misuseStackClass()
27gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass()
28gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass()
30gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass()
33 gobble(new (buffer) Stack); in misuseStackClass()
H A DTestGlobalClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&notValid); in misuseGlobalClass()
24 gobble(&valid); in misuseGlobalClass()
25 gobble(&alsoValid[0]); in misuseGlobalClass()
27gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass()
28gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass()
30gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass()
33 gobble(new (buffer) Global); in misuseGlobalClass()
H A DTestStaticLocalClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&notValid); in misuseStaticLocalClass()
24 gobble(&valid); in misuseStaticLocalClass()
25 gobble(&alsoValid[0]); in misuseStaticLocalClass()
27gobble(new StaticLocal); // expected-error {{variable of type 'StaticLocal' is only valid as a sta… in misuseStaticLocalClass()
28gobble(new StaticLocal[10]); // expected-error {{variable of type 'StaticLocal' is only valid as a… in misuseStaticLocalClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is only … in misuseStaticLocalClass()
30gobble(len <= 5 ? &valid : new StaticLocal); // expected-error {{variable of type 'StaticLocal' is… in misuseStaticLocalClass()
33 gobble(new (buffer) StaticLocal); in misuseStaticLocalClass()
/dports/lang/spidermonkey60/firefox-60.9.0/build/clang-plugin/tests/
H A DTestNonHeapClass.cpp16 void gobble(void *) { } in gobble() function
24 gobble(&valid); in misuseNonHeapClass()
25 gobble(&validStatic); in misuseNonHeapClass()
26 gobble(&alsoValid[0]); in misuseNonHeapClass()
28gobble(new NonHeap); // expected-error {{variable of type 'NonHeap' is not valid on the heap}} exp… in misuseNonHeapClass()
29gobble(new NonHeap[10]); // expected-error {{variable of type 'NonHeap' is not valid on the heap}}… in misuseNonHeapClass()
30gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is not v… in misuseNonHeapClass()
31gobble(len <= 5 ? &valid : new NonHeap); // expected-error {{variable of type 'NonHeap' is not val… in misuseNonHeapClass()
34 gobble(new (buffer) NonHeap); in misuseNonHeapClass()
51gobble(new BadInherit); // expected-error {{variable of type 'BadInherit' is not valid on the heap… in useStuffWrongly()
[all …]
H A DTestStackClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&valid); in misuseStackClass()
24 gobble(&notValid); in misuseStackClass()
25 gobble(&alsoValid[0]); in misuseStackClass()
27gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass()
28gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass()
30gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass()
33 gobble(new (buffer) Stack); in misuseStackClass()
H A DTestGlobalClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&notValid); in misuseGlobalClass()
24 gobble(&valid); in misuseGlobalClass()
25 gobble(&alsoValid[0]); in misuseGlobalClass()
27gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass()
28gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass()
30gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass()
33 gobble(new (buffer) Global); in misuseGlobalClass()
/dports/www/firefox-legacy/firefox-52.8.0esr/build/clang-plugin/tests/
H A DTestNonHeapClass.cpp16 void gobble(void *) { } in gobble() function
24 gobble(&valid); in misuseNonHeapClass()
25 gobble(&validStatic); in misuseNonHeapClass()
26 gobble(&alsoValid[0]); in misuseNonHeapClass()
28gobble(new NonHeap); // expected-error {{variable of type 'NonHeap' is not valid on the heap}} exp… in misuseNonHeapClass()
29gobble(new NonHeap[10]); // expected-error {{variable of type 'NonHeap' is not valid on the heap}}… in misuseNonHeapClass()
30gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' is not v… in misuseNonHeapClass()
31gobble(len <= 5 ? &valid : new NonHeap); // expected-error {{variable of type 'NonHeap' is not val… in misuseNonHeapClass()
34 gobble(new (buffer) NonHeap); in misuseNonHeapClass()
51gobble(new BadInherit); // expected-error {{variable of type 'BadInherit' is not valid on the heap… in useStuffWrongly()
[all …]
H A DTestStackClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&valid); in misuseStackClass()
24 gobble(&notValid); in misuseStackClass()
25 gobble(&alsoValid[0]); in misuseStackClass()
27gobble(new Stack); // expected-error {{variable of type 'Stack' only valid on the stack}} expected… in misuseStackClass()
28gobble(new Stack[10]); // expected-error {{variable of type 'Stack' only valid on the stack}} expe… in misuseStackClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseStackClass()
30gobble(len <= 5 ? &valid : new Stack); // expected-error {{variable of type 'Stack' only valid on … in misuseStackClass()
33 gobble(new (buffer) Stack); in misuseStackClass()
H A DTestGlobalClass.cpp15 void gobble(void *) { } in gobble() function
23 gobble(&notValid); in misuseGlobalClass()
24 gobble(&valid); in misuseGlobalClass()
25 gobble(&alsoValid[0]); in misuseGlobalClass()
27gobble(new Global); // expected-error {{variable of type 'Global' only valid as global}} expected-… in misuseGlobalClass()
28gobble(new Global[10]); // expected-error {{variable of type 'Global' only valid as global}} expec… in misuseGlobalClass()
29gobble(new TemplateClass<int>); // expected-error {{variable of type 'TemplateClass<int>' only val… in misuseGlobalClass()
30gobble(len <= 5 ? &valid : new Global); // expected-error {{variable of type 'Global' only valid a… in misuseGlobalClass()
33 gobble(new (buffer) Global); in misuseGlobalClass()

12345678910>>...59