Searched refs:JSON_HEDLEY_STATIC_CAST (Results 1 - 4 of 4) sorted by relevance
/third_party/json/include/nlohmann/thirdparty/hedley/ |
H A D | hedley.hpp | 853 #if defined(JSON_HEDLEY_STATIC_CAST) 854 #undef JSON_HEDLEY_STATIC_CAST macro 857 #define JSON_HEDLEY_STATIC_CAST(T, expr) (static_cast<T>(expr)) macro 859 #define JSON_HEDLEY_STATIC_CAST(T, expr) ((T) (expr)) macro 1244 #define JSON_HEDLEY_ASSUME(expr) JSON_HEDLEY_STATIC_CAST(void, ((expr) ? 1 : (JSON_HEDLEY_UNREACHABLE(), 1))) 1246 #define JSON_HEDLEY_ASSUME(expr) JSON_HEDLEY_STATIC_CAST(void, expr) 1253 #define JSON_HEDLEY_UNREACHABLE_RETURN(value) return (JSON_HEDLEY_STATIC_CAST(void, JSON_HEDLEY_ASSUME(0)), (value)) 1378 (((probability) >= 0.9) ? __builtin_expect((expr), (expected)) : (JSON_HEDLEY_STATIC_CAST(void, expected), (expr))) 1392 # define JSON_HEDLEY_PREDICT(expr, expected, probability) (JSON_HEDLEY_STATIC_CAST(void, expected), (expr)) 1885 #define JSON_HEDLEY_NULL JSON_HEDLEY_STATIC_CAST(voi [all...] |
H A D | hedley_undef.hpp | 124 #undef JSON_HEDLEY_STATIC_CAST macro
|
/third_party/json/tests/abi/include/nlohmann/ |
H A D | json_v3_10_5.hpp | 1032 #if defined(JSON_HEDLEY_STATIC_CAST) 1033 #undef JSON_HEDLEY_STATIC_CAST macro 1036 #define JSON_HEDLEY_STATIC_CAST(T, expr) (static_cast<T>(expr)) macro 1038 #define JSON_HEDLEY_STATIC_CAST(T, expr) ((T) (expr)) 1423 #define JSON_HEDLEY_ASSUME(expr) JSON_HEDLEY_STATIC_CAST(void, ((expr) ? 1 : (JSON_HEDLEY_UNREACHABLE(), 1))) 1425 #define JSON_HEDLEY_ASSUME(expr) JSON_HEDLEY_STATIC_CAST(void, expr) 1432 #define JSON_HEDLEY_UNREACHABLE_RETURN(value) return (JSON_HEDLEY_STATIC_CAST(void, JSON_HEDLEY_ASSUME(0)), (value)) 1557 (((probability) >= 0.9) ? __builtin_expect((expr), (expected)) : (JSON_HEDLEY_STATIC_CAST(void, expected), (expr))) 1571 # define JSON_HEDLEY_PREDICT(expr, expected, probability) (JSON_HEDLEY_STATIC_CAST(void, expected), (expr)) 2064 #define JSON_HEDLEY_NULL JSON_HEDLEY_STATIC_CAST(voi [all...] |
/third_party/json/single_include/nlohmann/ |
H A D | json.hpp | 1169 #if defined(JSON_HEDLEY_STATIC_CAST) 1170 #undef JSON_HEDLEY_STATIC_CAST macro 1173 #define JSON_HEDLEY_STATIC_CAST(T, expr) (static_cast<T>(expr)) macro 1175 #define JSON_HEDLEY_STATIC_CAST(T, expr) ((T) (expr)) 1560 #define JSON_HEDLEY_ASSUME(expr) JSON_HEDLEY_STATIC_CAST(void, ((expr) ? 1 : (JSON_HEDLEY_UNREACHABLE(), 1))) 1562 #define JSON_HEDLEY_ASSUME(expr) JSON_HEDLEY_STATIC_CAST(void, expr) 1569 #define JSON_HEDLEY_UNREACHABLE_RETURN(value) return (JSON_HEDLEY_STATIC_CAST(void, JSON_HEDLEY_ASSUME(0)), (value)) 1694 (((probability) >= 0.9) ? __builtin_expect((expr), (expected)) : (JSON_HEDLEY_STATIC_CAST(void, expected), (expr))) 1708 # define JSON_HEDLEY_PREDICT(expr, expected, probability) (JSON_HEDLEY_STATIC_CAST(void, expected), (expr)) 2201 #define JSON_HEDLEY_NULL JSON_HEDLEY_STATIC_CAST(voi 24558 #undef JSON_HEDLEY_STATIC_CAST global() macro [all...] |
Completed in 14 milliseconds