/external/chromium_org/third_party/skia/bench/ |
bench_compare.py | 15 print '-n <file> the new bench output file.' 29 print ' n: new time' 39 def __init__(self, old, new): 41 self.new = new 42 self.diff = old.time - new.time 50 str(self.new), 65 new = None 78 new = value 93 if old is None or new is None [all...] |
/external/chromium_org/v8/test/mjsunit/ |
polymorph-arrays.js | 49 var object_array = new Object; 50 var sparse_object_array = new Object; 51 var js_array = new Array(10); 67 var object_array = new Object; 68 var sparse_object_array = new Object; 69 var js_array = new Array(10); 78 assertEquals(undefined, load(js_array, new Object())); 80 assertEquals(undefined, load(object_array, new Object())); 82 assertEquals(undefined, load(sparse_js_array, new Object())); 84 assertEquals(undefined, load(sparse_object_array, new Object())) [all...] |
array-store-and-grow.js | 71 x = new Object(); 121 a = new Array(1,2,3); 123 a = new Array(1,2,3); 132 a = new Array(1,2,3); 134 a = new Array(1,2,3); 143 a = new Array(1,2,3); 145 a = new Array(1,2,3); 155 var a = new Array(0.5, 1.5); 157 a = new Array(0.5, 1.5); 160 a = new Array(0.5, 1.5) [all...] |
apply.js | 41 assertSame(this, f0.apply(this, new Array(1)), "2b"); 42 assertSame(this, f0.apply(this, new Array(2)), "2c"); 43 assertSame(this, f0.apply(this, new Array(4242)), "2d"); 46 assertSame(this, f0.apply(null, new Array(1)), "3b"); 47 assertSame(this, f0.apply(null, new Array(2)), "3c"); 48 assertSame(this, f0.apply(this, new Array(4242)), "3d"); 51 assertSame(this, f0.apply(void 0, new Array(1)), "4b"); 52 assertSame(this, f0.apply(void 0, new Array(2)), "4c"); 57 assertEquals(void 0, f1.apply(this, new Array(1)), "5b"); 58 assertEquals(void 0, f1.apply(this, new Array(2)), "5c") [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-343609.js | 37 var o = new Ctor(); 41 f1(new Ctor()); 42 f1(new Ctor()); 58 // Kill add_field in new space GC. 66 f2(new Ctor());
|
regress-403292.js | 23 __v_3 = new Set(); 24 __v_5 = new builtins.SetIterator(__v_3, -12); 25 __v_4 = new Map(); 26 __v_6 = new builtins.MapIterator(__v_4, 2); 42 var __v_5 = new Array(__v_6);
|
regress-324028.js | 30 assertThrows(function() { new Uint8Array(badObj); }, RangeError); 31 assertThrows(function() { new Uint8ClampedArray(badObj); }, RangeError); 32 assertThrows(function() { new Int8Array(badObj); }, RangeError); 33 assertThrows(function() { new Uint16Array(badObj); }, RangeError); 34 assertThrows(function() { new Int16Array(badObj); }, RangeError); 35 assertThrows(function() { new Uint32Array(badObj); }, RangeError); 36 assertThrows(function() { new Int32Array(badObj); }, RangeError); 37 assertThrows(function() { new Float32Array(badObj); }, RangeError); 38 assertThrows(function() { new Float64Array(badObj); }, RangeError);
|
/external/skia/bench/ |
bench_compare.py | 15 print '-n <file> the new bench output file.' 29 print ' n: new time' 39 def __init__(self, old, new): 41 self.new = new 42 self.diff = old.time - new.time 50 str(self.new), 65 new = None 78 new = value 93 if old is None or new is None [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
hashlib.py | 9 new(name, string='') - returns a new hash object implementing the 14 than using new(): 57 # This tuple and __get_builtin_constructor() must be modified if a new 63 __all__ = __always_supported + ('new', 'algorithms') 70 return _sha.new 73 return _md5.new 107 """new(name, string='') - Return a new hashing object using the named algorithm; 114 """new(name, string='') - Return a new hashing object using the named algorithm 132 new = __py_new variable [all...] |
quopri.py | 127 new = '' 142 new = new + ' '; i = i+1 144 new = new + c; i = i+1 148 new = new + ESCAPE; i = i+2 150 new = new + chr(unhex(line[i+1:i+3])); i = i+3 152 new = new + c; i = i+ [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
hashlib.py | 9 new(name, string='') - returns a new hash object implementing the 14 than using new(): 57 # This tuple and __get_builtin_constructor() must be modified if a new 63 __all__ = __always_supported + ('new', 'algorithms') 70 return _sha.new 73 return _md5.new 107 """new(name, string='') - Return a new hashing object using the named algorithm; 114 """new(name, string='') - Return a new hashing object using the named algorithm 132 new = __py_new variable [all...] |
quopri.py | 127 new = '' 142 new = new + ' '; i = i+1 144 new = new + c; i = i+1 148 new = new + ESCAPE; i = i+2 150 new = new + chr(unhex(line[i+1:i+3])); i = i+3 152 new = new + c; i = i+ [all...] |
/external/chromium_org/v8/test/mjsunit/es6/ |
mirror-collections.js | 43 var o1 = new Object(); 44 var o2 = new Object(); 45 var o3 = new Object(); 48 var map = new Map(); 72 var set = new Set(); 85 var weakMap = new WeakMap(); 87 weakMap.set(new Object(), 22); 89 weakMap.set(new Object(), 44); 92 weakMap.set(new Object(), 55); 116 var weakSet = new WeakSet() [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/ |
diff.rb | 3 Match = Struct.new(:start_in_old, :start_in_new, :size) 14 Operation = Struct.new(:action, :start_in_old, :end_in_old, :start_in_new, :end_in_new) 30 @word_indices = Hash.new { |h, word| h[word] = [] } 41 matches << Match.new(@old_words.length, @new_words.length, 0) 62 Operation.new(action_upto_match_positions, 68 match_operation = Operation.new(:equal, 108 match_length_at = Hash.new { |h, index| h[index] = 0 } 112 new_match_length_at = Hash.new { |h, index| h[index] = 0 } 135 return (best_match_size != 0 ? Match.new(best_match_in_old, best_match_in_new, best_match_size) : nil)
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
DebugGrammarParser.cs | 25 internal static readonly string[] tokenNames = new string[] { 48 new string[] 59 : this( input, DebugEventSocketProxy.DefaultDebuggerPort, new RecognizerSharedState() ) 67 TreeAdaptor = new CommonTreeAdaptor(); 68 DebugEventSocketProxy proxy = new DebugEventSocketProxy( this, port, adaptor ); 70 TokenStream = new DebugTokenStream( input, proxy ); 79 ITreeAdaptor adap = new CommonTreeAdaptor(); 88 TreeAdaptor = new CommonTreeAdaptor(); 90 ITreeAdaptor adap = new CommonTreeAdaptor(); 112 this.adaptor = new DebugTreeAdaptor(dbg,adaptor) [all...] |
ProfileGrammarParser.cs | 25 internal static readonly string[] tokenNames = new string[] { 48 new string[] 59 : this( input, new Profiler(null), new RecognizerSharedState() ) 69 TreeAdaptor = new CommonTreeAdaptor(); 70 ITreeAdaptor adap = new CommonTreeAdaptor(); 81 TreeAdaptor = new CommonTreeAdaptor(); 83 ITreeAdaptor adap = new CommonTreeAdaptor(); 116 this.adaptor = new DebugTreeAdaptor(dbg,adaptor); 137 ProfileGrammarParser.prog_return retval = new ProfileGrammarParser.prog_return() [all...] |
/external/valgrind/main/massif/tests/ |
new-cpp.post.exp | 2 Command: ./new-cpp 44 99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 45 ->33.24% (4,000B) 0x........: main (new-cpp.cpp:19) 47 ->33.24% (4,000B) 0x........: main (new-cpp.cpp:20) 49 ->16.62% (2,000B) 0x........: main (new-cpp.cpp:21) 51 ->16.62% (2,000B) 0x........: main (new-cpp.cpp:22)
|
overloaded-new.post.exp | 2 Command: ./overloaded-new 44 99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc. 45 ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49) 47 ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50) 49 ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51) 51 ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
ReplaceDialog.py | 70 new = m.expand(repl) 73 new = None 75 new = repl 76 return new 106 new = self._replace_expand(m, repl) 107 if new is None: 112 if new == orig: 118 if new: 119 text.insert(first, new) 120 col = i + len(new) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ReplaceDialog.py | 70 new = m.expand(repl) 73 new = None 75 new = repl 76 return new 106 new = self._replace_expand(m, repl) 107 if new is None: 112 if new == orig: 118 if new: 119 text.insert(first, new) 120 col = i + len(new) [all...] |
/external/chromium_org/chrome/test/ext_auto/auto_provider/ |
server.js | 16 var buffer = new ArrayBuffer(utf8string.length); 17 var view = new Uint8Array(buffer); 32 var outputBuffer = new ArrayBuffer(header.byteLength); 33 var view = new Uint8Array(outputBuffer); 46 var outputBuffer = new ArrayBuffer(buffer.byteLength); 47 var view = new Uint8Array(outputBuffer); 71 AutomationServer.instance_ = new AutomationServer(new ConnectionHandler()); 80 this.handler_.readRequest_(new Stream(this.handler_,
|
/external/chromium_org/v8/test/intl/overrides/ |
security.js | 31 throw new Error('Malicious method invoked.'); 41 assertThrows('new Intl.Collator()'); 42 assertThrows('new Intl.NumberFormat()'); 43 assertThrows('new Intl.DateTimeFormat()'); 46 assertDoesNotThrow('new Date().toLocaleString()'); 47 assertDoesNotThrow('new Date().toLocaleDateString()'); 48 assertDoesNotThrow('new Date().toLocaleTimeString()'); 49 assertDoesNotThrow('new Number(12345.412).toLocaleString()'); 50 assertDoesNotThrow('new String(\'abc\').localeCompare(\'bcd\')');
|
/external/chromium_org/v8/test/webkit/fast/js/ |
date-toisostring.js | 39 shouldBe("new Date(-400).toISOString()", "'1969-12-31T23:59:59.600Z'"); 40 shouldBe("new Date(0).toISOString()", "'1970-01-01T00:00:00.000Z'"); 41 shouldBe("new Date('1 January 1500 UTC').toISOString()", "'1500-01-01T00:00:00.000Z'"); 42 shouldBe("new Date('1 January 2000 UTC').toISOString()", "'2000-01-01T00:00:00.000Z'"); 43 shouldBe("new Date('1 January 4000 UTC').toISOString()", "'4000-01-01T00:00:00.000Z'"); 44 shouldBe("new Date('1 January 100000 UTC').toISOString()", "'+100000-01-01T00:00:00.000Z'"); 45 shouldBe("new Date('1 January -1 UTC').toISOString()", "'-000001-01-01T00:00:00.000Z'"); 46 shouldBe("new Date('10 March 2000 UTC').toISOString()", "'2000-03-10T00:00:00.000Z'"); 47 shouldBeTrue('throwsRangeError("new Date(NaN).toISOString()")');
|
/external/chromium_org/v8/test/webkit/fast/js/kde/ |
object_prototype_tostring.js | 25 var _array = new Array(1,2,3); 28 var _string = new String("test"); 31 var _boolean = new Boolean(true); 34 var _number = new Number(4); 37 var _object = new Object(); 40 var _date = new Date(); 43 var _regexp = new RegExp(); 46 var _error = new Error(); 49 var _function = new Function();
|
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
test-template.rb | 9 MethodDescription = Struct.new( :name, :body, :arguments ) 17 context = Template::Context.new 22 context = Template::Context.new( 35 context = Template::Context.new( 46 context = Template::Context.new( :a => 3 ) 55 context = Template::Context.new( :a => 3 ) 64 context = Template::Context.new( :a => 1, :b => 2) 132 @group = Template::Group.new do 179 MethodDescription.new( 'eat', %q[puts( "ate %s %s" % [ number, @name ] )], %w( number ) ), 180 MethodDescription.new( :to_s, '@name.to_s.dup' [all...] |