Searched defs:vector (Results 1 - 8 of 8) sorted by relevance
/system/core/libutils/tests/ |
H A D | Vector_test.cpp | 40 Vector<int> vector; local 42 vector.setCapacity(8); 44 vector.add(1); 45 vector.add(2); 46 vector.add(3); 48 EXPECT_EQ(vector.size(), 3); 50 // copy the vector 51 other = vector; 55 // add an element to the first vector 56 vector [all...] |
/system/core/include/utils/ |
H A D | SortedVector.h | 55 * empty the vector 61 * vector stats 64 //! returns number of items in the vector 66 //! returns whether or not the vector is empty 99 //! stack-usage of the vector. returns the top of the stack (last element) 114 //! merges a vector into this one 115 ssize_t merge(const Vector<TYPE>& vector); 116 ssize_t merge(const SortedVector<TYPE>& vector); 221 ssize_t SortedVector<TYPE>::merge(const Vector<TYPE>& vector) { argument 222 return SortedVectorImpl::merge(reinterpret_cast<const VectorImpl&>(vector)); 226 merge(const SortedVector<TYPE>& vector) argument [all...] |
H A D | Vector.h | 37 * The main templated vector class ensuring type safety 65 * empty the vector 71 * vector stats 74 //! returns number of items in the vector 76 //! returns whether or not the vector is empty 84 * set the size of the vector. items are appended with the default 106 //! stack-usage of the vector. returns the top of the stack (last element) 119 * append/insert another vector 122 //! insert another vector at a given index 123 ssize_t insertVectorAt(const Vector<TYPE>& vector, size_ 307 insertVectorAt(const Vector<TYPE>& vector, size_t index) argument 312 appendVector(const Vector<TYPE>& vector) argument [all...] |
/system/core/libpixelflinger/codeflinger/tinyutils/ |
H A D | Vector.h | 36 * The main templated vector class ensuring type safety 60 * empty the vector 66 * vector stats 69 //! returns number of items in the vector 71 //! returns wether or not the vector is empty 95 //! stack-usage of the vector. returns the top of the stack (last element) 97 //! same as operator [], but allows to access the vector backward (from the end) with a negative index 110 * append/insert another vector 113 //! insert another vector at a given index 114 ssize_t insertVectorAt(const Vector<TYPE>& vector, size_ 256 insertVectorAt(const Vector<TYPE>& vector, size_t index) argument 261 appendVector(const Vector<TYPE>& vector) argument [all...] |
H A D | VectorImpl.cpp | 112 ssize_t VectorImpl::insertVectorAt(const VectorImpl& vector, size_t index) argument 116 void* where = _grow(index, vector.size()); 118 _do_copy(where, vector.arrayImpl(), vector.size()); 123 ssize_t VectorImpl::appendVector(const VectorImpl& vector) argument 125 return insertVectorAt(vector, size()); 286 // ALOGV("grow vector %p, new_capacity=%d", this, (int)new_capacity); 339 // ALOGV("shrink vector %p, new_capacity=%d", this, (int)new_capacity); 497 ssize_t SortedVectorImpl::merge(const VectorImpl& vector) argument 500 if (!vector 514 merge(const SortedVectorImpl& vector) argument [all...] |
/system/core/libutils/ |
H A D | VectorImpl.cpp | 109 ssize_t VectorImpl::insertVectorAt(const VectorImpl& vector, size_t index) argument 111 return insertArrayAt(vector.arrayImpl(), index, vector.size()); 114 ssize_t VectorImpl::appendVector(const VectorImpl& vector) argument 116 return insertVectorAt(vector, size()); 379 // ALOGV("grow vector %p, new_capacity=%d", this, (int)new_capacity); 432 // ALOGV("shrink vector %p, new_capacity=%d", this, (int)new_capacity); 578 ssize_t SortedVectorImpl::merge(const VectorImpl& vector) 581 if (!vector.isEmpty()) { 582 const void* buffer = vector [all...] |
/system/core/liblog/ |
H A D | fake_log_device.c | 536 * Receive a log message. We happen to know that "vector" has three parts: 542 static ssize_t logWritev(int fd, const struct iovec* vector, int count) argument 570 int logPrio = *(const char*)vector[0].iov_base; 571 const char* tag = (const char*) vector[1].iov_base; 572 const char* msg = (const char*) vector[2].iov_base; 596 return vector[0].iov_len + vector[1].iov_len + vector[2].iov_len; 643 static ssize_t (*redirectWritev)(int fd, const struct iovec* vector, int count) 681 ssize_t fakeLogWritev(int fd, const struct iovec* vector, in argument [all...] |
/system/security/keystore/ |
H A D | keystore.cpp | 394 uint8_t vector[AES_BLOCK_SIZE]; member in struct:blob 505 if (!entropy->generate_random_data(mBlob.vector, AES_BLOCK_SIZE)) { 528 uint8_t vector[AES_BLOCK_SIZE]; local 529 memcpy(vector, mBlob.vector, AES_BLOCK_SIZE); 531 aes_key, vector, AES_ENCRYPT); 595 mBlob.vector, AES_DECRYPT);
|
Completed in 3786 milliseconds