/third_party/ltp/tools/sparse/sparse-src/validation/ |
D | compound-sizes.c | 17 struct inventory { struct 27 static struct inventory *get_inv(uint64_t stocknum) in get_inv() argument 34 struct inventory inv; 42 static struct inventory inven[100]; 45 typedef struct inventory inventory_t; 48 static struct inventory *invptr; 65 struct inventory inv[10]; in main() 68 static struct inventory invtop; in main()
|
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
D | FlatBuffersMonsterWriterTests.swift | 167 Monster.addVectorOf(inventory: inv, &fbb) in createMonster() 193 XCTAssertEqual(monster.mutate(inventory: 1, at: 0), true) in mutateMonster() 194 XCTAssertEqual(monster.mutate(inventory: 2, at: 1), true) in mutateMonster() 195 XCTAssertEqual(monster.mutate(inventory: 3, at: 2), true) in mutateMonster() 196 XCTAssertEqual(monster.mutate(inventory: 4, at: 3), true) in mutateMonster() 197 XCTAssertEqual(monster.mutate(inventory: 5, at: 4), true) in mutateMonster() 200 XCTAssertEqual(monster.inventory(at: i), Byte(i + 1)) in mutateMonster() 203 XCTAssertEqual(monster.mutate(inventory: 0, at: 0), true) in mutateMonster() 204 XCTAssertEqual(monster.mutate(inventory: 1, at: 1), true) in mutateMonster() 205 XCTAssertEqual(monster.mutate(inventory: 2, at: 2), true) in mutateMonster() [all …]
|
D | FlatBuffersUnionTests.swift | 55 let inventory: [UInt8] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] in testEndTableFinish() variable 56 let inv = builder.createVector(inventory, size: 10) in testEndTableFinish() 67 inventory: inv, in testEndTableFinish() 228 inventory: Offset, 239 builder.add(offset: inventory, at: 14)
|
/third_party/flatbuffers/samples/ |
D | monster_generated.swift | 89 case inventory = 14 107 …public var inventoryCount: Int32 { let o = _accessor.offset(VTOFFSET.inventory.v); return o == 0 ?… 108 …public func inventory(at index: Int32) -> UInt8 { let o = _accessor.offset(VTOFFSET.inventory.v); … in inventory() function 109 public var inventory: [UInt8] { return _accessor.getVector(at: VTOFFSET.inventory.v) ?? [] } variable 110 …nc mutate(inventory: UInt8, at index: Int32) -> Bool { let o = _accessor.offset(VTOFFSET.inventory… in mutate() 125 … static func addVectorOf(inventory: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: inve… in addVectorOf() 141 inventoryVectorOffset inventory: Offset = Offset(), 153 MyGame_Sample_Monster.addVectorOf(inventory: inventory, &fbb)
|
D | sample_binary.rs | 57 let inventory = builder.create_vector(&[0u8, 1, 2, 3, 4, 5, 6, 7, 8, 9]); in main() localVariable 81 inventory: Some(inventory), in main() 124 assert!(monster.inventory().is_some()); in main() 125 let inv = monster.inventory().unwrap(); in main()
|
D | sample_binary.cpp | 50 auto inventory = builder.CreateVector(inv_data, 10); in main() local 53 auto orc = CreateMonster(builder, &position, 150, 80, name, inventory, in main() 80 auto inv = monster->inventory(); in main()
|
D | monster_generated.h | 231 std::vector<uint8_t> inventory{}; 244 (lhs.inventory == rhs.inventory) && 298 const flatbuffers::Vector<uint8_t> *inventory() const { 343 verifier.VerifyVector(inventory()) && 380 void add_inventory(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory) { 381 fbb_.AddOffset(Monster::VT_INVENTORY, inventory); 415 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory = 0, 425 builder_.add_inventory(inventory); 441 const std::vector<uint8_t> *inventory = nullptr, 448 auto inventory__ = inventory ? _fbb.CreateVector<uint8_t>(*inventory) : 0; [all …]
|
D | sample_binary.swift | 42 let inventory: [Byte] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] in main() variable 43 let inventoryOffset = builder.createVector(inventory) in main() 69 assert(i == monster.inventory(at: i)) in main()
|
D | monster_generated.rs | 456 if let Some(x) = args.inventory { builder.add_inventory(x); } in create() 475 let inventory = self.inventory().map(|x| { in unpack() localVariable 499 inventory, in unpack() 534 pub fn inventory(&self) -> Option<&'a [u8]> { in inventory() method 599 pub inventory: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a, u8>>>, field 614 inventory: None, in default() 645 pub fn add_inventory(&mut self, inventory: flatbuffers::WIPOffset<flatbuffers::Vector<'b , u8>>) { in add_inventory() 646 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_INVENTORY, inventory); in add_inventory() 690 ds.field("inventory", &self.inventory()); in fmt() 718 pub inventory: Option<Vec<u8>>, field [all …]
|
D | monster_generated.lobster | 46 def inventory(i:int): 84 def add_inventory(inventory:flatbuffers_offset): 85 b_.PrependUOffsetTRelativeSlot(5, inventory)
|
/third_party/flatbuffers/tests/ |
D | KotlinTest.kt | 122 invsum += monster.inventory(i) in TestBuffer() 205 val inventory = byteArrayOf(0, 1, 2, 3, 4) in TestCreateByteVector() constant 206 val vec = fbb.createByteVector(inventory) in TestCreateByteVector() 214 assert(monsterObject.inventory(1) == inventory[1].toUByte()) in TestCreateByteVector() 215 assert(monsterObject.inventoryLength == inventory.size) in TestCreateByteVector() 216 assert(ByteBuffer.wrap(inventory) == monsterObject.inventoryAsByteBuffer) in TestCreateByteVector() 222 val inventory = byteArrayOf(0, 1, 2, 3, 4) in TestCreateUninitializedVector() constant 223 val bb = fbb.createUnintializedVector(1, inventory.size, 1) in TestCreateUninitializedVector() 224 for (i in inventory) { in TestCreateUninitializedVector() 235 assert(monsterObject.inventory(1) == inventory[1].toUByte()) in TestCreateUninitializedVector() [all …]
|
D | JavaTest.java | 152 invsum += monster.inventory(i); in TestBuffer() 256 byte[] inventory = new byte[] { 0, 1, 2, 3, 4 }; in TestCreateByteVector() 257 int vec = fbb.createByteVector(inventory); in TestCreateByteVector() 265 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateByteVector() 266 TestEq(monsterObject.inventoryLength(), inventory.length); in TestCreateByteVector() 268 TestEq(inventoryVector.getAsUnsigned(1), (int)inventory[1]); in TestCreateByteVector() 269 TestEq(inventoryVector.length(), inventory.length); in TestCreateByteVector() 271 TestEq(ByteBuffer.wrap(inventory), monsterObject.inventoryAsByteBuffer()); in TestCreateByteVector() 277 byte[] inventory = new byte[] { 0, 1, 2, 3, 4 }; in TestCreateUninitializedVector() 278 ByteBuffer bb = fbb.createUnintializedVector(1, inventory.length, 1); in TestCreateUninitializedVector() [all …]
|
D | test.cpp | 99 auto inventory = builder.CreateVector(inv_data, 10); in CreateFlatBufferTest() local 216 builder, &vec, 150, 80, name, inventory, Color_Blue, Any_Monster, in CreateFlatBufferTest() 287 auto inventory = monster->inventory(); in AccessFlatBufferTest() local 288 TEST_EQ(VectorLength(inventory), 10UL); // Works even if inventory is null. in AccessFlatBufferTest() 289 TEST_NOTNULL(inventory); in AccessFlatBufferTest() 292 std::vector<unsigned char> inv_vec(inventory->begin(), inventory->end()); in AccessFlatBufferTest() 294 for (auto it = inventory->begin(); it != inventory->end(); ++it, ++n) { in AccessFlatBufferTest() 295 auto indx = it - inventory->begin(); in AccessFlatBufferTest() 302 for (auto it = inventory->cbegin(); it != inventory->cend(); ++it, ++n) { in AccessFlatBufferTest() 303 auto indx = it - inventory->cbegin(); in AccessFlatBufferTest() [all …]
|
/third_party/flatbuffers/dart/example/ |
D | example.dart | 50 // Create a list representing the inventory of the Orc. Each number 53 final inventory = builder.writeListUint8(treasure); 68 ..addInventoryOffset(inventory) 95 inventory: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], 129 // Get a test an element from the `inventory` FlatBuffer's `vector`. 130 var inv = monster.inventory;
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | array-prototype-find.js | 47 var inventory = [ variable 57 assert (JSON.stringify (inventory.find (isCherries)) === '{"name":"cherries","quantity":5}'); 60 assert (eval ("inventory.find (fruit => fruit.name === 'bananas')") === inventory[1]);
|
D | array-prototype-find-index.js | 47 var inventory = [ variable 57 assert (JSON.stringify (inventory.findIndex (isCherries)) === "2");
|
/third_party/flatbuffers/docs/source/ |
D | PythonUsage.md | 74 case of the Monster example, you could access the inventory vector 78 inventory = monster.InventoryAsNumpy() 79 # inventory is a numpy array of type np.dtype('uint8') 85 inventory = [] 87 inventory.append(int(monster.Inventory(i)))
|
/third_party/flatbuffers/tests/rust_usage_test/benches/ |
D | flatbuffers_benchmarks.rs | 96 let inventory = builder.create_vector_direct(&[0u8, 1, 2, 3, 4]); in create_serialized_example_with_generated_code() localVariable 125 inventory: Some(inventory), in create_serialized_example_with_generated_code() 168 blackbox(m.inventory()); in traverse_serialized_example_with_generated_code()
|
/third_party/flutter/skia/third_party/externals/icu/source/data/translit/ |
D | zu_zu_FONIPA.txt | 12 # These rules transcribe isiZulu into the phoneme inventory used within the 27 # avoid ambiguity and make the phoneme inventory uniquely decodable.
|
D | xh_xh_FONIPA.txt | 12 # These rules transcribe isiXhosa into the phoneme inventory used within the 27 # avoid ambiguity and make the phoneme inventory uniquely decodable.
|
/third_party/icu/icu4c/source/data/translit/ |
D | zu_zu_FONIPA.txt | 13 # These rules transcribe isiZulu into the phoneme inventory used within the 28 # avoid ambiguity and make the phoneme inventory uniquely decodable.
|
/third_party/skia/third_party/externals/icu/source/data/translit/ |
D | zu_zu_FONIPA.txt | 13 # These rules transcribe isiZulu into the phoneme inventory used within the 28 # avoid ambiguity and make the phoneme inventory uniquely decodable.
|
/third_party/flatbuffers/tests/MyGame/Example/ |
D | Monster.py | 814 … AddInventory(builder, inventory): builder.PrependUOffsetTRelativeSlot(5, flatbuffers.number_types… argument 815 def MonsterAddInventory(builder, inventory): argument 817 return AddInventory(builder, inventory) 1126 self.inventory = None # type: List[int] 1196 self.inventory = [] 1198 self.inventory.append(monster.Inventory(i)) 1200 self.inventory = monster.InventoryAsNumpy() 1369 if self.inventory is not None: 1370 if np is not None and type(self.inventory) is np.ndarray: 1371 inventory = builder.CreateNumpyVector(self.inventory) [all …]
|
/third_party/flatbuffers/samples/lua/MyGame/Sample/ |
D | Monster.lua | 113 function Monster.AddInventory(builder, inventory) builder:PrependUOffsetTRelativeSlot(5, inventory,…
|
/third_party/flatbuffers/tests/rust_usage_test/bin/ |
D | flatbuffers_alloc_check.rs | 88 inventory: Some(builder.create_vector_direct(&[0u8, 1, 2, 3, 4][..])), in create_serialized_example_with_generated_code() 158 let inv = m.inventory().unwrap(); in main()
|