Searched defs:new (Results 1 - 25 of 333) sorted by path

1234567891011>>

/external/ImageMagick/PerlMagick/
H A DMagick.pm76 sub new subroutine
110 $p = new Image::Magick;
/external/ImageMagick/PerlMagick/demo/
H A DTurtle.pm6 sub new subroutine
/external/ImageMagick/PerlMagick/quantum/
H A Dquantum.pm75 sub new subroutine
109 $p = new Image::Magick::Q16HDRI;
/external/antlr/antlr-3.4/runtime/Perl5/t/lib/My/Test/
H A DClass.pm14 sub new { subroutine
16 my $self = $class->SUPER::new(@args);
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Drecognizers.rb38 RecognizerSharedState = Struct.new(
137 Block = Scope.new( "name", "depth = 0", "variables = {}" )
138 Block.new # => #<struct Block name=nil, depth=0, variables={}>
139 Block.new( "function" ) # => #<struct Block name="function", depth=0, variables={}>
140 Block.new( 'a', 1, :x => 3 ) # => #<struct Block name="a", depth=1, variables={ :x => 3 }>
145 def self.new( *declarations, &body ) singleton method in class:ANTLR3.Scope
245 Struct.new( *members )
262 struct = Struct.new( *return_scope_members )
268 @imported_grammars ||= Set.new
315 Scope.new( *declaration
[all...]
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...]
H A Dtoken.rb213 CommonToken = Struct.new( :type, :channel, :text, :input, :start,
259 new( *args )
264 new(
288 EOF_TOKEN = CommonToken.new( EOF ).freeze
289 INVALID_TOKEN = CommonToken.new( INVALID_TOKEN_TYPE ).freeze
290 SKIP_TOKEN = CommonToken.new( INVALID_TOKEN_TYPE ).freeze
329 CommonTokenStream.new( self, options ) { | t, stream | yield( t, stream ) }
331 CommonTokenStream.new( self, options )
363 token_class.new( *args ) do |*targs|
367 token_class.new( *arg
502 def self.new( tk_class = nil, &body ) singleton method in class:ANTLR3.with.ARecognizerOrSuch.provided.TokenScheme
[all...]
/external/autotest/cli/
H A Datest_migrate_host9 new = frontend.AFE(web_server='http://' + sys.argv[2]) variable
24 new_host = new.create_host(hostname=hostname, locked=True)
30 if not new.get_labels(name=label.name):
32 new_label = new.create_label(name=label.name,
41 new_users = [user.login for user in new.get_users()]
45 new_acls = new.get_acls(name=acl.name)
49 new_acl = new.create_acl(name=acl.name, description=acl.description)
60 # Enable the new host
/external/autotest/client/profilers/powertop/src/
H A Dsuggestions.c82 struct suggestion *new; local
87 new = malloc(sizeof(struct suggestion));
88 if (!new)
90 memset(new, 0, sizeof(struct suggestion));
91 new->string = strdup(text);
92 new->weight = weight;
93 new->key = key;
95 new->keystring = strdup(keystring);
96 new->next = suggestions;
97 new
[all...]
/external/autotest/client/
H A Dsetup_modules.py13 import new, glob, traceback namespace
18 module = new.module(name)
33 module = new.module(child_name)
/external/autotest/client/tools/
H A Ddiffprofile28 new = {} variable
43 if new.has_key(key):
44 new[key] += count
46 new[key] = count
52 if len(orig) < 2* results_per_sign or len(new) < 2 * results_per_sign:
/external/bison/lib/
H A Dhash.c559 /* Allocate and return a new hash table, or NULL upon failure. The initial
747 /* Get a new hash entry for a bucket overflow, possibly by recycling a
748 previously freed one. If this is not possible, allocate a new one. */
753 struct hash_entry *new; local
757 new = table->free_entry_list;
758 table->free_entry_list = new->next;
763 new = obstack_alloc (&table->entry_stack, sizeof *new);
765 new = malloc (sizeof *new);
[all...]
H A Dstrdup.c42 void *new = malloc (len); local
44 if (new == NULL)
47 return (char *) memcpy (new, s, len);
H A Dstrndup.c29 char *new = malloc (len + 1); local
31 if (new == NULL)
34 new[len] = '\0';
35 return memcpy (new, s, len);
/external/blktrace/
H A Dblktrace.c102 * Each tracer will have a tracer_devpath_head that it will add new
226 * for scratch as new connections are established.
712 void *new; local
715 new = mmap(addr, length, prot, flags, fd, offset);
716 } while (new == MAP_FAILED && handle_mem_failure(length));
718 return new;
1338 * If there was some leftover before, tack this new
2431 * len == 0 means the other end is sending us a new connection/dpp
H A Drbtree.c368 void rb_replace_node(struct rb_node *victim, struct rb_node *new, argument
376 parent->rb_left = new;
378 parent->rb_right = new;
380 root->rb_node = new;
383 rb_set_parent(victim->rb_left, new);
385 rb_set_parent(victim->rb_right, new);
388 *new = *victim;
/external/blktrace/btt/
H A Dlist.h50 * Insert a new entry between two known consecutive entries.
55 static inline void __list_add(struct list_head *new, argument
59 next->prev = new;
60 new->next = next;
61 new->prev = prev;
62 prev->next = new;
66 * list_add - add a new entry
67 * @new: new entry to be added
70 * Insert a new entr
73 list_add(struct list_head *new, struct list_head *head) argument
86 list_add_tail(struct list_head *new, struct list_head *head) argument
223 list_replace(struct list_head *old, struct list_head *new) argument
232 list_replace_init(struct list_head *old, struct list_head *new) argument
[all...]
H A Doutput.c379 struct seek_mode_info *new = malloc(sizeof(*new)); local
381 new->next = sip->head;
382 sip->head = new;
383 new->mode = *lp;
384 new->nseeks = mp->most_seeks;
386 add_buf(new);
/external/boringssl/src/util/bot/go/
H A Denv.py34 new = bootstrap.prepare_go_environ() variable
37 for key, value in sorted(new.iteritems()):
45 # Help Windows to find the executable in new PATH, do it only when
49 sys.exit(subprocess.call([exe] + sys.argv[2:], env=new))
/external/clang/include/clang/AST/
H A DASTContext.h495 new (Storage.buffer) DynTypedNode(N);
498 new (Storage.buffer) ArrayRef<DynTypedNode>(A);
848 /// \brief Notify the AST context that a new import declaration has been
966 /// \brief Create a new implicit TU-level CXXRecordDecl or RecordDecl
971 /// \brief Create a new implicit TU-level typedef declaration.
1064 /// type to a new type.
2618 // operator new and delete aren't allowed inside namespaces.
2620 /// @brief Placement new for using the ASTContext's allocator.
2622 /// This placement form of operator new uses the ASTContext's allocator for
2635 /// IntegerLiteral *Ex = new (Contex
[all...]
H A DStmt.h72 // Make vanilla 'new' and 'delete' illegal for Stmts.
74 void *operator new(size_t bytes) LLVM_NOEXCEPT {
75 llvm_unreachable("Stmts cannot be allocated with regular 'new'.");
278 // or by doing a placement new.
279 void* operator new(size_t bytes, const ASTContext& C,
282 void* operator new(size_t bytes, const ASTContext* C,
284 return operator new(bytes, *C, alignment);
287 void *operator new(size_t bytes, void *mem) LLVM_NOEXCEPT { return mem; }
2024 /// \brief Create a new capture.
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h278 void *operator new(size_t S, MemRegionRef &R) {
279 return ::operator new(S, R);
315 void *operator new(size_t) = delete;
336 /// A variable declaration introduces a new variable, and can occur in 3 places:
992 /// Allocate memory for a new value on the heap or stack.
1598 /// Add a new argument.
1603 /// Add a new instruction.
1608 // Add a new predecessor, and return the phi-node index for it.
1697 Entry = new (A) BasicBlock(A);
1698 Exit = new (
[all...]
H A DThreadSafetyUtil.h65 inline void *operator new(size_t Sz,
256 Data = new VectorData();
274 Data = new VectorData();
280 Data = new VectorData(*Data);
313 // Push a new element onto the end. The vector must be writable.
/external/clang/lib/AST/
H A DDeclBase.cpp55 void *Decl::operator new(std::size_t Size, const ASTContext &Context,
75 void *Decl::operator new(std::size_t Size, const ASTContext &Ctx,
87 ::operator new(ExtraAlign + sizeof(Module *) + Size + Extra, Ctx));
89 return new (Buffer) Module*(nullptr) + 1;
91 return ::operator new(Size + Extra, Ctx);
274 Decl::MultipleDC *MDC = new (Ctx) Decl::MultipleDC();
1095 /// built a lookup map. For every name in the map, pull in the new names from
1175 // We have both existing declarations and new declarations for this name.
1184 // Add in any new declarations.
1707 M = new DependentStoredDeclsMa
[all...]
H A DStmt.cpp53 void *Stmt::operator new(size_t bytes, const ASTContext& C,
55 return ::operator new(bytes, C, alignment);
294 Body = new (C) Stmt*[Stmts.size()];
305 Body = new (C) Stmt*[Stmts.size()];
319 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt);
327 return new (Mem) AttributedStmt(EmptyShell(), NumAttrs);
436 this->Names = new (C) IdentifierInfo*[NumExprs];
440 this->Exprs = new (C) Stmt*[NumExprs];
444 this->Constraints = new (C) StringLiteral*[NumExprs];
448 this->Clobbers = new (
[all...]

Completed in 590 milliseconds

1234567891011>>