Home
last modified time | relevance | path

Searched refs:store (Results 1 – 25 of 916) sorted by relevance

12345678910>>...37

/freebsd/contrib/kyua/store/
H A DMakefile.am.inc35 libstore_a_SOURCES = store/dbtypes.cpp
36 libstore_a_SOURCES += store/dbtypes.hpp
39 libstore_a_SOURCES += store/layout.cpp
40 libstore_a_SOURCES += store/layout.hpp
45 libstore_a_SOURCES += store/migrate.cpp
46 libstore_a_SOURCES += store/migrate.hpp
62 dist_store_DATA += store/schema_v3.sql
65 tests_storedir = $(pkgtestsdir)/store
67 tests_store_DATA = store/Kyuafile
68 tests_store_DATA += store/schema_v1.sql
[all …]
H A Dread_transaction_test.cpp66 store::read_backend backend = store::read_backend::open_ro( in ATF_TEST_CASE_BODY()
83 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
93 store::read_backend backend = store::read_backend::open_ro( in ATF_TEST_CASE_BODY()
110 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
123 store::read_backend backend = store::read_backend::open_ro( in ATF_TEST_CASE_BODY()
131 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
144 store::read_backend backend = store::read_backend::open_ro( in ATF_TEST_CASE_BODY()
162 store::read_backend backend = store::read_backend::open_ro( in ATF_TEST_CASE_BODY()
165 store::results_iterator iter = tx.get_results(); in ATF_TEST_CASE_BODY()
178 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
[all …]
H A Ddbtypes_test.cpp110 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()
132 do_ok_test(store::bind_delta, datetime::delta(15, 34), store::column_delta); in ATF_TEST_CASE_BODY()
146 do_ok_test(store::bind_optional_string, "", store::column_optional_string); in ATF_TEST_CASE_BODY()
147 do_ok_test(store::bind_optional_string, "a", store::column_optional_string); in ATF_TEST_CASE_BODY()
185 do_ok_test(store::bind_timestamp, in ATF_TEST_CASE_BODY()
187 store::column_timestamp); in ATF_TEST_CASE_BODY()
188 do_ok_test(store::bind_timestamp, in ATF_TEST_CASE_BODY()
190 store::column_timestamp); in ATF_TEST_CASE_BODY()
192 do_ok_test(store::bind_timestamp, in ATF_TEST_CASE_BODY()
[all …]
H A Dwrite_transaction_test.cpp75 store::write_backend backend = store::write_backend::open_rw( in do_put_result_ok_test()
112 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
130 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
160 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
187 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
224 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
242 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
269 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
299 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
303 ATF_REQUIRE_THROW(store::error, in ATF_TEST_CASE_BODY()
[all …]
H A Dwrite_backend_test.cpp59 const store::metadata md = store::detail::initialize(db); 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()
95 store::detail::current_schema_version = 712; in ATF_TEST_CASE_BODY()
110 store::detail::schema_file()); in ATF_TEST_CASE_BODY()
118 store::detail::current_schema_version = 123; in ATF_TEST_CASE_BODY()
120 store::detail::schema_file()); in ATF_TEST_CASE_BODY()
136 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
153 store::detail::initialize(db); in ATF_TEST_CASE_BODY()
168 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
[all …]
H A Dread_backend_test.cpp58 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()
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()
100 ATF_REQUIRE_THROW_RE(store::error, "Cannot open 'missing.db': ", in ATF_TEST_CASE_BODY()
110 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
117 store::detail::initialize(db); in ATF_TEST_CASE_BODY()
120 ATF_REQUIRE_THROW_RE(store::integrity_error, "metadata.*empty", in ATF_TEST_CASE_BODY()
129 set_md_var("require.files", store::detail::schema_file().c_str()); in ATF_TEST_CASE_HEAD()
[all …]
H A Dread_transaction.cpp256 store::read_backend _backend;
271 impl(store::read_backend& backend_) : in impl()
294 store::results_iterator::results_iterator( in results_iterator()
310 store::results_iterator&
311 store::results_iterator::operator++(void) in operator ++()
362 store::results_iterator::result(void) const in result()
443 store::read_backend& _backend;
486 store::read_transaction::finish(void) in finish()
502 store::read_transaction::get_context(void) in get_context()
523 store::results_iterator
[all …]
H A Dmetadata_test.cpp60 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()
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()
110 ATF_REQUIRE_THROW_RE(store::integrity_error, in ATF_TEST_CASE_BODY()
112 store::metadata::fetch_latest(db)); in ATF_TEST_CASE_BODY()
123 ATF_REQUIRE_THROW_RE(store::integrity_error, in ATF_TEST_CASE_BODY()
125 store::metadata::fetch_latest(db)); in ATF_TEST_CASE_BODY()
141 ATF_REQUIRE_THROW_RE(store::integrity_error, in ATF_TEST_CASE_BODY()
[all …]
H A Dwrite_backend.cpp63 int store::detail::current_schema_version = 3;
90 store::detail::schema_file(void) in schema_file()
104 store::metadata
105 store::detail::initialize(sqlite::database& db) in initialize()
122 } catch (const store::integrity_error& e) { in initialize()
157 store::write_backend::~write_backend(void) in ~write_backend()
170 store::write_backend
185 store::write_backend::close(void) in close()
195 store::write_backend::database(void) in database()
204 store::write_transaction
[all …]
H A Ddbtypes.cpp61 store::bind_delta(sqlite::statement& stmt, const char* field, in bind_delta()
77 store::bind_optional_string(sqlite::statement& stmt, const char* field, in bind_optional_string()
93 store::bind_test_result_type(sqlite::statement& stmt, const char* field, in bind_test_result_type()
129 store::bind_timestamp(sqlite::statement& stmt, const char* field, in bind_timestamp()
145 store::column_bool(sqlite::statement& stmt, const char* column) in column_bool()
170 store::column_delta(sqlite::statement& stmt, const char* column) in column_delta()
174 throw store::integrity_error(F("Time delta in column %s is not an " in column_delta()
189 store::column_optional_string(sqlite::statement& stmt, const char* column) in column_optional_string()
244 store::column_timestamp(sqlite::statement& stmt, const char* column) in column_timestamp()
248 throw store::integrity_error(F("Timestamp in column %s is not an " in column_timestamp()
[all …]
H A Dtransaction_test.cpp69 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()
143 store::write_backend backend = store::write_backend::open_rw( in ATF_TEST_CASE_BODY()
147 store::write_transaction tx = backend.start_write(); in ATF_TEST_CASE_BODY()
154 store::read_backend backend = store::read_backend::open_ro( in ATF_TEST_CASE_BODY()
158 store::read_transaction tx = backend.start_read(); in ATF_TEST_CASE_BODY()
[all …]
H A Dread_backend.cpp57 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()
115 store::read_backend::~read_backend(void) in ~read_backend()
127 store::read_backend
128 store::read_backend::open_ro(const fs::path& file) in open_ro()
137 store::read_backend::close(void) in close()
147 store::read_backend::database(void) in database()
156 store::read_transaction
[all …]
H A Dmigrate.cpp78 sqlite::database db = store::detail::open_and_setup( in get_schema_version()
80 return store::metadata::fetch_latest(db).schema_version(); in get_schema_version()
111 sqlite::database db = store::detail::open_and_setup( in migrate_schema_step()
134 throw store::error(F("Schema migration failed: %s") % e.what()); in migrate_schema_step()
152 sqlite::database old_db = store::detail::open_and_setup( in chunk_database()
180 const datetime::timestamp start_time = store::column_timestamp( in chunk_database()
184 const fs::path new_file = store::layout::new_db_for_migration( in chunk_database()
195 sqlite::database db = store::detail::open_and_setup( in chunk_database()
197 store::detail::initialize(db); in chunk_database()
251 throw store::error(e.what()); in backup_database()
[all …]
H A Dexceptions.cpp37 store::error::error(const std::string& message) : in error()
44 store::error::~error(void) throw() in ~error()
52 store::integrity_error::integrity_error(const std::string& message) : in integrity_error()
59 store::integrity_error::~integrity_error(void) throw() in ~integrity_error()
67 store::old_schema_error::old_schema_error(const int version) : in old_schema_error()
76 store::old_schema_error::~old_schema_error(void) throw() in ~old_schema_error()
85 store::old_schema_error::old_version(void) const in old_version()
H A Dmetadata.cpp64 throw store::integrity_error(F("The '%s' column in 'metadata' table " in int64_column()
77 store::metadata::metadata(const int schema_version_, const int64_t timestamp_) : in metadata()
88 store::metadata::timestamp(void) const in timestamp()
98 store::metadata::schema_version(void) const in schema_version()
114 store::metadata
115 store::metadata::fetch_latest(sqlite::database& db) in fetch_latest()
122 throw store::integrity_error("The 'metadata' table is empty"); in fetch_latest()
134 throw store::integrity_error(F("Invalid metadata schema: %s") % in fetch_latest()
/freebsd/crypto/openssl/crypto/property/
H A Dproperty.c240 if (store != NULL) in alg_cleanup()
267 if (store != NULL) { in ossl_method_store_free()
268 if (store->algs != NULL) in ossl_method_store_free()
269 ossl_sa_ALGORITHM_doall_arg(store->algs, &alg_cleanup, store); in ossl_method_store_free()
273 OPENSSL_free(store); in ossl_method_store_free()
279 return store != NULL ? CRYPTO_THREAD_write_lock(store->biglock) : 0; in ossl_method_lock_store()
284 return store != NULL ? CRYPTO_THREAD_unlock(store->biglock) : 0; in ossl_method_unlock_store()
417 OSSL_METHOD_STORE *store; member
459 data.store = store; in ossl_method_store_remove_all_provided()
497 if (store != NULL) in ossl_method_store_do_all()
[all …]
/freebsd/crypto/openssl/crypto/
H A Dprovider_core.c310 struct provider_store_st *store = OPENSSL_zalloc(sizeof(*store)); in provider_store_new() local
325 return store; in provider_store_new()
343 return store; in get_provider_store()
381 store->provinfo = OPENSSL_zalloc(sizeof(*store->provinfo) in ossl_provider_info_add_to_store()
388 } else if (store->numprovinfo == store->provinfosz) { in ossl_provider_info_add_to_store()
401 store->provinfo[store->numprovinfo] = *entry; in ossl_provider_info_add_to_store()
592 struct provider_store_st *store = prov->store; in create_provider_children() local
637 prov->store = store; in ossl_provider_add_to_store()
1123 store = prov->store; in provider_activate()
1335 prov->store = store; in provider_activate_fallbacks()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h240 StoreRef enterStackFrame(Store store,
290 : store(store), mgr(smgr) { in StoreRef()
291 if (store) in StoreRef()
292 mgr.incrementReferenceCount(store); in StoreRef()
296 : store(sr.store), mgr(sr.mgr) in StoreRef()
298 if (store) in StoreRef()
299 mgr.incrementReferenceCount(store); in StoreRef()
303 if (store) in ~StoreRef()
304 mgr.decrementReferenceCount(store); in ~StoreRef()
309 if (store != newStore.store) {
[all …]
/freebsd/crypto/openssl/test/
H A Dproperty_test.c53 OSSL_METHOD_STORE *store; in test_property_string() local
76 ossl_method_store_free(store); in test_property_string()
123 OSSL_METHOD_STORE *store; in test_property_parse() local
142 OSSL_METHOD_STORE *store; in test_property_query_value_create() local
190 OSSL_METHOD_STORE *store; in test_property_parse_error() local
240 OSSL_METHOD_STORE *store; in test_property_merge() local
265 OSSL_METHOD_STORE *store; in test_property_defn_cache() local
326 OSSL_METHOD_STORE *store; in test_definition_compares() local
356 OSSL_METHOD_STORE *store; in test_register_deregister() local
428 OSSL_METHOD_STORE *store; in test_property() local
[all …]
/freebsd/crypto/openssl/crypto/store/
H A Dstore_meth.c119 if (store != NULL) in dealloc_tmp_loader_store()
120 ossl_method_store_free(store); in dealloc_tmp_loader_store()
134 if (store == NULL in reserve_loader_store()
138 return ossl_method_lock_store(store); in reserve_loader_store()
145 if (store == NULL in unreserve_loader_store()
149 return ossl_method_unlock_store(store); in unreserve_loader_store()
166 if (store == NULL in get_loader_from_store()
188 if (store == NULL && (store = get_loader_store(methdata->libctx)) == NULL) in put_loader_in_store()
309 if (store == NULL || namemap == NULL) { in inner_loader_fetch()
426 if (store != NULL) in ossl_store_loader_store_cache_flush()
[all …]
/freebsd/crypto/openssl/crypto/evp/
H A Devp_fetch.c76 if (store != NULL) in dealloc_tmp_evp_method_store()
77 ossl_method_store_free(store); in dealloc_tmp_evp_method_store()
90 if (store == NULL in reserve_evp_method_store()
94 return ossl_method_lock_store(store); in reserve_evp_method_store()
101 if (store == NULL in unreserve_evp_method_store()
168 if (store == NULL in get_evp_method_from_store()
206 if (store == NULL in put_evp_method_in_store()
473 if (store != NULL) in evp_method_store_cache_flush()
483 if (store != NULL) in evp_method_store_remove_all_provided()
496 if (plp != NULL && store != NULL) { in evp_set_parsed_default_properties()
[all …]
/freebsd/crypto/openssl/include/internal/
H A Dproperty.h54 void ossl_method_store_free(OSSL_METHOD_STORE *store);
56 int ossl_method_lock_store(OSSL_METHOD_STORE *store);
57 int ossl_method_unlock_store(OSSL_METHOD_STORE *store);
59 int ossl_method_store_add(OSSL_METHOD_STORE *store, const OSSL_PROVIDER *prov,
63 int ossl_method_store_remove(OSSL_METHOD_STORE *store, int nid,
65 void ossl_method_store_do_all(OSSL_METHOD_STORE *store,
68 int ossl_method_store_fetch(OSSL_METHOD_STORE *store,
71 int ossl_method_store_remove_all_provided(OSSL_METHOD_STORE *store,
79 int ossl_method_store_cache_get(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
81 int ossl_method_store_cache_set(OSSL_METHOD_STORE *store, OSSL_PROVIDER *prov,
[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()
328 X509_STORE_unlock(store); in X509_STORE_CTX_get_by_subject()
557 if (store == NULL) { in STACK_OF()
591 X509_STORE *store = ctx->store; in STACK_OF() local
593 if (store == NULL) in STACK_OF()
646 X509_STORE *store = ctx->store; in STACK_OF() local
651 || store == NULL in STACK_OF()
729 X509_STORE *store = ctx->store; in X509_STORE_CTX_get1_issuer() local
758 if (store == NULL) in X509_STORE_CTX_get1_issuer()
[all …]
/freebsd/usr.bin/printf/
H A Dprintf.c465 for (save = store = fmt; ((c = *fmt) != 0); ++fmt, ++store) { in escape()
467 *store = c; in escape()
472 *store = '\\'; in escape()
478 *store = *fmt; in escape()
481 *store = '\a'; in escape()
484 *store = '\b'; in escape()
492 *store = 'c'; in escape()
495 *store = '\f'; in escape()
498 *store = '\n'; in escape()
501 *store = '\r'; in escape()
[all …]
/freebsd/bin/uuidgen/
H A Duuidgen.c72 uuidgen_v4(struct uuid *store, int count) in uuidgen_v4() argument
82 arc4random_buf(store, size); in uuidgen_v4()
83 item = store; in uuidgen_v4()
107 uuid_t *store, *uuid; in main() local
159 store = (uuid_t *)malloc(sizeof(uuid_t) * count); in main()
160 if (store == NULL) in main()
166 if (uuidgen(store, count) != 0) in main()
169 if (uuidgen_v4(store, count) != 0) in main()
175 uuid = store; in main()
189 uuid = store; in main()
[all …]

12345678910>>...37