Lines Matching refs:val1

27 	int32_t val1 = (int32_t)*in;  in lwm2m_float_to_b32()  local
36 if (val1 == 0 && val2 == 0) { in lwm2m_float_to_b32()
42 v = abs(val1); in lwm2m_float_to_b32()
85 if (val1 == 0) { in lwm2m_float_to_b32()
88 b32[0] = val1 < 0 ? 0x80 : 0; in lwm2m_float_to_b32()
109 int64_t val1 = (int64_t)*in; in lwm2m_float_to_b64() local
118 if (val1 == 0 && val2 == 0) { in lwm2m_float_to_b64()
124 v = llabs(val1); in lwm2m_float_to_b64()
167 if (val1 == 0) { in lwm2m_float_to_b64()
170 b64[0] = val1 < 0 ? 0x80 : 0; in lwm2m_float_to_b64()
195 int32_t val1, val2; in lwm2m_b32_to_float() local
201 val1 = 0; in lwm2m_b32_to_float()
227 val1 = (f >> (23 - e)) * (sign ? -1 : 1); in lwm2m_b32_to_float()
248 *out = (double)val1 - (double)val2 / PRECISION32; in lwm2m_b32_to_float()
250 *out = (double)val1 + (double)val2 / PRECISION32; in lwm2m_b32_to_float()
262 int64_t val1, val2; in lwm2m_b64_to_float() local
268 val1 = 0LL; in lwm2m_b64_to_float()
298 val1 = (f >> (52 - e)) * (sign ? -1 : 1); in lwm2m_b64_to_float()
319 *out = (double)val1 - (double)val2 / PRECISION64; in lwm2m_b64_to_float()
321 *out = (double)val1 + (double)val2 / PRECISION64; in lwm2m_b64_to_float()
332 int64_t val1, val2; in lwm2m_atof() local
356 val1 = (int64_t)val; in lwm2m_atof()
360 *out = (double)val1; in lwm2m_atof()
371 *out = (double)val1 + (double)val2 / PRECISION64; in lwm2m_atof()
380 int64_t val1 = (int64_t)*input; in lwm2m_ftoa() local
409 val1--; in lwm2m_ftoa()
411 val1++; in lwm2m_ftoa()
424 (val1 == 0 && val2 < 0) ? "-" : "", (long long)val1, buf); in lwm2m_ftoa()