Home
last modified time | relevance | path

Searched refs:iKeyValueStore (Results 1 – 4 of 4) sorted by relevance

/external/opencore/protocols/http_parcom/src/
Dhttp_composer.cpp42 if (iKeyValueStore) iKeyValueStore->clear(); in reset()
63 if ((iKeyValueStore = StringKeyValueStore::create()) == NULL) return false; in construct()
74 if (iKeyValueStore) OSCL_DELETE(iKeyValueStore); in ~HTTPComposer()
75 iKeyValueStore = NULL; in ~HTTPComposer()
95 if (!iKeyValueStore) return false; in setField()
99 … return (iKeyValueStore->addKeyValuePair(aNewFieldName, aNewFieldValue, aNeedReplaceOldValue) == in setField()
104 return iKeyValueStore->removeKeyValuePair(aNewFieldName); in setField()
110 if (!iKeyValueStore) return false; in setField()
111 if (!aNewFieldValue) return iKeyValueStore->removeKeyValuePair(aNewFieldName); in setField()
112 return (iKeyValueStore->addKeyValuePair(aNewFieldName, *aNewFieldValue, aNeedReplaceOldValue) == in setField()
[all …]
Dhttp_parser_internal.h233 iKeyValueStore(aKeyValueStore), iEntityUnitAlloc(aEntityUnitAlloc), iPrevCRLF(0) in iKeyValueStore() function
264 StringKeyValueStore *iKeyValueStore;
297 return (iKeyValueStore == NULL ? 0 : iKeyValueStore->getNumberOfKeyValuePairs()); in getNumFields()
301 return (iKeyValueStore == NULL ? 0 : iKeyValueStore->getCurrentKeyList(aFieldKeyList)); in getFieldKeyList()
305 …return (iKeyValueStore == NULL ? false : iKeyValueStore->getValueByKey(aNewFieldKey, aNewFieldValu…
309 … return (iKeyValueStore == NULL ? 0 : iKeyValueStore->getNumberOfValuesByKey(aNewFieldName)); in getNumberOfFieldsByKey()
316 return iKeyValueStore; in getKeyValuesStore()
340 if (iKeyValueStore) iKeyValueStore->clear(); in reset()
Dhttp_parser.cpp812 if (aFieldKeyLength + aFieldValueLength < iKeyValueStore->getAvailableSize()) in addKeyValuePairToStore()
814 …if (iKeyValueStore->addKeyValuePair(aFieldKey, aFieldKeyLength, aFieldValue, aFieldValueLength, aN… in addKeyValuePairToStore()
824 …if (iKeyValueStore->addKeyValuePair(aFieldKey, aFieldKeyLength, aFieldValue, aFieldValueLength, aN… in addKeyValuePairToStore()
843 uint32 miniSize = iKeyValueStore->getCurrentMemoryUsage() + aCurrKeyValueSize; in reallocKeyValueStore()
844 uint32 aNewStoreSize = OSCL_MAX(miniSize, iKeyValueStore->getStoreSize()) << 1; in reallocKeyValueStore()
849 if (!aKeyValueStore->copy(*iKeyValueStore)) in reallocKeyValueStore()
854 OSCL_DELETE(iKeyValueStore); in reallocKeyValueStore()
855 iKeyValueStore = aKeyValueStore; in reallocKeyValueStore()
1031 …if (!iContentInfo->parseContentInfo(*iKeyValueStore)) return HTTPParser::PARSE_MEMORY_ALLOCATION_F… in parse()
1173 if (iKeyValueStore->getValueByKey(contenLengthKey, contentLengthValue)) in checkGood2xxCode()
[all …]
/external/opencore/protocols/http_parcom/include/
Dhttp_composer.h165 HTTPComposer() : iKeyValueStore(NULL) in HTTPComposer()
181 StringKeyValueStore *iKeyValueStore; variable