Lines Matching refs:parcel

17   * @file parcel.h
39 * @brief Defines a class for which the instance can be written into a parcel.
57 * @brief Writes a `Parcelable` object into a parcel.
59 * @param parcel Indicates the parcel.
63 * in the parcel.
65 * fetch data from the given parcel into this `Parcelable` object.
66 * See `static TestParcelable *Unmarshalling(Parcel &parcel)` as an example.
68 virtual bool Marshalling(Parcel &parcel) const = 0;
139 * @note A non-default allocator for a parcel must be specified manually.
144 * @brief Allocates memory for this parcel.
152 * @brief Deallocates memory for this parcel.
159 * @brief Reallocates memory for this parcel.
190 * @brief Obtains the total size of existing data in this parcel.
197 * @brief Obtains the pointer to the beginning of data in this parcel.
205 * in this parcel.
222 * into this parcel.
230 * from this parcel.
237 * @brief Obtains the total capacity of this parcel, that is, the size of
238 * the current data region in the parcel.
245 * @brief Obtains the maximum capacity of this parcel.
252 * @brief Sets the capacity for this parcel, that is, the size of the
253 * current data region in the parcel.
265 * @brief Sets the total size of existing data in this parcel.
276 * @brief Sets the maximum capacity for this parcel.
299 * @brief Writes a data region (buffer) to this parcel.
309 * @brief Writes a data region (buffer) to this parcel in alignment
323 * @brief Writes a data region (buffer) to this parcel.
335 * @brief Writes a C-style string to this parcel.
346 * @brief Writes a C++ string (`std::string`) to this parcel.
359 * to this parcel.
372 * to this parcel.
388 * to this parcel.
401 * @brief Writes a `Parcelable` object to this parcel.
404 * Call `Marshalling(Parcel &parcel)` to write a non-remote object.
415 * @brief Writes a `Parcelable` object to this parcel, and enables its
425 * @brief Writes a remote object to this parcel.
431 * alive as long as this parcel is alive.
437 * @brief Writes an object to this parcel.
439 * Use its own `Marshalling(Parcel &parcel)` when a null pointer is passed
451 * @brief Parses input data by this parcel.
457 * @note Only the read operation from this parcel is allowed after
509 * @brief Reads a block of data (buffer data) from this parcel.
517 * @brief Read a block of data (buffer data) from this parcel.
526 * from this parcel.
546 * @brief Reads a C-style string from this parcel.
553 * @brief Reads a C++ string (`std::string`) object from this parcel.
561 * @brief Reads a C++ string (`std::string`) object from this parcel to
572 * from this parcel.
581 * parcel to an object.
591 * from this parcel.
601 * this parcel.
647 * from this parcel.
657 * @brief Reads a `Parcelable` object from this parcel and manages it by a
676 * @brief Reads an object from this parcel.
690 * @brief Sets a memory allocator for this parcel.
701 * @brief Records an array of positions of this parcel.
710 * @brief Deallocates the data region and resets this parcel.
715 * @brief Writes an `std::vector` object to this parcel.
718 * @tparam T2 Indicates the class type for the write method of this parcel.
743 * @brief Reads an `std::vector` object from this parcel.
746 * @tparam T2 Indicates the class type for the read method of this parcel.
878 // Read data from the given parcel into this parcelable object.
889 // Read data from the given parcel into this parcelable object, and return sptr.