Searched refs:octets (Results 1 – 7 of 7) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | packet.cc | 35 bool Packet::AddPayloadOctets(size_t octets, const vector<uint8_t>& bytes) { in AddPayloadOctets() argument 36 if (octets + payload_.size() > kMaxPacketOctets) return false; in AddPayloadOctets() 38 if (octets != bytes.size()) return false; in AddPayloadOctets() 46 bool Packet::AddPayloadOctets(size_t octets, uint64_t value) { in AddPayloadOctets() argument 51 if (octets > sizeof(uint64_t)) return false; in AddPayloadOctets() 53 for (size_t i = 0; i < octets; i++) { in AddPayloadOctets() 60 return AddPayloadOctets(octets, val_vector); in AddPayloadOctets()
|
D | bt_address.cc | 54 bool BtAddress::FromVector(const vector<uint8_t>& octets) { in FromVector() argument 55 if (octets.size() < kOctets) return false; in FromVector() 59 uint64_t to_shift = octets[i]; in FromVector() 65 void BtAddress::ToVector(vector<uint8_t>& octets) const { in ToVector() 67 octets.push_back(address_ >> (8 * i)); in ToVector()
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
D | bt_address.h | 73 bool FromVector(const std::vector<uint8_t>& octets); 76 void ToVector(std::vector<uint8_t>& octets) const;
|
D | packet.h | 53 bool AddPayloadOctets(size_t octets, const std::vector<uint8_t>& bytes); 59 bool AddPayloadOctets(size_t octets, uint64_t value);
|
/system/tpm/trunks/generator/ |
D | raw_structures_fixed.txt | 1146 are "packed" with no octets of padding between structure elements. The TPM-internal form of the 2096 25 octets. This is not the preferred way to indicate 2111 an array that may have between 20 and 25 octets 2113 code generation to allocate 25 octets to store the 2138 In some structures, a size field is present to indicate the number of octets in some subsequent par… 2139 structure. In the B_STRUCT table in 4.11, value4 indicates how many octets to unmarshal for array2.… 2140 semantic applies when the size field determines the number of octets to unmarshal. However, in some 2143 shows a structure where the size parameter would nominally indicate the number of octets in the 2167 …ble parser is able to know that the purpose of the size parameter is to define the number of octets 2304 The first parameter is the size in octets of the second parameter. The second parameter may be [all …]
|
D | raw_structures.txt | 1146 are "packed" with no octets of padding between structure elements. The TPM-internal form of the 2096 25 octets. This is not the preferred way to indicate 2111 an array that may have between 20 and 25 octets 2113 code generation to allocate 25 octets to store the 2138 In some structures, a size field is present to indicate the number of octets in some subsequent par… 2139 structure. In the B_STRUCT table in 4.11, value4 indicates how many octets to unmarshal for array2.… 2140 semantic applies when the size field determines the number of octets to unmarshal. However, in some 2143 shows a structure where the size parameter would nominally indicate the number of octets in the 2167 …ble parser is able to know that the purpose of the size parameter is to define the number of octets 2304 The first parameter is the size in octets of the second parameter. The second parameter may be [all …]
|
D | raw_commands_fixed.txt | 1150 buffer that is loaded by some hardware process, the number of octets in the input buffer for the 1314 last UINT32 contains the authorizationSize octets, which are not counted as being in the 1327 3) If the maximum allowed number of sessions have been unmarshaled and fewer octets than 1637 the input buffer did not contain enough octets to allow unmarshaling of the 3632 The TPM shall return TPM_RC_SIZE if nonceCaller is less than 16 octets or is greater than the size … 3691 shall be at least 16 octets 3805 nonce less than 16 octets or greater than the size of the digest 6363 Size of outData is limited to be no more than 128 octets. 8366 hLen ≔ the number of octets in the digest produced by the hash algorithm used in the process 8675 The returned value may include leading octets zeros so that it is the same size as the public modul… [all …]
|