Home
last modified time | relevance | path

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

12

/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/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/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_primitive_field.cc89 int fixed_size = FixedSize(descriptor->type()); in SetPrimitiveVariables() local
90 if (fixed_size != -1) { in SetPrimitiveVariables()
91 (*variables)["fixed_size"] = SimpleItoa(fixed_size); in SetPrimitiveVariables()
184 int fixed_size = FixedSize(descriptor_->type()); in GenerateByteSize() local
185 if (fixed_size == -1) { in GenerateByteSize()
425 int fixed_size = FixedSize(descriptor_->type()); in GenerateByteSize() local
426 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 …]
Dvb21_host_misc_tests.c57 c->fixed_size = sizeof(*c); in file_tests()
Dvb21_common2_tests.c45 key2->c.fixed_size += size; in test_unpack_key()
145 sig2->c.fixed_size -= 4; in test_verify_signature()
Dvb21_misc_tests.c104 dk->c.fixed_size = sizeof(mock_vblock.k.data_key); in reset_common_data()
107 dk->key_offset = dk->c.fixed_size; in reset_common_data()
/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/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.h49 uint64 EbmlElementSize(uint64 type, uint64 value, uint64 fixed_size);
82 uint64 fixed_size);
/external/libaom/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.h49 uint64 EbmlElementSize(uint64 type, uint64 value, uint64 fixed_size);
82 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()
192 const GpuDeviceArrayStruct<int32>& ptr_offsets, bool fixed_size, \
199 const GpuDeviceArrayStruct<int64>& ptr_offsets, bool fixed_size, \
Dconcat_lib_gpu.h61 const GpuDeviceArrayStruct<int32>& ptr_offsets, bool fixed_size, \
66 const GpuDeviceArrayStruct<int64>& ptr_offsets, bool fixed_size, \
Dsplit_lib_gpu.cu.cc213 const Eigen::GpuDevice& gpu_device, bool fixed_size, const T* input_ptr, in Run() argument
217 if (fixed_size) { in Run()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_primitive_field_lite.cc127 int fixed_size = FixedSize(GetType(descriptor)); in SetPrimitiveVariables() local
128 if (fixed_size != -1) { in SetPrimitiveVariables()
129 (*variables)["fixed_size"] = SimpleItoa(fixed_size); in SetPrimitiveVariables()
781 int fixed_size = FixedSize(GetType(descriptor_)); in GenerateParsingCodeFromPacked() local
782 if (fixed_size == -1) { in GenerateParsingCodeFromPacked()
Djava_primitive_field.cc93 int fixed_size = FixedSize(GetType(descriptor)); in SetPrimitiveVariables() local
94 if (fixed_size != -1) { in SetPrimitiveVariables()
95 (*variables)["fixed_size"] = SimpleItoa(fixed_size); in SetPrimitiveVariables()
/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()
/external/vboot_reference/firmware/lib21/include/
Dvb2_struct.h87 uint32_t fixed_size; member
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_primitive_field.cc226 int fixed_size = FixedSize(descriptor->type()); in SetPrimitiveVariables() local
227 if (fixed_size != -1) { in SetPrimitiveVariables()
228 (*variables)["fixed_size"] = SimpleItoa(fixed_size); in SetPrimitiveVariables()
/external/libcxx/include/experimental/
Dsimd23 template <int N> struct fixed_size {};
64 template <class T, int N> using fixed_size_simd = simd<T, simd_abi::fixed_size<N>>;
69 template <class T, int N> using fixed_size_simd_mask = simd_mask<T, simd_abi::fixed_size<N>>;
234 template <class U> simd(const simd<U, simd_abi::fixed_size<size()>>&);
615 template <class U> simd_mask(const simd_mask<U, simd_abi::fixed_size<size()>>&) noexcept;
961 using fixed_size = __simd_abi<_StorageKind::_Array, _Np>;
967 using compatible = fixed_size<16 / sizeof(_Tp)>;
976 fixed_size<_Tp, _LIBCPP_NATIVE_SIMD_WIDTH_IN_BYTES / sizeof(_Tp)>;
1043 using type = simd_abi::fixed_size<_Np>;
1075 using fixed_size_simd = simd<_Tp, simd_abi::fixed_size<_Np>>;
[all …]

12