HomeSort by relevance Sort by last modified time
    Searched refs:new (Results 76 - 100 of 2158) sorted by null

1 2 34 5 6 7 8 91011>>

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_new.py 4 new = test_support.import_module('new', deprecated=True) variable
12 m = new.module('Spam')
20 # new.classobj()
21 C = new.classobj('Spam', (Spam.Eggs,), {'get_more_yolks': get_more_yolks})
23 # new.instance()
24 c = new.instance(C, {'yolks': 3})
26 o = new.instance(C)
27 self.assertEqual(o.__dict__, {}, "new __dict__ should be empty")
29 o = new.instance(C, None
    [all...]
  /external/chromium_org/v8/test/mjsunit/harmony/
collections.js 33 assertDoesNotThrow(function () { m.add(new Object) });
34 assertDoesNotThrow(function () { m.has(new Object) });
35 assertDoesNotThrow(function () { m.delete(new Object) });
37 TestValidSetCalls(new Set);
38 TestValidSetCalls(new WeakSet);
43 assertDoesNotThrow(function () { m.get(new Object) });
44 assertDoesNotThrow(function () { m.set(new Object) });
45 assertDoesNotThrow(function () { m.has(new Object) });
46 assertDoesNotThrow(function () { m.delete(new Object) });
48 TestValidMapCalls(new Map)
    [all...]
typedarrays.js 31 var ab = new ArrayBuffer(param);
44 assertThrows(function() { new ArrayBuffer(-10); }, RangeError);
45 assertThrows(function() { new ArrayBuffer(-2.567); }, RangeError);
49 var ab1 = new ArrayBuffer(0xFFFFFFFFFFFF)
53 var ab = new ArrayBuffer();
60 var ab = new ArrayBuffer(1024);
69 var ab = new ArrayBuffer(initialLen);
70 var a1 = new Uint8Array(ab);
76 var a2 = new Uint8Array(slice);
83 var ab = new ArrayBuffer(1024)
    [all...]
  /external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
BitSet.pm 13 can_ok $class, 'new';
14 ok my $bs = $class->new();
20 my $bs = $self->class->new({ bits => '001' });
30 my $bs = $self->class->new({ number => 0x10 });
37 my $bs = $self->class->new(
51 my $bs = $self->class->new();
57 my $bs = $self->class->new();
65 my $bs = $self->class->new();
  /external/v8/test/mjsunit/harmony/
collections.js 33 assertDoesNotThrow(function () { m.add(new Object) });
34 assertDoesNotThrow(function () { m.has(new Object) });
35 assertDoesNotThrow(function () { m.delete(new Object) });
37 TestValidSetCalls(new Set);
42 assertDoesNotThrow(function () { m.get(new Object) });
43 assertDoesNotThrow(function () { m.set(new Object) });
44 assertDoesNotThrow(function () { m.has(new Object) });
45 assertDoesNotThrow(function () { m.delete(new Object) });
47 TestValidMapCalls(new Map);
48 TestValidMapCalls(new WeakMap)
    [all...]
  /external/chromium_org/v8/test/mjsunit/
simple-constructor.js 55 o1_1 = new f1();
57 o1_2 = new f1();
62 o2_1 = new f2(0);
63 o2_2 = new f2(0);
67 o3_1 = new f3(0);
68 o3_2 = new f3(0);
72 o4_0_1 = new f4(0);
73 o4_0_2 = new f4(0);
77 o4_1_1 = new f4(1);
78 o4_1_2 = new f4(1)
    [all...]
array-constructor.js 33 var a = new Array();
46 var a = new Array(j);
59 a = new Array(0, 1);
61 a = new Array(0, 1, 2);
63 a = new Array(0, 1, 2, 3);
65 a = new Array(0, 1, 2, 3, 4);
67 a = new Array(0, 1, 2, 3, 4, 5);
69 a = new Array(0, 1, 2, 3, 4, 5, 6);
71 a = new Array(0, 1, 2, 3, 4, 5, 6, 7);
73 a = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8)
    [all...]
polymorph-arrays.js 49 var object_array = new Object;
50 var sparse_object_array = new Object;
51 var js_array = new Array(10);
52 var sparse_js_array = new Array(5000001);
67 var object_array = new Object;
68 var sparse_object_array = new Object;
69 var js_array = new Array(10);
70 var sparse_js_array = new Array(5000001);
78 assertEquals(undefined, load(js_array, new Object()));
80 assertEquals(undefined, load(object_array, new Object()))
    [all...]
  /external/v8/test/mjsunit/
simple-constructor.js 55 o1_1 = new f1();
57 o1_2 = new f1();
62 o2_1 = new f2(0);
63 o2_2 = new f2(0);
67 o3_1 = new f3(0);
68 o3_2 = new f3(0);
72 o4_0_1 = new f4(0);
73 o4_0_2 = new f4(0);
77 o4_1_1 = new f4(1);
78 o4_1_2 = new f4(1)
    [all...]
array-constructor.js 33 var a = new Array();
46 var a = new Array(j);
59 a = new Array(0, 1);
61 a = new Array(0, 1, 2);
63 a = new Array(0, 1, 2, 3);
65 a = new Array(0, 1, 2, 3, 4);
67 a = new Array(0, 1, 2, 3, 4, 5);
69 a = new Array(0, 1, 2, 3, 4, 5, 6);
71 a = new Array(0, 1, 2, 3, 4, 5, 6, 7);
73 a = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8)
    [all...]
