Home
last modified time | relevance | path

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

12345678910>>...121

/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 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 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_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.c73 * Lock to reserve the whole store. This is used when fetching a set
107 static void ossl_method_cache_flush_alg(OSSL_METHOD_STORE *store,
109 static void ossl_method_cache_flush(OSSL_METHOD_STORE *store, int nid);
234 OSSL_METHOD_STORE *store = arg; in alg_cleanup() local
242 if (store != NULL) in alg_cleanup()
243 ossl_sa_ALGORITHM_set(store->algs, idx, NULL); in alg_cleanup()
267 void ossl_method_store_free(OSSL_METHOD_STORE *store) in ossl_method_store_free() argument
269 if (store != NULL) { in ossl_method_store_free()
270 if (store->algs != NULL) in ossl_method_store_free()
271 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 */
52 * provider store. Each provider that exists in the parent provider store, has
53 * an associated child provider in the child library context's provider store.
84 * The store default_path_lock: Used to control access to the provider store's
87 * The store lock: Used to control the stack of provider's held within the
88 * provider store, as well as the stack of registered child provider callbacks.
102 * provider store lock, the provider flag_lock and the provider refcnt_lock.
105 * 1) provider store loc
160 struct provider_store_st *store; /* The store this instance belongs to */ global() member
288 struct provider_store_st *store = vstore; provider_store_free() local
310 struct provider_store_st *store = OPENSSL_zalloc(sizeof(*store)); provider_store_new() local
337 struct provider_store_st *store = NULL; get_provider_store() local
348 struct provider_store_st *store; ossl_provider_disable_fallback_loading() local
365 struct provider_store_st *store = get_provider_store(libctx); ossl_provider_info_add_to_store() local
413 struct provider_store_st *store = NULL; ossl_provider_find() local
534 struct provider_store_st *store = NULL; ossl_provider_new() local
592 struct provider_store_st *store = prov->store; create_provider_children() local
613 struct provider_store_st *store; ossl_provider_add_to_store() local
804 struct provider_store_st *store; OSSL_PROVIDER_set_default_search_path() local
1046 struct provider_store_st *store; provider_deactivate() local
1120 struct provider_store_st *store; provider_activate() local
1175 struct provider_store_st *store; provider_flush_store_cache() local
1207 struct provider_store_st *store; provider_remove_store_methods() local
1285 provider_activate_fallbacks(struct provider_store_st * store) provider_activate_fallbacks() argument
1358 struct provider_store_st *store = get_provider_store(ctx); ossl_provider_doall_activated() local
1475 struct provider_store_st *store = get_provider_store(libctx); OSSL_PROVIDER_available() local
1689 struct provider_store_st *store = NULL; ossl_provider_default_props_update() local
1729 struct provider_store_st *store = NULL; ossl_provider_register_child_cb() local
1804 struct provider_store_st *store = NULL; ossl_provider_deregister_child_cb() local
[all...]
H A Dcore_fetch.c20 OSSL_METHOD_STORE *store; member
38 if (is_temporary_method_store(no_store, data) && data->store == NULL) { in ossl_method_construct_reserve_store()
40 * If we have been told not to store the method "permanently", we in ossl_method_construct_reserve_store()
41 * ask for a temporary store, and store the method there. in ossl_method_construct_reserve_store()
43 * that temporary store. in ossl_method_construct_reserve_store()
45 if ((data->store = data->mcm->get_tmp_store(data->mcm_data)) == NULL) in ossl_method_construct_reserve_store()
49 return data->mcm->lock_store(data->store, data->mcm_data); in ossl_method_construct_reserve_store()
56 return data->mcm->unlock_store(data->store, data->mcm_data); in ossl_method_construct_unreserve_store()
118 * ossl_method_construct() tries to get it from the store. in ossl_method_construct_this()
123 data->mcm->put(data->store, method, provider, algo->algorithm_names, 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 b
[all...]
/freebsd/crypto/openssl/crypto/store/
H A Dstore_meth.c11 #include "crypto/store.h"
71 /* Permanent loader method store, constructor and destructor */
84 /* We want loader_store to be cleaned up before the provider store */
107 /* Temporary loader method store, constructor and destructor */
117 static void dealloc_tmp_loader_store(void *store) in dealloc_tmp_loader_store() argument
119 if (store != NULL) in dealloc_tmp_loader_store()
120 ossl_method_store_free(store); in dealloc_tmp_loader_store()
123 /* Get the permanent loader store */
130 static int reserve_loader_store(void *store, void *data) in reserve_loader_store() argument
134 if (store == NULL 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/x509/
H A Dx509_lu.c313 X509_STORE *store = vs->store; in X509_STORE_CTX_get_by_subject() local
318 if (store == NULL) in X509_STORE_CTX_get_by_subject()
324 if (!X509_STORE_lock(store)) in X509_STORE_CTX_get_by_subject()
327 tmp = X509_OBJECT_retrieve_by_subject(store->objs, type, name); in X509_STORE_CTX_get_by_subject()
328 X509_STORE_unlock(store); in X509_STORE_CTX_get_by_subject()
331 for (i = 0; i < sk_X509_LOOKUP_num(store->get_cert_methods); i++) { in X509_STORE_CTX_get_by_subject()
332 lu = sk_X509_LOOKUP_value(store->get_cert_methods, i); in X509_STORE_CTX_get_by_subject()
353 static int x509_store_add(X509_STORE *store, void *x, int crl) { in x509_store_add() argument
376 if (!X509_STORE_lock(store)) { in x509_store_add()
382 if (X509_OBJECT_retrieve_match(store->objs, obj)) { in x509_store_add()
[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 …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonStoreWidening.cpp11 // S4_storeirb_io %100, 0, 0 ; store-immediate-byte
12 // S4_storeirb_io %100, 1, 0 ; store-immediate-byte
14 // S4_storeirh_io %100, 0, 0 ; store-immediate-halfword
18 // or as one could say, "reduce store queue pressure". Also, wide stores
80 StringRef getPassName() const override { return "Hexagon Store Widening"; } in getPassName()
116 "Hexason Store Widening", false, false)
119 "Hexagon Store Widening", false, false) in INITIALIZE_PASS_DEPENDENCY()
142 llvm_unreachable("Store offset calculation missing for a handled opcode"); in getStoreOffset()
169 // stores in the store group Stores.
191 // any store in the group Stores.
[all …]
/freebsd/crypto/openssl/test/
H A Dproperty_test.c53 OSSL_METHOD_STORE *store; in test_property_string() local
57 if (TEST_ptr(store = ossl_method_store_new(NULL)) in test_property_string()
76 ossl_method_store_free(store); in test_property_string()
123 OSSL_METHOD_STORE *store; in test_property_parse() local
127 if (TEST_ptr(store = ossl_method_store_new(NULL)) in test_property_parse()
136 ossl_method_store_free(store); in test_property_parse()
142 OSSL_METHOD_STORE *store; in test_property_query_value_create() local
147 if (TEST_ptr(store = ossl_method_store_new(NULL)) in test_property_query_value_create()
158 ossl_method_store_free(store); in test_property_query_value_create()
190 OSSL_METHOD_STORE *store; in test_property_parse_error() local
[all …]

12345678910>>...121