Lines Matching defs:rest

4168 inline std::size_t concat_length(const char* cstr, Args&& ... rest);
4171 inline std::size_t concat_length(const StringType& str, Args&& ... rest);
4174 inline std::size_t concat_length(const char /*c*/, Args&& ... rest)
4176 return 1 + concat_length(std::forward<Args>(rest)...);
4180 inline std::size_t concat_length(const char* cstr, Args&& ... rest)
4183 return ::strlen(cstr) + concat_length(std::forward<Args>(rest)...);
4187 inline std::size_t concat_length(const StringType& str, Args&& ... rest)
4189 return str.size() + concat_length(std::forward<Args>(rest)...);
4223 inline void concat_into(OutStringType& out, Arg && arg, Args && ... rest);
4229 inline void concat_into(OutStringType& out, const Arg& arg, Args && ... rest);
4236 inline void concat_into(OutStringType& out, const Arg& arg, Args && ... rest);
4240 inline void concat_into(OutStringType& out, Arg && arg, Args && ... rest)
4243 concat_into(out, std::forward<Args>(rest)...);
4249 inline void concat_into(OutStringType& out, Arg&& arg, Args&& ... rest)
4252 concat_into(out, std::forward<Args>(rest)...);
4259 inline void concat_into(OutStringType& out, const Arg& arg, Args&& ... rest)
4262 concat_into(out, std::forward<Args>(rest)...);
4270 inline void concat_into(OutStringType& out, const Arg& arg, Args&& ... rest)
4273 concat_into(out, std::forward<Args>(rest)...);
17330 std::uint64_t rest, std::uint64_t ten_k)
17334 JSON_ASSERT(rest <= delta);
17344 // <---- rest ---->
17356 while (rest < dist
17357 && delta - rest >= ten_k
17358 && (rest + ten_k < dist || dist - rest > rest + ten_k - dist))
17362 rest += ten_k;
17423 // = d[k-1] * 10^(k-1) + ( rest) * 2^e
17431 // rest * 2^e = (d[n-1]...d[0] * 2^-e + p2) * 2^e <= delta * 2^e
17461 // p1 + p2 * 2^e = (p1 * 2^-e + p2) * 2^e = rest * 2^e
17464 // Since rest and delta share the same exponent e, it suffices to
17466 const std::uint64_t rest = (std::uint64_t{p1} << -one.e) + p2;
17467 if (rest <= delta)
17483 grisu2_round(buffer, length, dist, delta, rest, ten_n);