/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/pgen2/ |
grammar.py | 104 new = self.__class__()
107 setattr(new, dict_attr, getattr(self, dict_attr).copy())
108 new.labels = self.labels[:]
109 new.states = self.states[:]
110 new.start = self.start
111 return new
|
/external/ImageMagick/PerlMagick/t/ |
ping.t | 31 $image=Image::Magick->new; 45 $image=Image::Magick->new; 50 $image=Image::Magick->new;
|
/external/antlr/runtime/Ruby/test/unit/ |
test-scheme.rb | 11 @ts = TokenScheme.new do 15 @a_class = Class.new do 22 @an_instance = @a_class.new
|
/external/grpc-grpc/src/ruby/bin/ |
noproto_client.rb | 35 NoProtoMsg.new 56 GRPC::Core::ChannelCredentials.new(certs[0]) 64 OptionParser.new do |opts| 81 stub = NoProtoStub.new(options['host'], **stub_opts) 84 stub = NoProtoStub.new(options['host']) 89 resp = stub.an_rpc(NoProtoMsg.new)
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
fix_raise.py | 62 new = pytree.Node(syms.raise_stmt, [Name(u"raise"), exc]) 63 new.prefix = node.prefix 64 return new 84 new = pytree.Node(syms.simple_stmt, [Name(u"raise")] + with_tb) 85 new.prefix = node.prefix 86 return new
|
fix_dict.py | 74 new = pytree.Node(syms.power, args) 76 new.prefix = u"" 77 new = Call(Name(u"iter" if isiter else u"list"), [new]) 79 new = pytree.Node(syms.power, [new] + tail) 80 new.prefix = node.prefix 81 return new
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
fix_raise.py | 62 new = pytree.Node(syms.raise_stmt, [Name("raise"), exc]) 63 new.prefix = node.prefix 64 return new 84 new = pytree.Node(syms.simple_stmt, [Name("raise")] + with_tb) 85 new.prefix = node.prefix 86 return new
|
/external/antlr/runtime/Ruby/test/functional/tree-parser/ |
basic.rb | 32 lexer = FlatList::Lexer.new( "abc 34" ) 33 tokens = ANTLR3::CommonTokenStream.new( lexer ) 34 parser = FlatList::Parser.new( tokens ) 37 nodes = ANTLR3::AST::CommonTreeNodeStream.new( result.tree ) 39 walker = FlatListWalker::TreeParser.new( nodes ) 68 lexer = SimpleTree::Lexer.new( "abc 34" ) 69 tokens = ANTLR3::CommonTokenStream.new( lexer ) 70 parser = SimpleTree::Parser.new( tokens ) 73 nodes = ANTLR3::AST::CommonTreeNodeStream.new( result.tree ) 75 walker = SimpleTreeWalker::TreeParser.new( nodes [all...] |
/art/test/600-verifier-fails/smali/ |
class.smali | 22 new-instance v0, Ljava/lang/Class;
|
/build/kati/testcase/ |
wildcard_with_var.mk | 5 # expect Makefile, since runtest.rb put this as Makefile in new dir.
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
fix_dict.py | 74 new = pytree.Node(syms.power, args)
76 new.prefix = u""
77 new = Call(Name(u"iter" if isiter else u"list"), [new])
79 new = pytree.Node(syms.power, [new] + tail)
80 new.prefix = node.prefix
81 return new
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_pep247.py | 26 obj1 = module.new(key)
27 obj2 = module.new(key, 'string')
29 h1 = module.new(key, 'string').digest()
30 obj3 = module.new(key)
34 obj1 = module.new()
35 obj2 = module.new('string')
37 h1 = module.new('string').digest()
38 obj3 = module.new()
|
/external/ImageMagick/PerlMagick/demo/ |
button.pl | 7 $q=Image::Magick->new;
|
shadow-text.pl | 7 $image=Image::Magick->new(size=>'500x120');
|
/external/ImageMagick/PerlMagick/t/hpgl/ |
read.t | 20 $image=Image::Magick->new;
|
/external/ImageMagick/PerlMagick/t/xfig/ |
read.t | 20 $image=Image::Magick->new;
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
DebugTreeGrammar.cs | 28 internal static readonly string[] tokenNames = new string[] { 51 new string[] 61 : this( input, DebugEventSocketProxy.DefaultDebuggerPort, new RecognizerSharedState() ) 67 DebugEventSocketProxy proxy = new DebugEventSocketProxy( this, port, input.TreeAdaptor ); 79 : base( input, dbg, new RecognizerSharedState() ) 257 NoViableAltException nvae = new NoViableAltException("", 3, 0, input); 374 EarlyExitException eee2 = new EarlyExitException( 2, input ); 498 NoViableAltException nvae = new NoViableAltException("", 4, 0, input); 678 value = new BigInteger((INT5!=null?INT5.Text:null)); 777 DebugTreeGrammar e = new DebugTreeGrammar(funcRoot, functionDefinitions, globalMemory, p) [all...] |
ProfileTreeGrammar.cs | 28 internal static readonly string[] tokenNames = new string[] { 51 new string[] 61 : this( input, new Profiler(null), new RecognizerSharedState() ) 72 : base( input, dbg, new RecognizerSharedState() ) 262 NoViableAltException nvae = new NoViableAltException("", 3, 0, input); 379 EarlyExitException eee2 = new EarlyExitException( 2, input ); 503 NoViableAltException nvae = new NoViableAltException("", 4, 0, input); 683 value = new BigInteger((INT5!=null?INT5.Text:null)); 782 ProfileTreeGrammar e = new ProfileTreeGrammar(funcRoot, functionDefinitions, globalMemory, p) [all...] |
/external/antlr/runtime/Perl5/t/classes/Test/ANTLR/Runtime/ |
Exception.pm | 11 my $ex = $self->class->new(); 17 my $ex = $self->class->new({ message => 'test error message' });
|
/external/antlr/runtime/Perl5/t/lib/My/Test/ |
Class.pm | 14 sub new { subroutine 16 my $self = $class->SUPER::new(@args);
|
/external/grpc-grpc/examples/ruby/ |
greeter_server.rb | 32 Helloworld::HelloReply.new(message: "Hello #{hello_req.name}") 39 s = GRPC::RpcServer.new
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/ |
ChannelCredentialsTest.cs | 36 var composite = ChannelCredentials.Create(new FakeChannelCredentials(true), new FakeCallCredentials()); 39 Assert.Throws(typeof(ArgumentNullException), () => ChannelCredentials.Create(null, new FakeCallCredentials())); 40 Assert.Throws(typeof(ArgumentNullException), () => ChannelCredentials.Create(new FakeChannelCredentials(true), null)); 43 Assert.Throws(typeof(ArgumentException), () => ChannelCredentials.Create(new FakeChannelCredentials(false), new FakeCallCredentials())); 50 var creds = new SslCredentials(); 59 var creds = new ChannelCredentialsWithCreateNativeThrows(); 71 throw new Exception("Creation of native credentials has failed on purpose.");
|
/external/grpc-grpc/src/ruby/end2end/ |
channel_closing_driver.rb | 24 server_runner = ServerRunner.new(EchoServerImpl) 35 control_stub.shutdown(ClientControl::Void.new)
|
/external/grpc-grpc/src/ruby/spec/generic/ |
interceptor_registry_spec.rb | 18 let(:interceptor) { TestServerInterceptor.new } 20 let(:registry) { described_class.new(interceptors) } 35 let(:interceptor2) { TestServerInterceptor.new } 36 let(:interceptor3) { TestServerInterceptor.new }
|
/external/python/cpython2/Lib/test/ |
test_pep247.py | 26 obj1 = module.new(key) 27 obj2 = module.new(key, 'string') 29 h1 = module.new(key, 'string').digest() 30 obj3 = module.new(key) 34 obj1 = module.new() 35 obj2 = module.new('string') 37 h1 = module.new('string').digest() 38 obj3 = module.new()
|