Home
last modified time | relevance | path

Searched refs:ValueStore (Results 1 – 25 of 198) sorted by relevance

12345678

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/browser/value_store/
H A Dlazy_leveldb.cc46 return ValueStore::OK; in LevelDbToValueStoreStatusCode()
48 return ValueStore::CORRUPTION; in LevelDbToValueStoreStatusCode()
49 return ValueStore::OTHER_ERROR; in LevelDbToValueStoreStatusCode()
97 return ValueStore::Status(); in Read()
106 return ValueStore::Status(ValueStore::CORRUPTION, FixCorruption(&key), in Read()
110 return ValueStore::Status(); in Read()
165 ValueStore::RESTORE_NONE; in FixCorruption()
214 return ValueStore::Status(); in EnsureDbIsOpen()
217 return ValueStore::Status(ValueStore::CORRUPTION, in EnsureDbIsOpen()
240 return ValueStore::Status(); in ToValueStoreError()
[all …]
H A Dvalue_store.cc18 ValueStore::Status::Status(StatusCode code, in Status()
23 ValueStore::Status::Status(Status&& other) = default;
25 ValueStore::Status::~Status() = default;
27 ValueStore::Status& ValueStore::Status::operator=(Status&& rhs) = default;
40 ValueStore::ReadResult::ReadResult( in ReadResult()
47 ValueStore::ReadResult::ReadResult(Status status) in ReadResult()
52 ValueStore::ReadResult::~ReadResult() = default;
54 ValueStore::ReadResult& ValueStore::ReadResult::operator=(ReadResult&& rhs) =
59 ValueStore::WriteResult::WriteResult( in WriteResult()
71 ValueStore::WriteResult::~WriteResult() = default;
[all …]
H A Dleveldb_scoped_database.cc51 ValueStore::Status LeveldbScopedDatabase::Read( in Read()
55 ValueStore::Status status = EnsureDbIsOpen(); in Read()
60 return ValueStore::Status(ValueStore::OTHER_ERROR, kInvalidScope); in Read()
67 ValueStore::Status status = EnsureDbIsOpen(); in Read()
73 return ValueStore::Status(ValueStore::OTHER_ERROR, kInvalidScope); in Read()
86 return ValueStore::Status(ValueStore::CORRUPTION, in Read()
101 ValueStore::Status status = EnsureDbIsOpen(); in Write()
141 return ValueStore::Status(ValueStore::OTHER_ERROR, kInvalidScope); in DeleteValues()
155 return ValueStore::Status(ValueStore::OTHER_ERROR, kInvalidScope); in AddToWriteBatch()
159 return ValueStore::Status(ValueStore::OTHER_ERROR, kCannotSerialize); in AddToWriteBatch()
[all …]
H A Dtest_value_store_factory.h16 class ValueStore; variable
29 std::unique_ptr<ValueStore> CreateRulesStore() override;
30 std::unique_ptr<ValueStore> CreateStateStore() override;
31 std::unique_ptr<ValueStore> CreateSettingsStore(
48 ValueStore* LastCreatedStore() const;
50 ValueStore* GetExisting(const ExtensionId& extension_id) const;
62 ValueStore* AddValueStore(const ExtensionId& extension_id,
63 ValueStore* value_store,
72 std::map<ExtensionId, ValueStore*> app_stores_;
73 std::map<ExtensionId, ValueStore*> extension_stores_;
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/value_store/
H A Dlazy_leveldb.cc47 return ValueStore::OK; in LevelDbToValueStoreStatusCode()
49 return ValueStore::CORRUPTION; in LevelDbToValueStoreStatusCode()
50 return ValueStore::OTHER_ERROR; in LevelDbToValueStoreStatusCode()
98 return ValueStore::Status(); in Read()
107 return ValueStore::Status(ValueStore::CORRUPTION, FixCorruption(&key), in Read()
111 return ValueStore::Status(); in Read()
166 ValueStore::RESTORE_NONE; in FixCorruption()
215 return ValueStore::Status(); in EnsureDbIsOpen()
218 return ValueStore::Status(ValueStore::CORRUPTION, in EnsureDbIsOpen()
241 return ValueStore::Status(); in ToValueStoreError()
[all …]
H A Dvalue_store.cc18 ValueStore::Status::Status(StatusCode code, in Status()
23 ValueStore::Status::Status(Status&& other) = default;
25 ValueStore::Status::~Status() = default;
27 ValueStore::Status& ValueStore::Status::operator=(Status&& rhs) = default;
40 ValueStore::ReadResult::ReadResult( in ReadResult()
47 ValueStore::ReadResult::ReadResult(Status status) in ReadResult()
52 ValueStore::ReadResult::~ReadResult() = default;
54 ValueStore::ReadResult& ValueStore::ReadResult::operator=(ReadResult&& rhs) =
59 ValueStore::WriteResult::WriteResult( in WriteResult()
71 ValueStore::WriteResult::~WriteResult() = default;
[all …]
H A Dleveldb_scoped_database.cc51 ValueStore::Status LeveldbScopedDatabase::Read( in Read()
55 ValueStore::Status status = EnsureDbIsOpen(); in Read()
60 return ValueStore::Status(ValueStore::OTHER_ERROR, kInvalidScope); in Read()
67 ValueStore::Status status = EnsureDbIsOpen(); in Read()
73 return ValueStore::Status(ValueStore::OTHER_ERROR, kInvalidScope); in Read()
86 return ValueStore::Status(ValueStore::CORRUPTION, in Read()
101 ValueStore::Status status = EnsureDbIsOpen(); in Write()
141 return ValueStore::Status(ValueStore::OTHER_ERROR, kInvalidScope); in DeleteValues()
155 return ValueStore::Status(ValueStore::OTHER_ERROR, kInvalidScope); in AddToWriteBatch()
159 return ValueStore::Status(ValueStore::OTHER_ERROR, kCannotSerialize); in AddToWriteBatch()
[all …]
H A Dtest_value_store_factory.h16 class ValueStore; variable
29 std::unique_ptr<ValueStore> CreateRulesStore() override;
30 std::unique_ptr<ValueStore> CreateStateStore() override;
31 std::unique_ptr<ValueStore> CreateSettingsStore(
48 ValueStore* LastCreatedStore() const;
50 ValueStore* GetExisting(const ExtensionId& extension_id) const;
62 ValueStore* AddValueStore(const ExtensionId& extension_id,
63 ValueStore* value_store,
72 std::map<ExtensionId, ValueStore*> app_stores_;
73 std::map<ExtensionId, ValueStore*> extension_stores_;
[all …]
/dports/math/clasp/clasp-3.3.5/libpotassco/src/
H A Dvalue_store.cpp30 ValueStore::ValueStore() in ValueStore() function in Potassco::ProgramOptions::ValueStore
34 ValueStore::ValueStore(const ValueStore& other) in ValueStore() function in Potassco::ProgramOptions::ValueStore
41 ValueStore::~ValueStore() { in ~ValueStore()
44 ValueStore& ValueStore::operator=(ValueStore other) { in operator =()
48 void ValueStore::swap(ValueStore& other) { in swap()
53 const std::type_info& ValueStore::type() const { in type()
63 void ValueStore::clear() { in clear()
70 void ValueStore::surrender() { in surrender()
74 void ValueStore::clone(const void* obj, void** out) const { in clone()
78 void* ValueStore::extract(void** v) const { in extract()
/dports/math/clingo/clingo-5.5.1/clasp/libpotassco/src/
H A Dvalue_store.cpp30 ValueStore::ValueStore() in ValueStore() function in Potassco::ProgramOptions::ValueStore
34 ValueStore::ValueStore(const ValueStore& other) in ValueStore() function in Potassco::ProgramOptions::ValueStore
41 ValueStore::~ValueStore() { in ~ValueStore()
44 ValueStore& ValueStore::operator=(ValueStore other) { in operator =()
48 void ValueStore::swap(ValueStore& other) { in swap()
53 const std::type_info& ValueStore::type() const { in type()
63 void ValueStore::clear() { in clear()
70 void ValueStore::surrender() { in surrender()
74 void ValueStore::clone(const void* obj, void** out) const { in clone()
78 void* ValueStore::extract(void** v) const { in extract()
/dports/math/clasp/clasp-3.3.5/libpotassco/potassco/program_opts/
H A Dvalue_store.h43 class ValueStore {
46 ValueStore();
48 ValueStore(const ValueStore& other);
51 ValueStore(const T& obj) in ValueStore() function
57 ~ValueStore();
59 ValueStore& operator=(ValueStore other);
62 ValueStore& operator=(const T& obj) {
63 ValueStore(obj).swap(*this);
71 ValueStore& assimilate(T* obj) { in assimilate()
78 void swap(ValueStore& other);
[all …]
/dports/math/clingo/clingo-5.5.1/clasp/libpotassco/potassco/program_opts/
H A Dvalue_store.h43 class ValueStore {
46 ValueStore();
48 ValueStore(const ValueStore& other);
51 ValueStore(const T& obj) in ValueStore() function
57 ~ValueStore();
59 ValueStore& operator=(ValueStore other);
62 ValueStore& operator=(const T& obj) {
63 ValueStore(obj).swap(*this);
71 ValueStore& assimilate(T* obj) { in assimilate()
78 void swap(ValueStore& other);
[all …]
/dports/textproc/xerces-c3/xerces-c-3.2.3/src/xercesc/validators/schema/identity/
H A DValueStoreCache.hpp58 class ValueStore;
94 ValueStore* getValueStoreFor(const IC_Field* const field, const int initialDepth);
95 ValueStore* getValueStoreFor(const IdentityConstraint* const ic, const int initialDepth);
96 ValueStore* getGlobalValueStoreFor(const IdentityConstraint* const ic);
123 RefVectorOf<ValueStore>* fValueStores;
124 RefHashTableOf<ValueStore, PtrHasher>* fGlobalICMap;
125 RefHash2KeysTableOf<ValueStore, PtrHasher>* fIC2ValueStoreMap;
126 RefStackOf<RefHashTableOf<ValueStore, PtrHasher> >* fGlobalMapStack;
142 inline ValueStore*
148 inline ValueStore*
[all …]
H A DValueStoreCache.cpp80 fGlobalICMap = new (fMemoryManager) RefHashTableOf<ValueStore, PtrHasher> in startElement()
94 RefHashTableOf<ValueStore, PtrHasher>* oldMap = fGlobalMapStack->pop(); in endElement()
100 ValueStore& oldVal = mapEnum.nextElement(); in endElement()
102 ValueStore* currVal = fGlobalICMap->get(ic); in endElement()
127 fValueStores = new (fMemoryManager) RefVectorOf<ValueStore>(8, false, fMemoryManager); in init()
128 fGlobalICMap = new (fMemoryManager) RefHashTableOf<ValueStore, PtrHasher> in init()
134 fIC2ValueStoreMap = new (fMemoryManager) RefHash2KeysTableOf<ValueStore, PtrHasher> in init()
152 ValueStore* valueStore=fIC2ValueStoreMap->get(ic, initialDepth); in initValueStoresFor()
155 valueStore = new (fMemoryManager) ValueStore(ic, fScanner, fMemoryManager); in initValueStoresFor()
170 ValueStore* newVals = fIC2ValueStoreMap->get(ic, initialDepth); in transplant()
[all …]
H A DValueStore.hpp72 class VALIDATORS_EXPORT ValueStore : public XMemory class
78 ValueStore(IdentityConstraint* const ic,
81 ~ValueStore();
91 void append(const ValueStore* const other);
116 ValueStore(const ValueStore& other);
117 ValueStore& operator= (const ValueStore& other);
135 ValueStore::getIdentityConstraint() const { in getIdentityConstraint()
/dports/biology/py-python-libsbml/python-libsbml-5.19.0/libsbml_dependencies/xerces-c/src/xercesc/validators/schema/identity/
H A DValueStoreCache.hpp58 class ValueStore;
94 ValueStore* getValueStoreFor(const IC_Field* const field, const int initialDepth);
95 ValueStore* getValueStoreFor(const IdentityConstraint* const ic, const int initialDepth);
96 ValueStore* getGlobalValueStoreFor(const IdentityConstraint* const ic);
123 RefVectorOf<ValueStore>* fValueStores;
124 RefHashTableOf<ValueStore, PtrHasher>* fGlobalICMap;
125 RefHash2KeysTableOf<ValueStore, PtrHasher>* fIC2ValueStoreMap;
126 RefStackOf<RefHashTableOf<ValueStore, PtrHasher> >* fGlobalMapStack;
142 inline ValueStore*
148 inline ValueStore*
[all …]
H A DValueStoreCache.cpp80 fGlobalICMap = new (fMemoryManager) RefHashTableOf<ValueStore, PtrHasher> in startElement()
94 RefHashTableOf<ValueStore, PtrHasher>* oldMap = fGlobalMapStack->pop(); in endElement()
100 ValueStore& oldVal = mapEnum.nextElement(); in endElement()
102 ValueStore* currVal = fGlobalICMap->get(ic); in endElement()
127 fValueStores = new (fMemoryManager) RefVectorOf<ValueStore>(8, false, fMemoryManager); in init()
128 fGlobalICMap = new (fMemoryManager) RefHashTableOf<ValueStore, PtrHasher> in init()
134 fIC2ValueStoreMap = new (fMemoryManager) RefHash2KeysTableOf<ValueStore, PtrHasher> in init()
152 ValueStore* valueStore=fIC2ValueStoreMap->get(ic, initialDepth); in initValueStoresFor()
155 valueStore = new (fMemoryManager) ValueStore(ic, fScanner, fMemoryManager); in initValueStoresFor()
170 ValueStore* newVals = fIC2ValueStoreMap->get(ic, initialDepth); in transplant()
[all …]
H A DValueStore.hpp72 class VALIDATORS_EXPORT ValueStore : public XMemory class
78 ValueStore(IdentityConstraint* const ic,
81 ~ValueStore();
91 void append(const ValueStore* const other);
116 ValueStore(const ValueStore& other);
117 ValueStore& operator= (const ValueStore& other);
135 ValueStore::getIdentityConstraint() const { in getIdentityConstraint()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/api/storage/
H A Dpolicy_value_store.cc21 ValueStore::Status ReadOnlyError() { in ReadOnlyError()
22 return ValueStore::Status(ValueStore::READ_ONLY, in ReadOnlyError()
31 std::unique_ptr<ValueStore> delegate) in PolicyValueStore()
55 ValueStore::ReadResult read_result = delegate_->Get(); in SetCurrentPolicy()
86 ValueStore::WriteOptions options = ValueStore::IGNORE_QUOTA; in SetCurrentPolicy()
127 ValueStore::ReadResult PolicyValueStore::Get( in Get()
132 ValueStore::ReadResult PolicyValueStore::Get() { in Get()
136 ValueStore::WriteResult PolicyValueStore::Set(WriteOptions options, in Set()
142 ValueStore::WriteResult PolicyValueStore::Set( in Set()
152 ValueStore::WriteResult PolicyValueStore::Remove( in Remove()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/extensions/api/storage/
H A Dpolicy_value_store.cc21 ValueStore::Status ReadOnlyError() { in ReadOnlyError()
22 return ValueStore::Status(ValueStore::READ_ONLY, in ReadOnlyError()
31 std::unique_ptr<ValueStore> delegate) in PolicyValueStore()
55 ValueStore::ReadResult read_result = delegate_->Get(); in SetCurrentPolicy()
86 ValueStore::WriteOptions options = ValueStore::IGNORE_QUOTA; in SetCurrentPolicy()
127 ValueStore::ReadResult PolicyValueStore::Get( in Get()
132 ValueStore::ReadResult PolicyValueStore::Get() { in Get()
136 ValueStore::WriteResult PolicyValueStore::Set(WriteOptions options, in Set()
142 ValueStore::WriteResult PolicyValueStore::Set( in Set()
152 ValueStore::WriteResult PolicyValueStore::Remove( in Remove()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/api/storage/
H A Dweak_unlimited_settings_storage.cc10 ValueStore* delegate) in WeakUnlimitedSettingsStorage()
29 ValueStore::ReadResult WeakUnlimitedSettingsStorage::Get( in Get()
34 ValueStore::ReadResult WeakUnlimitedSettingsStorage::Get( in Get()
39 ValueStore::ReadResult WeakUnlimitedSettingsStorage::Get() { in Get()
43 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Set( in Set()
48 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Set( in Set()
53 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Remove( in Remove()
58 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Remove( in Remove()
63 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Clear() { in Clear()
H A Dstorage_api.h31 virtual ResponseValue RunWithStorage(ValueStore* storage) = 0;
36 ResponseValue UseReadResult(ValueStore::ReadResult result);
42 ResponseValue UseWriteResult(ValueStore::WriteResult result);
47 void AsyncRunWithStorage(ValueStore* storage);
65 ResponseValue RunWithStorage(ValueStore* storage) override;
76 ResponseValue RunWithStorage(ValueStore* storage) override;
90 ResponseValue RunWithStorage(ValueStore* storage) override;
104 ResponseValue RunWithStorage(ValueStore* storage) override;
118 ResponseValue RunWithStorage(ValueStore* storage) override;
H A Dstorage_frontend_unittest.cc31 const ValueStore::WriteOptions DEFAULTS = ValueStore::DEFAULTS;
89 ValueStore* storage = settings_test_util::GetStorage( in TEST_F()
96 ValueStore::WriteResult result = storage->Set(DEFAULTS, "foo", bar); in TEST_F()
101 ValueStore::ReadResult result = storage->Get(); in TEST_F()
111 ValueStore::ReadResult result = storage->Get(); in TEST_F()
123 ValueStore* storage = settings_test_util::GetStorage( in TEST_F()
140 ValueStore::ReadResult result = storage->Get(); in TEST_F()
152 ValueStore* storage = settings_test_util::GetStorage( in TEST_F()
165 ValueStore::WriteResult result = storage->Clear(); in TEST_F()
186 ValueStore* sync_storage = settings_test_util::GetStorage( in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/browser/api/storage/
H A Dweak_unlimited_settings_storage.cc10 ValueStore* delegate) in WeakUnlimitedSettingsStorage()
29 ValueStore::ReadResult WeakUnlimitedSettingsStorage::Get( in Get()
34 ValueStore::ReadResult WeakUnlimitedSettingsStorage::Get( in Get()
39 ValueStore::ReadResult WeakUnlimitedSettingsStorage::Get() { in Get()
43 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Set( in Set()
48 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Set( in Set()
53 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Remove( in Remove()
58 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Remove( in Remove()
63 ValueStore::WriteResult WeakUnlimitedSettingsStorage::Clear() { in Clear()
H A Dstorage_api.h31 virtual ResponseValue RunWithStorage(ValueStore* storage) = 0;
36 ResponseValue UseReadResult(ValueStore::ReadResult result);
42 ResponseValue UseWriteResult(ValueStore::WriteResult result);
47 void AsyncRunWithStorage(ValueStore* storage);
65 ResponseValue RunWithStorage(ValueStore* storage) override;
76 ResponseValue RunWithStorage(ValueStore* storage) override;
90 ResponseValue RunWithStorage(ValueStore* storage) override;
104 ResponseValue RunWithStorage(ValueStore* storage) override;
118 ResponseValue RunWithStorage(ValueStore* storage) override;

12345678