Home
last modified time | relevance | path

Searched refs:addInt (Results 1 – 25 of 35) sorted by relevance

12

/third_party/flatbuffers/dart/test/
Dflex_builder_test.dart25 flx.addInt(1);
30 flx.addInt(230);
35 flx.addInt(1025);
40 flx.addInt(-1025);
69 ..addInt(1)
70 ..addInt(2)
78 ..addInt(-1)
79 ..addInt(256)
87 ..addInt(-45)
88 ..addInt(256000)
[all …]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DIntArrayListTest.java67 list.addInt(3); in testMakeImmutable()
68 list.addInt(4); in testMakeImmutable()
69 list.addInt(5); in testMakeImmutable()
70 list.addInt(7); in testMakeImmutable()
209 list.addInt(3); in testSize()
210 list.addInt(4); in testSize()
211 list.addInt(6); in testSize()
212 list.addInt(8); in testSize()
223 list.addInt(2); in testSet()
224 list.addInt(4); in testSet()
[all …]
/third_party/skia/src/core/
DSkPictureRecord.cpp102 this->addInt(flags); in onDoSaveBehind()
138 this->addInt(flatFlags); in recordSaveLayer()
152 this->addInt(rec.fSaveLayerFlags); in recordSaveLayer()
307 this->addInt(prevOffset); in recordRestoreOffsetPlaceholder()
327 this->addInt(ClipParams_pack(op, doAA)); in recordClipRect()
349 this->addInt(ClipParams_pack(op, doAA)); in recordClipRRect()
370 this->addInt(pathID); in recordClipPath()
371 this->addInt(ClipParams_pack(op, doAA)); in recordClipPath()
387 this->addInt((int)op); in onClipShader()
408 this->addInt(ClipParams_pack(op, false)); in recordClipRegion()
[all …]
DSkRegion_path.cpp134 maxTransitions = safe.addInt(maxTransitions, 2); in init()
138 size_t count = safe.mul(safe.addInt(maxHeight, 1), safe.addInt(3, maxTransitions)); in init()
DSkSafeMath.h39 int addInt(int a, int b) { in addInt() function
/third_party/flutter/skia/src/core/
DSkPictureRecord.cpp89 this->addInt(flags); in onDoSaveBehind()
129 this->addInt(flatFlags); in recordSaveLayer()
143 this->addInt(rec.fSaveLayerFlags); in recordSaveLayer()
325 this->addInt(prevOffset); in recordRestoreOffsetPlaceholder()
345 this->addInt(ClipParams_pack(op, doAA)); in recordClipRect()
367 this->addInt(ClipParams_pack(op, doAA)); in recordClipRRect()
388 this->addInt(pathID); in recordClipPath()
389 this->addInt(ClipParams_pack(op, doAA)); in recordClipPath()
410 this->addInt(ClipParams_pack(op, false)); in recordClipRegion()
441 this->addInt(mode); in onDrawPoints()
[all …]
DSkPathRef.cpp298 ptCount = safe.addInt(ptCount, 1); in deduce_pts_conics()
304 ptCount = safe.addInt(ptCount, 2); in deduce_pts_conics()
307 ptCount = safe.addInt(ptCount, 3); in deduce_pts_conics()
615 fVerbCnt = safe.addInt(fVerbCnt, numVbs); in growForRepeatedVerb()
616 fPointCnt = safe.addInt(fPointCnt, pCnt); in growForRepeatedVerb()
669 int newPointCnt = safe.addInt(fPointCnt, pCnt); in growForVerb()
670 int newVerbCnt = safe.addInt(fVerbCnt, 1); in growForVerb()
DSkRegion_path.cpp134 maxTransitions = safe.addInt(maxTransitions, 2); in init()
138 size_t count = safe.mul(safe.addInt(maxHeight, 1), safe.addInt(3, maxTransitions)); in init()
DSkSafeMath.h39 int addInt(int a, int b) { in addInt() function
DSkImageInfo.cpp53 size_t bytes = safe.add(safe.mul(safe.addInt(this->height(), -1), rowBytes), in computeByteSize()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DIntArrayList.java183 addInt(element); in add()
189 addInt(index, element); in add()
194 public void addInt(int element) { in addInt() method in IntArrayList
209 private void addInt(int index, int element) { in addInt() method in IntArrayList
DCodedInputStreamReader.java526 plist.addInt(input.readInt32()); in readInt32List()
532 plist.addInt(input.readInt32()); in readInt32List()
643 plist.addInt(input.readFixed32()); in readFixed32List()
648 plist.addInt(input.readFixed32()); in readFixed32List()
883 plist.addInt(input.readUInt32()); in readUInt32List()
889 plist.addInt(input.readUInt32()); in readUInt32List()
941 plist.addInt(input.readEnum()); in readEnumList()
947 plist.addInt(input.readEnum()); in readEnumList()
1000 plist.addInt(input.readSFixed32()); in readSFixed32List()
1005 plist.addInt(input.readSFixed32()); in readSFixed32List()
[all …]
DBinaryReader.java627 plist.addInt(readVarint32()); in readInt32List()
633 plist.addInt(readInt32()); in readInt32List()
756 plist.addInt(readLittleEndian32_NoCheck()); in readFixed32List()
761 plist.addInt(readFixed32()); in readFixed32List()
1024 plist.addInt(readVarint32()); in readUInt32List()
1029 plist.addInt(readUInt32()); in readUInt32List()
1086 plist.addInt(readVarint32()); in readEnumList()
1091 plist.addInt(readEnum()); in readEnumList()
1149 plist.addInt(readLittleEndian32_NoCheck()); in readSFixed32List()
1154 plist.addInt(readSFixed32()); in readSFixed32List()
[all …]
DArrayDecoders.java274 output.addInt(registers.int1); in decodeVarint32List()
281 output.addInt(registers.int1); in decodeVarint32List()
307 output.addInt(decodeFixed32(data, position)); in decodeFixed32List()
314 output.addInt(decodeFixed32(data, nextPosition)); in decodeFixed32List()
393 output.addInt(CodedInputStream.decodeZigZag32(registers.int1)); in decodeSInt32List()
400 output.addInt(CodedInputStream.decodeZigZag32(registers.int1)); in decodeSInt32List()
430 output.addInt(registers.int1); in decodePackedVarint32List()
461 output.addInt(decodeFixed32(data, position)); in decodePackedFixed32List()
542 output.addInt(CodedInputStream.decodeZigZag32(registers.int1)); in decodePackedSInt32List()
/third_party/flatbuffers/tests/optional_scalars/
DScalarStuff.java158 …public static void addJustI32(FlatBufferBuilder builder, int justI32) { builder.addInt(12, justI32… in addJustI32()
159 …public static void addMaybeI32(FlatBufferBuilder builder, int maybeI32) { builder.addInt(13, maybe… in addMaybeI32()
160 …public static void addDefaultI32(FlatBufferBuilder builder, int defaultI32) { builder.addInt(14, d… in addDefaultI32()
161 …public static void addJustU32(FlatBufferBuilder builder, long justU32) { builder.addInt(15, (int)j… in addJustU32()
162 …public static void addMaybeU32(FlatBufferBuilder builder, long maybeU32) { builder.addInt(16, (int… in addMaybeU32()
163 …public static void addDefaultU32(FlatBufferBuilder builder, long defaultU32) { builder.addInt(17, … in addDefaultU32()
DScalarStuff.kt261 fun addJustI32(builder: FlatBufferBuilder, justI32: Int) = builder.addInt(12, justI32, 0) in startScalarStuff()
262 fun addMaybeI32(builder: FlatBufferBuilder, maybeI32: Int) = builder.addInt(13, maybeI32, 0) in startScalarStuff()
263 …fun addDefaultI32(builder: FlatBufferBuilder, defaultI32: Int) = builder.addInt(14, defaultI32, 42) in startScalarStuff()
264 … fun addJustU32(builder: FlatBufferBuilder, justU32: UInt) = builder.addInt(15, justU32.toInt(), 0) in startScalarStuff()
265 …fun addMaybeU32(builder: FlatBufferBuilder, maybeU32: UInt) = builder.addInt(16, maybeU32.toInt(),… in startScalarStuff()
266 …fun addDefaultU32(builder: FlatBufferBuilder, defaultU32: UInt) = builder.addInt(17, defaultU32.to… in startScalarStuff()
/third_party/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java414 public void addInt (int x) { prep(Constants.SIZEOF_INT, 0); putInt (x); } in addInt() method in FlatBufferBuilder
794 …public void addInt (int o, int x, int d) { if(force_defaults || x != d) { addInt (x)… in addInt() method in FlatBufferBuilder
873 addInt(0); in endTable()
954 addInt(bb.capacity() - space); in finish()
/third_party/flatbuffers/tests/union_vector/
DAttacker.kt45 …tackDamage(builder: FlatBufferBuilder, swordAttackDamage: Int) = builder.addInt(0, swordAttackDama… in startAttacker()
DAttacker.java27 …AttackDamage(FlatBufferBuilder builder, int swordAttackDamage) { builder.addInt(0, swordAttackDama… in addSwordAttackDamage()
/third_party/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
DTableInNestedNS.kt47 fun addFoo(builder: FlatBufferBuilder, foo: Int) = builder.addInt(0, foo, 0) in startTableInNestedNS()
DTableInNestedNS.java29 public static void addFoo(FlatBufferBuilder builder, int foo) { builder.addInt(0, foo, 0); } in addFoo()
/third_party/flatbuffers/tests/MyGame/Example/
DTypeAliases.java87 public static void addI32(FlatBufferBuilder builder, int i32) { builder.addInt(4, i32, 0); } in addI32()
88 …public static void addU32(FlatBufferBuilder builder, long u32) { builder.addInt(5, (int)u32, (int)… in addU32()
DTypeAliases.kt234 fun addI32(builder: FlatBufferBuilder, i32: Int) = builder.addInt(4, i32, 0) in startTypeAliases()
235 fun addU32(builder: FlatBufferBuilder, u32: UInt) = builder.addInt(5, u32.toInt(), 0) in startTypeAliases()
/third_party/flatbuffers/php/
DFlatbufferBuilder.php346 public function addInt($x) function in Google\\FlatBuffers\\FlatbufferBuilder
476 $this->addInt($x);
819 $this->addInt(0);
/third_party/flatbuffers/tests/
DJavaScriptFlexBuffersTest.js149 builder.addInt(value, indirect, cache);
189 builder.addInt(v, true, true)

12