Searched refs:fpType (Results 1 – 2 of 2) sorted by relevance
354 CborError cbor_encode_floating_point(CborEncoder *encoder, CborType fpType, const void *value) in cbor_encode_floating_point() argument357 assert(fpType == CborHalfFloatType || fpType == CborFloatType || fpType == CborDoubleType); in cbor_encode_floating_point()358 buf[0] = fpType; in cbor_encode_floating_point()360 unsigned size = 2U << (fpType - CborHalfFloatType); in cbor_encode_floating_point()
201 CBOR_API CborError cbor_encode_floating_point(CborEncoder *encoder, CborType fpType, const void *va…