Lines Matching defs: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
81 R->Data.ValuePtr = 0;
92 // If Size is 0 ValuePtr must be 0 or it is considered an out-of-band error.
93 R.Data.ValuePtr = 0;
95 R.Data.ValuePtr = (char *)malloc(Size);
109 R.Data.ValuePtr = Tmp;
141 R.Data.ValuePtr = Tmp;
152 (R->Size == 0 && R->Data.ValuePtr))
153 free(R->Data.ValuePtr);
162 assert((R->Size != 0 || R->Data.ValuePtr == NULL) &&
164 return R->Size > sizeof(R->Data.Value) ? R->Data.ValuePtr : R->Data.Value;
174 assert((R->Size != 0 || R->Data.ValuePtr == NULL) &&
185 return R->Size == 0 && R->Data.ValuePtr == 0;
197 return R->Size == 0 ? R->Data.ValuePtr : 0;