Home
last modified time | relevance | path

Searched full:store (Results 1 – 25 of 3696) sorted by relevance

12345678910>>...148

/freebsd/contrib/kyua/store/
H A DMakefile.am.inc35 libstore_a_SOURCES = store/dbtypes.cpp
36 libstore_a_SOURCES += store/dbtypes.hpp
37 libstore_a_SOURCES += store/exceptions.cpp
38 libstore_a_SOURCES += store/exceptions.hpp
39 libstore_a_SOURCES += store/layout.cpp
40 libstore_a_SOURCES += store/layout.hpp
41 libstore_a_SOURCES += store/layout_fwd.hpp
42 libstore_a_SOURCES += store/metadata.cpp
43 libstore_a_SOURCES += store/metadata.hpp
44 libstore_a_SOURCES += store/metadata_fwd.hpp
[all …]
H A Dread_transaction_test.cpp29 #include "store/read_transaction.hpp"
40 #include "store/exceptions.hpp"
41 #include "store/read_backend.hpp"
42 #include "store/write_backend.hpp"
43 #include "store/write_transaction.hpp"
61 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
65 store::write_backend::open_rw(fs::path("test.db")); // Create database. in ATF_TEST_CASE_BODY()
66 store::read_backend backend = store::read_backend::open_ro( in ATF_TEST_CASE_BODY()
69 store::read_transaction tx = backend.start_read(); in ATF_TEST_CASE_BODY()
70 ATF_REQUIRE_THROW_RE(store::error, "context: no data", tx.get_context()); in ATF_TEST_CASE_BODY()
[all …]
H A Ddbtypes_test.cpp29 #include "store/dbtypes.hpp"
35 #include "store/exceptions.hpp"
53 /// \param bind The store::bind_* function to put the value.
54 /// \param value The value to store and validate.
55 /// \param column The store::column_* function to get the value.
80 /// \param column The store::column_* function to get the value.
98 ATF_REQUIRE_THROW_RE(store::integrity_error, error_regexp, in do_invalid_test()
110 do_ok_test(store::bind_bool, true, store::column_bool); in ATF_TEST_CASE_BODY()
111 do_ok_test(store::bind_bool, false, store::column_bool); in ATF_TEST_CASE_BODY()
118 do_invalid_test(123, store::column_bool, "not a string"); in ATF_TEST_CASE_BODY()
[all …]
H A Dwrite_transaction_test.cpp29 #include "store/write_transaction.hpp"
42 #include "store/exceptions.hpp"
43 #include "store/write_backend.hpp"
75 store::write_backend backend = store::write_backend::open_rw( in do_put_result_ok_test()
78 store::write_transaction tx = backend.start_write(); in do_put_result_ok_test()
108 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
112 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
114 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY()
126 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
130 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
[all …]
H A Dwrite_backend_test.cpp29 #include "store/write_backend.hpp"
33 #include "store/exceptions.hpp"
34 #include "store/metadata.hpp"
53 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
59 const store::metadata md = store::detail::initialize(db); in ATF_TEST_CASE_BODY()
64 ATF_REQUIRE_EQ(store::detail::current_schema_version, md.schema_version()); in ATF_TEST_CASE_BODY()
82 store::detail::current_schema_version = 712; in ATF_TEST_CASE_BODY()
85 ATF_REQUIRE_THROW_RE(store::error, in ATF_TEST_CASE_BODY()
87 store::detail::initialize(db)); in ATF_TEST_CASE_BODY()
95 store::detail::current_schema_version = 712; in ATF_TEST_CASE_BODY()
[all …]
H A Dread_backend_test.cpp29 #include "store/read_backend.hpp"
33 #include "store/exceptions.hpp"
34 #include "store/metadata.hpp"
35 #include "store/write_backend.hpp"
58 sqlite::database db = store::detail::open_and_setup( in ATF_TEST_CASE_BODY()
71 ATF_REQUIRE_THROW_RE(store::error, "Cannot open 'missing.db': ", in ATF_TEST_CASE_BODY()
72 store::detail::open_and_setup(fs::path("missing.db"), in ATF_TEST_CASE_BODY()
82 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
89 store::detail::initialize(db); in ATF_TEST_CASE_BODY()
91 store::read_backend backend = store::read_backend::open_ro( in ATF_TEST_CASE_BODY()
[all …]
H A Dmetadata_test.cpp29 #include "store/metadata.hpp"
33 #include "store/exceptions.hpp"
34 #include "store/write_backend.hpp"
49 /// case pointing to store::detail::schema_file().
60 store::detail::initialize(db); in create_database()
73 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
83 const store::metadata metadata = store::metadata::fetch_latest(db); in ATF_TEST_CASE_BODY()
93 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
98 ATF_REQUIRE_THROW_RE(store::integrity_error, "metadata.*empty", in ATF_TEST_CASE_BODY()
99 store::metadata::fetch_latest(db)); in ATF_TEST_CASE_BODY()
[all …]
H A Dtransaction_test.cpp37 #include "store/read_backend.hpp"
38 #include "store/read_transaction.hpp"
39 #include "store/write_backend.hpp"
40 #include "store/write_transaction.hpp"
69 store::write_backend backend = store::write_backend::open_rw(test_db); in check_get_put_context()
70 store::write_transaction tx = backend.start_write(); in check_get_put_context()
75 store::read_backend backend = store::read_backend::open_ro(test_db); in check_get_put_context()
76 store::read_transaction tx = backend.start_read(); in check_get_put_context()
92 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
110 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
[all …]
H A Dwrite_backend.cpp29 #include "store/write_backend.hpp"
33 #include "store/exceptions.hpp"
34 #include "store/metadata.hpp"
35 #include "store/read_backend.hpp"
36 #include "store/write_transaction.hpp"
63 int store::detail::current_schema_version = 3;
90 store::detail::schema_file(void) in schema_file()
103 /// \throw store::error If there is a problem initializing the database.
104 store::metadata
105 store::detail::initialize(sqlite::database& db) in initialize()
[all …]
H A Dread_transaction.cpp29 #include "store/read_transaction.hpp"
43 #include "store/dbtypes.hpp"
44 #include "store/exceptions.hpp"
45 #include "store/read_backend.hpp"
133 throw store::integrity_error(F("Cannot find referenced file %s") % in get_file()
146 throw store::integrity_error(e.what()); in get_file()
198 store::column_test_result_type(stmt, type_column); in parse_result()
202 throw store::integrity_error("Result of type 'passed' has a " in parse_result()
210 throw store::integrity_error(e.what()); in parse_result()
220 /// \param backend_ The store backend we are dealing with.
[all …]
H A Dread_backend.cpp29 #include "store/read_backend.hpp"
31 #include "store/exceptions.hpp"
32 #include "store/metadata.hpp"
33 #include "store/read_transaction.hpp"
34 #include "store/write_backend.hpp"
55 /// \throw store::error If there is a problem opening or creating the database.
57 store::detail::open_and_setup(const fs::path& file, const int flags) in open_and_setup()
64 throw store::error(F("Cannot open '%s': %s") % file % e.what()); in open_and_setup()
70 struct store::read_backend::impl : utils::noncopyable {
108 store::read_backend::read_backend(impl* pimpl_) : in read_backend()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h1 //===- Store.h - Interface for maps from Locations to Values ----*- C++ -*-===//
9 // This file defined the types Store and StoreManager.
68 /// \param[in] store The store in which to make the lookup.
74 virtual SVal getBinding(Store store, Loc loc, QualType T = QualType()) = 0;
76 /// Return the default value bound to a region in a given store. The default
82 /// \param[in] store The store in which to make the lookup.
84 /// \return The default value bound to the region in the store, if a default
86 virtual std::optional<SVal> getDefaultBinding(Store store,
101 /// Return a store with the specified value bound to the given location.
102 /// \param[in] store The store in which to make the binding.
[all …]
/freebsd/crypto/openssl/crypto/property/
H A Dproperty.c75 * Lock to reserve the whole store. This is used when fetching a set
109 static void ossl_method_cache_flush_alg(OSSL_METHOD_STORE *store,
111 static void ossl_method_cache_flush(OSSL_METHOD_STORE *store, int nid);
227 OSSL_METHOD_STORE *store = arg; in alg_cleanup() local
235 if (store != NULL) in alg_cleanup()
236 ossl_sa_ALGORITHM_set(store->algs, idx, NULL); in alg_cleanup()
260 void ossl_method_store_free(OSSL_METHOD_STORE *store) in ossl_method_store_free() argument
262 if (store != NULL) { in ossl_method_store_free()
263 if (store->algs != NULL) in ossl_method_store_free()
264 ossl_sa_ALGORITHM_doall_arg(store->algs, &alg_cleanup, store); in ossl_method_store_free()
[all …]
/freebsd/crypto/heimdal/doc/doxyout/hx509/man/man3/
H A Dhx509_keyset.31 .TH "hx509 certificate store functions" 3 "11 Jan 2012" "Version 1.5.2" "Heimdalx509library" \" -*-…
5 hx509 certificate store functions \-
57 See the \fBCertificate store operations\fP for description and examples.
62 Add a certificate to the certificiate store.
70 \fIcerts\fP certificate store to add the certificate to.
89 \fIto\fP the store to merge into.
91 \fIlock\fP a lock that unlocks the certificates store, use NULL to select no password/certifictes/p…
93 \fIname\fP name of the source store
110 \fIcerts\fP certificate store to iterate over.
129 \fIcerts\fP certificate store to search.
[all …]
/freebsd/crypto/openssl/crypto/
H A Dprovider_core.c21 #include "crypto/store.h" /* ossl_store_loader_store_cache_flush */
54 * provider store. Each provider that exists in the parent provider store, has
55 * an associated child provider in the child library context's provider store.
85 * The store default_path_lock: Used to control access to the provider store's
88 * The store lock: Used to control the stack of provider's held within the
89 * provider store, as well as the stack of registered child provider callbacks.
103 * provider store lock, the provider activatecnt_lock and the provider flag_lock.
106 * 1) provider store lock
116 * - It is permissible to hold the store and flag locks when calling child
160 struct provider_store_st *store; /* The store this instance belongs to */ member
[all …]
H A Dcore_fetch.c21 OSSL_METHOD_STORE *store; member
39 if (is_temporary_method_store(no_store, data) && data->store == NULL) { in ossl_method_construct_reserve_store()
41 * If we have been told not to store the method "permanently", we in ossl_method_construct_reserve_store()
42 * ask for a temporary store, and store the method there. in ossl_method_construct_reserve_store()
44 * that temporary store. in ossl_method_construct_reserve_store()
46 if ((data->store = data->mcm->get_tmp_store(data->mcm_data)) == NULL) in ossl_method_construct_reserve_store()
50 return data->mcm->lock_store(data->store, data->mcm_data); in ossl_method_construct_reserve_store()
57 return data->mcm->unlock_store(data->store, data->mcm_data); in ossl_method_construct_unreserve_store()
115 "ossl_method_construct_this: putting an algo to the store %p with no_store %d\n", in ossl_method_construct_this()
116 (void *)data->store, no_store); in ossl_method_construct_this()
[all …]
/freebsd/crypto/openssl/doc/internal/man3/
H A DOSSL_METHOD_STORE.pod11 - implementation method store and query
20 void ossl_method_store_free(OSSL_METHOD_STORE *store);
23 int ossl_method_store_add(OSSL_METHOD_STORE *store, const OSSL_PROVIDER *prov,
27 int ossl_method_store_remove(OSSL_METHOD_STORE *store,
29 int ossl_method_store_fetch(OSSL_METHOD_STORE *store,
32 int ossl_method_store_remove_all_provided(OSSL_METHOD_STORE *store,
35 int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
37 int ossl_method_store_cache_set(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
41 void ossl_method_store_cache_flush_all(OSSL_METHOD_STORE *store);
58 =head2 Store Functions
[all …]
H A Dossl_method_construct.pod13 /* Get a temporary store */
15 /* Get an already existing method from a store */
16 void *(*get)(void *store, const OSSL_PROVIDER *prov, void *data);
17 /* Store a method in a store */
18 int (*put)(void *store, void *method, const OSSL_PROVIDER *prov,
79 Create a temporary method store in the scope of the library context I<ctx>.
80 This store is used to temporarily store methods for easier lookup, for
86 Look up an already existing method from a store by name.
88 The store may be given with I<store>.
89 NULL is a valid value and means that a subsystem default store
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dby_store.c11 #include <openssl/store.h>
25 static int cache_objects(X509_LOOKUP *lctx, CACHED_STORE *store, in DEFINE_STACK_OF()
32 if ((ctx = OSSL_STORE_open_ex(store->uri, store->libctx, store->propq, in DEFINE_STACK_OF()
77 substore.libctx = store->libctx; in DEFINE_STACK_OF()
78 substore.propq = store->propq; in DEFINE_STACK_OF()
109 static void free_store(CACHED_STORE *store) in free_store() argument
111 if (store != NULL) { in free_store()
112 OPENSSL_free(store->uri); in free_store()
113 OPENSSL_free(store->propq); in free_store()
114 OPENSSL_free(store); in free_store()
[all …]
H A Dx509_lu.c297 /* Also fill the cache (ctx->store->objs) with all matching certificates. */
315 * caching all certs matching the given subject DN in |ctx->store->objs|.
323 X509_STORE *store = ctx->store; in ossl_x509_store_ctx_get_by_subject() local
328 if (store == NULL) in ossl_x509_store_ctx_get_by_subject()
334 if (!ossl_x509_store_read_lock(store)) in ossl_x509_store_ctx_get_by_subject()
337 if (!sk_X509_OBJECT_is_sorted(store->objs)) { in ossl_x509_store_ctx_get_by_subject()
338 X509_STORE_unlock(store); in ossl_x509_store_ctx_get_by_subject()
340 if (!X509_STORE_lock(store)) in ossl_x509_store_ctx_get_by_subject()
346 sk_X509_OBJECT_sort(store->objs); in ossl_x509_store_ctx_get_by_subject()
348 tmp = X509_OBJECT_retrieve_by_subject(store->objs, type, name); in ossl_x509_store_ctx_get_by_subject()
[all …]
/freebsd/crypto/openssl/crypto/store/
H A Dstore_meth.c11 #include "crypto/store.h"
91 /* Temporary loader method store, constructor and destructor */
101 static void dealloc_tmp_loader_store(void *store) in dealloc_tmp_loader_store() argument
103 if (store != NULL) in dealloc_tmp_loader_store()
104 ossl_method_store_free(store); in dealloc_tmp_loader_store()
107 /* Get the permanent loader store */
113 static int reserve_loader_store(void *store, void *data) in reserve_loader_store() argument
117 if (store == NULL in reserve_loader_store()
118 && (store = get_loader_store(methdata->libctx)) == NULL) in reserve_loader_store()
121 return ossl_method_lock_store(store); in reserve_loader_store()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/
H A DLSUnit.h10 /// A Load/Store unit class that models load/store queues and that implements
189 /// Abstract base interface for LS (load/store) units in llvm-mca.
201 /// A value of zero for this field means that the store queue is unbounded.
202 /// Processor models can declare the size of a store queue via tablegen (see
230 /// Returns the total number of entries in the store queue.
245 LSU_SQUEUE_FULL // Store Queue unavailable
248 /// This method checks the availability of the load/store buffers.
250 /// Returns LSU_AVAILABLE if there are enough load/store queue entries to
320 // Stores are tracked by the STQ (store queue) from dispatch until commitment.
337 /// Default Load/Store Unit (LS Unit) for simulated processors.
[all …]
/freebsd/crypto/heimdal/lib/hx509/
H A Dkeyset.c39 * @page page_keyset Certificate store operations
41 * Type of certificates store:
98 * Open or creates a new hx509 certificate store.
101 * @param name name of the store, format is TYPE:type-specific-string,
102 * if NULL is used the MEMORY store is used.
106 * @param lock a lock that unlocks the certificates store, use NULL to
170 * Write the certificate store to stable storage.
173 * @param certs a certificate store to store.
175 * @param lock a lock that unlocks the certificates store, use NULL to
179 * the certificate store doesn't support the store operation.
[all …]
/freebsd/crypto/openssl/crypto/evp/
H A Devp_fetch.c60 static void dealloc_tmp_evp_method_store(void *store) in dealloc_tmp_evp_method_store() argument
62 OSSL_TRACE1(QUERY, "Deallocating the tmp_store %p\n", store); in dealloc_tmp_evp_method_store()
63 if (store != NULL) in dealloc_tmp_evp_method_store()
64 ossl_method_store_free(store); in dealloc_tmp_evp_method_store()
72 static int reserve_evp_method_store(void *store, void *data) in reserve_evp_method_store() argument
76 if (store == NULL in reserve_evp_method_store()
77 && (store = get_evp_method_store(methdata->libctx)) == NULL) in reserve_evp_method_store()
80 return ossl_method_lock_store(store); in reserve_evp_method_store()
83 static int unreserve_evp_method_store(void *store, void *data) in unreserve_evp_method_store() argument
87 if (store == NULL in unreserve_evp_method_store()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopLoadElimination.cpp13 // transformation. The source value of each store then propagated to the user
83 /// Represent a store-to-forwarding candidate.
86 StoreInst *Store; member
88 StoreToLoadForwardingCandidate(LoadInst *Load, StoreInst *Store) in StoreToLoadForwardingCandidate()
89 : Load(Load), Store(Store) {} in StoreToLoadForwardingCandidate()
91 /// Return true if the dependence from the store to the load has an
97 Value *StorePtr = Store->getPointerOperand(); in isDependenceDistanceOfOne()
104 DL.getTypeSizeInBits(getLoadStoreType(Store)) && in isDependenceDistanceOfOne()
142 OS << *Cand.Store << " -->\n"; in operator <<()
151 /// Check if the store dominates all latches, so as long as there is no
[all …]

12345678910>>...148