HomeSort by relevance Sort by last modified time
    Searched full:species (Results 1 - 25 of 75) sorted by null

1 2 3

  /external/v8/test/mjsunit/harmony/
species.js 5 // Flags: --harmony-species
7 // Test the ES2015 @@species feature
13 // The @@species property exists on the right objects and has the right values
19 assertEquals(constructor, constructor[Symbol.species]);
20 assertThrows(function() { constructor[Symbol.species] = undefined }, TypeError);
21 let descriptor = Object.getOwnPropertyDescriptor(constructor, Symbol.species);
29 // @@species is defined with distinct getters
33 constructor, Symbol.species).get)
37 assertEquals(undefined, constructor[Symbol.species]);
promise-species.js 5 // Flags: --harmony-species --allow-natives-syntax
7 // Test that Promises use @@species appropriately
9 // Another constructor with no species will not be instantiated
21 // If there is a species, it will be instantiated
22 // @@species will be read exactly once, and the constructor is called with a
31 static get [Symbol.species]() {
typedarray-species.js 5 // Flags: --harmony-species
28 // Subclasses can override @@species to return the another class
33 static get [Symbol.species]() { return MyTypedArray; }
51 static get [Symbol.species]() { return Array; }
58 // Defaults when constructor or @@species is missing or non-constructor
62 static get [Symbol.species]() { return undefined; }
72 // Exceptions propagated when getting constructor @@species throws
79 static get [Symbol.species]() { throw new SpeciesError; }
arraybuffer-species.js 5 // Flags: --harmony-species
33 // Species fallback is ArrayBuffer
array-species.js 5 // Flags: --harmony-species --harmony-proxies
7 // Test the ES2015 @@species feature
20 // Subclasses can override @@species to return the another class
23 static get [Symbol.species]() { return MyArray; }
34 static get [Symbol.species]() { return MyObject; }
65 // Defaults when constructor or @@species is missing or non-constructor
68 static get [Symbol.species]() { return undefined; }
78 // Exceptions propagated when getting constructor @@species throws
83 static get [Symbol.species]() { throw new SpeciesError; }
113 static get [Symbol.species]() {
    [all...]
  /external/snakeyaml/src/test/resources/pyyaml/
construct-omap.data 4 - anteater: South-American ant eater. Two species.
  /external/snakeyaml/src/test/resources/specification/types/
omap.yaml 4 - anteater: South-American ant eater. Two species.
  /external/llvm/test/YAMLParser/
construct-omap.test 6 - anteater: South-American ant eater. Two species.
  /external/v8/test/mjsunit/regress/
regress-544991.js 5 // Flags: --harmony-species
regress-crbug-575314.js 10 // @@species shouldn't result in a rejection, even if that constructor
regress-4665.js 5 // Flags: --noharmony-species
  /external/v8/test/mjsunit/es6/
legacy-subclassing.js 5 // Flags: --noharmony-species
7 // Before Symbol.species was added, ArrayBuffer subclasses constructed
13 assertEquals(undefined, Symbol.species);
  /prebuilts/go/darwin-x86/src/flag/
example_test.go 16 // Example 1: A single string flag called "species" with default value "gopher".
17 var species = flag.String("species", "gopher", "the species we are studying") var
  /prebuilts/go/linux-x86/src/flag/
example_test.go 16 // Example 1: A single string flag called "species" with default value "gopher".
17 var species = flag.String("species", "gopher", "the species we are studying") var
  /prebuilts/go/darwin-x86/src/reflect/
example_test.go 58 F string `species:"gopher" color:"blue"`
64 fmt.Println(field.Tag.Get("color"), field.Tag.Get("species"))
  /prebuilts/go/linux-x86/src/reflect/
example_test.go 58 F string `species:"gopher" color:"blue"`
64 fmt.Println(field.Tag.Get("color"), field.Tag.Get("species"))
  /external/libexif/m4m/
gp-check-shell-environment.m4 31 * You are running a very rare species of shell. Please report this
  /external/v8/src/js/
runtime.js 130 // For the fallback with --harmony-species off, there are two possible choices:
148 var species = constructor[speciesSymbol];
149 if (IS_NULL_OR_UNDEFINED(species)) {
152 if (%IsConstructor(species)) {
153 return species;
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
OmapTagTest.java 36 assertEquals("South-American ant eater. Two species.", map1.get("anteater"));
  /external/v8/test/test262/
test262.status 62 'built-ins/Array/symbol-species': [FAIL],
63 'built-ins/Array/symbol-species-name': [FAIL],
64 'built-ins/ArrayBuffer/symbol-species': [FAIL],
65 'built-ins/ArrayBuffer/symbol-species-name': [FAIL],
66 'built-ins/ArrayBuffer/prototype/slice/species-constructor-is-not-object': [FAIL],
67 'built-ins/ArrayBuffer/prototype/slice/species-returns-smaller-arraybuffer': [FAIL],
68 'built-ins/ArrayBuffer/prototype/slice/species-is-not-object': [FAIL],
69 'built-ins/ArrayBuffer/prototype/slice/species-is-not-constructor': [FAIL],
70 'built-ins/ArrayBuffer/prototype/slice/species-returns-larger-arraybuffer': [FAIL],
71 'built-ins/ArrayBuffer/prototype/slice/species-returns-not-arraybuffer': [FAIL]
    [all...]
  /device/google/contexthub/firmware/inc/
syscall.h 43 #define SYSCALL_BITS_LEVEL_3 9 /* species */
  /prebuilts/gdb/darwin-x86/lib/python2.7/bsddb/test/
test_dbtables.py 95 col2 = 'Species'
132 if values[0]['Species'] == 'Penguin' :
133 self.assertEqual(values[1]['Species'], 'SR-71A Blackbird')
134 elif values[0]['Species'] == 'SR-71A Blackbird' :
135 self.assertEqual(values[1]['Species'], 'Penguin')
  /prebuilts/gdb/linux-x86/lib/python2.7/bsddb/test/
test_dbtables.py 95 col2 = 'Species'
132 if values[0]['Species'] == 'Penguin' :
133 self.assertEqual(values[1]['Species'], 'SR-71A Blackbird')
134 elif values[0]['Species'] == 'SR-71A Blackbird' :
135 self.assertEqual(values[1]['Species'], 'Penguin')
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_dbtables.py 95 col2 = 'Species'
132 if values[0]['Species'] == 'Penguin' :
133 self.assertEqual(values[1]['Species'], 'SR-71A Blackbird')
134 elif values[0]['Species'] == 'SR-71A Blackbird' :
135 self.assertEqual(values[1]['Species'], 'Penguin')
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_dbtables.py 95 col2 = 'Species'
132 if values[0]['Species'] == 'Penguin' :
133 self.assertEqual(values[1]['Species'], 'SR-71A Blackbird')
134 elif values[0]['Species'] == 'SR-71A Blackbird' :
135 self.assertEqual(values[1]['Species'], 'Penguin')

Completed in 410 milliseconds

1 2 3