Searched refs:ENUM_TYPE (Results 1 – 9 of 9) sorted by relevance
/third_party/json/include/nlohmann/detail/ |
D | macro_scope.hpp | 207 #define NLOHMANN_JSON_SERIALIZE_ENUM(ENUM_TYPE, ...) \ argument 209 inline void to_json(BasicJsonType& j, const ENUM_TYPE& e) \ 211 static_assert(std::is_enum<ENUM_TYPE>::value, #ENUM_TYPE " must be an enum!"); \ 212 static const std::pair<ENUM_TYPE, BasicJsonType> m[] = __VA_ARGS__; \ 214 [e](const std::pair<ENUM_TYPE, BasicJsonType>& ej_pair) -> bool \ 221 inline void from_json(const BasicJsonType& j, ENUM_TYPE& e) \ 223 static_assert(std::is_enum<ENUM_TYPE>::value, #ENUM_TYPE " must be an enum!"); \ 224 static const std::pair<ENUM_TYPE, BasicJsonType> m[] = __VA_ARGS__; \ 226 [&j](const std::pair<ENUM_TYPE, BasicJsonType>& ej_pair) -> bool \
|
/third_party/json/docs/mkdocs/docs/api/macros/ |
D | nlohmann_json_serialize_enum.md | 40 …- When using [`get<ENUM_TYPE>()`](../basic_json/get.md), undefined JSON values will default to the…
|
/third_party/json/docs/mkdocs/docs/features/ |
D | enum_conversion.md | 57 - When using `get<ENUM_TYPE>()`, undefined JSON values will default to the first pair specified in …
|
/third_party/json/tests/abi/include/nlohmann/ |
D | json_v3_10_5.hpp | 2456 #define NLOHMANN_JSON_SERIALIZE_ENUM(ENUM_TYPE, ...) \ argument 2458 inline void to_json(BasicJsonType& j, const ENUM_TYPE& e) \ 2460 static_assert(std::is_enum<ENUM_TYPE>::value, #ENUM_TYPE " must be an enum!"); \ 2461 static const std::pair<ENUM_TYPE, BasicJsonType> m[] = __VA_ARGS__; \ 2463 [e](const std::pair<ENUM_TYPE, BasicJsonType>& ej_pair) -> bool \ 2470 inline void from_json(const BasicJsonType& j, ENUM_TYPE& e) \ 2472 static_assert(std::is_enum<ENUM_TYPE>::value, #ENUM_TYPE " must be an enum!"); \ 2473 static const std::pair<ENUM_TYPE, BasicJsonType> m[] = __VA_ARGS__; \ 2475 [&j](const std::pair<ENUM_TYPE, BasicJsonType>& ej_pair) -> bool \
|
/third_party/json/single_include/nlohmann/ |
D | json.hpp | 2557 #define NLOHMANN_JSON_SERIALIZE_ENUM(ENUM_TYPE, ...) \ argument 2559 inline void to_json(BasicJsonType& j, const ENUM_TYPE& e) \ 2561 static_assert(std::is_enum<ENUM_TYPE>::value, #ENUM_TYPE " must be an enum!"); \ 2562 static const std::pair<ENUM_TYPE, BasicJsonType> m[] = __VA_ARGS__; \ 2564 [e](const std::pair<ENUM_TYPE, BasicJsonType>& ej_pair) -> bool \ 2571 inline void from_json(const BasicJsonType& j, ENUM_TYPE& e) \ 2573 static_assert(std::is_enum<ENUM_TYPE>::value, #ENUM_TYPE " must be an enum!"); \ 2574 static const std::pair<ENUM_TYPE, BasicJsonType> m[] = __VA_ARGS__; \ 2576 [&j](const std::pair<ENUM_TYPE, BasicJsonType>& ej_pair) -> bool \
|
/third_party/protobuf/objectivec/ |
D | GPBDictionary.m | 728 //% ENUM_TYPE##KHELPER(KEY_TYPE)##aKey; 730 //% ENUM_TYPE##VHELPER(VALUE_TYPE)##aValue = _dictionary[aKey]; 801 //% ENUM_TYPE##KHELPER(KEY_TYPE)##aKey; 803 //% ENUM_TYPE##VHELPER(VALUE_TYPE)##a##VNAME_VAR$u = internal[aKey]; 822 //% ENUM_TYPE##KHELPER(KEY_TYPE)##aKey; 824 //% ENUM_TYPE##VHELPER(VALUE_TYPE)##a##VNAME_VAR$u = internal[aKey]; 841 //% ENUM_TYPE##KHELPER(KEY_TYPE)##aKey; 843 //% ENUM_TYPE##VHELPER(VALUE_TYPE)##a##VNAME_VAR$u = internal[aKey];
|
/third_party/libabigail/include/ |
D | abg-ir.h | 1358 ENUM_TYPE = 1 << 16, enumerator
|
/third_party/json/ |
D | README.md | 1035 - When using `get<ENUM_TYPE>()`, undefined JSON values will default to the first pair specified in …
|
/third_party/libabigail/src/ |
D | abg-ir.cc | 17847 ENUM_TYPE in enum_type_decl()
|