Home
last modified time | relevance | path

Searched refs:fixed_size (Results 1 – 25 of 51) sorted by relevance

123

/external/fmtlib/test/fuzzing/
Dtwo-args.cc13 static_assert(sizeof(Item1) <= fixed_size, "size1 exceeded"); in invoke_fmt()
14 static_assert(sizeof(Item2) <= fixed_size, "size2 exceeded"); in invoke_fmt()
15 if (size <= fixed_size + fixed_size) return; in invoke_fmt()
18 data += fixed_size; in invoke_fmt()
19 size -= fixed_size; in invoke_fmt()
22 data += fixed_size; in invoke_fmt()
23 size -= fixed_size; in invoke_fmt()
Dnamed-arg.cc13 static_assert(sizeof(T) <= fixed_size, "fixed_size too small"); in invoke_fmt()
14 if (size <= fixed_size) return; in invoke_fmt()
16 data += fixed_size; in invoke_fmt()
17 size -= fixed_size; in invoke_fmt()
Done-arg.cc20 static_assert(sizeof(Repr) <= fixed_size, "Nfixed is too small"); in invoke_fmt()
21 if (size <= fixed_size) return; in invoke_fmt()
25 data += fixed_size; in invoke_fmt()
26 size -= fixed_size; in invoke_fmt()
Dchrono-duration.cc27 static_assert(sizeof(Rep) <= fixed_size, "fixed size is too small"); in invoke_outer()
28 if (size <= fixed_size + 1) return; in invoke_outer()
31 data += fixed_size; in invoke_outer()
32 size -= fixed_size; in invoke_outer()
/external/libcxx/test/std/experimental/simd/simd.traits/
Dis_abi_tag.pass.cpp51 !std::is_same<ex::simd_abi::scalar, ex::simd_abi::fixed_size<1>>::value,
54 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<1>>::value, "");
55 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<2>>::value, "");
56 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<3>>::value, "");
57 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<4>>::value, "");
58 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<5>>::value, "");
59 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<32>>::value, "");
94 !std::is_same<ex::simd_abi::scalar, ex::simd_abi::fixed_size<1>>::value,
97 static_assert(ex::is_abi_tag_v<ex::simd_abi::fixed_size<1>>, "");
98 static_assert(ex::is_abi_tag_v<ex::simd_abi::fixed_size<2>>, "");
[all …]
Dabi_for_size.pass.cpp25 ex::simd_abi::fixed_size<4>>::value,
29 ex::simd_abi::fixed_size<4>>::value,
/external/cronet/buildtools/third_party/libc++/trunk/test/std/experimental/simd/simd.traits/
Dis_abi_tag.pass.cpp50 !std::is_same<ex::simd_abi::scalar, ex::simd_abi::fixed_size<1>>::value,
53 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<1>>::value, "");
54 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<2>>::value, "");
55 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<3>>::value, "");
56 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<4>>::value, "");
57 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<5>>::value, "");
58 static_assert(ex::is_abi_tag<ex::simd_abi::fixed_size<32>>::value, "");
93 !std::is_same<ex::simd_abi::scalar, ex::simd_abi::fixed_size<1>>::value,
96 static_assert(ex::is_abi_tag_v<ex::simd_abi::fixed_size<1>>, "");
97 static_assert(ex::is_abi_tag_v<ex::simd_abi::fixed_size<2>>, "");
[all …]
Dabi_for_size.pass.cpp26 ex::simd_abi::fixed_size<4>>::value,
30 ex::simd_abi::fixed_size<4>>::value,
/external/vboot_reference/firmware/lib21/
Dcommon.c18 return c->desc_size ? (const char *)c + c->fixed_size : ""; in vb2_common_desc()
33 if (c->total_size < c->fixed_size || c->fixed_size < sizeof(*c)) in vb2_verify_common_header()
39 if (!vb2_aligned(c->fixed_size, sizeof(uint32_t))) in vb2_verify_common_header()
47 if (c->fixed_size + c->desc_size < c->fixed_size) in vb2_verify_common_header()
49 if (c->fixed_size + c->desc_size > c->total_size) in vb2_verify_common_header()
79 *min_offset = c->fixed_size + c->desc_size; in vb2_verify_common_member()
200 if (sig->c.fixed_size < sizeof(*sig)) in vb2_verify_signature()
334 if (block->c.fixed_size < sizeof(*block)) in vb2_verify_keyblock()
403 if (preamble->c.fixed_size < sizeof(*preamble)) in vb2_verify_fw_preamble()
/external/cronet/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_primitive_field.cc111 int fixed_size = FixedSize(descriptor->type()); in SetPrimitiveVariables() local
112 if (fixed_size != -1) { in SetPrimitiveVariables()
113 (*variables)["fixed_size"] = StrCat(fixed_size); in SetPrimitiveVariables()
213 int fixed_size = FixedSize(descriptor_->type()); in GenerateByteSize() local
214 if (fixed_size == -1) { in GenerateByteSize()
447 int fixed_size = FixedSize(descriptor_->type()); in GenerateByteSize() local
448 if (fixed_size == -1) { in GenerateByteSize()
/external/vboot_reference/tests/
Dvb21_common_tests.c63 c->fixed_size = sizeof(*c); in test_common_header_functions()
65 memcpy(cbuf + c->fixed_size, test_desc, sizeof(test_desc)); in test_common_header_functions()
66 desc_end = c->fixed_size + c->desc_size; in test_common_header_functions()
70 c2->fixed_size = sizeof(*c2); in test_common_header_functions()
88 c->fixed_size = c->total_size + 4; in test_common_header_functions()
94 c->desc_size = c->total_size - c->fixed_size + 4; in test_common_header_functions()
106 c->fixed_size++; in test_common_header_functions()
311 kbuf->c.fixed_size++; in test_verify_keyblock()
332 kbuf->c.fixed_size -= 4; in test_verify_keyblock()
442 pre->c.fixed_size++; in test_verify_fw_preamble()
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dprimitive_field.cc112 int fixed_size = FixedSize(descriptor->type()); in SetPrimitiveVariables() local
113 if (fixed_size != -1) { in SetPrimitiveVariables()
114 (*variables)["fixed_size"] = StrCat(fixed_size); in SetPrimitiveVariables()
209 int fixed_size = FixedSize(descriptor_->type()); in GenerateByteSize() local
210 if (fixed_size == -1) { in GenerateByteSize()
465 int fixed_size = FixedSize(descriptor_->type()); in GenerateByteSize() local
466 if (fixed_size == -1) { in GenerateByteSize()
/external/vboot_reference/host/lib21/
Dhost_key.c152 key, (const char *)(buf + pkey->c.fixed_size))) { in vb2_private_key_unpack()
237 .c.fixed_size = sizeof(pkey), in vb2_private_key_write()
258 pkey.key_offset = pkey.c.fixed_size + pkey.c.desc_size; in vb2_private_key_write()
273 strcpy((char *)buf + pkey.c.fixed_size, key->desc); in vb2_private_key_write()
471 key.c.fixed_size = sizeof(key); in vb2_public_key_pack()
473 key.key_offset = key.c.fixed_size + key.c.desc_size; in vb2_public_key_pack()
497 strcpy((char *)(buf + key.c.fixed_size), pubk->desc); in vb2_public_key_pack()
498 buf[key.c.fixed_size + key.c.desc_size - 1] = 0; in vb2_public_key_pack()
Dhost_keyblock.c29 .c.fixed_size = sizeof(kb), in vb2_keyblock_create()
44 kb.key_offset = kb.c.fixed_size + kb.c.desc_size; in vb2_keyblock_create()
64 strcpy((char *)buf + kb.c.fixed_size, desc); in vb2_keyblock_create()
Dhost_fw_preamble.c31 .c.fixed_size = sizeof(fp), in vb2_fw_preamble_create()
46 hash_next = fp.hash_offset = fp.c.fixed_size + fp.c.desc_size; in vb2_fw_preamble_create()
65 strcpy((char *)buf + fp.c.fixed_size, desc); in vb2_fw_preamble_create()
Dhost_signature.c89 .c.fixed_size = sizeof(s), in vb2_sign_data()
112 s.sig_offset = s.c.fixed_size + s.c.desc_size; in vb2_sign_data()
160 strcpy((char *)buf + s.c.fixed_size, desc); in vb2_sign_data()
/external/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxerutil.cc254 uint64 EbmlElementSize(uint64 type, uint64 value, uint64 fixed_size) { in EbmlElementSize() argument
259 ebml_size += (fixed_size > 0) ? fixed_size : GetUIntSize(value); in EbmlElementSize()
445 uint64 fixed_size) { in WriteEbmlElement() argument
453 if (fixed_size > 0) { in WriteEbmlElement()
454 if (size > fixed_size) in WriteEbmlElement()
456 size = fixed_size; in WriteEbmlElement()
Dmkvmuxerutil.h52 uint64 EbmlElementSize(uint64 type, uint64 value, uint64 fixed_size);
85 uint64 fixed_size);
/external/libwebm/mkvmuxer/
Dmkvmuxerutil.cc254 uint64 EbmlElementSize(uint64 type, uint64 value, uint64 fixed_size) { in EbmlElementSize() argument
259 ebml_size += (fixed_size > 0) ? fixed_size : GetUIntSize(value); in EbmlElementSize()
445 uint64 fixed_size) { in WriteEbmlElement() argument
453 if (fixed_size > 0) { in WriteEbmlElement()
454 if (size > fixed_size) in WriteEbmlElement()
456 size = fixed_size; in WriteEbmlElement()
Dmkvmuxerutil.h52 uint64 EbmlElementSize(uint64 type, uint64 value, uint64 fixed_size);
85 uint64 fixed_size);
/external/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxerutil.cc254 uint64 EbmlElementSize(uint64 type, uint64 value, uint64 fixed_size) { in EbmlElementSize() argument
259 ebml_size += (fixed_size > 0) ? fixed_size : GetUIntSize(value); in EbmlElementSize()
445 uint64 fixed_size) { in WriteEbmlElement() argument
453 if (fixed_size > 0) { in WriteEbmlElement()
454 if (size > fixed_size) in WriteEbmlElement()
456 size = fixed_size; in WriteEbmlElement()
Dmkvmuxerutil.h52 uint64 EbmlElementSize(uint64 type, uint64 value, uint64 fixed_size);
85 uint64 fixed_size);
/external/tensorflow/tensorflow/core/kernels/
Dconcat_lib_gpu_impl.cu.cc141 bool fixed_size, int split_size, in ConcatGPUImpl() argument
146 if (fixed_size) { in ConcatGPUImpl()
194 const GpuDeviceArrayStruct<int32>& ptr_offsets, bool fixed_size, \
201 const GpuDeviceArrayStruct<int64_t>& ptr_offsets, bool fixed_size, \
Dconcat_lib_gpu.h61 const GpuDeviceArrayStruct<int32>& ptr_offsets, bool fixed_size, \
66 const GpuDeviceArrayStruct<int64_t>& ptr_offsets, bool fixed_size, \
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_primitive_field.cc206 int fixed_size = FixedSize(descriptor->type()); in SetPrimitiveVariables() local
207 if (fixed_size != -1) { in SetPrimitiveVariables()
208 (*variables)["fixed_size"] = SimpleItoa(fixed_size); in SetPrimitiveVariables()

123