/external/autotest/site_utils/ |
D | lab_inventory.py | 552 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 …]
|
D | lab_inventory_unittest.py | 484 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 …]
|
/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
D | FlatBuffersMonsterWriterTests.swift | 84 Monster1.addVectorOf(inventory: inv, fbb) in createMonster() 110 XCTAssertEqual(monster.mutate(inventory: 1, at: 0), true) in mutateMonster() 111 XCTAssertEqual(monster.mutate(inventory: 2, at: 1), true) in mutateMonster() 112 XCTAssertEqual(monster.mutate(inventory: 3, at: 2), true) in mutateMonster() 113 XCTAssertEqual(monster.mutate(inventory: 4, at: 3), true) in mutateMonster() 114 XCTAssertEqual(monster.mutate(inventory: 5, at: 4), true) in mutateMonster() 117 XCTAssertEqual(monster.inventory(at: i), Byte(i + 1)) in mutateMonster() 120 XCTAssertEqual(monster.mutate(inventory: 0, at: 0), true) in mutateMonster() 121 XCTAssertEqual(monster.mutate(inventory: 1, at: 1), true) in mutateMonster() 122 XCTAssertEqual(monster.mutate(inventory: 2, at: 2), true) in mutateMonster() [all …]
|
D | FlatBuffersUnionTests.swift | 38 let inventory: [UInt8] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] in testEndTableFinish() variable 39 let inv = builder.createVector(inventory, size: 10) in testEndTableFinish() 49 inventory: inv, in testEndTableFinish() 145 inventory: Offset<UOffset>, 155 builder.add(offset: inventory, at: 5)
|
/external/flatbuffers/tests/ |
D | KotlinTest.kt | 119 invsum += monster.inventory(i) in TestBuffer() 202 val inventory = byteArrayOf(0, 1, 2, 3, 4) in TestCreateByteVector() constant 203 val vec = fbb.createByteVector(inventory) in TestCreateByteVector() 211 assert(monsterObject.inventory(1) == inventory[1].toUByte()) in TestCreateByteVector() 212 assert(monsterObject.inventoryLength == inventory.size) in TestCreateByteVector() 213 assert(ByteBuffer.wrap(inventory) == monsterObject.inventoryAsByteBuffer) in TestCreateByteVector() 219 val inventory = byteArrayOf(0, 1, 2, 3, 4) in TestCreateUninitializedVector() constant 220 val bb = fbb.createUnintializedVector(1, inventory.size, 1) in TestCreateUninitializedVector() 221 for (i in inventory) { in TestCreateUninitializedVector() 232 assert(monsterObject.inventory(1) == inventory[1].toUByte()) in TestCreateUninitializedVector() [all …]
|
D | JavaTest.java | 142 invsum += monster.inventory(i); in TestBuffer() 246 byte[] inventory = new byte[] { 0, 1, 2, 3, 4 }; in TestCreateByteVector() 247 int vec = fbb.createByteVector(inventory); in TestCreateByteVector() 255 TestEq(monsterObject.inventory(1), (int)inventory[1]); in TestCreateByteVector() 256 TestEq(monsterObject.inventoryLength(), inventory.length); in TestCreateByteVector() 258 TestEq(inventoryVector.getAsUnsigned(1), (int)inventory[1]); in TestCreateByteVector() 259 TestEq(inventoryVector.length(), inventory.length); in TestCreateByteVector() 261 TestEq(ByteBuffer.wrap(inventory), monsterObject.inventoryAsByteBuffer()); in TestCreateByteVector() 267 byte[] inventory = new byte[] { 0, 1, 2, 3, 4 }; in TestCreateUninitializedVector() 268 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 208 builder, &vec, 150, 80, name, inventory, Color_Blue, Any_Monster, in CreateFlatBufferTest() 278 auto inventory = monster->inventory(); in AccessFlatBufferTest() local 279 TEST_EQ(VectorLength(inventory), 10UL); // Works even if inventory is null. in AccessFlatBufferTest() 280 TEST_NOTNULL(inventory); in AccessFlatBufferTest() 283 std::vector<unsigned char> inv_vec(inventory->begin(), inventory->end()); in AccessFlatBufferTest() 285 for (auto it = inventory->begin(); it != inventory->end(); ++it, ++n) { in AccessFlatBufferTest() 286 auto indx = it - inventory->begin(); in AccessFlatBufferTest() 293 for (auto it = inventory->cbegin(); it != inventory->cend(); ++it, ++n) { in AccessFlatBufferTest() 294 auto indx = it - inventory->cbegin(); in AccessFlatBufferTest() [all …]
|
/external/flatbuffers/samples/ |
D | sample_binary.rs | 56 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()
|
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 | 229 std::vector<uint8_t> inventory; 247 (lhs.inventory == rhs.inventory) && 301 const flatbuffers::Vector<uint8_t> *inventory() const { 346 verifier.VerifyVector(inventory()) && 383 void add_inventory(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory) { 384 fbb_.AddOffset(Monster::VT_INVENTORY, inventory); 419 flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory = 0, 429 builder_.add_inventory(inventory); 445 const std::vector<uint8_t> *inventory = nullptr, 452 auto inventory__ = inventory ? _fbb.CreateVector<uint8_t>(*inventory) : 0; [all …]
|
D | sample_binary.swift | 27 let inventory: [Byte] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] in main() variable 28 let inventoryOffset = builder.createVector(inventory) in main() 54 assert(i == monster.inventory(at: i)) in main()
|
D | monster_generated.lobster | 46 def inventory(i:int): 84 def add_inventory(inventory:flatbuffers_offset): 85 b_.PrependUOffsetTRelativeSlot(5, inventory)
|
D | monster_generated.rs | 245 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/ |
D | buildbff.sh | 30 inventory=`dirname $0`/inventory.sh # absolute path 32 inventory=`pwd`/`dirname $0`/inventory.sh # relative path 166 $inventory >../openssh.inventory 291 for i in openssh.al openssh.copyright openssh.inventory openssh.post_i openssh.size LICENCE README*
|
/external/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;
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | PlayerComponent.java | 229 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()
|
D | AnimationComponent.java | 175 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/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)))
|
/external/flatbuffers/tests/rust_usage_test/benches/ |
D | flatbuffers_benchmarks.rs | 88 let inventory = builder.create_vector_direct(&[0u8, 1, 2, 3, 4]); in create_serialized_example_with_generated_code() localVariable 102 inventory: Some(inventory), in create_serialized_example_with_generated_code() 145 blackbox(m.inventory()); in traverse_serialized_example_with_generated_code()
|
/external/cldr/tools/scripts/ansible/ |
D | ansible.cfg | 2 inventory = ./hosts
|
/external/autotest/contrib/ |
D | run-pool-inventory | 7 $SCRIPT_DIR/run-inventory $OPTIONS "${POOL_NOTIFY[@]}"
|
D | run-board-inventory | 7 $SCRIPT_DIR/run-inventory $OPTIONS "${MODEL_NOTIFY[@]}"
|
D | run-loop-detection | 7 $SCRIPT_DIR/run-inventory $OPTIONS "${UNTESTABLE_DETECT[@]}"
|
D | run-model-inventory | 7 $SCRIPT_DIR/run-inventory $OPTIONS "${MODEL_NOTIFY[@]}"
|
/external/flatbuffers/tests/MyGame/Example/ |
D | Monster.py | 727 …rAddInventory(builder, inventory): builder.PrependUOffsetTRelativeSlot(5, flatbuffers.number_types… argument 815 self.inventory = None # type: List[int] 883 self.inventory = [] 885 self.inventory.append(monster.Inventory(i)) 887 self.inventory = monster.InventoryAsNumpy() 1041 if self.inventory is not None: 1042 if np is not None and type(self.inventory) is np.ndarray: 1043 inventory = builder.CreateNumpyVector(self.inventory) 1045 MonsterStartInventoryVector(builder, len(self.inventory)) 1046 for i in reversed(range(len(self.inventory))): [all …]
|