Home
last modified time | relevance | path

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

123

/external/autotest/site_utils/
Dlab_inventory.py552 def _reportable_models(inventory, spare_pool=SPARE_POOL): argument
561 for model, poolset in inventory.iteritems():
568 def _all_dut_histories(inventory): argument
569 for poolset in inventory.itervalues():
663 def _generate_repair_recommendation(inventory, num_recommend): argument
687 for model, counts in _reportable_models(inventory):
738 def _generate_model_inventory_message(inventory): argument
764 for model, counts in _reportable_models(inventory):
818 def _generate_pool_inventory_message(inventory): argument
841 for model, counts in inventory.iteritems():
[all …]
Dlab_inventory_unittest.py484 inventory = lab_inventory._LabInventory(
486 return inventory
499 def _check_inventory_counts(self, inventory, data, msg=None): argument
510 self.assertEqual(set(inventory.keys()), set(data.keys()))
511 for model, histories in inventory.iteritems():
539 inventory = create_inventory({})
540 self.assertEqual(inventory.get_num_duts(), 0)
541 self.assertEqual(inventory.get_boards(), set())
542 self._check_inventory_counts(inventory, {})
543 self.assertEqual(inventory.get_num_models(), 0)
[all …]
Dbalance_pools.py472 def _too_many_broken(inventory, pool, args): argument
490 total_num = len(inventory.get_pool_models(pool))
496 broken = [model for model, counts in inventory.iteritems()
625 inventory = lab_inventory.get_inventory(afe)
626 quarantine = _too_many_broken(inventory, pool, arguments)
632 for model in inventory.get_pool_models(pool):
/external/flatbuffers/tests/
DJavaTest.java117 invsum += monster.inventory(i); in TestBuffer()
201 byte[] inventory = new byte[] { 0, 1, 2, 3, 4 }; in TestCreateByteVector()
202 int vec = fbb.createByteVector(inventory); in TestCreateByteVector()
210 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateByteVector()
211 TestEq(monsterObject.inventoryLength(), inventory.length); in TestCreateByteVector()
212 TestEq(ByteBuffer.wrap(inventory), monsterObject.inventoryAsByteBuffer()); in TestCreateByteVector()
218 byte[] inventory = new byte[] { 0, 1, 2, 3, 4 }; in TestCreateUninitializedVector()
219 ByteBuffer bb = fbb.createUnintializedVector(1, inventory.length, 1); in TestCreateUninitializedVector()
220 for (byte i:inventory) { in TestCreateUninitializedVector()
231 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateUninitializedVector()
[all …]
Dtest.cpp70 auto inventory = builder.CreateVector(inv_data, 10); in CreateFlatBufferTest() local
178 auto mloc = CreateMonster(builder, &vec, 150, 80, name, inventory, Color_Blue, in CreateFlatBufferTest()
250 auto inventory = monster->inventory(); in AccessFlatBufferTest() local
251 TEST_EQ(VectorLength(inventory), 10UL); // Works even if inventory is null. in AccessFlatBufferTest()
252 TEST_NOTNULL(inventory); in AccessFlatBufferTest()
255 std::vector<unsigned char> inv_vec(inventory->begin(), inventory->end()); in AccessFlatBufferTest()
256 for (auto it = inventory->begin(); it != inventory->end(); ++it) { in AccessFlatBufferTest()
257 auto indx = it - inventory->begin(); in AccessFlatBufferTest()
262 for (auto it = inventory->cbegin(); it != inventory->cend(); ++it) { in AccessFlatBufferTest()
263 auto indx = it - inventory->cbegin(); in AccessFlatBufferTest()
[all …]
/external/flatbuffers/samples/
Dsample_binary.rs56 let inventory = builder.create_vector(&[0u8, 1, 2, 3, 4, 5, 6, 7, 8, 9]); in main() localVariable
80 inventory: Some(inventory), in main()
123 assert!(monster.inventory().is_some()); in main()
124 let inv = monster.inventory().unwrap(); in main()
Dmonster_generated.h210 std::vector<uint8_t> inventory;
227 (lhs.inventory == rhs.inventory) &&
273 const flatbuffers::Vector<uint8_t> *inventory() const {
315 verifier.VerifyVector(inventory()) &&
349 void add_inventory(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory) {
350 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
382 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory = 0,
390 builder_.add_inventory(inventory);
406 const std::vector<uint8_t> *inventory = nullptr,
412 auto inventory__ = inventory ? _fbb.CreateVector<uint8_t>(*inventory) : 0;
[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_generated.lobster47 def inventory(i:int):
74 def MonsterAddInventory(b_:flatbuffers_builder, inventory:int):
75 b_.PrependUOffsetTRelativeSlot(5, inventory, 0)
Dmonster_generated.rs245 if let Some(x) = args.inventory { builder.add_inventory(x); } in create()
282 pub fn inventory(&'a self) -> Option<&'a [u8]> { in inventory() method
318 pub inventory: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , u8>>>, field
332 inventory: None, in default()
362 pub fn add_inventory(&mut self, inventory: flatbuffers::WIPOffset<flatbuffers::Vector<'b , u8>>) { in add_inventory()
363 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_INVENTORY, inventory); in add_inventory()
/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*
/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/flatbuffers/dart/example/
Dexample.dart50 // 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;
Dmonster_my_game.sample_generated.dart184 …List<int> get inventory => const fb.ListReader<int>(const fb.Uint8Reader()).vTableGet(_bc, _bcOffs…
198 …return 'Monster{pos: $pos, mana: $mana, hp: $hp, name: $name, inventory: $inventory, color: $color…
284 List<int> inventory,
295 _inventory = inventory,
/external/flatbuffers/docs/source/
DPythonUsage.md74 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)))
/external/autotest/contrib/
Dinventory_options12 # that invokes the inventory scripts is installed and enabled on
41 # inventory count to REPAIR_LOOP_DETECT.
42 # + POOL_NOTIFY happens least often. It adds per-pool inventory
Drun-loop-detection7 $SCRIPT_DIR/run-inventory $OPTIONS "${UNTESTABLE_DETECT[@]}"
Drun-model-inventory7 $SCRIPT_DIR/run-inventory $OPTIONS "${MODEL_NOTIFY[@]}"
Drun-board-inventory7 $SCRIPT_DIR/run-inventory $OPTIONS "${MODEL_NOTIFY[@]}"
Drun-pool-inventory7 $SCRIPT_DIR/run-inventory $OPTIONS "${POOL_NOTIFY[@]}"
/external/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs79 let inventory = builder.create_vector_direct(&[0u8, 1, 2, 3, 4]); in create_serialized_example_with_generated_code() localVariable
93 inventory: Some(inventory), in create_serialized_example_with_generated_code()
136 blackbox(m.inventory()); in traverse_serialized_example_with_generated_code()
/external/flatbuffers/tests/rust_usage_test/bin/
Dalloc_check.rs58 inventory: Some(builder.create_vector_direct(&[0u8, 1, 2, 3, 4][..])), in create_serialized_example_with_generated_code()
122 let inv = m.inventory().unwrap(); in main()
/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.

123