Lines Matching defs:v
225 * v - Address of variable to receive resulting value.
229 * On success, returns True (1) and *v is set to the value.
230 * On failure, returns False (0) and *v is undefined.
238 elfedit_atoi2(const char *str, const elfedit_atoi_sym_t *sym, elfedit_atoi_t *v)
242 if (sym && atoi_sym_process(str, sym, v))
245 *v = strtoll(str, &endptr, 0);
256 elfedit_atoi_t v;
257 if (elfedit_atoi2(str, sym, &v) == 0)
260 return (v);
264 elfedit_atoui_t *v)
268 if (sym && atoui_sym_process(str, sym, v))
271 *v = strtoull(str, &endptr, 0);
282 elfedit_atoui_t v;
283 if (elfedit_atoui2(str, sym, &v) == 0)
286 return (v);
290 elfedit_atoui_t *v)
292 return (elfedit_atoui2(str, elfedit_const_to_atoui(const_type), v));
316 * v - Address of variable to receive resulting value.
320 * On success, returns True (1) and *v is set to the value.
321 * On failure, returns False (0) and *v is undefined.
330 const elfedit_atoi_sym_t *sym, elfedit_atoi_t *v)
332 return ((elfedit_atoi2(str, sym, v) != 0) &&
333 (*v >= min) && (*v <= max));
339 elfedit_atoi_t v = elfedit_atoi(str, sym);
341 if ((v < min) || (v > max))
343 item_name, EC_XWORD(min), EC_XWORD(max), EC_XWORD(v));
345 return (v);
349 const elfedit_atoui_sym_t *sym, elfedit_atoui_t *v)
351 return ((elfedit_atoui2(str, sym, v) != 0) &&
352 (*v >= min) && (*v <= max));
358 elfedit_atoui_t v = elfedit_atoui(str, sym);
360 if ((v < min) || (v > max))
362 item_name, EC_XWORD(min), EC_XWORD(max), EC_XWORD(v));
364 return (v);
368 elfedit_atoui_t max, elfedit_const_t const_type, elfedit_atoui_t *v)
371 elfedit_const_to_atoui(const_type), v));
690 * Return the count of non-zero bits in the value v.
693 * v - Value to test
695 * on the original value of v. The value received
701 elfedit_bits_set(u_longlong_t v, int sizeof_orig_v)
708 if (v & mask)