Searched refs:new (Results 51 - 75 of 2217) sorted by relevance

1234567891011>>

/external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
H A Dscopes.rb30 lexer = SimpleScope::Lexer.new( 'foobar' )
31 parser = SimpleScope::Parser.new lexer
90 $c::symbols = Set.new;
114 $d::symbols = Set.new
178 lexer = LotsaScopes::Lexer.new( "foobar" )
179 parser = LotsaScopes::Parser.new lexer
184 lexer = LotsaScopes::Lexer.new( "foobar" )
185 parser = LotsaScopes::Parser.new lexer
190 lexer = LotsaScopes::Lexer.new( "foobar" )
191 parser = LotsaScopes::Parser.new lexe
[all...]
H A Dbasic.rb37 input = ANTLR3::StringStream.new( 'blah_de_blah', :file => 'blah.txt' )
38 lexer = Identifiers::Lexer.new( input )
39 tokens = ANTLR3::CommonTokenStream.new( lexer )
40 parser = Identifiers::Parser.new( tokens )
51 lexer = Identifiers::Lexer.new( '' )
52 parser = Identifiers::Parser.new( lexer )
64 parser = Identifiers::Parser.new( 'blah_de_blah', :file => 'blah.txt' )
116 lexer = SimpleLanguage::Lexer.new( "var foobar; gnarz(); var blupp; flupp ( ) ;" )
117 parser = SimpleLanguage::Parser.new( lexer )
131 lexer = SimpleLanguage::Lexer.new( 'va
[all...]
/external/chromium_org/third_party/WebKit/Source/core/xml/
H A DXPathGrammar.y140 $$ = new LocationPath;
160 $$ = new LocationPath;
185 $$ = new Step(Step::ChildAxis, *$1, *$2);
188 $$ = new Step(Step::ChildAxis, *$1);
203 $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$2);
206 $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
214 $$ = new Step($1, *$2, *$3);
217 $$ = new Step($1, *$2);
232 $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$3);
235 $$ = new Ste
[all...]
/external/chromium_org/third_party/skia/include/core/
H A DSkTLazy.h15 #include <new>
18 template <typename T> void* operator new(size_t, SkTLazy<T>* lazy);
30 fPtr = new (fStorage) T(*src);
36 fPtr = new (fStorage) T(*src->get());
58 fPtr = new (SkTCast<T*>(fStorage)) T;
72 fPtr = new (SkTCast<T*>(fStorage)) T(src);
106 friend void* operator new<T>(size_t, SkTLazy* lazy);
113 template <typename T> void* operator new(size_t, SkTLazy<T>* lazy) {
120 // to match the op new silences warnings about missing op delete when a constructor throws an
125 #define SkNEW_IN_TLAZY(tlazy_ptr, type_name, args) (new (tlazy_pt
[all...]
/external/f2fs-tools/include/
H A Dlist.h28 static inline void __list_add(struct list_head *new, argument
32 next->prev = new;
33 new->next = next;
34 new->prev = prev;
35 prev->next = new;
38 static inline void list_add(struct list_head *new, struct list_head *head) argument
40 __list_add(new, head, head->next);
43 static inline void list_add_tail(struct list_head *new, struct list_head *head) argument
45 __list_add(new, head->prev, head);
/external/skia/include/core/
H A DSkTLazy.h15 #include <new>
18 template <typename T> void* operator new(size_t, SkTLazy<T>* lazy);
30 fPtr = new (fStorage) T(*src);
36 fPtr = new (fStorage) T(*src->get());
58 fPtr = new (SkTCast<T*>(fStorage)) T;
72 fPtr = new (SkTCast<T*>(fStorage)) T(src);
106 friend void* operator new<T>(size_t, SkTLazy* lazy);
113 template <typename T> void* operator new(size_t, SkTLazy<T>* lazy) {
120 // to match the op new silences warnings about missing op delete when a constructor throws an
125 #define SkNEW_IN_TLAZY(tlazy_ptr, type_name, args) (new (tlazy_pt
[all...]
/external/valgrind/main/massif/tests/
H A Dbasic2.post.exp39 00.00% (0B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
45 98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
52 98.04% (7,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
59 98.04% (10,800B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
66 98.04% (14,400B) (heap allocation functions) malloc/new/new[],
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DSharedBuffer.h43 static PassRefPtr<SharedBuffer> create() { return adoptRef(new SharedBuffer); }
44 static PassRefPtr<SharedBuffer> create(size_t size) { return adoptRef(new SharedBuffer(size)); }
45 static PassRefPtr<SharedBuffer> create(const char* c, int i) { return adoptRef(new SharedBuffer(c, i)); }
46 static PassRefPtr<SharedBuffer> create(const unsigned char* c, int i) { return adoptRef(new SharedBuffer(c, i)); }
48 static PassRefPtr<SharedBuffer> createPurgeable(const char* c, int i) { return adoptRef(new SharedBuffer(c, i, PurgeableVector::Purgeable)); }
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_list.c37 struct rc_list * new = memory_pool_malloc(pool, sizeof(struct rc_list)); local
38 new->Item = item;
39 new->Next = NULL;
40 new->Prev = NULL;
42 return new;
/external/ipsec-tools/src/racoon/
H A Dschedule.c124 * add new schedule to schedule table.
133 struct sched *new; local
135 new = (struct sched *)racoon_malloc(sizeof(*new));
136 if (new == NULL)
139 memset(new, 0, sizeof(*new));
140 new->func = func;
141 new->param = param;
143 new
232 caddr_t new; local
[all...]
H A Dsainfo.c166 struct sainfo *new; local
168 new = racoon_calloc(1, sizeof(*new));
169 if (new == NULL)
172 new->lifetime = IPSECDOI_ATTR_SA_LD_SEC_DEFAULT;
173 new->lifebyte = IPSECDOI_ATTR_SA_LD_KB_MAX;
175 return new;
201 inssainfo(new)
202 struct sainfo *new;
204 LIST_INSERT_HEAD(&sitree, new, chai
235 struct sainfoalg *new; local
[all...]
/external/libnl/lib/
H A Dobject.c38 * Allocate a new object of kind specified by the operations handle
40 * @return The new object or NULL
44 struct nl_object *new; local
46 if (ops->oo_size < sizeof(*new))
49 new = calloc(1, ops->oo_size);
50 if (!new)
53 new->ce_refcnt = 1;
54 nl_init_list_head(&new->ce_list);
56 new->ce_ops = ops;
58 ops->oo_constructor(new);
96 struct nl_object *new; local
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_list.c37 struct rc_list * new = memory_pool_malloc(pool, sizeof(struct rc_list)); local
38 new->Item = item;
39 new->Next = NULL;
40 new->Prev = NULL;
42 return new;
/external/pdfium/core/src/fxcodec/jbig2/
H A DJBig2_Object.h16 void *operator new(size_t size, CJBig2_Module *pModule, FX_LPCSTR filename, int line);
20 void *operator new(size_t size, CJBig2_Module *pModule);
26 void *operator new[](size_t size, CJBig2_Module *pModule, size_t unit_size,
32 void *operator new[](size_t size, CJBig2_Module *pModule, size_t unit_size);
41 #define JBIG2_NEW new(m_pModule)
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtemplate.rb16 @template_library ||= ANTLR3::Template::Group.new
40 self.class.template_library or ANTLR3::Template::Group.new
49 @templates.new( source, values )
69 when TokenSource then TokenRewriteStream.new( input, options )
72 TokenRewriteStream.new( lexer_class.new( input, options ), options )
96 lexer = Lexer.new( source, options )
97 parser = Parser.new( lexer, options )
109 input = ANTLR3::FileStream.new( group_file, options )
110 lexer = Lexer.new( inpu
115 def self.new( &block ) singleton method in class:ANTLR3.Template.Group
122 def new( source, values = {} ) method in class:ANTLR3.Template.Group
[all...]
/external/libsepol/src/
H A Debitmap.c20 ebitmap_node_t *n1, *n2, *new, *prev; local
28 new = (ebitmap_node_t *) malloc(sizeof(ebitmap_node_t));
29 if (!new) {
33 memset(new, 0, sizeof(ebitmap_node_t));
35 new->startbit = n1->startbit;
36 new->map = n1->map | n2->map;
40 new->startbit = n1->startbit;
41 new->map = n1->map;
44 new->startbit = n2->startbit;
45 new
173 ebitmap_node_t *n, *new, *prev; local
250 ebitmap_node_t *n, *prev, *new; local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DFontFaceSetLoadEvent.h51 return adoptRefWillBeNoop(new FontFaceSetLoadEvent());
56 return adoptRefWillBeNoop(new FontFaceSetLoadEvent(type, initializer));
61 return adoptRefWillBeNoop(new FontFaceSetLoadEvent(type, fontfaces));
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DClientRect.h45 return adoptRefWillBeNoop(new ClientRect);
49 return adoptRefWillBeNoop(new ClientRect(rect));
53 return adoptRefWillBeNoop(new ClientRect(rect));
/external/chromium_org/third_party/WebKit/Source/core/events/
H A DAnimationPlayerEvent.h24 return adoptRefWillBeNoop(new AnimationPlayerEvent);
28 return adoptRefWillBeNoop(new AnimationPlayerEvent(type, currentTime, timelineTime));
32 return adoptRefWillBeNoop(new AnimationPlayerEvent(type, initializer));
H A DOverflowEvent.h52 return adoptRefWillBeNoop(new OverflowEvent);
56 return adoptRefWillBeNoop(new OverflowEvent(horizontalOverflowChanged, horizontalOverflow, verticalOverflowChanged, verticalOverflow));
60 return adoptRefWillBeNoop(new OverflowEvent(type, initializer));
H A DPageTransitionEvent.h44 return adoptRefWillBeNoop(new PageTransitionEvent);
48 return adoptRefWillBeNoop(new PageTransitionEvent(type, persisted));
52 return adoptRefWillBeNoop(new PageTransitionEvent(type, initializer));
H A DProgressEvent.h46 return adoptRefWillBeNoop(new ProgressEvent);
50 return adoptRefWillBeNoop(new ProgressEvent(type, lengthComputable, loaded, total));
54 return adoptRefWillBeNoop(new ProgressEvent(type, initializer));
H A DWebKitAnimationEvent.h48 return adoptRefWillBeNoop(new WebKitAnimationEvent);
52 return adoptRefWillBeNoop(new WebKitAnimationEvent(type, animationName, elapsedTime));
56 return adoptRefWillBeNoop(new WebKitAnimationEvent(type, initializer));
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DWebGLContextEvent.h45 return adoptRefWillBeNoop(new WebGLContextEvent);
49 return adoptRefWillBeNoop(new WebGLContextEvent(type, canBubble, cancelable, statusMessage));
53 return adoptRefWillBeNoop(new WebGLContextEvent(type, initializer));
/external/chromium_org/third_party/WebKit/Source/modules/gamepad/
H A DGamepadEvent.h24 return adoptRefWillBeNoop(new GamepadEvent);
28 return adoptRefWillBeNoop(new GamepadEvent(type, canBubble, cancelable, gamepad));
32 return adoptRefWillBeNoop(new GamepadEvent(type, initializer));

Completed in 8383 milliseconds

1234567891011>>