Lines Matching defs:pointer

188 // for type T, which is NULL when T is a raw pointer type, 0 when T is
216 // This partial specialization defines the default values for pointer
393 // // Assume we have some API that needs to accept a unique pointer to some
398 // // has to give away its unique pointer, it must not be called more than
788 // pointer and a pointer to const.)
1119 // Allows ReturnNull() to be used in any pointer-returning function. In C++11
1121 // pointer type on compile time.
1262 // Implements the Assign action to set a given pointer referent to a
1302 // whose N-th argument (0-based) is a pointer to x's type.
1328 // function pointer or a functor. InvokeWithoutArgs(f) can be used as an
1672 Ptr pointer;
1676 *pointer = std::get<k>(std::tie(args...));
1682 Ptr pointer;
1686 *pointer = *std::get<k>(std::tie(args...));
1728 Ptr pointer;
1730 auto operator()(const Args&...) const -> decltype(*pointer) {
1731 return *pointer;
1926 // Creates an action that sets a pointer referent to a given value.
2001 // The ReturnNew<T>(a1, a2, ..., a_k) action returns a pointer to a new
2016 // Action SaveArg<k>(pointer) saves the k-th (0-based) argument of the
2017 // mock function to *pointer.
2019 internal::SaveArgAction<k, Ptr> SaveArg(Ptr pointer) {
2020 return {pointer};
2023 // Action SaveArgPointee<k>(pointer) saves the value pointed to
2024 // by the k-th (0-based) argument of the mock function to *pointer.
2026 internal::SaveArgPointeeAction<k, Ptr> SaveArgPointee(Ptr pointer) {
2027 return {pointer};
2040 // (0-based) argument, which can be either a pointer or an
2056 // This action returns the value pointed to by 'pointer'.
2058 internal::ReturnPointeeAction<Ptr> ReturnPointee(Ptr pointer) {
2059 return {pointer};