Home
last modified time | relevance | path

Searched refs:inventory (Results 1 – 25 of 41) sorted by relevance

12

/external/flatbuffers/tests/
DJavaTest.java164 TestEq(monster.inventory(i), i + 1); in main()
231 invsum += monster.inventory(i); in TestBuffer()
315 byte[] inventory = new byte[] { 0, 1, 2, 3, 4 }; in TestCreateByteVector()
316 int vec = fbb.createByteVector(inventory); in TestCreateByteVector()
324 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateByteVector()
325 TestEq(monsterObject.inventoryLength(), inventory.length); in TestCreateByteVector()
326 TestEq(ByteBuffer.wrap(inventory), monsterObject.inventoryAsByteBuffer()); in TestCreateByteVector()
332 byte[] inventory = new byte[] { 0, 1, 2, 3, 4 }; in TestCreateUninitializedVector()
333 ByteBuffer bb = fbb.createUnintializedVector(1, inventory.length, 1); in TestCreateUninitializedVector()
334 for (byte i:inventory) { in TestCreateUninitializedVector()
[all …]
Dtest.cpp92 auto inventory = builder.CreateVector(inv_data, 10); in CreateFlatBufferTest() local
138 auto mloc = CreateMonster(builder, &vec, 150, 80, name, inventory, Color_Blue, in CreateFlatBufferTest()
206 auto inventory = monster->inventory(); in AccessFlatBufferTest() local
207 TEST_EQ(VectorLength(inventory), 10UL); // Works even if inventory is null. in AccessFlatBufferTest()
208 TEST_NOTNULL(inventory); in AccessFlatBufferTest()
210 for (auto it = inventory->begin(); it != inventory->end(); ++it) in AccessFlatBufferTest()
211 TEST_EQ(*it, inv_data[it - inventory->begin()]); in AccessFlatBufferTest()
301 auto inventory = monster->mutable_inventory(); in MutateFlatBuffersTest() local
302 inventory->Mutate(9, 100); in MutateFlatBuffersTest()
303 TEST_EQ(inventory->Get(9), 100); in MutateFlatBuffersTest()
[all …]
Dmonster_test_generated.h459 std::vector<uint8_t> inventory;
564 const flatbuffers::Vector<uint8_t> *inventory() const {
722 verifier.Verify(inventory()) &&
780 void add_inventory(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory) {
781 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
871 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory = 0,
916 builder_.add_inventory(inventory);
933 const std::vector<uint8_t> *inventory = nullptr,
963 inventory ? _fbb.CreateVector<uint8_t>(*inventory) : 0,
1090 …{ auto _e = inventory(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->
[all …]
Dmonsterdata_test.json15 inventory: [
Dmonsterdata_test.golden15 inventory: [
Dmonster_test.fbs45 inventory:[ubyte] (id: 5);
/external/autotest/site_utils/
Dlab_inventory.py621 def _generate_repair_recommendation(inventory, num_recommend): argument
647 for board in inventory.get_managed_boards():
649 counts = inventory[board]
698 def _generate_board_inventory_message(inventory): argument
724 for board in inventory.get_managed_boards():
725 counts = inventory[board]
781 def _generate_pool_inventory_message(inventory): argument
806 for board, counts in inventory.items():
835 def _generate_idle_inventory_message(inventory): argument
855 for board, counts in inventory.items():
[all …]
Dlab_inventory_unittest.py487 self.inventory = None
511 self.inventory = lab_inventory._LabInventory(histories)
560 for b in self.inventory:
561 c = self.inventory[b]
583 self.assertEqual(self.inventory.get_managed_boards(),
585 board_list = self.inventory.keys()
587 self.assertEqual(self.inventory.get_num_duts(),
589 self.assertEqual(self.inventory.get_num_boards(),
730 self.inventory).split('\n')
948 inventory = lab_inventory._LabInventory(histories)
[all …]
Dbalance_pools.py413 def _too_many_broken_boards(inventory, pool, arguments): argument
436 total_num_boards = len(inventory.get_managed_boards(pool=pool))
445 broken_boards = [board for board, counts in inventory.items()
574 inventory = lab_inventory.get_inventory(afe)
576 if _too_many_broken_boards(inventory, pool, arguments):
581 boards_in_pool = inventory.get_managed_boards(pool=pool)
/external/openssh/contrib/aix/
Dbuildbff.sh31 inventory=`dirname $0`/inventory.sh # absolute path
33 inventory=`pwd`/`dirname $0`/inventory.sh # relative path
167 $inventory >../openssh.inventory
306 for i in openssh.al openssh.copyright openssh.inventory openssh.post_i openssh.size LICENCE README*
DREADME22 buildpkg.sh. Ben also supplied inventory.sh.
/external/flatbuffers/samples/
Dmonster_generated.h151 std::vector<uint8_t> inventory;
199 const flatbuffers::Vector<uint8_t> *inventory() const {
237 verifier.Verify(inventory()) &&
267 void add_inventory(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory) {
268 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
300 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory = 0,
308 builder_.add_inventory(inventory);
324 const std::vector<uint8_t> *inventory = nullptr,
335 inventory ? _fbb.CreateVector<uint8_t>(*inventory) : 0,
439 …{ auto _e = inventory(); if (_e) for (flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->
[all …]
Dsample_binary.cpp50 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()
Dmonster.fbs21 inventory:[ubyte];
DSampleBinary.java87 assert monster.inventory(i) == (byte)i; in main()
Dsamplebinary.js87 assert.equal(monster.inventory(i), i);
/external/replicaisland/src/com/replica/replicaisland/
DPlayerComponent.java229 InventoryComponent.UpdateRecord inventory = mInventory.getRecord(); in update() local
230 if (inventory.coinCount >= mDifficultyConstants.getCoinsPerPowerup()) { in update()
231 inventory.coinCount = 0; in update()
253 if (inventory.rubyCount >= MAX_GEMS_PER_LEVEL) { in update()
351 InventoryComponent.UpdateRecord inventory = mInventory.getRecord(); in stateMove() local
352 if (inventory.rubyCount == 1) { in stateMove()
354 } else if (inventory.rubyCount == 2) { in stateMove()
544 public final void setInventory(InventoryComponent inventory) { in setInventory() argument
545 mInventory = inventory; in setInventory()
DAnimationComponent.java175 InventoryComponent.UpdateRecord inventory = mInventory.getRecord(); in update() local
176 final int rubyCount = inventory.rubyCount; in update()
379 public void setInventory(InventoryComponent inventory) { in setInventory() argument
380 mInventory = inventory; in setInventory()
/external/icu/icu4c/source/data/translit/
Dzu_zu_FONIPA.txt12 # These rules transcribe isiZulu into the phoneme inventory used within the
27 # avoid ambiguity and make the phoneme inventory uniquely decodable.
Dxh_xh_FONIPA.txt12 # These rules transcribe isiXhosa into the phoneme inventory used within the
27 # avoid ambiguity and make the phoneme inventory uniquely decodable.
/external/autotest/server/site_tests/brillo_ProcLibMemoryInventory/
Dcontrol13 Take inventory of process and shared lib unique RSS on a Brillo device.
/external/flatbuffers/tests/MyGame/Example/
DMonster.php395 …ion createMonster(FlatBufferBuilder $builder, $pos, $mana, $hp, $name, $inventory, $color, $test_t… argument
402 self::addInventory($builder, $inventory);
476 public static function addInventory(FlatBufferBuilder $builder, $inventory) argument
478 $builder->addOffsetX(5, $inventory, 0);
DMonster.java29 …public int inventory(int j) { int o = __offset(14); return o != 0 ? bb.get(__vector(o) + j * 1) & … in inventory() method in Monster
32 …an mutateInventory(int j, int inventory) { int o = __offset(14); if (o != 0) { bb.put(__vector(o) … in mutateInventory() argument
/external/autotest/contrib/
Dinventory_options12 # that invokes the inventory scripts is installed and enabled on
/external/flatbuffers/docs/source/
DTutorial.md159 inventory:[ubyte]; // Vector of scalars.
592 let's fill his inventory with some potential treasures that can be taken once he
604 // Create a `vector` representing the inventory of the Orc. Each number
607 auto inventory = builder.CreateVector(treasure, 10);
615 // Create a `vector` representing the inventory of the Orc. Each number
626 // Create a `vector` representing the inventory of the Orc. Each number
642 // Create a `vector` representing the inventory of the Orc. Each number
657 # Create a `vector` representing the inventory of the Orc. Each number
671 // Create a `vector` representing the inventory of the Orc. Each number
682 // Create a `vector` representing the inventory of the Orc. Each number
[all …]

12