Home | History | Annotate | Download | only in core

Lines Matching refs:fPairs

215     fPairs = allocatePairStorage(1, keyLen + 1);
217 fPairs[0].fKey = (char*)(fPairs + 1);
218 memcpy(const_cast<char*>(fPairs[0].fKey), key, keyLen + 1);
220 fPairs[0].fValue = dupdata(value);
227 fPairs = NULL;
237 Pair* pairs = fPairs = allocatePairStorage(count, keySize);
260 fPairs[i].fValue->unref();
262 sk_free(fPairs); // this also frees the key storage
266 return findValue(key, fPairs, fCount);
274 stream->write(fPairs[0].fKey, fKeySize);
276 stream->writeData(fPairs[i].fValue);
284 buffer.writeByteArray(fPairs[0].fKey, fKeySize);
286 buffer.writeFlattenable(fPairs[i].fValue);
295 fPairs = allocatePairStorage(fCount, fKeySize);
296 char* keyStorage = (char*)(fPairs + fCount);
301 fPairs[i].fKey = keyStorage;
303 fPairs[i].fValue = stream->readData();
307 fPairs = NULL;
315 fPairs = allocatePairStorage(fCount, fKeySize);
316 char* keyStorage = (char*)(fPairs + fCount);
321 fPairs[i].fKey = keyStorage;
323 fPairs[i].fValue = buffer.readFlattenableT<SkData>();
327 fPairs = NULL;