/external/libcxx/test/std/experimental/string.view/string.view.capacity/ |
capacity.pass.cpp | 16 // constexpr size_type max_size() const noexcept; 30 static_assert ( sv1.max_size() > sv1.size(), ""); 39 assert ( sv1.max_size() > sv1.size()); 51 assert ( sv1.max_size() > sv1.size());
|
/external/libcxx/test/std/strings/basic.string/string.capacity/ |
max_size.pass.cpp | 12 // size_type max_size() const; 31 const size_t sz = s2.max_size() - 1; 42 const size_t sz = s2.max_size(); 52 assert(s.max_size() >= s.size());
|
/external/protobuf/gtest/xcode/Samples/FrameworkSample/ |
widget.cc | 58 void Widget::GetCharPtrValue(char* buffer, size_t max_size) const { 59 // Copy the char* representation of name_ into buffer, up to max_size. 60 strncpy(buffer, name_.c_str(), max_size-1); 61 buffer[max_size-1] = '\0';
|
widget_test.cc | 57 size_t max_size = 128; local 58 char buffer[max_size]; 59 widget.GetCharPtrValue(buffer, max_size);
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/xcode/Samples/FrameworkSample/ |
widget.cc | 58 void Widget::GetCharPtrValue(char* buffer, size_t max_size) const { 59 // Copy the char* representation of name_ into buffer, up to max_size. 60 strncpy(buffer, name_.c_str(), max_size-1); 61 buffer[max_size-1] = '\0';
|
widget_test.cc | 57 size_t max_size = 128; local 58 char buffer[max_size]; 59 widget.GetCharPtrValue(buffer, max_size);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/array.size/ |
size.pass.cpp | 24 assert(c.max_size() == 3); 32 assert(c.max_size() == 0); 41 static_assert(c.max_size() == 3, ""); 49 static_assert(c.max_size() == 0, "");
|
/external/libcxx/test/std/re/re.results/re.results.size/ |
max_size.pass.cpp | 14 // size_type max_size() const; 24 assert(m.max_size() > 0);
|
/external/libcxx/test/std/utilities/memory/default.allocator/allocator.members/ |
max_size.pass.cpp | 13 // size_type max_size() const throw(); 25 std::size_t M = a.max_size() * sizeof(int);
|
/external/vboot_reference/firmware/include/ |
region.h | 46 * @param max_size Maximum size of HWID including terminated null 53 uint32_t max_size);
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
vp8_partition_aggregator.h | 44 bool CreateChildren(size_t max_size); 52 PartitionTreeNode* GetOptimalNode(size_t max_size, size_t penalty); 100 void SetPriorMinMax(int min_size, int max_size); 108 ConfigVec FindOptimalConfiguration(size_t max_size, size_t penalty); 112 // values given in min_size and max_size, and if either of these are exceeded, 114 void CalcMinMax(const ConfigVec& config, int* min_size, int* max_size) const; 120 // [min_size, max_size], an extra cost is inflicted. 125 int max_size);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.results/re.results.size/ |
max_size.pass.cpp | 14 // size_type max_size() const; 24 assert(m.max_size() > 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/default.allocator/allocator.members/ |
max_size.pass.cpp | 13 // size_type max_size() const throw(); 25 std::size_t M = a.max_size() * sizeof(int);
|
/external/regex-re2/util/ |
sparse_set.h | 59 SparseSet(int max_size) { 60 max_size_ = max_size; 61 sparse_to_dense_ = new int[max_size]; 62 dense_ = new int[max_size]; 67 for (int i = 0; i < max_size; i++) { 121 // Indices can be in the range [0, max_size). 122 int max_size() const { return max_size_; } function in class:re2::SparseSet
|
/external/google-breakpad/src/testing/gtest/xcode/Samples/FrameworkSample/ |
widget_test.cc | 57 size_t max_size = 128; local 58 char buffer[max_size]; 59 widget.GetCharPtrValue(buffer, max_size);
|
/external/libchrome/base/containers/ |
mru_cache.h | 68 // The max_size is the size at which the cache will prune its members to when 72 explicit MRUCacheBase(size_type max_size) : max_size_(max_size) { 75 MRUCacheBase(size_type max_size, const DeletorType& deletor) 76 : max_size_(max_size), deletor_(deletor) { 85 size_type max_size() const { return max_size_; } function in class:base::MRUCacheBase 242 explicit MRUCache(typename ParentType::size_type max_size) 243 : ParentType(max_size) { 274 explicit OwningMRUCache(typename ParentType::size_type max_size) 275 : ParentType(max_size) { [all...] |
/external/avahi/avahi-core/ |
dns.c | 41 size_t max_size; local 44 max_size = AVAHI_DNS_PACKET_SIZE_MAX; 46 max_size = mtu - AVAHI_DNS_PACKET_EXTRA_SIZE; 48 max_size = 0; 50 if (max_size < AVAHI_DNS_PACKET_HEADER_SIZE) 51 max_size = AVAHI_DNS_PACKET_HEADER_SIZE; 53 if (!(p = avahi_malloc(sizeof(AvahiDnsPacket) + max_size))) 57 p->max_size = max_size; 300 if (p->size+l > p->max_size) [all...] |
/external/vboot_reference/firmware/lib/ |
region-kernel.c | 66 uint32_t max_size) 71 if (!max_size) 74 StrnAppend(hwid, "{INVALID}", max_size); 85 if (gbb->hwid_size > max_size) {
|
/external/webrtc/webrtc/base/ |
rollingaccumulator.h | 133 const size_t max_size = max_count(); local 137 // Add max_size to prevent underflow. 138 size_t index = (next_index_ + max_size - i - 1) % max_size;
|
/external/conscrypt/src/test/java/org/conscrypt/ |
FileClientSessionCacheTest.java | 36 final int iterations = FileClientSessionCache.MAX_SIZE * 10; 54 assertEquals(FileClientSessionCache.MAX_SIZE, cacheDir.list().length);
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
ByteArrayPool.java | 15 private static final int MAX_SIZE = 2 * 1048 * 1024; 16 private static final int MAX_BYTE_ARRAY_COUNT = MAX_SIZE / TEMP_BYTES_SIZE;
|
/external/libmicrohttpd/src/examples/ |
mhd2spdy_spdy.h | 75 unsigned int max_size, 84 unsigned int max_size,
|
/external/okhttp/okio/okio/src/main/java/okio/ |
SegmentPool.java | 25 static final long MAX_SIZE = 64 * 1024; // 64 KiB. 53 if (byteCount + Segment.SIZE > MAX_SIZE) return; // Pool is full.
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/bin_search_tree_/ |
info_fn_imps.hpp | 60 max_size() const function in class:PB_DS_CLASS_C_DEC 62 return (s_node_allocator.max_size());
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/binary_heap_/ |
info_fn_imps.hpp | 56 max_size() const function in class:PB_DS_CLASS_C_DEC 57 { return s_entry_allocator.max_size(); }
|