Lines Matching defs:from
15 // contributors may be used to endorse or promote products derived from
144 // are enabled). We derive it from std::runtime_error, which is for
146 // std::runtime_error inherits from std::exception, many testing
165 // Don't inherit from ScopedTrace!
175 // Returns the optimal edits to go from 'left' to 'right'.
304 // Constructs a FloatingPoint from a raw floating-point number.
352 // Returns true iff this number is at most kMaxUlps ULP's away from
374 // Converts an integer from the sign-and-magnitude representation to
738 // Helper for suppressing false warning from Clang on a const char*
760 // Generates a random number from [0, range). Crashes if 'range' is
778 // Removes the reference from a type if it is a reference type,
791 // Removes const from a type if it is a const type, otherwise leaves
887 // MSVC warns about implicitly converting from double to int for
996 void CopyArray(const T* from, size_t size, U* to);
1000 inline void CopyArray(const T& from, U* to) { *to = from; }
1004 inline void CopyArray(const T(&from)[N], U(*to)[N]) {
1005 internal::CopyArray(from, N, *to);
1012 void CopyArray(const T* from, size_t size, U* to) {
1014 internal::CopyArray(from[i], to + i);
1041 // Constructs from a native array. References the source.
1046 // Constructs from a native array. Copies the source.