Lines Matching refs:bldr
1887 bldr := flatbuffers.NewBuilder(0)
1891 bldr.Reset()
1893 str := bldr.CreateString(reuse_str)
1894 test1 := bldr.CreateString(reuse_test1)
1895 test2 := bldr.CreateString(reuse_test2)
1896 fred := bldr.CreateString(reuse_fred)
1898 example.MonsterStartInventoryVector(bldr, 5)
1899 bldr.PrependByte(4)
1900 bldr.PrependByte(3)
1901 bldr.PrependByte(2)
1902 bldr.PrependByte(1)
1903 bldr.PrependByte(0)
1904 inv := bldr.EndVector(5)
1906 example.MonsterStart(bldr)
1907 example.MonsterAddName(bldr, fred)
1908 mon2 := example.MonsterEnd(bldr)
1910 example.MonsterStartTest4Vector(bldr, 2)
1911 example.CreateTest(bldr, 10, 20)
1912 example.CreateTest(bldr, 30, 40)
1913 test4 := bldr.EndVector(2)
1915 example.MonsterStartTestarrayofstringVector(bldr, 2)
1916 bldr.PrependUOffsetT(test2)
1917 bldr.PrependUOffsetT(test1)
1918 testArrayOfString := bldr.EndVector(2)
1920 example.MonsterStart(bldr)
1922 pos := example.CreateVec3(bldr, 1.0, 2.0, 3.0, 3.0, example.ColorGreen, 5, 6)
1923 example.MonsterAddPos(bldr, pos)
1925 example.MonsterAddHp(bldr, 80)
1926 example.MonsterAddName(bldr, str)
1927 example.MonsterAddInventory(bldr, inv)
1928 example.MonsterAddTestType(bldr, 1)
1929 example.MonsterAddTest(bldr, mon2)
1930 example.MonsterAddTest4(bldr, test4)
1931 example.MonsterAddTestarrayofstring(bldr, testArrayOfString)
1932 mon := example.MonsterEnd(bldr)
1934 bldr.Finish(mon)