Home
last modified time | relevance | path

Searched refs:unsigned_value (Results 1 – 18 of 18) sorted by relevance

/external/autotest/client/site_tests/platform_ToolchainTests/src/
Dclang-fortify-tests.cpp261 const auto unsigned_value = std::declval<unsigned long long>(); in testFormatStrings() local
268 dprintf(some_fd, "%d", unsigned_value); in testFormatStrings()
270 dprintf(some_fd, unknown_string, unsigned_value); in testFormatStrings()
279 asprintf(&retval, "%d", unsigned_value); in testFormatStrings()
282 asprintf(&retval, unknown_string, unsigned_value); in testFormatStrings()
291 obstack_printf(obs, "%d", unsigned_value); in testFormatStrings()
293 obstack_printf(obs, unknown_string, unsigned_value); in testFormatStrings()
299 syslog(0, "%d", unsigned_value); in testFormatStrings()
301 syslog(0, unknown_string, unsigned_value); in testFormatStrings()
308 fprintf(file, "%d", unsigned_value); in testFormatStrings()
[all …]
/external/piex/src/binary_parse/
Drange_checked_byte_ptr.cc299 const uint16 unsigned_value = Get16u(input, big_endian, status); in Get16s() local
310 if (unsigned_value == 0x8000u) { in Get16s()
312 } else if (unsigned_value > 0x8000u) { in Get16s()
313 return -static_cast<int16>(0x10000u - unsigned_value); in Get16s()
315 return static_cast<int16>(unsigned_value); in Get16s()
337 const uint32 unsigned_value = Get32u(input, big_endian, status); in Get32s() local
357 if (unsigned_value == 0x80000000u) { in Get32s()
361 } else if (unsigned_value > 0x80000000u) { in Get32s()
373 return -static_cast<int32>(0xffffffffu - unsigned_value + 1); in Get32s()
375 return static_cast<int32>(unsigned_value); in Get32s()
/external/ImageMagick/MagickCore/
Dquantum-private.h291 unsigned_value; in PushFloatPixel() member
299 quantum.unsigned_value=((unsigned int) *pixels++); in PushFloatPixel()
300 quantum.unsigned_value|=((unsigned int) *pixels++ << 8); in PushFloatPixel()
301 quantum.unsigned_value|=((unsigned int) *pixels++ << 16); in PushFloatPixel()
302 quantum.unsigned_value|=((unsigned int) *pixels++ << 24); in PushFloatPixel()
306 quantum.unsigned_value=((unsigned int) *pixels++ << 24); in PushFloatPixel()
307 quantum.unsigned_value|=((unsigned int) *pixels++ << 16); in PushFloatPixel()
308 quantum.unsigned_value|=((unsigned int) *pixels++ << 8); in PushFloatPixel()
309 quantum.unsigned_value|=((unsigned int) *pixels++); in PushFloatPixel()
Dblob.c4033 unsigned_value; in ReadBlobDouble() member
4040 quantum.unsigned_value=ReadBlobLongLong(image); in ReadBlobDouble()
4072 unsigned_value; in ReadBlobFloat() member
4079 quantum.unsigned_value=ReadBlobLong(image); in ReadBlobFloat()
4339 unsigned_value; in ReadBlobLSBSignedLong() member
4345 quantum.unsigned_value=ReadBlobLSBLong(image); in ReadBlobLSBSignedLong()
4425 unsigned_value; in ReadBlobLSBSignedShort() member
4431 quantum.unsigned_value=ReadBlobLSBShort(image); in ReadBlobLSBSignedShort()
4615 unsigned_value; in ReadBlobMSBSignedLong() member
4621 quantum.unsigned_value=ReadBlobMSBLong(image); in ReadBlobMSBSignedLong()
[all …]
Dprofile.c2024 unsigned_value; in ReadProfileShort() member
2037 quantum.unsigned_value=value & 0xffff; in ReadProfileShort()
2042 quantum.unsigned_value=value & 0xffff; in ReadProfileShort()
2052 unsigned_value; in ReadProfileLong() member
2067 quantum.unsigned_value=value & 0xffffffff; in ReadProfileLong()
2074 quantum.unsigned_value=value & 0xffffffff; in ReadProfileLong()
Dproperty.c507 unsigned_value; in ReadPropertyMSBLong() member
537 quantum.unsigned_value=value & 0xffffffff; in ReadPropertyMSBLong()
547 unsigned_value; in ReadPropertyMSBShort() member
575 quantum.unsigned_value=value & 0xffff; in ReadPropertyMSBShort()
738 unsigned_value; in ReadPropertySignedLong() member
753 quantum.unsigned_value=value & 0xffffffff; in ReadPropertySignedLong()
760 quantum.unsigned_value=value & 0xffffffff; in ReadPropertySignedLong()
791 unsigned_value; in ReadPropertySignedShort() member
804 quantum.unsigned_value=value & 0xffff; in ReadPropertySignedShort()
809 quantum.unsigned_value=value & 0xffff; in ReadPropertySignedShort()
/external/perfetto/include/perfetto/protozero/
Dproto_utils.h190 UnsignedType unsigned_value = static_cast<UnsignedType>(extended_value); in WriteVarInt() local
192 while (unsigned_value >= 0x80) { in WriteVarInt()
193 *target++ = static_cast<uint8_t>(unsigned_value) | 0x80; in WriteVarInt()
194 unsigned_value >>= 7; in WriteVarInt()
196 *target = static_cast<uint8_t>(unsigned_value); in WriteVarInt()
/external/libwebm/webm_parser/src/
Dint_parser.h86 std::uint64_t unsigned_value = static_cast<std::uint64_t>(value_); in Feed() local
87 if (unsigned_value & sign_bits) { in Feed()
88 value_ = static_cast<T>(unsigned_value | sign_bits); in Feed()
/external/fmtlib/test/
Dprintf-test.cc330 unsigned long long unsigned_value = 0; in TestLength() local
336 unsigned_value = static_cast<unsigned long long>(value); in TestLength()
339 unsigned_value = static_cast<unsigned long long>(value); in TestLength()
343 unsigned_value = static_cast<unsigned long long>( in TestLength()
347 unsigned_value = static_cast<typename std::make_unsigned<T>::type>(value); in TestLength()
354 os << unsigned_value; in TestLength()
357 os << std::oct << unsigned_value; in TestLength()
360 os << std::hex << unsigned_value; in TestLength()
363 os << std::hex << std::uppercase << unsigned_value; in TestLength()
/external/tensorflow/tensorflow/core/util/proto/
Ddecode.h45 inline int64 WrapUnsignedAsSigned64(uint64 unsigned_value) { in WrapUnsignedAsSigned64() argument
49 if (unsigned_value <= INT64_MAX) { in WrapUnsignedAsSigned64()
50 return static_cast<int64>(unsigned_value); in WrapUnsignedAsSigned64()
53 if (unsigned_value >= INT64_MIN) { in WrapUnsignedAsSigned64()
54 return static_cast<int64>(unsigned_value - INT64_MIN) + INT64_MIN; in WrapUnsignedAsSigned64()
62 inline int32 WrapUnsignedAsSigned32(uint32 unsigned_value) { in WrapUnsignedAsSigned32() argument
66 if (unsigned_value <= INT_MAX) { in WrapUnsignedAsSigned32()
67 return static_cast<int32>(unsigned_value); in WrapUnsignedAsSigned32()
70 if (unsigned_value >= INT_MIN) { in WrapUnsignedAsSigned32()
71 return static_cast<int32>(unsigned_value - INT_MIN) + INT_MIN; in WrapUnsignedAsSigned32()
/external/tensorflow/tensorflow/compiler/xla/service/
Dcomparison_expander.cc48 auto unsigned_value = computation->AddInstruction( in BitcastConvertFloatingPointToIntegral() local
51 unsigned_shape, HloOpcode::kSubtract, max_value, unsigned_value)); in BitcastConvertFloatingPointToIntegral()
Dhlo_parser.cc3357 const uint64 unsigned_value = value; in CheckParsedValueIsInRange() local
3360 if (unsigned_value > upper_bound) { in CheckParsedValueIsInRange()
/external/llvm-project/lldb/examples/summaries/cocoa/
Dobjc_runtime.py777 self.unsigned_value = self.valobj.GetValueAsUnsigned()
790 self.unsigned_value,
794 self.unsigned_value,
805 self.unsigned_value,
810 return self.unsigned_value == 0
840 self.unsigned_value, self.sys_params)
/external/protobuf/src/google/protobuf/
Dtext_format.cc1009 uint64 unsigned_value; in ConsumeSignedInteger() local
1011 DO(ConsumeUnsignedInteger(&unsigned_value, max_value)); in ConsumeSignedInteger()
1014 if ((static_cast<uint64>(kint64max) + 1) == unsigned_value) { in ConsumeSignedInteger()
1017 *value = -static_cast<int64>(unsigned_value); in ConsumeSignedInteger()
1020 *value = static_cast<int64>(unsigned_value); in ConsumeSignedInteger()
/external/ImageMagick/coders/
Dcin.c367 unsigned_value; in IsFloatDefined() member
373 quantum.unsigned_value=0U; in IsFloatDefined()
375 if (quantum.unsigned_value == 0U) in IsFloatDefined()
Ddcm.c2820 unsigned_value; in ReadDCMSignedShort() member
2826 quantum.unsigned_value=ReadDCMShort(stream_info,image); in ReadDCMSignedShort()
Ddpx.c559 unsigned_value; in IsFloatDefined() member
565 quantum.unsigned_value=0U; in IsFloatDefined()
567 if (quantum.unsigned_value == 0U) in IsFloatDefined()
/external/tinyxml2/
Dxmltest.cpp1065 unsigned unsigned_value; in main() local
1066 unsigned_value = root->FirstChildElement("unsigned")->UnsignedText(); in main()
1067 XMLTest("PushText( unsigned value ) test", (unsigned)12, unsigned_value); in main()