Lines Matching refs:object

13 * Apply for a **PurgeableMemory** object and write data to the object.
14 * Release the **PurgeableMemory** object when it is no longer required.
20 … func, void \*funcPara) | Creates a **PurgeableMemory** object. A new **PurgeableMemory** object i…
21 …OH_PurgeableMemory_Destroy(OH_PurgeableMemory \*purgObj) | Destroys a **PurgeableMemory** object.|
22 …eginRead(OH_PurgeableMemory \*purgObj) | Begins a read operation on a **PurgeableMemory** object.|
23 … a **PurgeableMemory** object and decreases the reference count of the object by 1. When the refer…
24 …ginWrite(OH_PurgeableMemory \*purgObj) | Begins a write operation on a **PurgeableMemory** object.|
25 … a **PurgeableMemory** object and decreases the reference count of the object by 1. When the refer…
26 …_GetContent(OH_PurgeableMemory \*purgObj)|Obtains the memory data of a **PurgeableMemory** object.|
27 …ntSize(OH_PurgeableMemory \*purgObj)|Obtains the memory data size of a **PurgeableMemory** object.|
28 …mory_ModifyFunc func, void \*funcPara)|Adds a function for modifying a **PurgeableMemory** object.|
33 …mory APIs to apply for a **PurgeableMemory** object, write data to the object, and read data from …
35 1. Declare the rules for creating a **PurgeableMemory** object.
43 // Declare a function for modifying the object.
56 // Declare the parameters of the extended function for modifying the object.
61 // Declare the extended function for modifying the object.
70 2. Create a **PurgeableMemory** object.
78 // Create a PurgeableMemory object.
82 3. Perform a read operation on the **PurgeableMemory** object.
84 // Define an object type based on the service requirements.
87 // Begin a read operation on the object.
89 // Obtain the object size.
92 // Obtain the object content.
95 // End the read operation on the object.
100 4. Perform a write operation on the **PurgeableMemory** object.
102 // Define an object type based on the service requirements.
105 // Begin a write operation on the object.
107 // Obtain the object data.
113 // Update the rules for recreating the object.
116 // Stop writing data to the object.
121 5. Destroy the **PurgeableMemory** object.
123 // Destroy the object.