| /netbsd/src/external/mit/expat/dist/tests/ |
| D | structdata.c | 72 StructData_Init(StructData *storage) { in StructData_Init() argument 73 assert(storage != NULL); in StructData_Init() 74 storage->count = 0; in StructData_Init() 75 storage->max_count = 0; in StructData_Init() 76 storage->entries = NULL; in StructData_Init() 80 StructData_AddItem(StructData *storage, const XML_Char *s, int data0, int data1, in StructData_AddItem() argument 84 assert(storage != NULL); in StructData_AddItem() 86 if (storage->count == storage->max_count) { in StructData_AddItem() 89 storage->max_count += STRUCT_EXTENSION_COUNT; in StructData_AddItem() 91 storage->entries, storage->max_count * sizeof(StructDataEntry)); in StructData_AddItem() [all …]
|
| D | chardata.c | 61 CharData_Init(CharData *storage) { in CharData_Init() argument 62 assert(storage != NULL); in CharData_Init() 63 storage->count = -1; in CharData_Init() 67 CharData_AppendXMLChars(CharData *storage, const XML_Char *s, int len) { in CharData_AppendXMLChars() argument 70 assert(storage != NULL); in CharData_AppendXMLChars() 72 maxchars = sizeof(storage->data) / sizeof(storage->data[0]); in CharData_AppendXMLChars() 73 if (storage->count < 0) in CharData_AppendXMLChars() 74 storage->count = 0; in CharData_AppendXMLChars() 77 if ((len + storage->count) > maxchars) { in CharData_AppendXMLChars() 78 len = (maxchars - storage->count); in CharData_AppendXMLChars() [all …]
|
| D | basic_tests.c | 395 CharData storage; in START_TEST() local 397 CharData_Init(&storage); in START_TEST() 398 XML_SetUserData(g_parser, &storage); in START_TEST() 403 CharData_CheckXMLChars(&storage, expected); in START_TEST() 655 StructData storage; in START_TEST() local 657 StructData_Init(&storage); in START_TEST() 658 XML_SetUserData(g_parser, &storage); in START_TEST() 665 StructData_CheckItems(&storage, expected, expected_count); in START_TEST() 666 StructData_Dispose(&storage); in START_TEST() 796 CharData storage; in START_TEST() local [all …]
|
| D | common.c | 236 CharData storage; in _run_character_check() local 238 CharData_Init(&storage); in _run_character_check() 239 XML_SetUserData(g_parser, &storage); in _run_character_check() 244 CharData_CheckXMLChars(&storage, expected); in _run_character_check() 250 CharData storage; in _run_attribute_check() local 252 CharData_Init(&storage); in _run_attribute_check() 253 XML_SetUserData(g_parser, &storage); in _run_attribute_check() 258 CharData_CheckXMLChars(&storage, expected); in _run_attribute_check() 264 CharData *const storage = (CharData *)malloc(sizeof(CharData)); in _run_ext_character_check() local 266 CharData_Init(storage); in _run_ext_character_check() [all …]
|
| D | handlers.c | 82 CharData *storage = (CharData *)userData; in end_element_event_handler() local 83 CharData_AppendXMLChars(storage, XCS("/"), 1); in end_element_event_handler() 84 CharData_AppendXMLChars(storage, name, -1); in end_element_event_handler() 90 StructData *storage = (StructData *)userData; in start_element_event_handler2() local 92 StructData_AddItem(storage, name, XML_GetCurrentColumnNumber(g_parser), in start_element_event_handler2() 98 StructData *storage = (StructData *)userData; in end_element_event_handler2() local 99 StructData_AddItem(storage, name, XML_GetCurrentColumnNumber(g_parser), in end_element_event_handler2() 221 CharData *storage = (CharData *)userData; in overwrite_start_checker() local 222 CharData_AppendXMLChars(storage, XCS("start "), 6); in overwrite_start_checker() 223 CharData_AppendXMLChars(storage, name, -1); in overwrite_start_checker() [all …]
|
| D | ns_tests.c | 123 CharData storage; in run_ns_tagname_overwrite_test() local 124 CharData_Init(&storage); in run_ns_tagname_overwrite_test() 125 XML_SetUserData(g_parser, &storage); in run_ns_tagname_overwrite_test() 131 CharData_CheckXMLChars(&storage, result); in run_ns_tagname_overwrite_test() 598 CharData storage; in START_TEST() local 600 CharData_Init(&storage); in START_TEST() 602 XML_SetUserData(g_parser, &storage); in START_TEST() 606 CharData_CheckXMLChars(&storage, expected); in START_TEST() 621 CharData storage; in START_TEST() local 623 CharData_Init(&storage); in START_TEST() [all …]
|
| D | structdata.h | 55 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);
|
| D | misc_tests.c | 275 CharData storage; in START_TEST() local 281 CharData_Init(&storage); in START_TEST() 282 XML_SetUserData(g_parser, &storage); in START_TEST() 287 CharData_CheckXMLChars(&storage, expected); in START_TEST() 502 CharData storage; in START_TEST() local 503 CharData_Init(&storage); in START_TEST() 506 XML_SetUserData(parser, &storage); in START_TEST() 520 CharData_CheckXMLChars(&storage, in START_TEST() 587 CharData_AppendXMLChars(test_data->storage, s, len); in accumulate_characters_ext_handler() 593 CharData storage; in START_TEST() local [all …]
|
| D | chardata.h | 51 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);
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/ |
| D | ex_data.c | 218 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/sys/external/bsd/vchiq/dist/interface/vchiq_arm/ |
| D | vchiq_util.c | 53 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/bsd/iscsi/dist/doc/ |
| D | HOWTO-iSCSI-target.txt | 5 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"
|
| D | FAQ | 8 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/gpl3/gdb/dist/config/ |
| D | tls.m4 | 4 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/ |
| D | tls.m4 | 4 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/ |
| D | tls.m4 | 4 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/crypto/external/bsd/openssl/dist/crypto/bn/ |
| D | rsaz_exp.c | 62 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));
|
| D | rsaz_exp_x2.c | 141 BN_ULONG *storage = NULL; 163 storage = (BN_ULONG *)OPENSSL_malloc(storage_len_bytes + 64); 164 if (storage == NULL) 166 storage_aligned = (BN_ULONG *)ALIGN_OF(storage, 64); 226 bn_reduce_once_in_place(res1, /*carry=*/0, m1, storage, factor_size); 227 bn_reduce_once_in_place(res2, /*carry=*/0, m2, storage, factor_size); 231 if (storage != NULL) { 232 OPENSSL_cleanse(storage, storage_len_bytes); 233 OPENSSL_free(storage);
|
| /netbsd/src/external/gpl3/binutils/dist/binutils/ |
| D | addr2line.c | 120 long storage; in slurp_symtab() local 126 storage = bfd_get_symtab_upper_bound (abfd); in slurp_symtab() 127 if (storage == 0) in slurp_symtab() 129 storage = bfd_get_dynamic_symtab_upper_bound (abfd); in slurp_symtab() 132 if (storage < 0) in slurp_symtab() 138 syms = (asymbol **) xmalloc (storage); in slurp_symtab() 150 && (storage = bfd_get_dynamic_symtab_upper_bound (abfd)) > 0) in slurp_symtab() 153 syms = xmalloc (storage); in slurp_symtab()
|
| /netbsd/src/sys/arch/alpha/alpha/ |
| D | trap.c | 635 #define unaligned_load(storage, ptrf, mod) \ argument 636 if (copyin((void *)va, &(storage), sizeof (storage)) != 0) \ 640 *regptr = mod (storage); 642 #define unaligned_store(storage, ptrf, mod) \ argument 644 (storage) = mod (*regptr); \ 646 (storage) = 0; \ 647 if (copyout(&(storage), (void *)va, sizeof (storage)) != 0) \ 651 #define unaligned_load_integer(storage) \ argument 652 unaligned_load(storage, irp, ) 654 #define unaligned_store_integer(storage) \ argument [all …]
|
| /netbsd/src/external/bsd/wpa/dist/src/utils/ |
| D | trace.c | 100 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()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | wide-int.h | 711 template <typename storage> 712 class GTY(()) generic_wide_int : public storage 773 = wi::int_traits <generic_wide_int <storage> >::is_sign_extended; 776 template <typename storage> 777 inline generic_wide_int <storage>::generic_wide_int () {} 779 template <typename storage> 781 inline generic_wide_int <storage>::generic_wide_int (const T &x) 782 : storage (x) 786 template <typename storage> 788 inline generic_wide_int <storage>::generic_wide_int (const T &x, [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| D | miscexprs.exp | 29 set storage "-DSTORAGE=" 31 set storage "-DSTORAGE=static" 34 set additional_flags "additional_flags=${storage}"
|
| /netbsd/src/sys/arch/sparc/sparc/ |
| D | promlib.c | 789 static char storage[128]; variable 797 dp = storage; in parse_bootfile() 799 if (dp >= storage + sizeof(storage) - 1) { in parse_bootfile() 817 return (storage); in parse_bootfile() 844 if (prom_getoption(prop, storage, sizeof storage) != 0) in obp_v2_getbootfile() 847 return (storage); in obp_v2_getbootfile() 907 char *buf = storage; in opf_getbootpath() 908 int blen = sizeof storage; in opf_getbootpath() 920 char *buf = storage; in opf_getbootargs() 921 int blen = sizeof storage; in opf_getbootargs() [all …]
|
| /netbsd/src/etc/iscsi/ |
| D | targets | 6 # it's the lowest common storage denominator 11 # will just use a simple extent for persistent storage 20 # target flags storage netmask
|