Home
last modified time | relevance | path

Searched refs:NumberType (Results 1 – 25 of 34) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/util/
Dparse_number.h30 struct NumberType { struct
38 inline bool IsIntegral(const NumberType& type) { in IsIntegral() argument
44 inline bool IsFloating(const NumberType& type) { in IsFloating()
49 inline bool IsSigned(const NumberType& type) { in IsSigned()
54 inline bool IsUnknown(const NumberType& type) { in IsUnknown()
60 inline int AssumedBitWidth(const NumberType& type) { in AssumedBitWidth()
104 bool CheckRangeAndIfHexThenSignExtend(T value, const NumberType& type, in CheckRangeAndIfHexThenSignExtend()
219 const char* text, const NumberType& type,
232 const char* text, const NumberType& type,
245 const NumberType& type,
Dparse_number.cpp58 const char* text, const NumberType& type, in ParseAndEncodeIntegerNumber()
135 const char* text, const NumberType& type, in ParseAndEncodeFloatingPointNumber()
193 const NumberType& type, in ParseAndEncodeNumber()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/
Dparse_number.h29 struct NumberType { struct
37 inline bool IsIntegral(const NumberType& type) { in IsIntegral() argument
43 inline bool IsFloating(const NumberType& type) { in IsFloating()
48 inline bool IsSigned(const NumberType& type) { in IsSigned()
53 inline bool IsUnknown(const NumberType& type) { in IsUnknown()
59 inline int AssumedBitWidth(const NumberType& type) { in AssumedBitWidth()
103 bool CheckRangeAndIfHexThenSignExtend(T value, const NumberType& type, in CheckRangeAndIfHexThenSignExtend()
218 const char* text, const NumberType& type,
231 const char* text, const NumberType& type,
244 const NumberType& type,
Dparse_number.cpp56 const char* text, const NumberType& type, in ParseAndEncodeIntegerNumber()
133 const char* text, const NumberType& type, in ParseAndEncodeFloatingPointNumber()
191 const NumberType& type, in ParseAndEncodeNumber()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dparse_number.h30 struct NumberType { struct
38 inline bool IsIntegral(const NumberType& type) { in IsIntegral() argument
44 inline bool IsFloating(const NumberType& type) { in IsFloating()
49 inline bool IsSigned(const NumberType& type) { in IsSigned()
54 inline bool IsUnknown(const NumberType& type) { in IsUnknown()
60 inline int AssumedBitWidth(const NumberType& type) { in AssumedBitWidth()
104 bool CheckRangeAndIfHexThenSignExtend(T value, const NumberType& type, in CheckRangeAndIfHexThenSignExtend()
219 const char* text, const NumberType& type,
232 const char* text, const NumberType& type,
245 const NumberType& type,
Dparse_number.cpp58 const char* text, const NumberType& type, in ParseAndEncodeIntegerNumber()
135 const char* text, const NumberType& type, in ParseAndEncodeFloatingPointNumber()
193 const NumberType& type, in ParseAndEncodeNumber()
/third_party/spirv-tools/source/util/
Dparse_number.h30 struct NumberType { struct
38 inline bool IsIntegral(const NumberType& type) { in IsIntegral() argument
44 inline bool IsFloating(const NumberType& type) { in IsFloating()
49 inline bool IsSigned(const NumberType& type) { in IsSigned()
54 inline bool IsUnknown(const NumberType& type) { in IsUnknown()
60 inline int AssumedBitWidth(const NumberType& type) { in AssumedBitWidth()
104 bool CheckRangeAndIfHexThenSignExtend(T value, const NumberType& type, in CheckRangeAndIfHexThenSignExtend()
219 const char* text, const NumberType& type,
232 const char* text, const NumberType& type,
245 const NumberType& type,
Dparse_number.cpp58 const char* text, const NumberType& type, in ParseAndEncodeIntegerNumber()
135 const char* text, const NumberType& type, in ParseAndEncodeFloatingPointNumber()
193 const NumberType& type, in ParseAndEncodeNumber()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dparse_number_test.cpp23 using spvutils::NumberType;
290 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
313 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
326 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
359 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
388 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
399 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
421 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
444 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
461 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/
Dparse_number_test.cpp288 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
311 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
324 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
357 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
386 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
397 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
419 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
442 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
459 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
492 NumberType type = {32, SPV_NUMBER_UNSIGNED_INT}; in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dparse_number_test.cpp288 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
311 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
324 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
357 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
386 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
397 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
419 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
442 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
459 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
492 NumberType type = {32, SPV_NUMBER_UNSIGNED_INT}; in TEST()
[all …]
/third_party/spirv-tools/test/
Dparse_number_test.cpp288 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
311 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
324 NumberType type = {16, SPV_NUMBER_SIGNED_INT}; in TEST()
357 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
386 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
397 NumberType type = {16, SPV_NUMBER_UNSIGNED_INT}; in TEST()
419 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
442 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
459 NumberType type = {32, SPV_NUMBER_SIGNED_INT}; in TEST()
492 NumberType type = {32, SPV_NUMBER_UNSIGNED_INT}; in TEST()
[all …]
/third_party/json/include/nlohmann/detail/input/
Dbinary_reader.hpp209 template<typename NumberType>
210 bool get_bson_string(const NumberType len, string_t& result) in get_bson_string()
218 …return get_string(input_format_t::bson, len - static_cast<NumberType>(1), result) && get() != std:… in get_bson_string()
230 template<typename NumberType>
231 bool get_bson_binary(const NumberType len, binary_t& result) in get_bson_binary()
2284 template<typename NumberType, bool InputIsLittleEndian = false>
2285 bool get_number(const input_format_t format, NumberType& result) in get_number()
2288 std::array<std::uint8_t, sizeof(NumberType)> vec; in get_number()
2289 for (std::size_t i = 0; i < sizeof(NumberType); ++i) in get_number()
2300 vec[sizeof(NumberType) - i - 1] = static_cast<std::uint8_t>(current); in get_number()
[all …]
/third_party/json/include/nlohmann/detail/output/
Dbinary_writer.hpp1262 template<typename NumberType, typename std::enable_if<
1263 std::is_floating_point<NumberType>::value, int>::type = 0>
1264 void write_number_with_ubjson_prefix(const NumberType n, in write_number_with_ubjson_prefix()
1275 template<typename NumberType, typename std::enable_if<
1276 std::is_unsigned<NumberType>::value, int>::type = 0>
1277 void write_number_with_ubjson_prefix(const NumberType n, in write_number_with_ubjson_prefix()
1337 template < typename NumberType, typename std::enable_if <
1338 std::is_signed<NumberType>::value&&
1339 !std::is_floating_point<NumberType>::value, int >::type = 0 >
1340 void write_number_with_ubjson_prefix(const NumberType n, in write_number_with_ubjson_prefix()
[all …]
Dserializer.hpp671 template < typename NumberType, detail::enable_if_t <
672 std::is_same<NumberType, number_unsigned_t>::value ||
673 std::is_same<NumberType, number_integer_t>::value ||
674 std::is_same<NumberType, binary_char_t>::value,
676 void dump_integer(NumberType x) in dump_integer()
704 …const bool is_negative = std::is_same<NumberType, number_integer_t>::value && !(x >= 0); // see is… in dump_integer()
/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrelemlib.h60 enum NumberType enum
165 NumberType numType[4];
205 ADDR_FLT_32 value, UINT_32 bits, NumberType numberType, UINT_32* pResult);
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dbinary.cpp167 struct NumberType { struct in __anon048ceba50111::Parser
204 std::unordered_map<uint32_t, NumberType> type_id_to_number_type_info;
721 const NumberType& info = type_info_iter->second; in setNumericTypeInfoForType()
739 NumberType info = {SPV_NUMBER_NONE, 0}; in recordNumberType()
/third_party/spirv-tools/source/opt/
Dset_spec_constant_default_value_pass.cpp36 using utils::NumberType;
54 NumberType number_type = {32, SPV_NUMBER_UNSIGNED_INT}; in ParseDefaultValueStr()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dset_spec_constant_default_value_pass.cpp36 using utils::NumberType;
54 NumberType number_type = {32, SPV_NUMBER_UNSIGNED_INT}; in ParseDefaultValueStr()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dset_spec_constant_default_value_pass.cpp36 using utils::NumberType;
54 NumberType number_type = {32, SPV_NUMBER_UNSIGNED_INT}; in ParseDefaultValueStr()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dset_spec_constant_default_value_pass.cpp34 using spvutils::NumberType;
53 NumberType number_type = {32, SPV_NUMBER_UNSIGNED_INT}; in ParseDefaultValueStr()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
Dbinary.cpp179 struct NumberType { struct in __anon67d027fc0111::Parser
217 std::unordered_map<uint32_t, NumberType> type_id_to_number_type_info;
775 const NumberType& info = type_info_iter->second; in setNumericTypeInfoForType()
793 NumberType info = {SPV_NUMBER_NONE, 0}; in recordNumberType()
/third_party/spirv-tools/source/
Dbinary.cpp179 struct NumberType { struct in __anonf941619b0111::Parser
217 std::unordered_map<uint32_t, NumberType> type_id_to_number_type_info;
768 const NumberType& info = type_info_iter->second; in setNumericTypeInfoForType()
786 NumberType info = {SPV_NUMBER_NONE, 0}; in recordNumberType()
/third_party/skia/third_party/externals/spirv-tools/source/
Dbinary.cpp179 struct NumberType { struct in __anonc4ff4d100111::Parser
217 std::unordered_map<uint32_t, NumberType> type_id_to_number_type_info;
775 const NumberType& info = type_info_iter->second; in setNumericTypeInfoForType()
793 NumberType info = {SPV_NUMBER_NONE, 0}; in recordNumberType()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.hpp61 enum NumberType enum
114 IFDataType (deUint32 numE, NumberType elementT) in IFDataType()
142 NumberType elementType;

12