Home
last modified time | relevance | path

Searched defs:array (Results 1 – 25 of 30) sorted by relevance

12

/system/bt/osi/src/
Darray.cc45 array_t* array = static_cast<array_t*>( in array_new() local
54 void array_free(array_t* array) { in array_free()
62 void* array_ptr(const array_t* array) { return array_at(array, 0); } in array_ptr()
64 void* array_at(const array_t* array, size_t index) { in array_at()
70 size_t array_length(const array_t* array) { in array_length()
75 bool array_append_value(array_t* array, uint32_t value) { in array_append_value()
79 bool array_append_ptr(array_t* array, void* data) { in array_append_ptr()
96 static bool grow(array_t* array) { in grow()
/system/bt/osi/test/
Darray_test.cc10 array_t* array = array_new(4); in TEST_F() local
18 array_t* array = array_new(4); in TEST_F() local
24 array_t* array = array_new(4); in TEST_F() local
30 array_t* array = array_new(sizeof(int)); in TEST_F() local
42 array_t* array = array_new(sizeof(int)); in TEST_F() local
59 array_t* array = array_new(128); in TEST_F() local
/system/core/libutils/
DVectorImpl.cpp126 ssize_t VectorImpl::insertArrayAt(const void* array, size_t index, size_t length) in insertArrayAt()
137 ssize_t VectorImpl::appendArray(const void* array, size_t length) in appendArray()
179 void* array = const_cast<void*>(arrayImpl()); in sort() local
348 void* array = sb->data(); in setCapacity() local
426 void* array = sb->data(); in _grow() local
442 void* array = editArrayImpl(); in _grow() local
493 void* array = sb->data(); in _shrink() local
509 void* array = editArrayImpl(); in _shrink() local
/system/chre/util/include/chre/util/
Dmacros.h23 #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) argument
Ddynamic_vector_impl.h232 bool DynamicVector<ElementType>::copy_array(const ElementType *array, in copy_array()
288 void DynamicVector<ElementType>::wrap(ElementType *array, size_type elementCount) { in wrap()
/system/libhidl/
Dtest_main.cpp179 int32_t array[] = {5, 6, 7}; in TEST_F() local
197 int32_t array[] = {5, 6, 7}; in TEST_F() local
235 int32_t array[] = {5, 6, 7}; in TEST_F() local
291 int32_t array[] = {5, 6, 7}; in TEST_F() local
335 hidl_array<int32_t, 5> array{(int32_t[5]){1, 2, 3, 4, 5}}; in TEST_F() local
344 hidl_array<int32_t, 2, 3> array; in TEST_F() local
/system/extras/perfprofd/quipper/
Dperf_utils.cc43 string HexToString(const u8* array, size_t length) { in HexToString()
55 bool StringToHex(const string& str, u8* array, size_t length) { in StringToHex()
Dperf_reader.cc250 const uint64_t* ReadReadInfo(const uint64_t* array, in ReadReadInfo()
272 const uint64_t* ReadCallchain(const uint64_t* array, in ReadCallchain()
298 const uint64_t* ReadRawData(const uint64_t* array, in ReadRawData()
321 const uint64_t* ReadBranchStack(const uint64_t* array, in ReadBranchStack()
352 const uint64_t* array, in ReadPerfSampleFromData()
514 uint64_t* array) { in WritePerfSampleToData()
/system/chre/util/tests/
Dheap_test.cc28 std::array<int, MaxSize> array; in TEST() local
68 std::array<int, MaxSize> array; in TEST() local
Ddynamic_vector_test.cc480 Dummy array[4]; in TEST() local
500 Dummy array[4]; in TEST() local
832 Dummy array[kSize]; in TEST() local
/system/core/base/include/android-base/
Dmacros.h75 #define arraysize(array) (sizeof(ArraySizeHelper(array))) argument
/system/core/libutils/include/utils/
DVector.h276 const TYPE* Vector<TYPE>::array() const { in array() function
325 ssize_t Vector<TYPE>::insertArrayAt(const TYPE* array, size_t index, size_t length) { in insertArrayAt()
330 ssize_t Vector<TYPE>::appendArray(const TYPE* array, size_t length) { in appendArray()
DSortedVector.h189 const TYPE* SortedVector<TYPE>::array() const { in array() function
/system/extras/perfprofd/quipper/base/
Dmacros.h74 #define arraysize(array) (sizeof(ArraySizeHelper(array))) argument
/system/bt/stack/pan/
Dpan_utils.cc113 uint8_t array[10], *p; in pan_register_with_sdp() local
/system/tools/aidl/tests/
Daidl_test_client_file_descriptors.cpp142 vector<unique_fd> array; in ConfirmFileDescriptorArrays() local
/system/extras/simpleperf/
Dperf_clock.cpp58 TryMmap array[TRY_MMAP_COUNT]; in ThreadA() local
/system/chre/apps/chqts/src/shared/
Dnano_string_test.cc155 char array[kAsciiLen + 1]; in testHexAscii() local
/system/extras/latencytop/
Dlatencytop.c370 struct latency_entry *e, **array; in print_latency_entries() local
/system/keymaster/include/keymaster/
Dandroid_keymaster_utils.h169 ArrayWrapper(T* array, size_t size) : begin_(array), end_(array + size) {} in ArrayWrapper()
/system/core/libnetutils/
Ddhcpclient.c237 static void hex2str(char *buf, size_t buf_size, const unsigned char *array, int len) in hex2str()
/system/bt/stack/include/
Dsdp_api.h98 uint8_t array[4]; /* Variable length field */ member
/system/nvram/client/
Dnvram_client.c25 #define countof(array) (sizeof(array) / sizeof((array)[0])) argument
/system/tpm/attestation/server/
Dpkcs11_key_store_test.cc280 CK_ATTRIBUTE_PTR array = parsed.attributes(); in GetValue() local
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java868 public String[] haveSomeStrings(String[] array) { in haveSomeStrings()

12