/device/generic/goldfish/wifi/ipv6proxy/ |
message.h | 22 size_t capacity() const { return sizeof(mData); } function in class:Message
|
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/ |
stream_map.h | 37 size_t capacity; member in struct:__anon23057
|
/external/google-fruit/include/fruit/impl/data_structures/ |
fixed_size_vector.h | 27 * Similar to std::vector<T>, but the capacity is fixed at construction time, and no reallocations ever happen. 40 std::size_t capacity; member in class:fruit::impl::FixedSizeVector 47 FixedSizeVector(std::size_t capacity = 0, Allocator allocator = Allocator()); 48 // Creates a vector with the specified size (and equal capacity) initialized with the specified value. 52 // Copy construction is not allowed, you need to specify the capacity in order to construct the copy. 54 FixedSizeVector(const FixedSizeVector& other, std::size_t capacity); 66 // This yields undefined behavior (instead of reallocating) if the vector's capacity is exceeded. 71 // Removes all elements, so size() becomes 0 (but maintains the capacity).
|
memory_pool.h | 37 // The memory block [first_free, first_free + capacity) is available for allocation 39 std::size_t capacity; member in class:fruit::impl::MemoryPool
|
/external/grpc-grpc/src/core/lib/gpr/ |
string.h | 98 size_t capacity; member in struct:__anon23097
|
/external/icu/icu4c/source/i18n/ |
bocsu.cpp | 103 int32_t capacity; local 107 char *buffer=sink.GetAppendBuffer(1, length*2, scratch, (int32_t)sizeof(scratch), &capacity); 109 // We must have capacity>=SLOPE_MAX_BYTES in case u_writeDiff() writes that much, 112 if(capacity<16) { 114 capacity=(int32_t)sizeof(scratch); 117 uint8_t *lastSafe=p+capacity-SLOPE_MAX_BYTES;
|
number_stringbuilder.h | 31 int32_t capacity; member in struct:number::impl::NumberStringBuilder::ValueOrHeapArray::__anon24004 135 return fUsingHeap ? fChars.heap.capacity : DEFAULT_CAPACITY;
|
/external/icu/icu4c/source/test/intltest/ |
textfile.h | 59 UBool ensureCapacity(int32_t capacity); 66 int32_t capacity; member in class:TextFile
|
/external/testng/src/test/java/test/morten/ |
SampleTest.java | 7 private int capacity = 10; field in class:SampleTest 24 public SampleTest(int capacity, float loadFactor) 26 System.out.println("CREATING TEST WITH " + capacity); 27 this.capacity=capacity; 34 //HashMap hashTable = new HashMap(capacity, loadFactor);
|
/external/u-boot/include/power/ |
battery.h | 14 unsigned int capacity; member in struct:battery
|
/bionic/libc/stdio/ |
fmemopen.cpp | 42 size_t capacity; member in struct:fmemopen_cookie 71 if (static_cast<size_t>(n) + space_for_null > ck->capacity - ck->offset) { 72 n = ck->capacity - ck->offset - space_for_null; 95 if (whence == SEEK_SET && (offset >= 0 && static_cast<size_t>(offset) <= ck->capacity)) { 97 } else if (whence == SEEK_CUR && (ck->offset + offset <= ck->capacity)) { 113 FILE* fmemopen(void* buf, size_t capacity, const char* mode) { 124 ck->capacity = capacity; 126 if (ck->buf == nullptr) ck->buf = ck->allocation = static_cast<char*>(calloc(capacity, 1)); 143 ck->size = strnlen(ck->buf, ck->capacity); [all...] |
/external/deqp/framework/delibs/depool/ |
dePoolArray.h | 44 int capacity; /*!< Number of allocated elements in the array. */ member in struct:dePoolArray_s 53 deBool dePoolArray_reserve (dePoolArray* arr, int capacity); 100 int capacity; \ 108 DE_INLINE deBool TYPENAME##_reserve (DE_PTR_TYPE(TYPENAME) arr, int capacity) DE_UNUSED_FUNCTION; \ 128 DE_INLINE deBool TYPENAME##_reserve (DE_PTR_TYPE(TYPENAME) arr, int capacity) \ 130 if (capacity > arr->capacity) \ 131 return dePoolArray_reserve((dePoolArray*)arr, capacity); \ 137 if (size > arr->capacity) \ 171 if ((arr->numElements + 1 >= arr->capacity) && !TYPENAME##_reserve(arr, arr->numElements + 1)) [all...] |
/external/flac/libFLAC/include/private/ |
md5.h | 42 size_t capacity; member in struct:__anon22433
|
/external/grpc-grpc/test/core/util/ |
slice_splitter.cc | 112 size_t capacity = 0; local 116 if (GRPC_SLICE_LENGTH(slices[i]) + length > capacity) { 117 capacity = GPR_MAX(capacity * 2, GRPC_SLICE_LENGTH(slices[i]) + length); 118 out = static_cast<uint8_t*>(gpr_realloc(out, capacity));
|
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/ |
BufUnwrapper.java | 34 // Set the writer index to the capacity to guarantee that the returned NIO buffers will have 35 // the capacity available. 39 buf.writerIndex(buf.capacity());
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
SimpleCache.java | 28 private int capacity = DEFAULT_CAPACITY; field in class:SimpleCache 42 capacity = initialCapacity; 66 map = Collections.synchronizedMap(new HashMap<K, V>(capacity));
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/ |
SimpleCache.java | 24 private int capacity = DEFAULT_CAPACITY; field in class:SimpleCache 38 capacity = initialCapacity; 60 map = Collections.synchronizedMap(new HashMap<K, V>(capacity));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
SimpleCache.java | 24 private int capacity = DEFAULT_CAPACITY; field in class:SimpleCache 38 capacity = initialCapacity; 62 map = Collections.synchronizedMap(new HashMap<K, V>(capacity));
|
/external/libchrome/base/containers/ |
vector_buffer.h | 22 // Implements a vector-like buffer that holds a certain capacity of T. Unlike 69 size_t capacity() const { return capacity_; } function in class:base::internal::VectorBuffer
|
/external/libchrome/mojo/public/cpp/system/ |
string_data_pipe_producer.cc | 27 // We loop here since the pipe's available capacity may be larger than its 28 // *contiguous* capacity, and hence two independent consecutive two-phase 30 // until we either run out of data or run out of capacity. 33 uint32_t capacity = bytes_left; local 35 producer.BeginWriteData(&dest, &capacity, MOJO_WRITE_DATA_FLAG_NONE); 43 capacity = std::min(capacity, bytes_left); 44 memcpy(dest, data, capacity); 45 MojoResult end_result = producer.EndWriteData(capacity); 48 data += capacity; [all...] |
/external/mesa3d/src/intel/compiler/ |
brw_ir_allocator.h | 37 sizes(NULL), offsets(NULL), count(0), total_size(0), capacity(0) 50 if (capacity <= count) { 51 capacity = MAX2(16, capacity * 2); 52 sizes = (unsigned *)realloc(sizes, capacity * sizeof(unsigned)); 53 offsets = (unsigned *)realloc(offsets, capacity * sizeof(unsigned)); 83 unsigned capacity; member in class:brw::simple_allocator
|
/external/mesa3d/src/util/ |
string_buffer.h | 41 uint32_t capacity; member in struct:_mesa_string_buffer 84 str->capacity); 88 str->capacity = str->length + 1;
|
/external/parameter-framework/asio-1.10.6/include/asio/generic/detail/ |
endpoint.hpp | 87 // Get the capacity of the endpoint in the native type. 88 std::size_t capacity() const function in class:asio::generic::detail::endpoint
|
/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/ |
endpoint.hpp | 79 // Get the capacity of the endpoint in the native type. 80 std::size_t capacity() const function in class:asio::ip::detail::endpoint
|
/external/parameter-framework/asio-1.10.6/include/asio/local/detail/ |
endpoint.hpp | 79 // Get the capacity of the endpoint in the native type. 80 std::size_t capacity() const function in class:asio::local::detail::endpoint
|