polymorph-arrays.js 49 var object_array = new Object;
50 var sparse_object_array = new Object;
51 var js_array = new Array(10);
52 var sparse_js_array = new Array(5000001);
67 var object_array = new Object;
68 var sparse_object_array = new Object;
69 var js_array = new Array(10);
70 var sparse_js_array = new Array(5000001);
78 assertEquals(undefined, load(js_array, new Object()));
80 assertEquals(undefined, load(object_array, new Object()))
    [all...]
  /external/valgrind/main/massif/tests/
basic2.post.exp 39 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[], --alloc-fns, etc
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
template.rb 16 @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( input, options
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/chromium_org/tools/stats_viewer/
OpenDialog.Designer.cs 35 this.name_box_ = new System.Windows.Forms.TextBox();
36 this.label1 = new System.Windows.Forms.Label();
37 this.button1 = new System.Windows.Forms.Button();
42 this.name_box_.Location = new System.Drawing.Point(108, 25);
44 this.name_box_.Size = new System.Drawing.Size(180, 20);
46 this.name_box_.KeyUp += new System.Windows.Forms.KeyEventHandler(this.OnKeyUp);
51 this.label1.Location = new System.Drawing.Point(12, 28);
53 this.label1.Size = new System.Drawing.Size(91, 13);
59 this.button1.Location = new System.Drawing.Point(108, 61);
61 this.button1.Size = new System.Drawing.Size(75, 23);
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
basic.rb 37 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( 'var; foo()'
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_ws_comma.py 25 new = node.clone()
27 for child in new.children:
39 return new
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
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/
fix_ws_comma.py 25 new = node.clone()
27 for child in new.children:
39 return new
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
  /external/chromium_org/v8/test/mjsunit/regress/
regress-1200351.js 34 new this.constructor;
35 new this.constructor();
36 new this.constructor(1,2,3,4,5,6);
52 eval("new break>>>=native.charCodeAt(-1.valueOf())")
56 eval("new Number(this > native)")
60 eval("new {native,0.2}?continue+undef:IsSmi(0.2)")
68 eval("for (-1==continue.toJSONProtocol, GetFunctionFor(break.call(NaN)), (!new RegExp).prototype.new Object()<<void) { debugger.__defineSetter__(null,function(){continue})>>>=GetFunctionFor(-1) }")
80 eval("unescape(break.toObject()).prototype.new RegExp.continue.__lookupGetter__(x.slice(1, NaN)) = typeof(null.push(0.2))")
84 eval("new Date(Iterator(continue.pop()))"
    [all...]
  /external/v8/test/mjsunit/regress/
regress-1200351.js 34 new this.constructor;
35 new this.constructor();
36 new this.constructor(1,2,3,4,5,6);
52 eval("new break>>>=native.charCodeAt(-1.valueOf())")
56 eval("new Number(this > native)")
60 eval("new {native,0.2}?continue+undef:IsSmi(0.2)")
68 eval("for (-1==continue.toJSONProtocol, GetFunctionFor(break.call(NaN)), (!new RegExp).prototype.new Object()<<void) { debugger.__defineSetter__(null,function(){continue})>>>=GetFunctionFor(-1) }")
80 eval("unescape(break.toObject()).prototype.new RegExp.continue.__lookupGetter__(x.slice(1, NaN)) = typeof(null.push(0.2))")
84 eval("new Date(Iterator(continue.pop()))"
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/unit/
test-scheme.rb 11 @ts = TokenScheme.new do
15 @a_class = Class.new do
22 @an_instance = @a_class.new
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/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
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/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/antlr/antlr-3.4/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...]

Completed in 1388 milliseconds

1 2 34 5 6 7 8 91011>>