Home
last modified time | relevance | path

Searched refs:storage (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/freebsd-13.1/contrib/expat/tests/
H A Dstructdata.c68 assert(storage != NULL); in StructData_Init()
69 storage->count = 0; in StructData_Init()
70 storage->max_count = 0; in StructData_Init()
71 storage->entries = NULL; in StructData_Init()
79 assert(storage != NULL); in StructData_AddItem()
81 if (storage->count == storage->max_count) { in StructData_AddItem()
91 entry = &storage->entries[storage->count]; in StructData_AddItem()
96 storage->count++; in StructData_AddItem()
108 assert(storage != NULL); in StructData_CheckItems()
149 free(storage->entries); in StructData_Dispose()
[all …]
H A Dchardata.c57 assert(storage != NULL); in CharData_Init()
58 storage->count = -1; in CharData_Init()
65 assert(storage != NULL); in CharData_AppendXMLChars()
67 maxchars = sizeof(storage->data) / sizeof(storage->data[0]); in CharData_AppendXMLChars()
68 if (storage->count < 0) in CharData_AppendXMLChars()
69 storage->count = 0; in CharData_AppendXMLChars()
75 if (len + storage->count < (int)sizeof(storage->data)) { in CharData_AppendXMLChars()
76 memcpy(storage->data + storage->count, s, len * sizeof(storage->data[0])); in CharData_AppendXMLChars()
77 storage->count += len; in CharData_AppendXMLChars()
88 count = (storage->count < 0) ? 0 : storage->count; in CharData_CheckXMLChars()
[all …]
H A Druntests.c644 test_data->storage = storage; in _run_ext_character_check()
652 free(storage); in _run_ext_character_check()
5795 test_data.storage = &storage; in START_TEST()
5826 test_data.storage = &storage; in START_TEST()
5861 test_data.storage = &storage; in START_TEST()
5892 test_data.storage = &storage; in START_TEST()
5922 test_data.storage = &storage; in START_TEST()
5952 test_data.storage = &storage; in START_TEST()
6039 test_data.storage = &storage; in START_TEST()
6487 test_data.storage = &storage; in START_TEST()
[all …]
H A Dstructdata.h55 void StructData_Init(StructData *storage);
57 void StructData_AddItem(StructData *storage, const XML_Char *s, int data0,
60 void StructData_CheckItems(StructData *storage, const StructDataEntry *expected,
63 void StructData_Dispose(StructData *storage);
H A Dchardata.h51 void CharData_Init(CharData *storage);
53 void CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len);
55 int CharData_CheckXMLChars(CharData *storage, const XML_Char *s);
/freebsd-13.1/crypto/openssl/crypto/
H A Dex_data.c226 storage = OPENSSL_malloc(sizeof(*storage) * mx); in CRYPTO_new_ex_data()
238 if (storage[i] != NULL && storage[i]->new_func != NULL) { in CRYPTO_new_ex_data()
241 storage[i]->argl, storage[i]->argp); in CRYPTO_new_ex_data()
244 if (storage != stack) in CRYPTO_new_ex_data()
277 storage = OPENSSL_malloc(sizeof(*storage) * mx); in CRYPTO_dup_ex_data()
286 if (storage == NULL) { in CRYPTO_dup_ex_data()
302 if (storage[i] != NULL && storage[i]->dup_func != NULL) in CRYPTO_dup_ex_data()
304 storage[i]->argl, storage[i]->argp)) in CRYPTO_dup_ex_data()
310 if (storage != stack) in CRYPTO_dup_ex_data()
337 storage = OPENSSL_malloc(sizeof(*storage) * mx); in CRYPTO_free_ex_data()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DIRSymtab.cpp84 std::vector<storage::Comdat> Comdats;
85 std::vector<storage::Module> Mods;
86 std::vector<storage::Symbol> Syms;
87 std::vector<storage::Uncommon> Uncommons;
141 storage::Module Mod; in addModule()
165 storage::Str Specifier; in addModule()
200 storage::Comdat Comdat; in getComdatIndex()
213 storage::Symbol &Sym = Syms.back(); in addSymbol()
216 storage::Uncommon *Unc = nullptr; in addSymbol()
322 storage::Header Hdr; in build()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DIRSymtab.h46 namespace storage {
192 using S = storage::Symbol;
239 ArrayRef<storage::Module> Modules;
240 ArrayRef<storage::Comdat> Comdats;
241 ArrayRef<storage::Symbol> Symbols;
242 ArrayRef<storage::Uncommon> Uncommons;
251 const storage::Header &header() const { in header()
314 const storage::Symbol *SymI, *SymE;
315 const storage::Uncommon *UncI;
338 SymbolRef(const storage::Symbol *SymI, const storage::Symbol *SymE, in SymbolRef()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_ring_buffer.h93 void Init(void *storage, uptr size) { in Init() argument
100 CHECK_EQ((uptr)storage % (size * 2), 0); in Init()
101 long_ = (uptr)storage | ((size >> kPageSizeBits) << kSizeShift); in Init()
109 CompactRingBuffer(void *storage, uptr size) { in CompactRingBuffer() argument
110 Init(storage, size); in CompactRingBuffer()
114 CompactRingBuffer(const CompactRingBuffer &other, void *storage) { in CompactRingBuffer() argument
116 internal_memcpy(storage, other.StartOfStorage(), size); in CompactRingBuffer()
117 Init(storage, size); in CompactRingBuffer()
119 SetNext((const T *)storage + Idx); in CompactRingBuffer()
/freebsd-13.1/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_util.c53 queue->storage = kzalloc(size * sizeof(VCHIQ_HEADER_T *), GFP_KERNEL); in vchiu_queue_init()
54 if (queue->storage == NULL) { in vchiu_queue_init()
63 if (queue->storage != NULL) in vchiu_queue_delete()
64 kfree(queue->storage); in vchiu_queue_delete()
94 queue->storage[queue->write & (queue->size - 1)] = header; in vchiu_queue_push()
123 return queue->storage[queue->read & (queue->size - 1)]; in vchiu_queue_peek()
142 header = queue->storage[queue->read & (queue->size - 1)]; in vchiu_queue_pop()
/freebsd-13.1/contrib/unbound/
H A DMakefile.in131 util/rtt.c util/edns.c util/storage/dnstree.c util/storage/lookup3.c \
132 util/storage/lruhash.c util/storage/slabhash.c util/tcp_conn_limit.c \
708 $(srcdir)/util/storage/slabhash.h $(srcdir)/util/storage/lookup3.h $(srcdir)/util/data/dname.h \
1003 dnstree.lo dnstree.o: $(srcdir)/util/storage/dnstree.c config.h $(srcdir)/util/storage/dnstree.h \
1006 lookup3.lo lookup3.o: $(srcdir)/util/storage/lookup3.c config.h $(srcdir)/util/storage/lookup3.h
1007 lruhash.lo lruhash.o: $(srcdir)/util/storage/lruhash.c config.h $(srcdir)/util/storage/lruhash.h \
1016 slabhash.lo slabhash.o: $(srcdir)/util/storage/slabhash.c config.h $(srcdir)/util/storage/slabhash.…
1261 …$(srcdir)/util/storage/lookup3.h $(srcdir)/util/storage/slabhash.h $(srcdir)/util/tcp_conn_limit.h…
1275 …$(srcdir)/util/storage/slabhash.h $(srcdir)/services/cache/infra.h $(srcdir)/util/storage/dnstree.…
1380 …$(srcdir)/util/storage/lookup3.h $(srcdir)/util/storage/slabhash.h $(srcdir)/util/tcp_conn_limit.h…
[all …]
/freebsd-13.1/crypto/openssl/crypto/bn/
H A Drsaz_exp.c62 unsigned char storage[320 * 3 + 32 * 9 * 16 + 64]; /* 5.5KB */
63 unsigned char *p_str = storage + (64 - ((size_t)storage % 64));
240 OPENSSL_cleanse(storage, sizeof(storage));
262 unsigned char storage[16 * 8 * 8 + 64 * 2 + 64]; /* 1.2KB */
263 unsigned char *table = storage + (64 - ((size_t)storage % 64));
312 OPENSSL_cleanse(storage, sizeof(storage));
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugInfoEntry.cpp792 return GetQualifiedName(cu, attributes, storage); in GetQualifiedName()
804 storage.clear(); in GetQualifiedName()
812 storage.insert(0, "::"); in GetQualifiedName()
813 storage.insert(0, namespace_name); in GetQualifiedName()
826 storage.insert(0, "::"); in GetQualifiedName()
827 storage.insert(0, class_union_struct_name); in GetQualifiedName()
838 if (storage.empty()) in GetQualifiedName()
839 storage.append("::"); in GetQualifiedName()
841 storage.append(name); in GetQualifiedName()
843 if (storage.empty()) in GetQualifiedName()
[all …]
/freebsd-13.1/contrib/wpa/src/utils/
H A Dtrace.c100 long storage, symcount; in read_syms() local
111 storage = bfd_get_symtab_upper_bound(abfd); in read_syms()
112 if (storage == 0) { in read_syms()
113 storage = bfd_get_dynamic_symtab_upper_bound(abfd); in read_syms()
116 if (storage < 0) { in read_syms()
121 syms = malloc(storage); in read_syms()
124 "(%ld bytes)", storage); in read_syms()
/freebsd-13.1/sys/ddb/
H A Ddb_break.c163 #define BKPT_WRITE(addr, storage) \ argument
165 *storage = db_get_value(addr, BKPT_SIZE, false); \
166 db_put_value(addr, BKPT_SIZE, BKPT_SET(*storage)); \
171 #define BKPT_CLEAR(addr, storage) \ argument
172 db_put_value(addr, BKPT_SIZE, *storage)
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_thread_list.h76 HwasanThreadList(uptr storage, uptr size) in HwasanThreadList() argument
77 : free_space_(storage), free_space_end_(storage + size) { in HwasanThreadList()
202 void InitThreadList(uptr storage, uptr size);
H A Dhwasan_thread_list.cpp9 void InitThreadList(uptr storage, uptr size) { in InitThreadList() argument
12 new (thread_list_placeholder) HwasanThreadList(storage, size); in InitThreadList()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DRelocations.h201 ArrayRef<RelTy> sortRels(ArrayRef<RelTy> rels, SmallVector<RelTy, 0> &storage) { in sortRels() argument
206 storage.assign(rels.begin(), rels.end()); in sortRels()
207 llvm::stable_sort(storage, cmp); in sortRels()
208 rels = storage; in sortRels()
/freebsd-13.1/crypto/openssl/doc/man3/
H A DPEM_bytes_read_bio.pod36 non-NULL. The caller must free the storage pointed to by I<*pnm>.
39 I<*pdata> with length I<*plen>. The caller must free the storage pointed
43 memory from the secure heap for its temporary buffers and the storage
45 OPENSSL_secure_free() to free that storage.
50 storage allocated within the PEM processing stack. The BIO stack from
H A DSSL_CTX_set_cert_store.pod5 … SSL_CTX_set1_cert_store, SSL_CTX_get_cert_store - manipulate X509 certificate verification storage
17 SSL_CTX_set_cert_store() sets/replaces the certificate verification storage
21 SSL_CTX_set1_cert_store() sets/replaces the certificate verification storage
26 verification storage.
/freebsd-13.1/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_sprom.c83 union bhnd_nvram_sprom_storage *storage,
333 union bhnd_nvram_sprom_storage storage; in bhnd_nvram_sprom_getvar_direct() local
345 error = bhnd_nvram_sprom_read_var(&state, &entry, io, &storage, in bhnd_nvram_sprom_getvar_direct()
1068 union bhnd_nvram_sprom_storage *storage, bhnd_nvram_val *val) in bhnd_nvram_sprom_read_var() argument
1116 inp = storage; in bhnd_nvram_sprom_read_var()
1117 if (ilen > sizeof(*storage)) { in bhnd_nvram_sprom_read_var()
1280 union bhnd_nvram_sprom_storage *storage, bhnd_nvram_val *val) in bhnd_nvram_sprom_getvar_common() argument
1323 union bhnd_nvram_sprom_storage storage; in bhnd_nvram_sprom_getvar() local
1327 error = bhnd_nvram_sprom_getvar_common(nv, cookiep, &storage, &val); in bhnd_nvram_sprom_getvar()
1344 union bhnd_nvram_sprom_storage storage; in bhnd_nvram_sprom_copy_val() local
[all …]
/freebsd-13.1/contrib/file/magic/Magdir/
H A Dole2compounddocs69 # type of the entry; 5~Root storage
104 #!:mime application/x-ole-storage
160 #!:mime application/x-ole-storage
168 #!:mime application/x-ole-storage
175 #!:mime application/x-ole-storage
183 #!:mime application/x-ole-storage
199 #!:mime application/x-ole-storage
206 #!:mime application/x-ole-storage
219 #!:mime application/x-ole-storage
235 #!:mime application/x-ole-storage
[all …]
/freebsd-13.1/contrib/netbsd-tests/lib/libc/sys/
H A Dt_kevent.c84 int s[2], storage, status, kq; in ATF_TC_BODY() local
110 iov.iov_base = &storage; in ATF_TC_BODY()
125 iov.iov_base = &storage; in ATF_TC_BODY()
/freebsd-13.1/sys/net/route/
H A Dnhgrp_ctl.c514 char storage[64]; in append_nhops() local
528 if (sz <= sizeof(storage)) in append_nhops()
529 pnhops = (struct weightened_nhop *)&storage[0]; in append_nhops()
546 if (pnhops != (struct weightened_nhop *)&storage[0]) in append_nhops()
588 char storage[64]; in nhgrp_get_filtered_group() local
599 if (sz <= sizeof(storage)) in nhgrp_get_filtered_group()
600 pnhops = (struct weightened_nhop *)&storage[0]; in nhgrp_get_filtered_group()
631 if (pnhops != (struct weightened_nhop *)&storage[0]) in nhgrp_get_filtered_group()
/freebsd-13.1/stand/uboot/lib/
H A Dapi_public.h148 } storage; member
154 #define di_stor info.storage

12345678910>>...14