/netbsd/crypto/dist/ipsec-tools/src/racoon/ |
H A D | policy.c | 297 struct secpolicy *new; in newsp() local 299 new = racoon_calloc(1, sizeof(*new)); in newsp() 300 if (new == NULL) in newsp() 303 return new; in newsp() 391 inssp(new) in inssp() argument 392 struct secpolicy *new; in inssp() 399 TAILQ_INSERT_BEFORE(p, new, chain); 438 struct ipsecrequest *new; in newipsecreq() local 440 new = racoon_calloc(1, sizeof(*new)); in newipsecreq() 441 if (new == NULL) in newipsecreq() [all …]
|
/netbsd/tests/lib/libc/gen/posix_spawn/ |
H A D | t_spawnattr.c | 71 int min, max, new, priority; in get_different_priority() local 82 for (new = min; new <= max; new++) in get_different_priority() 83 if (priority != new) in get_different_priority() 86 ATF_REQUIRE_MSG(priority != new, "could not find different priority"); in get_different_priority() 88 min, max, scheduler, new); in get_different_priority() 89 return new; in get_different_priority()
|
/netbsd/external/bsd/libbind/dist/isc/ |
H A D | eventlib.c | 217 evEvent_p *new; in evGetNext() local 234 OKNEW(new); in evGetNext() 235 new->type = Accept; in evGetNext() 244 OKNEW(new); in evGetNext() 245 new->type = Stream; in evGetNext() 256 OKNEW(new); in evGetNext() 257 new->type = Wait; in evGetNext() 357 OKNEW(new); in evGetNext() 396 OKNEW(new); in evGetNext() 397 new->type = Timer; in evGetNext() [all …]
|
/netbsd/sbin/routed/ |
H A D | parms.c | 863 check_parms(struct parm *new) in check_parms() argument 871 new->parm_int_state |= IS_NO_SOL_OUT; in check_parms() 873 new->parm_int_state |= IS_NO_ADV_IN; in check_parms() 888 new->parm_net, new->parm_mask) in check_parms() 889 && !on_net_h(new->parm_net, in check_parms() 908 || (new->parm_rdisc_pref != 0 in check_parms() 911 || (new->parm_rdisc_int != 0 in check_parms() 919 if (new->parm_d_metric != 0 in check_parms() 926 if (new->parm_adj_inmetric != 0 in check_parms() 933 if (new->parm_adj_outmetric != 0 in check_parms() [all …]
|
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | tcs_context_key.c | 115 struct keys_loaded *k = NULL, *new; in ctx_mark_key_loaded() local 145 new = calloc(1, sizeof(struct keys_loaded)); in ctx_mark_key_loaded() 146 if (new == NULL) { in ctx_mark_key_loaded() 152 new->key_handle = key_handle; in ctx_mark_key_loaded() 153 new->next = c->keys; in ctx_mark_key_loaded() 154 c->keys = new; in ctx_mark_key_loaded() 155 result = key_mgr_inc_ref_count(new->key_handle); in ctx_mark_key_loaded()
|
/netbsd/usr.sbin/ip6addrctl/ |
H A D | ip6addrctl.c | 135 struct policyqueue *new; in get_policy() local 137 if ((new = malloc(sizeof(*new))) == NULL) in get_policy() 139 new->pc_policy = *pol; in get_policy() 140 TAILQ_INSERT_TAIL(&policyhead, new, pc_entry); in get_policy() 210 struct policyqueue *new; in make_policy_fromfile() local 242 if ((new = malloc(sizeof(*new))) == NULL) in make_policy_fromfile() 244 memset(new, 0, sizeof(*new)); in make_policy_fromfile() 245 new->pc_policy = pol0; in make_policy_fromfile() 246 TAILQ_INSERT_TAIL(&policyhead, new, pc_entry); in make_policy_fromfile()
|
/netbsd/tests/crypto/opencrypto/ |
H A D | h_ioctl.c | 364 set_userasymcrypto(int new, int *old) in set_userasymcrypto() argument 368 ret = sysctlbyname("kern.userasymcrypto", NULL, NULL, &new, sizeof(new)); in set_userasymcrypto() 370 warn("failed: kern.userasymcrypto=%d", new); in set_userasymcrypto() 375 *old = new; in set_userasymcrypto() 395 int ret, new, orig; in test_asymfeat() local 399 new = 1; in test_asymfeat() 400 ret = set_userasymcrypto(new, &orig); in test_asymfeat() 403 ret = test_asymfeat_each(fd, &asymfeat, new); in test_asymfeat() 408 new = 0; in test_asymfeat() 409 ret = set_userasymcrypto(new, NULL); in test_asymfeat() [all …]
|
/netbsd/external/cddl/osnet/dist/tools/ctf/cvt/ |
H A D | stabs.c | 68 tdesc_t *new; in resolve_tou_node() local 71 new = lookup(node->t_id); in resolve_tou_node() 73 if (new == NULL) { in resolve_tou_node() 77 debug(3, " Resolving to %d\n", new->t_id); in resolve_tou_node() 79 *nodep = new; in resolve_tou_node() 88 tdesc_t *new = lookupname(node->t_name); in resolve_fwd_node() local 92 if (!new || (new->t_type != STRUCT && new->t_type != UNION)) in resolve_fwd_node() 95 debug(3, " Unforwarded to %d\n", new->t_id); in resolve_fwd_node() 97 *nodep = new; in resolve_fwd_node()
|
H A D | iidesc.c | 91 iidesc_add(hash_t *hash, iidesc_t *new) in iidesc_add() argument 95 find.iif_tgt = new; in iidesc_add() 98 (void) hash_match(hash, new, iidesc_cmp, &find); in iidesc_add() 105 bcopy(new, old, sizeof (*old)); in iidesc_add() 106 bcopy(&tmp, new, sizeof (*new)); in iidesc_add() 108 iidesc_free(new, NULL); in iidesc_add() 112 hash_add(hash, new); in iidesc_add()
|
/netbsd/sys/arch/arm/s3c2xx0/ |
H A D | s3c2xx0_intr.h | 117 s3c2xx0_setipl(int new) in s3c2xx0_setipl() argument 119 set_curcpl(new); in s3c2xx0_setipl() 129 s3c2xx0_splx(int new) in s3c2xx0_splx() argument 134 s3c2xx0_setipl(new); in s3c2xx0_splx() 174 #define splx(new) s3c2xx0_splx(new) argument
|
/netbsd/sys/netbt/ |
H A D | l2cap_signal.c | 282 if (new == NULL) in l2cap_recv_connect_req() 291 (*new->lc_proto->disconnected)(new->lc_upper, err); in l2cap_recv_connect_req() 298 new->lc_rcid = cp.scid; in l2cap_recv_connect_req() 299 new->lc_ident = cmd.ident; in l2cap_recv_connect_req() 306 err = l2cap_setmode(new); in l2cap_recv_connect_req() 309 (*new->lc_proto->connecting)(new->lc_upper); in l2cap_recv_connect_req() 315 new->lc_link = NULL; in l2cap_recv_connect_req() 321 (*new->lc_proto->disconnected)(new->lc_upper, err); in l2cap_recv_connect_req() 326 new->lc_lcid, new->lc_rcid, in l2cap_recv_connect_req() 329 l2cap_close(new, err); in l2cap_recv_connect_req() [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | denum.c | 33 type = new TypeEnum(this); in EnumDeclaration() 49 EnumDeclaration *ed = new EnumDeclaration(loc, ident, in syntaxCopy() 72 symtab = new DsymbolTable(); in addMember() 133 symtab = new DsymbolTable(); in semantic() 364 *pval = new ErrorExp(); in getMaxMinValue() 416 defaultval = new ErrorExp(); in getDefaultValue() 515 return new EnumMember(loc, ident, in syntaxCopy() 706 e = new AddExp(loc, eprev, new IntegerExp(loc, 1, Type::tint32)); in semantic() 715 origValue = new AddExp(loc, emprev->origValue, new IntegerExp(loc, 1, Type::tint32)); in semantic() 747 return new ErrorExp(); in getVarExp() [all …]
|
/netbsd/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | denum.c | 33 type = new TypeEnum(this); in EnumDeclaration() 49 EnumDeclaration *ed = new EnumDeclaration(loc, ident, in syntaxCopy() 72 symtab = new DsymbolTable(); in addMember() 133 symtab = new DsymbolTable(); in semantic() 364 *pval = new ErrorExp(); in getMaxMinValue() 416 defaultval = new ErrorExp(); in getDefaultValue() 515 return new EnumMember(loc, ident, in syntaxCopy() 706 e = new AddExp(loc, eprev, new IntegerExp(loc, 1, Type::tint32)); in semantic() 715 origValue = new AddExp(loc, emprev->origValue, new IntegerExp(loc, 1, Type::tint32)); in semantic() 747 return new ErrorExp(); in getVarExp() [all …]
|
/netbsd/external/gpl3/gcc/dist/gcc/ |
H A D | fibonacci_heap.c | 43 int_heap_t *h1 = new int_heap_t (INT_MIN, &allocator); in test_empty_heap() 49 int_heap_t *h2 = new int_heap_t (INT_MIN, &allocator); in test_empty_heap() 68 int_heap_t *h1 = new int_heap_t (INT_MIN); in test_basic_heap_operations() 100 int_heap_t *h = new int_heap_t (INT_MIN); in build_simple_heap() 144 int_heap_t *heap = new int_heap_t (INT_MIN); in test_duplicate_keys() 176 int_heap_t *heap1 = new int_heap_t (INT_MIN, &allocator); in test_union() 180 int_heap_t *heap2 = new int_heap_t (INT_MIN, &allocator); in test_union() 204 int_heap_t *heap1 = new int_heap_t (INT_MIN, &allocator); in test_union_of_equal_heaps() 208 int_heap_t *heap2 = new int_heap_t (INT_MIN, &allocator); in test_union_of_equal_heaps() 259 class_fibonacci_heap_t *heap = new class_fibonacci_heap_t (INT_MIN); in test_struct_key()
|
/netbsd/external/gpl3/gcc.old/dist/gcc/ |
H A D | fibonacci_heap.c | 43 int_heap_t *h1 = new int_heap_t (INT_MIN, &allocator); in test_empty_heap() 49 int_heap_t *h2 = new int_heap_t (INT_MIN, &allocator); in test_empty_heap() 68 int_heap_t *h1 = new int_heap_t (INT_MIN); in test_basic_heap_operations() 100 int_heap_t *h = new int_heap_t (INT_MIN); in build_simple_heap() 144 int_heap_t *heap = new int_heap_t (INT_MIN); in test_duplicate_keys() 176 int_heap_t *heap1 = new int_heap_t (INT_MIN, &allocator); in test_union() 180 int_heap_t *heap2 = new int_heap_t (INT_MIN, &allocator); in test_union() 204 int_heap_t *heap1 = new int_heap_t (INT_MIN, &allocator); in test_union_of_equal_heaps() 208 int_heap_t *heap2 = new int_heap_t (INT_MIN, &allocator); in test_union_of_equal_heaps() 259 class_fibonacci_heap_t *heap = new class_fibonacci_heap_t (INT_MIN); in test_struct_key()
|
/netbsd/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.gc/ |
H A D | precisegc.d | 51 roots = new Roots; in init() 52 roots.c = new C; in init() 53 roots.c.next = new C; in init() 55 roots.s = new S; in init() 56 roots.s.next = new S; in init() 58 roots.l = new L; in init() 59 roots.l.node = new S; in init()
|
/netbsd/external/gpl3/gdb/dist/readline/readline/ |
H A D | undo.c | 132 UNDO_LIST *new; in _rl_copy_undo_entry() local 134 new = alloc_undo_entry (entry->what, entry->start, entry->end, (char *)NULL); in _rl_copy_undo_entry() 135 new->text = entry->text ? savestring (entry->text) : 0; in _rl_copy_undo_entry() 136 return new; in _rl_copy_undo_entry() 142 UNDO_LIST *list, *new, *roving, *c; in _rl_copy_undo_list() local 148 new = 0; in _rl_copy_undo_list() 152 if (new == 0) in _rl_copy_undo_list() 153 roving = new = c; in _rl_copy_undo_list() 163 return new; in _rl_copy_undo_list()
|
/netbsd/external/gpl3/gdb.old/dist/readline/readline/ |
H A D | undo.c | 132 UNDO_LIST *new; in _rl_copy_undo_entry() local 134 new = alloc_undo_entry (entry->what, entry->start, entry->end, (char *)NULL); in _rl_copy_undo_entry() 135 new->text = entry->text ? savestring (entry->text) : 0; in _rl_copy_undo_entry() 136 return new; in _rl_copy_undo_entry() 142 UNDO_LIST *list, *new, *roving, *c; in _rl_copy_undo_list() local 148 new = 0; in _rl_copy_undo_list() 152 if (new == 0) in _rl_copy_undo_list() 153 roving = new = c; in _rl_copy_undo_list() 163 return new; in _rl_copy_undo_list()
|
/netbsd/external/gpl3/gcc.old/dist/libstdc++-v3/include/parallel/ |
H A D | random_shuffle.h | 136 _BinIndex* __oracles = new _BinIndex[__length]; in __parallel_random_shuffle_drs_pu() 138 _BinIndex* __bin_proc = new _BinIndex[__sd->_M_num_bins]; in __parallel_random_shuffle_drs_pu() 190 (::operator new(sizeof(_ValueType) * __offset)); in __parallel_random_shuffle_drs_pu() 212 ::new(&(__temporaries[__target_p][__dist[__target_bin + 1]++])) in __parallel_random_shuffle_drs_pu() 349 __sd._M_temporaries = new _ValueType*[__num_threads]; in __parallel_random_shuffle_drs() 350 __sd._M_dist = new _DifferenceType*[__num_bins + 1]; in __parallel_random_shuffle_drs() 351 __sd._M_bin_proc = new _ThreadIndex[__num_bins]; in __parallel_random_shuffle_drs() 353 __sd._M_dist[__b] = new _DifferenceType[__num_threads + 1]; in __parallel_random_shuffle_drs() 466 _BinIndex* __oracles = new _BinIndex[__n]; in __sequential_random_shuffle() 468 * __dist1 = new _DifferenceType[__num_bins + 1]; in __sequential_random_shuffle() [all …]
|
/netbsd/external/gpl3/gcc/dist/libstdc++-v3/include/parallel/ |
H A D | random_shuffle.h | 136 _BinIndex* __oracles = new _BinIndex[__length]; in __parallel_random_shuffle_drs_pu() 138 _BinIndex* __bin_proc = new _BinIndex[__sd->_M_num_bins]; in __parallel_random_shuffle_drs_pu() 190 (::operator new(sizeof(_ValueType) * __offset)); in __parallel_random_shuffle_drs_pu() 212 ::new(&(__temporaries[__target_p][__dist[__target_bin + 1]++])) in __parallel_random_shuffle_drs_pu() 349 __sd._M_temporaries = new _ValueType*[__num_threads]; in __parallel_random_shuffle_drs() 350 __sd._M_dist = new _DifferenceType*[__num_bins + 1]; in __parallel_random_shuffle_drs() 351 __sd._M_bin_proc = new _ThreadIndex[__num_bins]; in __parallel_random_shuffle_drs() 353 __sd._M_dist[__b] = new _DifferenceType[__num_threads + 1]; in __parallel_random_shuffle_drs() 466 _BinIndex* __oracles = new _BinIndex[__n]; in __sequential_random_shuffle() 468 * __dist1 = new _DifferenceType[__num_bins + 1]; in __sequential_random_shuffle() [all …]
|
/netbsd/external/gpl2/texinfo/dist/info/ |
H A D | indices.c | 687 WINDOW *new; variable 694 for (new = windows; new; new = new->next) 696 node = new->node; 705 if (!new && window->next) 706 new = window->next; 710 if (!new) 716 new = window_make_window ((NODE *)NULL); 721 if (!new) 722 new = window; 725 new->flags |= W_NoWrap; [all …]
|
/netbsd/external/gpl2/groff/dist/src/preproc/pic/ |
H A D | pic.y | 485 $$.str = new char[GDIGITS + 1]; 649 $$ = new object_spec(ARC_OBJECT); 654 $$ = new object_spec(LINE_OBJECT); 699 saved_state *p = new saved_state; 870 $$->with = new path(pos); 1107 $$.v = new double[4]; 1114 $$.v = new double[$$.maxv]; 1337 { $$ = new path($2); } 1347 { $$ = new path($1); } 1699 place *p = new place[1]; in define_label() [all …]
|
/netbsd/external/mpl/bind/dist/contrib/scripts/ |
H A D | zone-edit.sh.in | 69 cp ${dir}/ooo ${dir}/new 72 if ${VISUAL:-${EDITOR:-/bin/ed}} ${dir}/new 74 if ${checkzone} -q -D "$zone" ${dir}/new > ${dir}/nnn 105 cp ${dir}/ooo ${dir}/new 123 cp ${dir}/ooo ${dir}/new 142 cp ${dir}/ooo ${dir}/new
|
/netbsd/external/gpl3/gcc.old/dist/libgcc/config/rs6000/ |
H A D | cxa_atexit.c | 41 struct exit_function *new = __new_exitfn (listp); in __internal_atexit() local 43 if (new == NULL) in __internal_atexit() 49 new->func.cxa.fn = (void (*) (void *, int)) func; in __internal_atexit() 50 new->func.cxa.arg = arg; in __internal_atexit() 51 new->func.cxa.dso_handle = d; in __internal_atexit() 53 new->flavor = ef_cxa; in __internal_atexit()
|
/netbsd/external/gpl3/gcc/dist/libgcc/config/rs6000/ |
H A D | cxa_atexit.c | 41 struct exit_function *new = __new_exitfn (listp); in __internal_atexit() local 43 if (new == NULL) in __internal_atexit() 49 new->func.cxa.fn = (void (*) (void *, int)) func; in __internal_atexit() 50 new->func.cxa.arg = arg; in __internal_atexit() 51 new->func.cxa.dso_handle = d; in __internal_atexit() 53 new->flavor = ef_cxa; in __internal_atexit()
|