Lines Matching refs:OK
84 bool ok = true;
87 ok = ok && mData->writeInt32(-1) == OK;
88 ok = ok && mData->writeInt32(kMetaMarker) == OK;
89 return ok;
99 bool ok = true;
102 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK;
103 ok = ok && mData->writeInt32(key) == OK;
104 ok = ok && mData->writeInt32(BOOLEAN_VAL) == OK;
105 ok = ok && mData->writeInt32(val ? 1 : 0) == OK;
106 if (!ok) {
109 return ok;
119 bool ok = true;
122 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK;
123 ok = ok && mData->writeInt32(key) == OK;
124 ok = ok && mData->writeInt32(INTEGER_VAL) == OK;
125 ok = ok && mData->writeInt32(val) == OK;
126 if (!ok) {
129 return ok;