Lines Matching defs:const

56 GTEST_API_ string ConvertIdentifierNameToWords(const char* id_name);
76 inline const typename Pointer::element_type* GetRawPointer(const Pointer& p) {
86 bool operator()(const ::testing::internal::linked_ptr<T>& lhs,
87 const ::testing::internal::linked_ptr<T>& rhs) const {
269 virtual void ReportFailure(FailureType type, const char* file, int line,
270 const string& message) = 0;
281 inline void Assert(bool condition, const char* file, int line,
282 const string& msg) {
288 inline void Assert(bool condition, const char* file, int line) {
294 inline void Expect(bool condition, const char* file, int line,
295 const string& msg) {
301 inline void Expect(bool condition, const char* file, int line) {
314 const char kInfoVerbosity[] = "info";
316 const char kWarningVerbosity[] = "warning";
318 const char kErrorVerbosity[] = "error";
332 const string& message,
351 // DecayArray<T>::type turns an array type U[N] to const U* and preserves
355 typedef const T* type;
358 // (e.g. extern const char kNamePrefix[]). This specialization covers that
361 typedef const T* type;
389 // Given a raw type (i.e. having no top-level reference or const
396 // - const_reference is a type that provides a reference to a const
398 // - ConstReference(raw_container) returns a const reference to an STL-style
409 typedef const type& const_reference;
411 static const_reference ConstReference(const RawContainer& container) {
412 // Ensures that RawContainer is not a const type.
417 static type Copy(const RawContainer& container) { return container; }
427 // reference (selected by a constructor argument), so 'const type'
428 // can be used to reference a const native array. We cannot
429 // 'typedef const type& const_reference' here, as that would mean
431 typedef const type const_reference;
433 static const_reference ConstReference(const Element (&array)[N]) {
434 // Ensures that Element is not a const type.
440 // {lval} const char *[4], long, testing::internal::RelationToSource)'
443 // char *const *, unsigned int, testing::internal::RelationToSource)'
445 // <const char * (&)[4]>::Matches(const char * (&)[4]) const')
447 // ConstReference(const char * (&)[4])')
456 static type Copy(const Element (&array)[N]) {
473 typedef const type const_reference;
476 const ::testing::tuple<ElementPointer, Size>& array) {
479 static type Copy(const ::testing::tuple<ElementPointer, Size>& array) {
496 // Partially specialized to remove constness from std::pair<const K, V>.
498 struct RemoveConstFromKey<std::pair<const K, V> > {