Lines Matching refs:ok
83 bool ok = true;
86 ok = ok && mData->writeInt32(-1) == OK;
87 ok = ok && mData->writeInt32(kMetaMarker) == OK;
88 return ok;
98 bool ok = true;
101 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK;
102 ok = ok && mData->writeInt32(key) == OK;
103 ok = ok && mData->writeInt32(BOOLEAN_VAL) == OK;
104 ok = ok && mData->writeInt32(val ? 1 : 0) == OK;
105 if (!ok) {
108 return ok;
118 bool ok = true;
121 ok = ok && mData->writeInt32(4 * sizeof(int32_t)) == OK;
122 ok = ok && mData->writeInt32(key) == OK;
123 ok = ok && mData->writeInt32(INTEGER_VAL) == OK;
124 ok = ok && mData->writeInt32(val) == OK;
125 if (!ok) {
128 return ok;