Home
last modified time | relevance | path

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

12345678910>>...18

/freebsd-12-stable/contrib/expat/tests/
Dstructdata.c67 StructData_Init(StructData *storage) { in StructData_Init() argument
68 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()
75 StructData_AddItem(StructData *storage, const XML_Char *s, int data0, int data1, in StructData_AddItem() argument
79 assert(storage != NULL); in StructData_AddItem()
81 if (storage->count == storage->max_count) { in StructData_AddItem()
84 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem()
85 new = realloc(storage->entries, in StructData_AddItem()
[all …]
Dchardata.c56 CharData_Init(CharData *storage) { in CharData_Init() argument
57 assert(storage != NULL); in CharData_Init()
58 storage->count = -1; in CharData_Init()
62 CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len) { in CharData_AppendXMLChars() argument
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()
72 if ((len + storage->count) > maxchars) { in CharData_AppendXMLChars()
73 len = (maxchars - storage->count); in CharData_AppendXMLChars()
[all …]
Druntests.c579 CharData *storage = (CharData *)userData; in accumulate_attribute() local
585 while (storage->count < 0 && atts[0] != NULL) { in accumulate_attribute()
587 CharData_AppendXMLChars(storage, atts[1], -1); in accumulate_attribute()
595 CharData storage; in _run_character_check() local
597 CharData_Init(&storage); in _run_character_check()
598 XML_SetUserData(g_parser, &storage); in _run_character_check()
603 CharData_CheckXMLChars(&storage, expected); in _run_character_check()
612 CharData storage; in _run_attribute_check() local
614 CharData_Init(&storage); in _run_attribute_check()
615 XML_SetUserData(g_parser, &storage); in _run_attribute_check()
[all …]
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);
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-12-stable/crypto/openssl/crypto/
Dex_data.c212 EX_CALLBACK **storage = NULL; in CRYPTO_new_ex_data() local
224 storage = stack; in CRYPTO_new_ex_data()
226 storage = OPENSSL_malloc(sizeof(*storage) * mx); in CRYPTO_new_ex_data()
227 if (storage != NULL) in CRYPTO_new_ex_data()
229 storage[i] = sk_EX_CALLBACK_value(ip->meth, i); in CRYPTO_new_ex_data()
233 if (mx > 0 && storage == NULL) { in CRYPTO_new_ex_data()
238 if (storage[i] != NULL && storage[i]->new_func != NULL) { in CRYPTO_new_ex_data()
240 storage[i]->new_func(obj, ptr, ad, i, 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()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/
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;
92 std::vector<storage::Str> DependentLibraries;
94 void setStr(storage::Str &S, StringRef Value) { in setStr()
100 void writeRange(storage::Range<T> &R, const std::vector<T> &Objs) { in writeRange()
141 storage::Module Mod; in addModule()
165 storage::Str Specifier; in addModule()
200 storage::Comdat Comdat; in getComdatIndex()
[all …]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Object/
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;
243 ArrayRef<storage::Str> DependentLibraries;
245 StringRef str(storage::Str S) const { return S.get(Strtab); } in str()
247 template <typename T> ArrayRef<T> range(storage::Range<T> R) const { in range()
251 const storage::Header &header() const { in header()
[all …]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
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-12-stable/sys/contrib/vchiq/interface/vchiq_arm/
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-12-stable/contrib/unbound/
DMakefile.in131 util/rtt.c util/siphash.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 \
471 $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
709 $(srcdir)/util/data/packed_rrset.h $(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h \
711 $(srcdir)/util/data/msgreply.h $(srcdir)/services/cache/rrset.h $(srcdir)/util/storage/slabhash.h \
716 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/storag…
719 $(srcdir)/util/storage/slabhash.h $(srcdir)/util/storage/lookup3.h $(srcdir)/util/data/dname.h \
724 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/storag…
730 …$(srcdir)/util/storage/lruhash.h $(srcdir)/util/locks.h $(srcdir)/util/log.h $(srcdir)/util/data/m…
731 …$(srcdir)/sldns/pkthdr.h $(srcdir)/sldns/rrdef.h $(srcdir)/util/storage/lookup3.h $(srcdir)/sldns/…
[all …]
/freebsd-12-stable/crypto/openssl/crypto/bn/
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));
243 OPENSSL_cleanse(storage, sizeof(storage));
266 unsigned char storage[16 * 8 * 8 + 64 * 2 + 64]; /* 1.2KB */
267 unsigned char *table = storage + (64 - ((size_t)storage % 64));
319 OPENSSL_cleanse(storage, sizeof(storage));
/freebsd-12-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFDebugInfoEntry.cpp789 std::string &storage) const { in GetQualifiedName()
792 return GetQualifiedName(cu, attributes, storage); in GetQualifiedName()
798 std::string &storage) const { in GetQualifiedName()
804 storage.clear(); in GetQualifiedName()
812 storage.insert(0, "::"); in GetQualifiedName()
813 storage.insert(0, namespace_name); in GetQualifiedName()
815 storage.insert(0, "(anonymous namespace)::"); in GetQualifiedName()
826 storage.insert(0, "::"); in GetQualifiedName()
827 storage.insert(0, class_union_struct_name); in GetQualifiedName()
838 if (storage.empty()) in GetQualifiedName()
[all …]
/freebsd-12-stable/contrib/wpa/src/utils/
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-12-stable/sys/ddb/
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-12-stable/contrib/llvm-project/compiler-rt/lib/hwasan/
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);
Dhwasan_thread_list.cpp9 void InitThreadList(uptr storage, uptr size) { in InitThreadList() argument
12 new (thread_list_placeholder) HwasanThreadList(storage, size); in InitThreadList()
/freebsd-12-stable/contrib/llvm-project/lld/ELF/
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-12-stable/sys/gnu/dts/mips/
DF5D8235_V2.dts73 storage {
74 label = "f5d8235-v2:blue:storage";
79 label = "f5d8235-v2:amber:storage";
DF5D8235_V1.dts71 storage {
72 label = "f5d8235-v1:blue:storage";
77 label = "f5d8235-v1:orange:storage";
/freebsd-12-stable/crypto/openssl/doc/man3/
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
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-12-stable/sys/dev/bhnd/nvram/
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()
1281 union bhnd_nvram_sprom_storage *storage, bhnd_nvram_val *val) in bhnd_nvram_sprom_getvar_common() argument
1296 return (bhnd_nvram_sprom_read_var(&sp->state, entry, sp->data, storage, in bhnd_nvram_sprom_getvar_common()
1324 union bhnd_nvram_sprom_storage storage; in bhnd_nvram_sprom_getvar() local
1328 error = bhnd_nvram_sprom_getvar_common(nv, cookiep, &storage, &val); in bhnd_nvram_sprom_getvar()
[all …]
/freebsd-12-stable/contrib/file/magic/Magdir/
Dole2compounddocs5 # storage (https://en.wikipedia.org/wiki/Compound_File_Binary_Format)
56 # jump to one block (4096 bytes per block) before root storage block
61 # jump to one block (512 bytes per block) before root storage block
69 # type of the entry; 5~Root storage
73 # the DirIDs of the child nodes. Should both be -1 in the root storage entry
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
[all …]
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/sys/
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()

12345678910>>...18