Home
last modified time | relevance | path

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

/system/bt/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()
/system/bt/stack/test/fuzzers/sdp/
DsdpFuzzHelpers.h183 FuzzedDataProvider* fdp, uint16_t* array_size) { in generateArbitrarySdpProtocolElementListArray() argument
184 *array_size = fdp->ConsumeIntegralInRange<uint16_t>(0, SDP_MAX_ATTR_LEN); in generateArbitrarySdpProtocolElementListArray()
185 if (*array_size == 0) { in generateArbitrarySdpProtocolElementListArray()
189 calloc(*array_size, sizeof(tSDP_PROTO_LIST_ELEM*))); in generateArbitrarySdpProtocolElementListArray()
195 for (uint16_t i = 0; i < *array_size; i++, p++) { in generateArbitrarySdpProtocolElementListArray()
/system/keymaster/include/keymaster/
Dmem.h35 template <typename T, size_t N> inline size_t array_size(const T (&a)[N]) { in array_size() function
/system/media/audio_utils/
DPowerLog.cpp38 constexpr size_t array_size(const T(&)[N]) in array_size() function