Lines Matching refs:ValuePtr
49 char *ValuePtr;
57 * If Size == 0 and Data.ValuePtr is non-zero then the value is in the
58 * 'out-of-band error' state, and Data.ValuePtr points at a malloc-allocated,
67 * memory pointed to by Data.ValuePtr. This memory must have been allocated by
84 R->Data.ValuePtr = 0;
95 // If Size is 0 ValuePtr must be 0 or it is considered an out-of-band error.
96 R.Data.ValuePtr = 0;
98 R.Data.ValuePtr = (char *)malloc(Size);
112 R.Data.ValuePtr = Tmp;
144 R.Data.ValuePtr = Tmp;
155 (R->Size == 0 && R->Data.ValuePtr))
156 free(R->Data.ValuePtr);
165 assert((R->Size != 0 || R->Data.ValuePtr == NULL) &&
167 return R->Size > sizeof(R->Data.Value) ? R->Data.ValuePtr : R->Data.Value;
177 assert((R->Size != 0 || R->Data.ValuePtr == NULL) &&
188 return R->Size == 0 && R->Data.ValuePtr == 0;
200 return R->Size == 0 ? R->Data.ValuePtr : 0;