Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 25 of 977) sorted by relevance

12345678910>>...40

/external/nos/host/generic/nugget/proto/nugget/app/keymaster/
Dkeymaster.options1 nugget.app.keymaster.ImportWrappedKeyRequest.initialization_vector max_size:12
2 nugget.app.keymaster.ImportWrappedKeyRequest.gcm_tag max_size:16
3 nugget.app.keymaster.ImportWrappedKeyRequest.masking_key max_size:32
4 nugget.app.keymaster.SetRootOfTrustRequest.digest max_size:32
5 nugget.app.keymaster.SetBootStateRequest.public_key max_size:32
6 nugget.app.keymaster.SetBootStateRequest.boot_hash max_size:32
8 nugget.app.keymaster.ComputeSharedHmacResponse.sharing_check max_size:32
9 nugget.app.keymaster.DTupHandshakeRequest.nonce_client max_size:32
10 nugget.app.keymaster.DTupHandshakeResponse.nonce_citadel max_size:32
11 nugget.app.keymaster.DTupHandshakeResponse.signature max_size:32
[all …]
Dkeymaster_types.options2 nugget.app.keymaster.HmacSharingParameters.seed max_size:32
3 nugget.app.keymaster.HmacSharingParameters.nonce max_size:32
4 nugget.app.keymaster.HardwareAuthToken.mac max_size:32
5 nugget.app.keymaster.VerificationToken.mac max_size:32
6 nugget.app.keymaster.VigoKey.x max_size:64
7 nugget.app.keymaster.VigoSignature.r max_size:32
8 nugget.app.keymaster.VigoSignature.s max_size:32
9 nugget.app.keymaster.VigoSecret.material max_size:32
10 nugget.app.keymaster.VigoSecret.iv max_size:16
11 nugget.app.keymaster.VigoSecret.tag max_size:16
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dsparse_array.h113 explicit SparseArray(int max_size);
159 int max_size() const { in max_size() function
212 if (static_cast<uint32_t>(i) >= static_cast<uint32_t>(max_size())) { in SetInternal()
271 sparse_(src.max_size()), in SparseArray()
272 dense_(src.max_size()) { in SparseArray()
273 std::copy_n(src.sparse_.data(), src.max_size(), sparse_.data()); in SparseArray()
274 std::copy_n(src.dense_.data(), src.max_size(), dense_.data()); in SparseArray()
288 PODArray<int> a(src.max_size());
289 PODArray<IndexValue> b(src.max_size());
294 std::copy_n(src.sparse_.data(), src.max_size(), sparse_.data());
[all …]
Dsparse_set.h72 explicit SparseSetT(int max_size);
109 int max_size() const { in max_size() function
145 if (static_cast<uint32_t>(i) >= static_cast<uint32_t>(max_size())) { in InsertInternal()
198 if (new_max_size > max_size()) { in resize()
199 const int old_max_size = max_size(); in resize()
222 assert(i < max_size()); in contains()
223 if (static_cast<uint32_t>(i) >= static_cast<uint32_t>(max_size())) { in contains()
234 assert(size_ < max_size()); in create_index()
240 template<typename Value> SparseSetT<Value>::SparseSetT(int max_size) : in SparseSetT() argument
241 sparse_(max_size), dense_(max_size) { in SparseSetT()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/libcxx/strings/basic.string/string.capacity/
Dmax_size.pass.cpp26 assert(str.max_size() == std::numeric_limits<std::size_t>::max() - alignment); in full_size()
30 assert(u8str.max_size() == std::numeric_limits<std::size_t>::max() - alignment); in full_size()
35 assert(wstr.max_size() == std::numeric_limits<std::size_t>::max() / sizeof(wchar_t) - alignment); in full_size()
40 assert(u16str.max_size() == std::numeric_limits<std::size_t>::max() / 2 - alignment); in full_size()
41 assert(u32str.max_size() == std::numeric_limits<std::size_t>::max() / 4 - alignment); in full_size()
47 assert(str.max_size() == std::numeric_limits<std::size_t>::max() / 2 - alignment); in half_size()
51 assert(u8str.max_size() == std::numeric_limits<std::size_t>::max() / 2 - alignment); in half_size()
56 …assert(wstr.max_size() == std::numeric_limits<std::size_t>::max() / std::max<size_t>(2ul, sizeof(w… in half_size()
61 assert(u16str.max_size() == std::numeric_limits<std::size_t>::max() / 2 - alignment); in half_size()
62 assert(u32str.max_size() == std::numeric_limits<std::size_t>::max() / 4 - alignment); in half_size()
/external/ltp/testcases/kernel/syscalls/pipe/
Dpipe12.c20 static ssize_t max_size, invalid_size; variable
43 memset(rdbuf, 0, max_size); in verify_pipe()
47 SAFE_WRITE(SAFE_WRITE_ALL, fds[1], wrbuf, max_size); in verify_pipe()
68 if (nbytes == max_size - tc->offset) in verify_pipe()
72 max_size, nbytes); in verify_pipe()
77 SAFE_READ(0, fds[0], rdbuf, max_size); in verify_pipe()
97 max_size = SAFE_FCNTL(fds[1], F_GETPIPE_SZ); in setup()
98 invalid_size = max_size + 4096; in setup()
100 rdbuf = SAFE_MALLOC(max_size); in setup()
/external/arm-trusted-firmware/plat/brcm/board/common/
Dbcm_elog.c37 uint32_t max_size; member
59 if (offset >= elog->max_size) in elog_putchar()
63 if (len < elog->max_size - BCM_ELOG_HEADER_LEN) in elog_putchar()
104 elog->max_size = size; in bcm_elog_init()
137 flush_dcache_range(elog->base, elog->max_size); in bcm_elog_exit()
145 int bcm_elog_copy_log(void *dst, uint32_t max_size) in bcm_elog_copy_log() argument
154 flush_dcache_range(elog->base, max_size); in bcm_elog_copy_log()
162 if (offset >= max_size) { in bcm_elog_copy_log()
169 if (len > max_size - BCM_ELOG_HEADER_LEN) { in bcm_elog_copy_log()
170 len = max_size - BCM_ELOG_HEADER_LEN; in bcm_elog_copy_log()
[all …]
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/
Dmax_size.pass.cpp40 size_t max_size() const in max_size() function
50 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in main()
54 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in main()
60 assert(std::allocator_traits<Alloc >::max_size(a) == 100); in main()
65 assert(std::allocator_traits<A<int> >::max_size(a) == in main()
70 assert(std::allocator_traits<A<int> >::max_size(a) == in main()
75 … static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, ""); in main()
/external/AFLplusplus/instrumentation/
Dcmplog-instructions-pass.cc339 unsigned max_size = 0, cast_size = 0; in hookInstrs() local
409 max_size = 16; in hookInstrs()
411 max_size = 32; in hookInstrs()
413 max_size = 64; in hookInstrs()
415 max_size = 80; in hookInstrs()
417 max_size = 128; in hookInstrs()
452 max_size = intTyOp0->getBitWidth() > intTyOp1->getBitWidth() in hookInstrs()
472 if (!max_size || max_size < 16) { in hookInstrs()
479 if (max_size % 8) { max_size = (((max_size / 8) + 1) * 8); } in hookInstrs()
481 if (max_size > 128) { in hookInstrs()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/memory/allocator.traits/allocator.traits.members/
Dmax_size.pass.cpp39 TEST_CONSTEXPR_CXX20 std::size_t max_size() const in max_size() function
49 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in test()
53 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in test()
59 assert(std::allocator_traits<Alloc >::max_size(a) == 100); in test()
64 assert(std::allocator_traits<A<int> >::max_size(a) == in test()
69 assert(std::allocator_traits<A<int> >::max_size(a) == in test()
74 … static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, ""); in test()
/external/mesa3d/src/gallium/auxiliary/cso_cache/
Dcso_cache.c41 int max_size; member
156 int max_size) in sanitize_hash() argument
159 sc->sanitize_cb(hash, type, max_size, sc->sanitize_data); in sanitize_hash()
164 int max_size, UNUSED void *user_data) in sanitize_cb() argument
169 int max_entries = (max_size > hash_size) ? max_size : hash_size; in sanitize_cb()
170 int to_remove = (max_size < max_entries) * max_entries/4; in sanitize_cb()
171 if (hash_size > max_size) in sanitize_cb()
172 to_remove += hash_size - max_size; in sanitize_cb()
189 sanitize_hash(sc, hash, type, sc->max_size); in cso_insert_state()
251 sc->max_size = 4096; in cso_cache_create()
[all …]
/external/virglrenderer/src/gallium/auxiliary/cso_cache/
Dcso_cache.c41 int max_size; member
160 int max_size) in sanitize_hash() argument
163 sc->sanitize_cb(hash, type, max_size, sc->sanitize_data); in sanitize_hash()
168 int max_size, UNUSED void *user_data) in sanitize_cb() argument
173 int max_entries = (max_size > hash_size) ? max_size : hash_size; in sanitize_cb()
174 int to_remove = (max_size < max_entries) * max_entries/4; in sanitize_cb()
175 if (hash_size > max_size) in sanitize_cb()
176 to_remove += hash_size - max_size; in sanitize_cb()
193 sanitize_hash(sc, hash, type, sc->max_size); in cso_insert_state()
255 sc->max_size = 4096; in cso_cache_create()
[all …]
/external/libchrome/base/task/sequence_manager/
Dlazily_deallocated_deque_unittest.cc99 EXPECT_EQ(1000u, d.max_size()); in TEST_F()
107 EXPECT_EQ(1000u, d.max_size()); in TEST_F()
113 EXPECT_EQ(10u, d.max_size()); in TEST_F()
129 EXPECT_EQ(1010u, d.max_size()); in TEST_F()
136 EXPECT_EQ(1010u, d.max_size()); in TEST_F()
141 EXPECT_EQ(1010u, d.max_size()); in TEST_F()
145 EXPECT_EQ(1008u, d.max_size()); in TEST_F()
161 EXPECT_EQ(0u, d.max_size()); in TEST_F()
179 EXPECT_EQ(1000u, d.max_size()); in TEST_F()
187 EXPECT_EQ(1000u, d.max_size()); in TEST_F()
[all …]
/external/pcre/src/sljit/
DsljitUtils.c175 …it_stack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_… in sljit_allocate_stack() argument
182 if (start_size > max_size || start_size < 1) in sljit_allocate_stack()
189 ptr = SLJIT_MALLOC(max_size, allocator_data); in sljit_allocate_stack()
196 stack->end = stack->min_start + max_size; in sljit_allocate_stack()
239 …it_stack* SLJIT_FUNC sljit_allocate_stack(sljit_uw start_size, sljit_uw max_size, void *allocator_… in sljit_allocate_stack() argument
247 if (start_size > max_size || start_size < 1) in sljit_allocate_stack()
256 max_size = (max_size + page_align) & ~page_align; in sljit_allocate_stack()
259 ptr = VirtualAlloc(NULL, max_size, MEM_RESERVE, PAGE_READWRITE); in sljit_allocate_stack()
266 stack->end = stack->min_start + max_size; in sljit_allocate_stack()
275 ptr = mmap(NULL, max_size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0); in sljit_allocate_stack()
[all …]
/external/libcxx/test/std/containers/sequences/vector/vector.capacity/
Dmax_size.pass.cpp28 assert(c.max_size() <= 10); in main()
29 LIBCPP_ASSERT(c.max_size() == 10); in main()
37 assert(c.max_size() <= max_dist); in main()
38 LIBCPP_ASSERT(c.max_size() == max_dist); in main()
45 assert(c.max_size() <= max_dist); in main()
46 assert(c.max_size() <= alloc_max_size(c.get_allocator())); in main()
/external/libcxx/test/std/containers/sequences/forwardlist/
Dmax_size.pass.cpp28 assert(c.max_size() <= 10); in main()
29 LIBCPP_ASSERT(c.max_size() == 10); in main()
37 assert(c.max_size() <= max_dist); in main()
38 LIBCPP_ASSERT(c.max_size() == max_dist); in main()
45 assert(c.max_size() <= max_dist); in main()
46 assert(c.max_size() <= alloc_max_size(c.get_allocator())); in main()
/external/libcxx/test/std/containers/sequences/deque/deque.capacity/
Dmax_size.pass.cpp27 assert(c.max_size() <= 10); in main()
28 LIBCPP_ASSERT(c.max_size() == 10); in main()
36 assert(c.max_size() <= max_dist); in main()
37 LIBCPP_ASSERT(c.max_size() == max_dist); in main()
44 assert(c.max_size() <= max_dist); in main()
45 assert(c.max_size() <= alloc_max_size(c.get_allocator())); in main()
/external/libcxx/test/std/containers/sequences/list/list.capacity/
Dmax_size.pass.cpp27 assert(c.max_size() <= 10); in main()
28 LIBCPP_ASSERT(c.max_size() == 10); in main()
36 assert(c.max_size() <= max_dist); in main()
37 LIBCPP_ASSERT(c.max_size() == max_dist); in main()
44 assert(c.max_size() <= max_dist); in main()
45 assert(c.max_size() <= alloc_max_size(c.get_allocator())); in main()
/external/libprotobuf-mutator/src/libfuzzer/
Dlibfuzzer_macro.cc132 size_t max_size = message.ByteSizeLong() + output.size(); in GetMaxSize() local
133 max_size -= std::min(max_size, input.size()); in GetMaxSize()
134 return max_size; in GetMaxSize()
141 size_t max_size = GetMaxSize(input, *output, *message); in MutateMessage() local
142 GetMutator()->Mutate(message, max_size); in MutateMessage()
158 size_t max_size = GetMaxSize(input1, *output, *message1); in CrossOverMessages() local
159 GetMutator()->CrossOver(*message2, message1, max_size); in CrossOverMessages()
168 size_t MutateTextMessage(uint8_t* data, size_t size, size_t max_size, in MutateTextMessage() argument
171 TextOutputWriter output(data, max_size); in MutateTextMessage()
186 size_t MutateBinaryMessage(uint8_t* data, size_t size, size_t max_size, in MutateBinaryMessage() argument
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/deque/deque.capacity/
Dmax_size.pass.cpp26 assert(c.max_size() <= 10); in main()
27 LIBCPP_ASSERT(c.max_size() == 10); in main()
35 assert(c.max_size() <= max_dist); in main()
36 LIBCPP_ASSERT(c.max_size() == max_dist); in main()
43 assert(c.max_size() <= max_dist); in main()
44 assert(c.max_size() <= alloc_max_size(c.get_allocator())); in main()
/external/libcxx/test/std/containers/associative/set/
Dmax_size.pass.cpp30 assert(c.max_size() <= 10); in main()
31 LIBCPP_ASSERT(c.max_size() == 10); in main()
39 assert(c.max_size() <= max_dist); in main()
40 LIBCPP_ASSERT(c.max_size() == max_dist); in main()
47 assert(c.max_size() <= max_dist); in main()
48 assert(c.max_size() <= alloc_max_size(c.get_allocator())); in main()
/external/libcxx/test/std/containers/associative/multiset/
Dmax_size.pass.cpp30 assert(c.max_size() <= 10); in main()
31 LIBCPP_ASSERT(c.max_size() == 10); in main()
39 assert(c.max_size() <= max_dist); in main()
40 LIBCPP_ASSERT(c.max_size() == max_dist); in main()
47 assert(c.max_size() <= max_dist); in main()
48 assert(c.max_size() <= alloc_max_size(c.get_allocator())); in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/list/list.capacity/
Dmax_size.pass.cpp26 assert(c.max_size() <= 10); in main()
27 LIBCPP_ASSERT(c.max_size() == 10); in main()
35 assert(c.max_size() <= max_dist); in main()
36 LIBCPP_ASSERT(c.max_size() == max_dist); in main()
43 assert(c.max_size() <= max_dist); in main()
44 assert(c.max_size() <= alloc_max_size(c.get_allocator())); in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/sequences/forwardlist/
Dmax_size.pass.cpp27 assert(c.max_size() <= 10); in main()
28 LIBCPP_ASSERT(c.max_size() == 10); in main()
36 assert(c.max_size() <= max_dist); in main()
37 LIBCPP_ASSERT(c.max_size() == max_dist); in main()
44 assert(c.max_size() <= max_dist); in main()
45 assert(c.max_size() <= alloc_max_size(c.get_allocator())); in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/containers/associative/multiset/
Dmax_size.pass.cpp29 assert(c.max_size() <= 10); in main()
30 LIBCPP_ASSERT(c.max_size() == 10); in main()
38 assert(c.max_size() <= max_dist); in main()
39 LIBCPP_ASSERT(c.max_size() == max_dist); in main()
46 assert(c.max_size() <= max_dist); in main()
47 assert(c.max_size() <= alloc_max_size(c.get_allocator())); in main()

12345678910>>...40