Lines Matching defs:ret
118 status_t ret = BArchivable::Archive(into, deep);
121 if (ret == B_OK) {
125 ret = into->AddData("transformation", B_DOUBLE_TYPE,
130 if (ret >= B_OK) {
132 ret = into->AddInt32("color", (const uint32&)step->color);
133 if (ret < B_OK)
135 ret = into->AddFloat("offset", step->offset);
136 if (ret < B_OK)
141 if (ret >= B_OK)
142 ret = into->AddInt32("type", (int32)fType);
143 if (ret >= B_OK)
144 ret = into->AddInt32("interpolation", (int32)fInterpolation);
145 if (ret >= B_OK)
146 ret = into->AddBool("inherit transformation", fInheritTransformation);
149 if (ret >= B_OK)
150 ret = into->AddString("class", "Gradient");
152 return ret;