Searched defs:static_assert (Results 1 - 11 of 11) sorted by relevance
| /third_party/musl/porting/liteos_m/kernel/include/ |
| H A D | assert.h | 12 #define static_assert _Static_assert macro
|
| /third_party/musl/porting/uniproton/kernel/include/ |
| H A D | assert.h | 12 #define static_assert _Static_assert macro
|
| /third_party/musl/porting/liteos_a/kernel/include/ |
| H A D | assert.h | 14 #define static_assert _Static_assert macro
|
| /third_party/musl/include/ |
| H A D | assert.h | 38 #define static_assert _Static_assert macro
|
| /third_party/libinput/include/ |
| H A D | config.h | 53 # define static_assert(cond, msg) _Static_assert(cond, msg) macro 55 # define static_assert(cond, msg) macro
|
| /third_party/python/Include/ |
| H A D | pymacro.h | 23 # define static_assert _Static_assert macro
|
| /third_party/rust/crates/os_str_bytes/src/windows/wtf8/ |
| H A D | convert.rs | 19 macro_rules! static_assert { macros
|
| /third_party/protobuf/src/google/protobuf/io/ |
| H A D | coded_stream.h | 858 GOOGLE_DCHECK(ptr < end_); return UnsafeVarint((num << 3) | wt, ptr); } PROTOBUF_ALWAYS_INLINE uint8* WriteLengthDelim(int num, uint32 size, uint8* ptr) { ptr = WriteTag(num, 2, ptr); return UnsafeWriteSize(size, ptr); } uint8* WriteRawFallback(const void* data, int size, uint8* ptr); uint8* WriteAliasedRaw(const void* data, int size, uint8* ptr); uint8* WriteStringMaybeAliasedOutline(uint32 num, const std::string& s, uint8* ptr); uint8* WriteStringOutline(uint32 num, const std::string& s, uint8* ptr); template <typename T, typename E> PROTOBUF_ALWAYS_INLINE uint8* WriteVarintPacked(int num, const T& r, int size, uint8* ptr, const E& encode) { ptr = EnsureSpace(ptr); ptr = WriteLengthDelim(num, size, ptr); auto it = r.data(); auto end = it + r.size(); do { ptr = EnsureSpace(ptr); ptr = UnsafeVarint(encode(*it++), ptr); } while (it < end); return ptr; } static uint32 Encode32(uint32 v) { return v; } static uint64 Encode64(uint64 v) { return v; } static uint32 ZigZagEncode32(int32 v) { return (static_cast<uint32>(v) << 1) ^ static_cast<uint32>(v >> 31); } static uint64 ZigZagEncode64(int64 v) { return (static_cast<uint64>(v) << 1) ^ static_cast<uint64>(v >> 63); } template <typename T> PROTOBUF_ALWAYS_INLINE static uint8* UnsafeVarint(T value, uint8* ptr) { static_assert(std::is_unsigned<T>::value, �); if (value < 0x80) { ptr[0] = static_cast<uint8>(value); return ptr + 1; } ptr[0] = static_cast<uint8>(value | 0x80); value >>= 7; if (value < 0x80) { ptr[1] = static_cast<uint8>(value); return ptr + 2; } ptr++; do { *ptr = static_cast<uint8>(value | 0x80); value >>= 7; ++ptr; } while (PROTOBUF_PREDICT_FALSE(value >= 0x80)); *ptr++ = static_cast<uint8>(value); return ptr; } PROTOBUF_ALWAYS_INLINE static uint8* UnsafeWriteSize(uint32 value, uint8* ptr) { while (PROTOBUF_PREDICT_FALSE(value >= 0x80) WriteTag() argument
|
| /third_party/tzdata/ |
| H A D | private.h | 51 # define static_assert(cond) extern int static_assert_check[(cond) ? 1 : -1] macro
|
| /third_party/node/deps/v8/src/wasm/ |
| H A D | module-compiler.cc | 981 static_assert(ExecutionTier::kLiftoff < ExecutionTier::kTurbofan, in GetRequestedExecutionTiers() function
|
| /third_party/f2fs-tools/include/ |
| H A D | f2fs_fs.h | 77 #define static_assert _Static_assert macro [all...] |
Completed in 16 milliseconds