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

1 2 3 4 5 67 8 91011>>

  /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/mjsunit/regress/
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/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...]
test-streams.rb 13 @stream = StringStream.new( "oh\nhey!\n" )
207 @stream = FileStream.new(path)
256 @source = MockSource.new
257 @stream = CommonTokenStream.new( @source )
262 @source1 = MockSource.new
263 @source2 = MockSource.new
265 @stream = CommonTokenStream.new( @source1 )
277 @source = MockSource.new
278 @stream = CommonTokenStream.new(@source)
283 @source = MockSource.new
    [all...]
  /external/chromium_org/v8/test/webkit/
regexp-zero-length-alternatives.js 38 var re1 = new RegExp(/(?:|a|z)*/);
45 var re2 = new RegExp(/(?:a||z)*/);
52 var re3 = new RegExp(/(?:a|z|)*/);
59 var re4 = new RegExp(/(|a|z)*/);
66 var re5 = new RegExp(/(a||z)*/);
73 var re6 = new RegExp(/(a|z|)*/);
80 var re7 = new RegExp(/(?:|a|z){2,5}/);
87 var re8 = new RegExp(/(?:a||z){2,5}/);
94 var re9 = new RegExp(/(?:a|z|){2,5}/);
101 var re10 = new RegExp(/(?:|a|z)*?/)
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/
main-scripts.rb 50 output = StringIO.new
62 input = StringIO.new( "yada yada" ) # <- used to simulate $stdin
63 output = StringIO.new
88 output = StringIO.new
89 input = StringIO.new( 'yada yada' )
112 output = StringIO.new
113 input = StringIO.new 'yada + yada'
147 output = StringIO.new
148 input = StringIO.new 'a+b'
184 output = StringIO.new
    [all...]
  /external/chromium_org/v8/test/mjsunit/
external-array-no-sse2.js 42 var a = new Int32Array(2);
53 var ab = new ArrayBuffer(12);
55 var derived_uint8 = new Uint8Array(ab);
62 var derived_uint8_2 = new Uint8Array(ab,7);
69 var derived_int16 = new Int16Array(ab);
76 var derived_int16_2 = new Int16Array(ab,6);
83 var derived_uint32 = new Uint32Array(ab);
90 var derived_uint32_2 = new Uint32Array(ab,4);
97 var derived_uint32_3 = new Uint32Array(ab,4,1);
104 var derived_float64 = new Float64Array(ab,0,1)
    [all...]
external-array.js 42 var a = new Int32Array(2);
53 var ab = new ArrayBuffer(12);
55 var derived_uint8 = new Uint8Array(ab);
62 var derived_uint8_2 = new Uint8Array(ab,7);
69 var derived_int16 = new Int16Array(ab);
76 var derived_int16_2 = new Int16Array(ab,6);
83 var derived_uint32 = new Uint32Array(ab);
90 var derived_uint32_2 = new Uint32Array(ab,4);
97 var derived_uint32_3 = new Uint32Array(ab,4,1);
104 var derived_float64 = new Float64Array(ab,0,1)
    [all...]
date.js 31 var date0 = new Date(1111);
32 var date1 = new Date(date0);
35 var date2 = new Date(date0.toString());
49 var dMax = new Date(8.64e15);
55 var dOverflow = new Date(8.64e15+1);
58 var dMin = new Date(-8.64e15);
64 var dUnderflow = new Date(-8.64e15-1);
71 var a = new Date();
76 var b = new Date();
82 var c = new Date()
    [all...]
  /external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
ANTLRStringStream.pm 13 my $s = $self->class->new({ input => 'ABC' });
22 my $s = $self->class->new({ input => 'ABC' });
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
nuances.rb 23 lexer = Bug80::Lexer.new( 'defined' )
43 lexer = EndOfFile::Lexer.new( " " )
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/parser/
actions.rb 40 lexer = ParserActions::Lexer.new "int foo;"
41 parser = ParserActions::Parser.new lexer
91 lexer = AllKindsOfActions::Lexer.new( "foobar _Ab98 \n A12sdf" )
92 parser = AllKindsOfActions::Parser.new lexer
141 lexer = Finally::Lexer.new( 'foobar' )
142 parser = Finally::Parser.new lexer
219 lexer = SpecialActionScopes::Lexer.new( "10 20 30 40 50" )
220 parser = SpecialActionScopes::Parser.new lexer
  /external/chromium-trace/
init.js 9 var m = new tracing.Model();
  /external/chromium_org/chrome/renderer/resources/extensions/
gcm_custom_bindings.js 20 throw new Error("One of data keys is empty.");
25 throw new Error("Invalid data key: " + property);
32 throw new Error("Payload exceeded allowed size limit. Payload size is: "
36 throw new Error("No data to send.");
  /external/chromium_org/third_party/jemalloc/chromium/
apply-ed-patches.pl 59 my $pfh = new FileHandle($source_patch, 'r');
77 $fh = new FileHandle($patch_file, 'w');
  /external/chromium_org/third_party/jemalloc/vendor/
apply-ed-patches.pl 59 my $pfh = new FileHandle($source_patch, 'r');
77 $fh = new FileHandle($patch_file, 'w');
  /external/chromium_org/third_party/tlslite/tlslite/utils/
PyCrypto_AES.py 9 def new(key, mode, IV): function
16 self.context = Crypto.Cipher.AES.new(key, mode, IV)
PyCrypto_TripleDES.py 9 def new(key, mode, IV): function
16 self.context = Crypto.Cipher.DES3.new(key, mode, IV)
  /external/proguard/examples/dictionaries/
keywords.txt 15 new
  /hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/Platforms/Generic/
Android.mk 12 # Add new source files here
  /hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/Platforms/Generic/
Android.mk 11 # Add new source files here
  /prebuilts/tools/common/proguard/proguard4.7/examples/dictionaries/
keywords.txt 15 new
  /system/core/fastboot/
genkey.sh 14 openssl req -new -x509 -key $1.pem -passin pass:"$2" \

Completed in 405 milliseconds

1 2 3 4 5 67 8 91011>>