/external/webkit/Source/WebCore/css/ |
D | SVGCSSComputedStyleDeclaration.cpp | 37 return CSSPrimitiveValue::create(0.0f, CSSPrimitiveValue::CSS_DEG); in glyphOrientationToCSSPrimitiveValue() 39 return CSSPrimitiveValue::create(90.0f, CSSPrimitiveValue::CSS_DEG); in glyphOrientationToCSSPrimitiveValue() 41 return CSSPrimitiveValue::create(180.0f, CSSPrimitiveValue::CSS_DEG); in glyphOrientationToCSSPrimitiveValue() 43 return CSSPrimitiveValue::create(270.0f, CSSPrimitiveValue::CSS_DEG); in glyphOrientationToCSSPrimitiveValue() 82 return CSSPrimitiveValue::create(svgStyle->clipRule()); in getSVGPropertyCSSValue() 84 … return CSSPrimitiveValue::create(svgStyle->floodOpacity(), CSSPrimitiveValue::CSS_NUMBER); in getSVGPropertyCSSValue() 86 … return CSSPrimitiveValue::create(svgStyle->stopOpacity(), CSSPrimitiveValue::CSS_NUMBER); in getSVGPropertyCSSValue() 88 return CSSPrimitiveValue::create(svgStyle->colorInterpolation()); in getSVGPropertyCSSValue() 90 return CSSPrimitiveValue::create(svgStyle->colorInterpolationFilters()); in getSVGPropertyCSSValue() 92 … return CSSPrimitiveValue::create(svgStyle->fillOpacity(), CSSPrimitiveValue::CSS_NUMBER); in getSVGPropertyCSSValue() [all …]
|
/external/v8/test/mjsunit/ |
D | object-create.js | 33 Object.create(null); 34 Object.create(null, undefined); 38 Object.create(4); 45 Object.create("foo"); 70 Object.create(protoFoo).foo(); 74 Object.create(Object.create(protoFoo)).foo(); 78 var v = Object.create(protoFoo, fooValue); 90 v = Object.create(null, { foo: {value: 103}}); 96 assertEquals(0, Object.create(protoFoo, fooGetter).foo); 102 assertEquals(1, Object.create(protoFoo, fooSetter).foo = 1); [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
D | test-tree-wizard.rb | 180 t = @wizard.create("ID") 185 t = @wizard.create("ID[foo]") 191 t = @wizard.create("(A)") 196 t = @wizard.create("(A B C D)") 201 t = @wizard.create("(nil A B C)") 206 t = @wizard.create("A B C") 211 t = @wizard.create("(A (B C) (B D) E)") 222 tree = @wizard.create("ID") 230 tree = @wizard.create("(A B C D)") 240 tree = @wizard.create("(A B (A C B) B D D)") [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ArrayTableTest.java | 38 @Override protected ArrayTable<String, Integer, Character> create( in create() method in ArrayTableTest 43 ArrayTable.create(asList("foo", "bar", "cat"), asList(1, 2, 3)); in create() 63 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContains() 79 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsRow() 88 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsColumn() 97 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsValue() 107 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testIsEmpty() 112 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testEquals() 113 Table<String, Integer, Character> hashCopy = HashBasedTable.create(); in testEquals() 118 = create("foo", 3, 'c', "foo", 1, 'a', "bar", 1, 'b'); in testEquals() [all …]
|
D | AbstractTableReadTest.java | 48 create(Object... data); in create() method in AbstractTableReadTest 56 table = create(); in setUp() 60 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContains() 73 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsRow() 81 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsColumn() 89 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testContainsValue() 98 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testGet() 112 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testIsEmpty() 118 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testSize() 123 table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testEquals() [all …]
|
D | MultimapCollectionTest.java | 175 static <K, V> PopulatableMapAsMultimap<K, V> create() { in create() method in MultimapCollectionTest.PopulatableMapAsMultimap 221 public Collection<Entry<String, Integer>> create(Object... elements) { in create() method in MultimapCollectionTest.TestEntriesGenerator 249 @Override public List<Entry<String, Integer>> create(Object... elements) { in create() method in MultimapCollectionTest.TestEntriesListGenerator 250 return (List<Entry<String, Integer>>) super.create(elements); in create() 258 @Override public Set<Entry<String, Integer>> create(Object... elements) { in create() method in MultimapCollectionTest.TestEntrySetGenerator 259 return (Set<Entry<String, Integer>>) super.create(elements); in create() 281 @Override protected Set<String> create(String[] elements) { in suite() 282 SetMultimap<Integer, String> multimap = HashMultimap.create(); in suite() 292 @Override protected Set<String> create(String[] elements) { in suite() 294 = LinkedHashMultimap.create(); in suite() [all …]
|
D | TreeBasedTableTest.java | 54 @Override protected Map<String, String> create( in suite() 57 TreeBasedTable.create(); in suite() 78 TreeBasedTable<String, String, String> table = TreeBasedTable.create(); in makeEmptyMap() 86 TreeBasedTable<String, String, String> table = TreeBasedTable.create(); in makePopulatedMap() 105 TreeBasedTable<String, String, String> table = TreeBasedTable.create(); in testClearSubMapOfRowMap() 122 protected TreeBasedTable<String, Integer, Character> create( in create() method in TreeBasedTableTest 127 TreeBasedTable.create(rowComparator, columnComparator); in create() 135 @Override protected TreeBasedTable<String, Integer, Character> create( in create() method in TreeBasedTableTest 137 TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(); in create() 146 table = TreeBasedTable.create( in testCreateExplicitComparators() [all …]
|
D | ArrayListMultimapTest.java | 36 @Override protected ListMultimap<String, Integer> create() { in create() method in ArrayListMultimapTest 37 return ArrayListMultimap.create(); in create() 44 Multimap<String, Integer> multimap = create(); in testGetRandomAccess() 55 Multimap<String, Integer> multimap = create(); in testRemoveAllRandomAccess() 66 Multimap<String, Integer> multimap = create(); in testReplaceValuesRandomAccess() 80 ListMultimap<String, Integer> multimap = create(); in testSublistConcurrentModificationException() 100 = ArrayListMultimap.create(multimap); in testCreateFromMultimap() 106 = ArrayListMultimap.create(); in testCreate() 112 = ArrayListMultimap.create(15, 20); in testCreateFromSizes() 118 ArrayListMultimap.create(15, -2); in testCreateFromIllegalSizes() [all …]
|
D | TableCollectionTest.java | 121 @Override protected Set<String> create(String[] elements) { in suite() 123 = ArrayTable.create( in suite() 137 @Override protected Set<String> create(String[] elements) { in suite() 138 Table<String, Integer, Character> table = HashBasedTable.create(); in suite() 148 @Override protected Set<String> create(String[] elements) { in suite() 149 Table<String, Integer, Character> table = TreeBasedTable.create(); in suite() 164 @Override protected Set<String> create(String[] elements) { in suite() 166 = TreeBasedTable.create(); in suite() 182 @Override protected Set<String> create(String[] elements) { in suite() 184 = TreeBasedTable.create(); in suite() [all …]
|
D | MultisetsTest.java | 51 Multiset<String> multiset = HashMultiset.create(); in testForSet() 104 Multiset<String> multiset = HashMultiset.create(); in testForSetSerialization() 112 TreeMultiset<DerivedComparable> set = TreeMultiset.create(); in testNewTreeMultisetDerived() 122 TreeMultiset<LegacyComparable> set = TreeMultiset.create(); in testNewTreeMultisetNonGeneric() 133 = TreeMultiset.create(Collections.reverseOrder()); in testNewTreeMultisetComparator() 140 Multiset<String> multiset = HashMultiset.create(); in testRetainOccurrencesEmpty() 142 HashMultiset.create(Arrays.asList("a", "b", "a")); in testRetainOccurrencesEmpty() 148 Multiset<String> multiset = HashMultiset.create(); in testRemoveOccurrencesEmpty() 150 HashMultiset.create(Arrays.asList("a", "b", "a")); in testRemoveOccurrencesEmpty() 156 Multiset<String> ms1 = HashMultiset.create(); in testIntersectEmptyNonempty() [all …]
|
D | EnumHashBiMapTest.java | 41 EnumHashBiMap.create(Currency.class); in testCreate() 44 assertEquals(HashBiMap.create(), bimap); in testCreate() 57 = EnumHashBiMap.create(map); in testCreateFromMap() 63 EnumHashBiMap.create( in testCreateFromMap() 69 Map<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class); in testCreateFromMap() 70 bimap = EnumHashBiMap.create(emptyBimap); in testCreateFromMap() 75 EnumBiMap.create(Currency.class, Country.class); in testCreateFromMap() 77 = EnumHashBiMap.create(emptyBimap2); in testCreateFromMap() 84 EnumHashBiMap.create(Currency.class); in testEnumHashBiMapConstructor() 87 EnumHashBiMap.create(bimap1); in testEnumHashBiMapConstructor() [all …]
|
D | SynchronizedMapTest.java | 41 protected <K, V> Map<K, V> create() { in create() method in SynchronizedMapTest 147 create().size(); in testSize() 151 create().isEmpty(); in testIsEmpty() 155 create().remove(null); in testRemove() 159 create().clear(); in testClear() 163 create().containsKey(null); in testContainsKey() 167 create().containsValue(null); in testContainsValue() 171 create().get(null); in testGet() 175 create().put(null, null); in testPut() 179 create().putAll(new HashMap<String, Integer>()); in testPutAll() [all …]
|
D | HashBasedTableTest.java | 32 @Override protected Table<String, Integer, Character> create( in create() method in HashBasedTableTest 34 Table<String, Integer, Character> table = HashBasedTable.create(); in create() 43 Table<String, Integer, Character> table1 = HashBasedTable.create(100, 20); in testCreateWithValidSizes() 47 Table<String, Integer, Character> table2 = HashBasedTable.create(100, 0); in testCreateWithValidSizes() 51 Table<String, Integer, Character> table3 = HashBasedTable.create(0, 20); in testCreateWithValidSizes() 55 Table<String, Integer, Character> table4 = HashBasedTable.create(0, 0); in testCreateWithValidSizes() 62 HashBasedTable.create(100, -5); in testCreateWithInvalidSizes() 67 HashBasedTable.create(-5, 20); in testCreateWithInvalidSizes() 74 = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c'); in testCreateCopy() 75 Table<String, Integer, Character> copy = HashBasedTable.create(original); in testCreateCopy() [all …]
|
D | MultisetCollectionTest.java | 69 protected Multiset<String> create(String[] elements) { in suite() 70 return TreeMultiset.create(Arrays.asList(elements)); in suite() 88 protected Multiset<String> create(String[] elements) { in suite() 89 Multiset<String> result = TreeMultiset.create(Ordering.natural().nullsFirst()); in suite() 148 @Override protected Multiset<String> create(String[] elements) { in hashMultisetGenerator() 149 return HashMultiset.create(asList(elements)); in hashMultisetGenerator() 156 @Override protected Multiset<String> create(String[] elements) { 158 TreeMultiset.create(asList(elements))); 169 @Override protected Multiset<String> create(String[] elements) { 171 TreeMultiset.create(asList(elements))); [all …]
|
D | ImmutableMultisetTest.java | 59 @Override protected Multiset<String> create(String[] elements) { in suite() 70 @Override protected Multiset<String> create(String[] elements) { in suite() 81 @Override protected Set<String> create(String[] elements) { in suite() 101 assertEquals(HashMultiset.create(asList("a")), multiset); in testCreation_oneElement() 106 assertEquals(HashMultiset.create(asList("a", "b")), multiset); in testCreation_twoElements() 111 assertEquals(HashMultiset.create(asList("a", "b", "c")), multiset); in testCreation_threeElements() 116 assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset); in testCreation_fourElements() 121 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e")), in testCreation_fiveElements() 128 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f")), in testCreation_sixElements() 136 HashMultiset.create(asList("a", "b", "c", "d", "e", "f", "g")), in testCreation_sevenElements() [all …]
|
/external/webkit/Source/WebCore/webaudio/ |
D | BiquadProcessor.cpp | 49 m_parameter1 = AudioParam::create("frequency", 350.0, 20.0, nyquist); in BiquadProcessor() 50 m_parameter2 = AudioParam::create("resonance", 0.0, -20.0, 20.0); in BiquadProcessor() 51 m_parameter3 = AudioParam::create("unused", 0.0, 0.0, 1.0); in BiquadProcessor() 55 m_parameter1 = AudioParam::create("frequency", 2500.0, 20.0, nyquist); in BiquadProcessor() 56 m_parameter2 = AudioParam::create("gain", 0.0, -20.0, 20.0); in BiquadProcessor() 57 m_parameter3 = AudioParam::create("Q", 0.5, 0.0, 1000.0); in BiquadProcessor() 60 m_parameter1 = AudioParam::create("frequency", 2500.0, 20.0, nyquist); in BiquadProcessor() 61 m_parameter2 = AudioParam::create("Q", 0.5, 0.0, 1000.0); in BiquadProcessor() 62 m_parameter3 = AudioParam::create("unused", 0.0, 0.0, 1.0); in BiquadProcessor() 65 m_parameter1 = AudioParam::create("frequency", 80.0, 20.0, nyquist); in BiquadProcessor() [all …]
|
/external/v8/test/mjsunit/harmony/ |
D | proxies.js | 34 test(Proxy.create, x, y, z) 48 function TestGetOwnProperty2(create, handler) { argument 49 var p = create(handler) 80 TestGetOwnProperty(Proxy.create({ 91 function TestGetOwnPropertyThrow2(create, handler) { argument 92 var p = create(handler) 114 TestGetOwnPropertyThrow(Proxy.create({ 130 function TestGet2(create, handler) { argument 131 var p = create(handler) 143 var o = Object.create(p, {x: {value: 88}}) [all …]
|
D | proxies-for.js | 34 test(Proxy.create, x, y, z) 45 function TestForIn2(create, properties, handler) { argument 46 var p = create(handler) 74 TestForIn(["b", "a", "0", "c"], Proxy.create({ 88 function TestForInDerived2(create, properties, handler) { argument 89 var p = create(handler) 90 var o = Object.create(p) 96 var oo = Object.create(o) 139 function TestForInThrow2(create, handler) { argument 140 var p = create(handler) [all …]
|
/external/webkit/Source/WebKit/chromium/tests/ |
D | IDBBindingUtilitiesTest.cpp | 120 RefPtr<SerializedScriptValue> serializedScriptValue = SerializedScriptValue::create(object); in TEST() 133 RefPtr<SerializedScriptValue> serializedScriptValue = SerializedScriptValue::create(object); in TEST() 146 RefPtr<SerializedScriptValue> serializedScriptValue = SerializedScriptValue::create(array); in TEST() 161 RefPtr<SerializedScriptValue> serializedScriptValue = SerializedScriptValue::create(object); in TEST() 178 RefPtr<SerializedScriptValue> serializedScriptValue = SerializedScriptValue::create(object); in TEST() 191 checkInjection(IDBKey::createString("myNewKey"), SerializedScriptValue::create(object), "bar"); in TEST() 192 checkInjection(IDBKey::createNumber(1234), SerializedScriptValue::create(object), "bar"); in TEST() 194 …checkInjectionFails(IDBKey::createString("key"), SerializedScriptValue::create(object), "foo.bar"); in TEST() 195 checkInjectionFails(IDBKey::createString("key"), SerializedScriptValue::create(object), "[3]"); in TEST() 204 checkInjection(IDBKey::createString("myNewKey"), SerializedScriptValue::create(array), "[2]"); in TEST() [all …]
|
/external/webkit/Source/WebCore/inspector/ |
D | TimelineRecordFactory.cpp | 48 RefPtr<InspectorObject> record = InspectorObject::create(); in createGenericRecord() 59 RefPtr<InspectorObject> data = InspectorObject::create(); in createGCEventData() 66 RefPtr<InspectorObject> data = InspectorObject::create(); in createFunctionCallData() 74 RefPtr<InspectorObject> data = InspectorObject::create(); in createEventDispatchData() 81 RefPtr<InspectorObject> data = InspectorObject::create(); in createGenericTimerData() 88 RefPtr<InspectorObject> data = InspectorObject::create(); in createTimerInstallData() 97 RefPtr<InspectorObject> data = InspectorObject::create(); in createXHRReadyStateChangeData() 105 RefPtr<InspectorObject> data = InspectorObject::create(); in createXHRLoadData() 112 RefPtr<InspectorObject> data = InspectorObject::create(); in createEvaluateScriptData() 120 RefPtr<InspectorObject> data = InspectorObject::create(); in createMarkTimelineData() [all …]
|
/external/smack/src/com/kenai/jbosh/ |
D | TerminalBindingCondition.java | 45 create("host-gone", "The target domain specified in the 'to' " 50 create("host-unknown", "The target domain specified in the 'to' " 55 create("improper-addressing", "The initialization element lacks a " 60 create("internal-server-error", "The connection manager has " 72 create("other-request", "Another request being processed at the " 82 create("remote-connection-failed", "The connection manager was " 87 create("remote-stream-error", "Encapsulated transport protocol " 91 create("see-other-uri", "The connection manager does not operate " 97 create("system-shutdown", "The connection manager is being shut " 102 create("undefined-condition", "Unknown or undefined error " [all …]
|
/external/webkit/Source/WebCore/html/ |
D | InputType.cpp | 80 map->add(InputTypeNames::button(), ButtonInputType::create); in createInputTypeFactoryMap() 81 map->add(InputTypeNames::checkbox(), CheckboxInputType::create); in createInputTypeFactoryMap() 82 map->add(InputTypeNames::color(), ColorInputType::create); in createInputTypeFactoryMap() 83 map->add(InputTypeNames::date(), DateInputType::create); in createInputTypeFactoryMap() 84 map->add(InputTypeNames::datetime(), DateTimeInputType::create); in createInputTypeFactoryMap() 85 map->add(InputTypeNames::datetimelocal(), DateTimeLocalInputType::create); in createInputTypeFactoryMap() 86 map->add(InputTypeNames::email(), EmailInputType::create); in createInputTypeFactoryMap() 87 map->add(InputTypeNames::file(), FileInputType::create); in createInputTypeFactoryMap() 88 map->add(InputTypeNames::hidden(), HiddenInputType::create); in createInputTypeFactoryMap() 89 map->add(InputTypeNames::image(), ImageInputType::create); in createInputTypeFactoryMap() [all …]
|
D | HTMLViewSourceDocument.cpp | 68 return HTMLViewSourceParser::create(this); in createParser() 70 return TextViewSourceParser::create(this); in createParser() 75 RefPtr<HTMLHtmlElement> html = HTMLHtmlElement::create(this); in createContainingTable() 78 RefPtr<HTMLBodyElement> body = HTMLBodyElement::create(this); in createContainingTable() 84 RefPtr<HTMLDivElement> div = HTMLDivElement::create(this); in createContainingTable() 85 RefPtr<NamedNodeMap> attrs = NamedNodeMap::create(); in createContainingTable() 91 RefPtr<HTMLTableElement> table = HTMLTableElement::create(this); in createContainingTable() 94 m_tbody = HTMLTableSectionElement::create(tbodyTag, this); in createContainingTable() 190 RefPtr<HTMLElement> span = HTMLElement::create(spanTag, this); in addSpanWithClassName() 191 RefPtr<NamedNodeMap> attrs = NamedNodeMap::create(); in addSpanWithClassName() [all …]
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestTreeWizard.java | 49 CommonTree t = (CommonTree)wiz.create("ID"); in testSingleNode() 57 CommonTree t = (CommonTree)wiz.create("ID[foo]"); in testSingleNodeWithArg() 65 CommonTree t = (CommonTree)wiz.create("(A)"); in testSingleNodeTree() 73 CommonTree t = (CommonTree)wiz.create("(A B C D)"); in testSingleLevelTree() 81 CommonTree t = (CommonTree)wiz.create("(nil A B C)"); in testListTree() 89 CommonTree t = (CommonTree)wiz.create("A B C"); in testInvalidListTree() 95 CommonTree t = (CommonTree)wiz.create("(A (B C) (B D) E)"); in testDoubleLevelTree() 103 CommonTree t = (CommonTree)wiz.create("ID"); in testSingleNodeIndex() 112 CommonTree t = (CommonTree)wiz.create("(A B C D)"); in testNoRepeatsIndex() 121 CommonTree t = (CommonTree)wiz.create("(A B (A C B) B D D)"); in testRepeatsIndex() [all …]
|
/external/webkit/Source/WebCore/html/shadow/ |
D | MediaControlElements.h | 99 static PassRefPtr<MediaControlPanelElement> create(HTMLMediaElement*); 111 static PassRefPtr<MediaControlTimelineContainerElement> create(HTMLMediaElement*); 124 static PassRefPtr<MediaControlVolumeSliderContainerElement> create(HTMLMediaElement*); 138 static PassRefPtr<MediaControlStatusDisplayElement> create(HTMLMediaElement*); 196 static PassRefPtr<MediaControlPanelMuteButtonElement> create(HTMLMediaElement*, MediaControls*); 211 static PassRefPtr<MediaControlVolumeSliderMuteButtonElement> create(HTMLMediaElement*); 224 static PassRefPtr<MediaControlPlayButtonElement> create(HTMLMediaElement*); 259 static PassRefPtr<MediaControlSeekForwardButtonElement> create(HTMLMediaElement*); 272 static PassRefPtr<MediaControlSeekBackButtonElement> create(HTMLMediaElement*); 285 static PassRefPtr<MediaControlRewindButtonElement> create(HTMLMediaElement*); [all …]
|