/external/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBuffersFuzzTests.cs | 35 var builder = new FlatBufferBuilder(1); in TestNumbers() 36 Assert.ArrayEqual(new byte[] { 0 }, builder.DataBuffer.Data); in TestNumbers() 37 builder.AddBool(true); in TestNumbers() 38 Assert.ArrayEqual(new byte[] { 1 }, builder.DataBuffer.Data); in TestNumbers() 39 builder.AddSbyte(-127); in TestNumbers() 40 Assert.ArrayEqual(new byte[] { 129, 1 }, builder.DataBuffer.Data); in TestNumbers() 41 builder.AddByte(255); in TestNumbers() 42 Assert.ArrayEqual(new byte[] { 0, 255, 129, 1 }, builder.DataBuffer.Data); // First pad in TestNumbers() 43 builder.AddShort(-32222); in TestNumbers() 44 …Assert.ArrayEqual(new byte[] { 0, 0, 0x22, 0x82, 0, 255, 129, 1 }, builder.DataBuffer.Data); // Se… in TestNumbers() [all …]
|
/external/flatbuffers/tests/MyGame/Example/ |
D | Monster.php | 383 * @param FlatBufferBuilder $builder 386 public static function startMonster(FlatBufferBuilder $builder) argument 388 $builder->StartObject(29); 392 * @param FlatBufferBuilder $builder 395 …public static function createMonster(FlatBufferBuilder $builder, $pos, $mana, $hp, $name, $invento… argument 397 $builder->startObject(29); 398 self::addPos($builder, $pos); 399 self::addMana($builder, $mana); 400 self::addHp($builder, $hp); 401 self::addName($builder, $name); [all …]
|
D | Monster.java | 91 public static void startMonster(FlatBufferBuilder builder) { builder.startObject(29); } in startMonster() argument 92 …public static void addPos(FlatBufferBuilder builder, int posOffset) { builder.addStruct(0, posOffs… in addPos() argument 93 …public static void addMana(FlatBufferBuilder builder, short mana) { builder.addShort(1, mana, 150)… in addMana() argument 94 public static void addHp(FlatBufferBuilder builder, short hp) { builder.addShort(2, hp, 100); } in addHp() argument 95 …public static void addName(FlatBufferBuilder builder, int nameOffset) { builder.addOffset(3, nameO… in addName() argument 96 …public static void addInventory(FlatBufferBuilder builder, int inventoryOffset) { builder.addOffse… in addInventory() argument 97 …er builder, byte[] data) { builder.startVector(1, data.length, 1); for (int i = data.length - 1; i… in createInventoryVector() argument 98 …public static void startInventoryVector(FlatBufferBuilder builder, int numElems) { builder.startVe… in startInventoryVector() argument 99 …public static void addColor(FlatBufferBuilder builder, byte color) { builder.addByte(6, color, 8);… in addColor() argument 100 …public static void addTestType(FlatBufferBuilder builder, byte testType) { builder.addByte(7, test… in addTestType() argument [all …]
|
D | Monster.cs | 82 public static void StartMonster(FlatBufferBuilder builder) { builder.StartObject(29); } in StartMonster() 83 …public static void AddPos(FlatBufferBuilder builder, Offset<Vec3> posOffset) { builder.AddStruct(0… in AddPos() 84 …public static void AddMana(FlatBufferBuilder builder, short mana) { builder.AddShort(1, mana, 150)… in AddMana() 85 public static void AddHp(FlatBufferBuilder builder, short hp) { builder.AddShort(2, hp, 100); } in AddHp() 86 …public static void AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset… in AddName() 87 …public static void AddInventory(FlatBufferBuilder builder, VectorOffset inventoryOffset) { builder… in AddInventory() 88 …er builder, byte[] data) { builder.StartVector(1, data.Length, 1); for (int i = data.Length - 1; i… in CreateInventoryVector() 89 …public static void StartInventoryVector(FlatBufferBuilder builder, int numElems) { builder.StartVe… in StartInventoryVector() 90 …public static void AddColor(FlatBufferBuilder builder, Color color) { builder.AddSbyte(6, (sbyte)c… in AddColor() 91 …public static void AddTestType(FlatBufferBuilder builder, Any testType) { builder.AddByte(7, (byte… in AddTestType() [all …]
|
/external/webrtc/webrtc/libjingle/xmllite/ |
D | xmlbuilder_unittest.cc | 25 XmlBuilder builder; in TEST() local 26 XmlParser::ParseXml(&builder, "<testing/>"); in TEST() 27 EXPECT_EQ("<testing/>", builder.BuiltElement()->Str()); in TEST() 31 XmlBuilder builder; in TEST() local 32 XmlParser::ParseXml(&builder, "<testing a='b'/>"); in TEST() 33 EXPECT_EQ("<testing a=\"b\"/>", builder.BuiltElement()->Str()); in TEST() 37 XmlBuilder builder; in TEST() local 38 XmlParser::ParseXml(&builder, "<testing e='' long='some text'/>"); in TEST() 40 builder.BuiltElement()->Str()); in TEST() 44 XmlBuilder builder; in TEST() local [all …]
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | LiteTest.java | 171 TestAllTypesLite.Builder builder = TestAllTypesLite.newBuilder(); in testSanityCopyOnWrite() local 172 TestAllTypesLite message = builder.build(); in testSanityCopyOnWrite() 174 builder.setOptionalBool(true); in testSanityCopyOnWrite() 176 assertEquals(true, builder.getOptionalBool()); in testSanityCopyOnWrite() 177 messageAfterBuild = builder.build(); in testSanityCopyOnWrite() 180 builder.clearOptionalBool(); in testSanityCopyOnWrite() 181 assertEquals(false, builder.getOptionalBool()); in testSanityCopyOnWrite() 184 message = builder.build(); in testSanityCopyOnWrite() 185 builder.setOptionalBytes(ByteString.copyFromUtf8("hi")); in testSanityCopyOnWrite() 187 assertEquals(ByteString.copyFromUtf8("hi"), builder.getOptionalBytes()); in testSanityCopyOnWrite() [all …]
|
D | GeneratedMessageTest.java | 98 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); in testMessageOrBuilder() local 99 TestUtil.setAllFields(builder); in testMessageOrBuilder() 100 TestAllTypes message = builder.build(); in testMessageOrBuilder() 105 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); in testUsingBuilderMultipleTimes() local 107 builder.setOptionalSfixed64(100); in testUsingBuilderMultipleTimes() 108 builder.addRepeatedInt32(100); in testUsingBuilderMultipleTimes() 110 builder.setOptionalImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes() 111 builder.addRepeatedImportEnum(UnittestImport.ImportEnum.IMPORT_BAR); in testUsingBuilderMultipleTimes() 113 builder.setOptionalForeignMessage(ForeignMessage.newBuilder().setC(1)); in testUsingBuilderMultipleTimes() 114 builder.addRepeatedForeignMessage(ForeignMessage.newBuilder().setC(1)); in testUsingBuilderMultipleTimes() [all …]
|
D | SingleFieldBuilderTest.java | 50 TestAllTypesOrBuilder> builder = in testBasicUseAndInvalidations() local 56 assertSame(TestAllTypes.getDefaultInstance(), builder.getMessage()); in testBasicUseAndInvalidations() 58 builder.getBuilder().buildPartial()); in testBasicUseAndInvalidations() 61 builder.getBuilder().setOptionalInt32(10); in testBasicUseAndInvalidations() 63 TestAllTypes message = builder.build(); in testBasicUseAndInvalidations() 68 builder.getBuilder().setOptionalInt32(20); in testBasicUseAndInvalidations() 72 builder.getBuilder().setOptionalInt32(30); in testBasicUseAndInvalidations() 80 TestAllTypesOrBuilder> builder = in testSetMessage() local 86 builder.setMessage(TestAllTypes.newBuilder().setOptionalInt32(0).build()); in testSetMessage() 87 assertEquals(0, builder.getMessage().getOptionalInt32()); in testSetMessage() [all …]
|
D | MapForProto2LiteTest.java | 48 private void setMapValues(TestMap.Builder builder) { in setMapValues() argument 49 builder.getMutableInt32ToInt32Field().put(1, 11); in setMapValues() 50 builder.getMutableInt32ToInt32Field().put(2, 22); in setMapValues() 51 builder.getMutableInt32ToInt32Field().put(3, 33); in setMapValues() 53 builder.getMutableInt32ToStringField().put(1, "11"); in setMapValues() 54 builder.getMutableInt32ToStringField().put(2, "22"); in setMapValues() 55 builder.getMutableInt32ToStringField().put(3, "33"); in setMapValues() 57 builder.getMutableInt32ToBytesField().put(1, TestUtil.toBytes("11")); in setMapValues() 58 builder.getMutableInt32ToBytesField().put(2, TestUtil.toBytes("22")); in setMapValues() 59 builder.getMutableInt32ToBytesField().put(3, TestUtil.toBytes("33")); in setMapValues() [all …]
|
D | MapForProto2Test.java | 51 private void setMapValues(TestMap.Builder builder) { in setMapValues() argument 52 builder.getMutableInt32ToInt32Field().put(1, 11); in setMapValues() 53 builder.getMutableInt32ToInt32Field().put(2, 22); in setMapValues() 54 builder.getMutableInt32ToInt32Field().put(3, 33); in setMapValues() 56 builder.getMutableInt32ToStringField().put(1, "11"); in setMapValues() 57 builder.getMutableInt32ToStringField().put(2, "22"); in setMapValues() 58 builder.getMutableInt32ToStringField().put(3, "33"); in setMapValues() 60 builder.getMutableInt32ToBytesField().put(1, TestUtil.toBytes("11")); in setMapValues() 61 builder.getMutableInt32ToBytesField().put(2, TestUtil.toBytes("22")); in setMapValues() 62 builder.getMutableInt32ToBytesField().put(3, TestUtil.toBytes("33")); in setMapValues() [all …]
|
D | RepeatedFieldBuilderTest.java | 53 TestAllTypesOrBuilder> builder = newRepeatedFieldBuilder(mockParent); in testBasicUse() local 54 builder.addMessage(TestAllTypes.newBuilder().setOptionalInt32(0).build()); in testBasicUse() 55 builder.addMessage(TestAllTypes.newBuilder().setOptionalInt32(1).build()); in testBasicUse() 56 assertEquals(0, builder.getMessage(0).getOptionalInt32()); in testBasicUse() 57 assertEquals(1, builder.getMessage(1).getOptionalInt32()); in testBasicUse() 59 List<TestAllTypes> list = builder.build(); in testBasicUse() 66 List<TestAllTypes> list2 = builder.build(); in testBasicUse() 74 TestAllTypesOrBuilder> builder = newRepeatedFieldBuilder(mockParent); in testGoingBackAndForth() local 75 builder.addMessage(TestAllTypes.newBuilder().setOptionalInt32(0).build()); in testGoingBackAndForth() 76 builder.addMessage(TestAllTypes.newBuilder().setOptionalInt32(1).build()); in testGoingBackAndForth() [all …]
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableTableTest.java | 31 ImmutableTable.Builder<String, Integer, Character> builder = in create() local 32 ImmutableTable.builder(); in create() 34 builder.put((String) data[i], (Integer) data[i + 1], in create() 37 return builder.build(); in create() 41 ImmutableTable.Builder<Character, Integer, String> builder = in testBuilder() local 43 assertEquals(ImmutableTable.of(), builder.build()); in testBuilder() 44 assertEquals(ImmutableTable.of('a', 1, "foo"), builder in testBuilder() 54 assertEquals(expectedTable, builder in testBuilder() 60 ImmutableTable.Builder<Character, Integer, String> builder = in testBuilder_withImmutableCell() local 62 assertEquals(ImmutableTable.of('a', 1, "foo"), builder in testBuilder_withImmutableCell() [all …]
|
D | ImmutableListMultimapTest.java | 43 ImmutableListMultimap.Builder<String, String> builder = ImmutableListMultimap.builder(); in create() local 45 builder.put(entry.getKey(), entry.getValue()); in create() 47 return builder.build(); in create() 59 Builder<String, Integer> builder = new Builder<String, Integer>(); in testBuilder_withImmutableEntryAndNullContents() local 61 builder.put(Maps.immutableEntry("one", (Integer) null)); in testBuilder_withImmutableEntryAndNullContents() 66 builder.put(Maps.immutableEntry((String) null, 1)); in testBuilder_withImmutableEntryAndNullContents() 77 ImmutableListMultimap.Builder<String, Integer> builder = in testBuilder_withMutableEntry() local 90 builder.put(entry); in testBuilder_withMutableEntry() 92 assertEquals(Arrays.asList(1), builder.build().get("one")); in testBuilder_withMutableEntry() 96 ImmutableListMultimap.Builder<String, Integer> builder in testBuilderPutAllIterable() local [all …]
|
D | ImmutableSetMultimapTest.java | 48 Builder<String, Integer> builder = new Builder<String, Integer>(); in testBuilder_withImmutableEntryAndNullContents() local 50 builder.put(Maps.immutableEntry("one", (Integer) null)); in testBuilder_withImmutableEntryAndNullContents() 55 builder.put(Maps.immutableEntry((String) null, 1)); in testBuilder_withImmutableEntryAndNullContents() 66 ImmutableSetMultimap.Builder<String, Integer> builder = in testBuilder_withMutableEntry() local 79 builder.put(entry); in testBuilder_withMutableEntry() 81 assertEquals(ImmutableSet.of(1), builder.build().get("one")); in testBuilder_withMutableEntry() 85 ImmutableSetMultimap.Builder<String, Integer> builder in testBuilderPutAllIterable() local 86 = ImmutableSetMultimap.builder(); in testBuilderPutAllIterable() 87 builder.putAll("foo", Arrays.asList(1, 2, 3)); in testBuilderPutAllIterable() 88 builder.putAll("bar", Arrays.asList(4, 5)); in testBuilderPutAllIterable() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableTableTest.java | 32 ImmutableTable.Builder<String, Integer, Character> builder = in create() local 33 ImmutableTable.builder(); in create() 35 builder.put((String) data[i], (Integer) data[i + 1], in create() 38 return builder.build(); in create() 42 ImmutableTable.Builder<Character, Integer, String> builder = in testBuilder() local 44 assertEquals(ImmutableTable.of(), builder.build()); in testBuilder() 45 assertEquals(ImmutableTable.of('a', 1, "foo"), builder in testBuilder() 55 assertEquals(expectedTable, builder in testBuilder() 61 ImmutableTable.Builder<Character, Integer, String> builder = in testBuilder_withImmutableCell() local 63 assertEquals(ImmutableTable.of('a', 1, "foo"), builder in testBuilder_withImmutableCell() [all …]
|
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
D | JsonFormatTest.java | 70 private void setAllFields(TestAllTypes.Builder builder) { in setAllFields() argument 71 builder.setOptionalInt32(1234); in setAllFields() 72 builder.setOptionalInt64(1234567890123456789L); in setAllFields() 73 builder.setOptionalUint32(5678); in setAllFields() 74 builder.setOptionalUint64(2345678901234567890L); in setAllFields() 75 builder.setOptionalSint32(9012); in setAllFields() 76 builder.setOptionalSint64(3456789012345678901L); in setAllFields() 77 builder.setOptionalFixed32(3456); in setAllFields() 78 builder.setOptionalFixed64(4567890123456789012L); in setAllFields() 79 builder.setOptionalSfixed32(7890); in setAllFields() [all …]
|
D | FieldMaskTreeTest.java | 122 NestedTestAllTypes.Builder builder = NestedTestAllTypes.newBuilder(); in testMerge() local 123 new FieldMaskTree().addFieldPath("payload.optional_int32").merge(source, builder, options); in testMerge() 126 assertEquals(expected.build(), builder.build()); in testMerge() 128 builder = NestedTestAllTypes.newBuilder(); in testMerge() 131 .merge(source, builder, options); in testMerge() 134 assertEquals(expected.build(), builder.build()); in testMerge() 136 builder = NestedTestAllTypes.newBuilder(); in testMerge() 137 new FieldMaskTree().addFieldPath("payload.repeated_int32").merge(source, builder, options); in testMerge() 140 assertEquals(expected.build(), builder.build()); in testMerge() 142 builder = NestedTestAllTypes.newBuilder(); in testMerge() [all …]
|
/external/mesa3d/src/gallium/drivers/ilo/core/ |
D | ilo_builder_3d_bottom.h | 47 gen6_3DSTATE_CLIP(struct ilo_builder *builder, in gen6_3DSTATE_CLIP() argument 53 ILO_DEV_ASSERT(builder->dev, 6, 8); in gen6_3DSTATE_CLIP() 55 ilo_builder_batch_pointer(builder, cmd_len, &dw); in gen6_3DSTATE_CLIP() 65 gen6_3DSTATE_SF(struct ilo_builder *builder, in gen6_3DSTATE_SF() argument 72 ILO_DEV_ASSERT(builder->dev, 6, 6); in gen6_3DSTATE_SF() 74 ilo_builder_batch_pointer(builder, cmd_len, &dw); in gen6_3DSTATE_SF() 99 gen7_3DSTATE_SF(struct ilo_builder *builder, in gen7_3DSTATE_SF() argument 102 const uint8_t cmd_len = (ilo_dev_gen(builder->dev) >= ILO_GEN(8)) ? 4 : 7; in gen7_3DSTATE_SF() 105 ILO_DEV_ASSERT(builder->dev, 7, 8); in gen7_3DSTATE_SF() 107 ilo_builder_batch_pointer(builder, cmd_len, &dw); in gen7_3DSTATE_SF() [all …]
|
D | ilo_builder_render.h | 39 gen6_STATE_SIP(struct ilo_builder *builder, uint32_t sip) in gen6_STATE_SIP() argument 41 const uint8_t cmd_len = (ilo_dev_gen(builder->dev) >= ILO_GEN(8)) ? 3 : 2; in gen6_STATE_SIP() 44 ILO_DEV_ASSERT(builder->dev, 6, 8); in gen6_STATE_SIP() 46 ilo_builder_batch_pointer(builder, cmd_len, &dw); in gen6_STATE_SIP() 50 if (ilo_dev_gen(builder->dev) >= ILO_GEN(8)) in gen6_STATE_SIP() 55 gen6_PIPELINE_SELECT(struct ilo_builder *builder, int pipeline) in gen6_PIPELINE_SELECT() argument 61 ILO_DEV_ASSERT(builder->dev, 6, 8); in gen6_PIPELINE_SELECT() 68 assert(ilo_dev_gen(builder->dev) >= ILO_GEN(7)); in gen6_PIPELINE_SELECT() 75 ilo_builder_batch_write(builder, cmd_len, &dw0); in gen6_PIPELINE_SELECT() 79 gen6_PIPE_CONTROL(struct ilo_builder *builder, uint32_t dw1, in gen6_PIPE_CONTROL() argument [all …]
|
D | ilo_builder_3d_top.h | 46 gen6_3DSTATE_URB(struct ilo_builder *builder, in gen6_3DSTATE_URB() argument 52 ilo_builder_batch_pointer(builder, cmd_len, &dw); in gen6_3DSTATE_URB() 61 gen7_3DSTATE_PUSH_CONSTANT_ALLOC_VS(struct ilo_builder *builder, in gen7_3DSTATE_PUSH_CONSTANT_ALLOC_VS() argument 67 ilo_builder_batch_pointer(builder, cmd_len, &dw); in gen7_3DSTATE_PUSH_CONSTANT_ALLOC_VS() 76 gen7_3DSTATE_PUSH_CONSTANT_ALLOC_HS(struct ilo_builder *builder, in gen7_3DSTATE_PUSH_CONSTANT_ALLOC_HS() argument 82 ilo_builder_batch_pointer(builder, cmd_len, &dw); in gen7_3DSTATE_PUSH_CONSTANT_ALLOC_HS() 91 gen7_3DSTATE_PUSH_CONSTANT_ALLOC_DS(struct ilo_builder *builder, in gen7_3DSTATE_PUSH_CONSTANT_ALLOC_DS() argument 97 ilo_builder_batch_pointer(builder, cmd_len, &dw); in gen7_3DSTATE_PUSH_CONSTANT_ALLOC_DS() 106 gen7_3DSTATE_PUSH_CONSTANT_ALLOC_GS(struct ilo_builder *builder, in gen7_3DSTATE_PUSH_CONSTANT_ALLOC_GS() argument 112 ilo_builder_batch_pointer(builder, cmd_len, &dw); in gen7_3DSTATE_PUSH_CONSTANT_ALLOC_GS() [all …]
|
D | ilo_builder_decode.c | 37 writer_pointer(const struct ilo_builder *builder, in writer_pointer() argument 41 const struct ilo_builder_writer *writer = &builder->writers[which]; in writer_pointer() 46 writer_dw(const struct ilo_builder *builder, in writer_dw() argument 51 const uint32_t *dw = writer_pointer(builder, which, offset); in writer_dw() 79 writer_decode_blob(const struct ilo_builder *builder, in writer_decode_blob() argument 89 const uint32_t *dw = writer_pointer(builder, which, offset); in writer_decode_blob() 91 writer_dw(builder, which, offset, 0, "BLOB%d", i / 4); in writer_decode_blob() 125 writer_decode_clip_viewport(const struct ilo_builder *builder, in writer_decode_clip_viewport() argument 137 dw = writer_dw(builder, which, offset, 0, "CLIP VP%d", i); in writer_decode_clip_viewport() 140 dw = writer_dw(builder, which, offset, 1, "CLIP VP%d", i); in writer_decode_clip_viewport() [all …]
|
D | ilo_builder.h | 119 ilo_builder_init(struct ilo_builder *builder, 124 ilo_builder_reset(struct ilo_builder *builder); 127 ilo_builder_decode(struct ilo_builder *builder); 130 ilo_builder_begin(struct ilo_builder *builder); 133 ilo_builder_end(struct ilo_builder *builder, unsigned *used); 136 ilo_builder_validate(struct ilo_builder *builder, 143 ilo_builder_has_reloc(const struct ilo_builder *builder, in ilo_builder_has_reloc() argument 149 const struct ilo_builder_writer *writer = &builder->writers[i]; in ilo_builder_has_reloc() 158 ilo_builder_writer_discard(struct ilo_builder *builder, 162 ilo_builder_writer_grow(struct ilo_builder *builder, [all …]
|
D | ilo_builder_mi.h | 39 gen6_MI_STORE_DATA_IMM(struct ilo_builder *builder, in gen6_MI_STORE_DATA_IMM() argument 43 const uint8_t cmd_len = (ilo_dev_gen(builder->dev) >= ILO_GEN(8)) ? 6 : 5; in gen6_MI_STORE_DATA_IMM() 48 ILO_DEV_ASSERT(builder->dev, 6, 8); in gen6_MI_STORE_DATA_IMM() 52 pos = ilo_builder_batch_pointer(builder, cmd_len, &dw); in gen6_MI_STORE_DATA_IMM() 56 if (ilo_dev_gen(builder->dev) == ILO_GEN(6)) { in gen6_MI_STORE_DATA_IMM() 63 if (ilo_dev_gen(builder->dev) >= ILO_GEN(8)) { in gen6_MI_STORE_DATA_IMM() 67 ilo_builder_batch_reloc64(builder, pos + 2, bo, bo_offset, reloc_flags); in gen6_MI_STORE_DATA_IMM() 72 ilo_builder_batch_reloc(builder, pos + 2, bo, bo_offset, reloc_flags); in gen6_MI_STORE_DATA_IMM() 77 gen6_MI_LOAD_REGISTER_IMM(struct ilo_builder *builder, in gen6_MI_LOAD_REGISTER_IMM() argument 83 ILO_DEV_ASSERT(builder->dev, 6, 8); in gen6_MI_LOAD_REGISTER_IMM() [all …]
|
/external/r8/src/test/java/com/android/tools/r8/jasmin/ |
D | JumpSubroutineTests.java | 19 private void runTest(JasminBuilder builder, String main, String expected) throws Exception { in runTest() argument 20 String javaResult = runOnJava(builder, main); in runTest() 22 String artResult = runOnArt(builder, main); in runTest() 24 String dxArtResult = runOnArtDx(builder, main); in runTest() 28 private void expectDxFailure(JasminBuilder builder) throws Exception { in expectDxFailure() argument 33 ProcessResult result = runOnArtDxRaw(builder); in expectDxFailure() 56 JasminBuilder builder = new JasminBuilder(); in testJsrJava130TryFinally() local 57 JasminBuilder.ClassBuilder clazz = builder.addClass("Test"); in testJsrJava130TryFinally() 84 runTest(builder, clazz.name, "01"); in testJsrJava130TryFinally() 109 JasminBuilder builder = new JasminBuilder(); in testJsrJava130TryFinallyNested() local [all …]
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | CssSchema.java | 94 ImmutableMap.builder(); in withProperties() 167 ImmutableMap.Builder<String, Property> builder 168 = ImmutableMap.builder(); 229 ImmutableMap.<String, String>builder() 390 builder.put("-moz-border-radius", mozBorderRadius); 393 builder.put("-moz-border-radius-bottomleft", mozBorderRadiusBottomleft); 395 builder.put("-moz-opacity", mozOpacity); 402 builder.put("-moz-outline", mozOutline); 407 builder.put("-moz-outline-color", mozOutlineColor); 411 builder.put("-moz-outline-style", mozOutlineStyle); [all …]
|