Home
last modified time | relevance | path

Searched refs:array_size (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/gd/packet/parser/fields/
Darray_field.cc25 ArrayField::ArrayField(std::string name, int element_size, int array_size, ParseLocation loc) in ArrayField() argument
27 array_size_(array_size) { in ArrayField()
35 ArrayField::ArrayField(std::string name, TypeDef* type_def, int array_size, ParseLocation loc) in ArrayField() argument
37 element_size_(element_field_->GetSize()), array_size_(array_size) { in ArrayField()
/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/
DsdpFuzzHelpers.h191 FuzzedDataProvider* fdp, uint16_t* array_size) { in generateArbitrarySdpProtocolElementListArray() argument
192 *array_size = fdp->ConsumeIntegralInRange<uint16_t>(0, SDP_MAX_ATTR_LEN); in generateArbitrarySdpProtocolElementListArray()
193 if (*array_size == 0) { in generateArbitrarySdpProtocolElementListArray()
197 calloc(*array_size, sizeof(tSDP_PROTO_LIST_ELEM*))); in generateArbitrarySdpProtocolElementListArray()
203 for (uint16_t i = 0; i < *array_size; i++, p++) { in generateArbitrarySdpProtocolElementListArray()