Lines Matching defs:value

131 		struct rnnvalue **vals, int valsnum, uint64_t value)
136 vals[i]->valvalid && vals[i]->value == value)
159 char *rnndec_decodeval(struct rnndeccontext *ctx, struct rnntypeinfo *ti, uint64_t value) {
171 uint64_t value_orig = value;
174 value = (value & typeinfo_mask(ti)) >> ti->low;
175 value <<= ti->shr;
187 ctmp = rnndec_decode_enum_val(ctx, vals, valsnum, value);
210 if (((value & type_mask) == 0) && is_unknown(bitfields[i]->name))
216 if (value & type_mask) {
229 uint64_t field_val = value & type_mask;
234 subval = rnndec_decodeval(ctx, &bitfields[i]->typeinfo, value & type_mask);
245 if (value & ~mask) {
247 asprintf (&res, "%s%#"PRIx64"%s", ctx->colors->err, value & ~mask, ctx->colors->reset);
249 asprintf (&tmp, "%s | %s%#"PRIx64"%s", res, ctx->colors->err, value & ~mask, ctx->colors->reset);
260 return rnndec_decodeval(ctx, &ti->spectype->typeinfo, value);
262 asprintf (&res, "%s%#"PRIx64"%s", ctx->colors->num, value, ctx->colors->reset);
265 if (value & UINT64_C(1) << (width-1)) {
267 ((double)((UINT64_C(1) << width) - value)) / ((double)(1 << ti->radix)),
274 ((double)value) / ((double)(1LL << ti->radix)),
278 asprintf (&res, "%sr%"PRIu64".%c%s", ctx->colors->num, (value >> 2), "xyzw"[value & 0x3], ctx->colors->reset);
281 asprintf (&res, "%s%"PRIu64"%s", ctx->colors->num, value, ctx->colors->reset);
284 if (value & UINT64_C(1) << (width-1))
285 asprintf (&res, "%s-%"PRIi64"%s", ctx->colors->num, (UINT64_C(1) << width) - value, ctx->colors->reset);
287 asprintf (&res, "%s%"PRIi64"%s", ctx->colors->num, value, ctx->colors->reset);
290 if (value == 0) {
292 } else if (value == 1) {
298 val.i = value;
307 float16(value), ctx->colors->reset);
315 asprintf (&res, "%s%#"PRIx64"%s", ctx->colors->num, value, ctx->colors->reset);