Home
last modified time | relevance | path

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

12345678910>>...54

/netbsd-src/external/mit/expat/dist/tests/
H A 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 …]
H A 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 …]
H A Druntests.c580 CharData *storage = (CharData *)userData; in accumulate_attribute() local
586 while (storage->count < 0 && atts[0] != NULL) { in accumulate_attribute()
588 CharData_AppendXMLChars(storage, atts[1], -1); in accumulate_attribute()
596 CharData storage; in _run_character_check() local
598 CharData_Init(&storage); in _run_character_check()
599 XML_SetUserData(g_parser, &storage); in _run_character_check()
604 CharData_CheckXMLChars(&storage, expected); in _run_character_check()
613 CharData storage; in _run_attribute_check() local
615 CharData_Init(&storage); in _run_attribute_check()
616 XML_SetUserData(g_parser, &storage); in _run_attribute_check()
[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);
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/
H A 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 …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/
H A Dex_data.c218 EX_CALLBACK **storage = NULL; in ossl_crypto_new_ex_data_ex() local
235 storage = stack; in ossl_crypto_new_ex_data_ex()
237 storage = OPENSSL_malloc(sizeof(*storage) * mx); in ossl_crypto_new_ex_data_ex()
238 if (storage != NULL) in ossl_crypto_new_ex_data_ex()
240 storage[i] = sk_EX_CALLBACK_value(ip->meth, i); in ossl_crypto_new_ex_data_ex()
244 if (mx > 0 && storage == NULL) { in ossl_crypto_new_ex_data_ex()
249 if (storage[i] != NULL && storage[i]->new_func != NULL) { in ossl_crypto_new_ex_data_ex()
251 storage[i]->new_func(obj, ptr, ad, i, in ossl_crypto_new_ex_data_ex()
252 storage[i]->argl, storage[i]->argp); in ossl_crypto_new_ex_data_ex()
255 if (storage != stack) in ossl_crypto_new_ex_data_ex()
[all …]
/netbsd-src/lib/librefuse/refuse/
H A Dchan.c67 static struct refuse_chan_storage storage; variable
116 for (idx = 0; idx < (int)storage.n_alloc; idx++) { in fuse_chan_stash()
117 if (storage.vec[idx] == NULL) { in fuse_chan_stash()
118 storage.vec[idx] = chan; in fuse_chan_stash()
124 storage.n_alloc = (storage.n_alloc + 8) * 2; in fuse_chan_stash()
125 storage.vec = realloc(storage.vec, sizeof(struct fuse_chan*) * storage.n_alloc); in fuse_chan_stash()
126 if (!storage.vec) { in fuse_chan_stash()
132 storage.vec[idx] = chan; in fuse_chan_stash()
133 memset(&storage.vec[idx+1], 0, sizeof(struct fuse_chan*) * (storage.n_alloc - (size_t)idx - 1)); in fuse_chan_stash()
153 if (idx >= 0 && idx < (int)storage.n_alloc) { in fuse_chan_peek()
[all …]
/netbsd-src/external/apache2/llvm/dist/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;
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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DIRSymtab.h45 namespace storage {
188 using S = storage::Symbol;
235 ArrayRef<storage::Module> Modules;
236 ArrayRef<storage::Comdat> Comdats;
237 ArrayRef<storage::Symbol> Symbols;
238 ArrayRef<storage::Uncommon> Uncommons;
239 ArrayRef<storage::Str> DependentLibraries;
241 StringRef str(storage::Str S) const { return S.get(Strtab); } in str()
243 template <typename T> ArrayRef<T> range(storage::Range<T> R) const { in range()
247 const storage::Header &header() const { in header()
[all …]
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
H A Dtimers.cc187 char storage[kStorageSize]; in DateTimeString() local
193 std::strftime(storage, sizeof(storage), "%x %X", ::localtime(&now)); in DateTimeString()
197 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString()
201 written = std::strftime(storage, sizeof(storage), "%x %X", ::gmtime(&now)); in DateTimeString()
205 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString()
210 return std::string(storage); in DateTimeString()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/
H A Dtimers.cc187 char storage[kStorageSize]; in DateTimeString() local
193 std::strftime(storage, sizeof(storage), "%x %X", ::localtime(&now)); in DateTimeString()
197 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString()
201 written = std::strftime(storage, sizeof(storage), "%x %X", ::gmtime(&now)); in DateTimeString()
205 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString()
210 return std::string(storage); in DateTimeString()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_ring_buffer.h94 void Init(void *storage, uptr size) { in Init() argument
101 CHECK_EQ((uptr)storage % (size * 2), 0); in Init()
102 long_ = (uptr)storage | ((size >> kPageSizeBits) << kSizeShift); in Init()
110 CompactRingBuffer(void *storage, uptr size) { in CompactRingBuffer() argument
111 Init(storage, size); in CompactRingBuffer()
115 CompactRingBuffer(const CompactRingBuffer &other, void *storage) { in CompactRingBuffer() argument
117 internal_memcpy(storage, other.StartOfStorage(), size); in CompactRingBuffer()
118 Init(storage, size); in CompactRingBuffer()
120 SetNext((const T *)storage + Idx); in CompactRingBuffer()
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/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()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_ring_buffer.h92 void Init(void *storage, uptr size) { in Init() argument
99 CHECK_EQ((uptr)storage % (size * 2), 0); in Init()
100 long_ = (uptr)storage | ((size >> kPageSizeBits) << kSizeShift); in Init()
108 CompactRingBuffer(void *storage, uptr size) { in CompactRingBuffer() argument
109 Init(storage, size); in CompactRingBuffer()
113 CompactRingBuffer(const CompactRingBuffer &other, void *storage) { in CompactRingBuffer() argument
115 internal_memcpy(storage, other.StartOfStorage(), size); in CompactRingBuffer()
116 Init(storage, size); in CompactRingBuffer()
118 SetNext((const T *)storage + Idx); in CompactRingBuffer()
/netbsd-src/sys/external/bsd/vchiq/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/
H A DlldbDataFormatters.py106 storage = valobj.GetChildMemberWithName('Storage')
107 if not storage:
108 storage = valobj
111 hasVal = storage.GetChildMemberWithName('hasVal').GetValueAsUnsigned(failure)
118 underlying_type = storage.GetType().GetTemplateArgumentType(0)
119 storage = storage.GetChildMemberWithName('value')
120 return storage.Cast(underlying_type)
/netbsd-src/external/bsd/unbound/dist/
H A 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 …]
/netbsd-src/external/bsd/iscsi/dist/doc/
H A DHOWTO-iSCSI-target.txt5 a NetBSD host, so that block storage can be presented to the network.
6 It then goes on to show how to connect to that storage using the
13 1.1. Decide what storage will be presented
15 The iSCSI target serves up block storage to clients on the network.
17 much storage we are going to serve up, and for this document, we
26 # target flags storage netmask
31 same storage after reboot. Its length is 100 MB, and there is
51 DISK: LU 0: 100 MB disk storage for "target0"
H A DFAQ8 storage. It can be thought of as similar to NFS, except that an NFS
19 storage, presenting it to the user as file systems sitting on top of
20 the storage.
33 configure the target with an area of storage for it to present to the
39 storage. This can be multiply-layered.
41 The basic unit of storage is an extent. This can be either a file
51 The simple example is as follows, consisting of one piece of storage
57 will produce an extent of storage which is based on one file,
61 # target storage netmask
77 in the storage arena - they mirror the original storage. There can be
[all …]
/netbsd-src/external/mit/libuv/dist/src/unix/
H A Dgetnameinfo.c38 if (req->storage.ss_family == AF_INET) in uv__getnameinfo_work()
40 else if (req->storage.ss_family == AF_INET6) in uv__getnameinfo_work()
45 err = getnameinfo((struct sockaddr*) &req->storage, in uv__getnameinfo_work()
90 memcpy(&req->storage, in uv_getnameinfo()
94 memcpy(&req->storage, in uv_getnameinfo()
/netbsd-src/external/gpl3/gdb.old/dist/config/
H A Dtls.m44 GCC_ENABLE(tls, yes, [], [Use thread-local storage])
5 AC_CACHE_CHECK([whether the target supports thread-local storage],
44 dnl them and reuse storage, which might lead to them pointing to
97 [Define to 1 if the target supports thread-local storage.])
102 GCC_ENABLE(tls, yes, [], [Use thread-local storage])
103 AC_CACHE_CHECK([whether the target assembler supports thread-local storage],
110 [Define to 1 if the target assembler supports thread-local storage.])
115 AC_CACHE_CHECK([whether the thread-local storage support is from emutls],
128 [Define to 1 if the target use emutls for thread-local storage.])
/netbsd-src/external/gpl3/binutils/dist/config/
H A Dtls.m44 GCC_ENABLE(tls, yes, [], [Use thread-local storage])
5 AC_CACHE_CHECK([whether the target supports thread-local storage],
44 dnl them and reuse storage, which might lead to them pointing to
97 [Define to 1 if the target supports thread-local storage.])
102 GCC_ENABLE(tls, yes, [], [Use thread-local storage])
103 AC_CACHE_CHECK([whether the target assembler supports thread-local storage],
110 [Define to 1 if the target assembler supports thread-local storage.])
115 AC_CACHE_CHECK([whether the thread-local storage support is from emutls],
128 [Define to 1 if the target use emutls for thread-local storage.])
/netbsd-src/external/gpl3/gcc.old/dist/config/
H A Dtls.m44 GCC_ENABLE(tls, yes, [], [Use thread-local storage])
5 AC_CACHE_CHECK([whether the target supports thread-local storage],
44 dnl them and reuse storage, which might lead to them pointing to
97 [Define to 1 if the target supports thread-local storage.])
102 GCC_ENABLE(tls, yes, [], [Use thread-local storage])
103 AC_CACHE_CHECK([whether the target assembler supports thread-local storage],
110 [Define to 1 if the target assembler supports thread-local storage.])
115 AC_CACHE_CHECK([whether the thread-local storage support is from emutls],
128 [Define to 1 if the target use emutls for thread-local storage.])
/netbsd-src/external/gpl3/gdb/dist/config/
H A Dtls.m44 GCC_ENABLE(tls, yes, [], [Use thread-local storage])
5 AC_CACHE_CHECK([whether the target supports thread-local storage],
44 dnl them and reuse storage, which might lead to them pointing to
97 [Define to 1 if the target supports thread-local storage.])
102 GCC_ENABLE(tls, yes, [], [Use thread-local storage])
103 AC_CACHE_CHECK([whether the target assembler supports thread-local storage],
110 [Define to 1 if the target assembler supports thread-local storage.])
115 AC_CACHE_CHECK([whether the thread-local storage support is from emutls],
128 [Define to 1 if the target use emutls for thread-local storage.])
/netbsd-src/external/gpl3/gcc/dist/config/
H A Dtls.m44 GCC_ENABLE(tls, yes, [], [Use thread-local storage])
5 AC_CACHE_CHECK([whether the target supports thread-local storage],
44 dnl them and reuse storage, which might lead to them pointing to
97 [Define to 1 if the target supports thread-local storage.])
102 GCC_ENABLE(tls, yes, [], [Use thread-local storage])
103 AC_CACHE_CHECK([whether the target assembler supports thread-local storage],
110 [Define to 1 if the target assembler supports thread-local storage.])
115 AC_CACHE_CHECK([whether the thread-local storage support is from emutls],
128 [Define to 1 if the target use emutls for thread-local storage.])

12345678910>>...54