/dragonfly/usr.bin/talk/ |
H A D | get_iface.c | 47 static struct sockaddr_in local; in get_iface() local 56 local.sin_addr.s_addr = htonl(INADDR_ANY); in get_iface() 57 local.sin_port = htons(60000); in get_iface() 58 local.sin_family = AF_INET; in get_iface() 59 local.sin_len = sizeof local; in get_iface() 66 rv = bind(s, (struct sockaddr *)&local, sizeof local); in get_iface() 67 local.sin_port = htons(ntohs(local.sin_port) + 1); in get_iface() 85 namelen = sizeof local; in get_iface() 86 rv = getsockname(s, (struct sockaddr *)&local, &namelen); in get_iface() 91 memcpy(iface, &local.sin_addr, sizeof local.sin_addr); in get_iface()
|
/dragonfly/test/udp/sendsrcaddr/ |
H A D | udp_sendsrcaddr.c | 60 struct sockaddr_in remote, local; in main() local 104 local_len = sizeof(local); in main() 110 ntohs(local.sin_port)); in main() 111 local.sin_addr = src; in main() 121 if (bind(s2, (const struct sockaddr *)&local, sizeof(local)) < 0) in main() 141 local_len = sizeof(local); in main() 146 ntohs(local.sin_port)); in main() 154 if (local.sin_addr.s_addr == src.s_addr) { in main() 170 local.sin_addr.s_addr = INADDR_ANY; in main() 171 if (bind(s2, (const struct sockaddr *)&local, sizeof(local)) < 0) in main() [all …]
|
/dragonfly/share/examples/find_interface/ |
H A D | find_interface.c | 60 struct sockaddr_in local, remote; in main() local 80 local.sin_addr.s_addr = htonl(INADDR_ANY); in main() 81 local.sin_port = htons(60000); in main() 82 local.sin_family = AF_INET; in main() 83 local.sin_len = sizeof local; in main() 90 rv = bind(s, (struct sockaddr *)&local, sizeof local); in main() 91 local.sin_port = htons(ntohs(local.sin_port) + 1); in main() 105 namelen = sizeof local; in main() 106 rv = getsockname(s, (struct sockaddr *)&local, &namelen); in main() 110 printf("Route to %s is out %s\n", *argv, inet_ntoa(local.sin_addr)); in main()
|
/dragonfly/usr.sbin/tcpdrop/ |
H A D | tcpdrop.c | 177 struct host_service local, foreign; in tcpdrop() local 184 sockinfo(lsa, &local); in tcpdrop() 188 printf("tcpdrop %s %s %s %s\n", local.hs_host, local.hs_service, in tcpdrop() 196 warn("%s %s %s %s", local.hs_host, local.hs_service, in tcpdrop() 200 printf("%s %s %s %s: dropped\n", local.hs_host, local.hs_service, in tcpdrop() 258 struct addrinfo *ail, *local, *aif, *foreign; in tcpdropbyname() local 269 freeaddrinfo(local); /* XXX gratuitous */ in tcpdropbyname() 296 freeaddrinfo(local); in tcpdropbyname() 305 struct sockaddr *local, *foreign; in tcpdropconn() local 317 local = (struct sockaddr *)&sin6[TCPDROP_LOCAL]; in tcpdropconn() [all …]
|
/dragonfly/sys/vfs/hammer2/zlib/ |
H A D | hammer2_zlib_trees.c | 188 local 233 local 412 local 457 local 491 local 578 local 622 local 710 local 756 local 806 local [all …]
|
/dragonfly/usr.sbin/makefs/hammer2/zlib/ |
H A D | hammer2_zlib_trees.c | 188 local 233 local 412 local 457 local 491 local 578 local 622 local 710 local 756 local 806 local [all …]
|
/dragonfly/sbin/hammer2/zlib/ |
H A D | hammer2_zlib_trees.c | 188 local 233 local 412 local 457 local 491 local 578 local 622 local 710 local 756 local 806 local [all …]
|
/dragonfly/contrib/zlib-1.2/ |
H A D | crc32.c | 40 local unsigned long crc32_big OF((unsigned long, 56 local volatile int crc_table_empty = 1; 57 local z_crc_t FAR crc_table[TBLS][256]; 58 local void make_crc_table OF((void)); 88 local void make_crc_table() in make_crc_table() 165 local void write_table(out, table) in write_table() 266 local unsigned long crc32_little(crc, buf, len) in crc32_little() 306 local unsigned long crc32_big(crc, buf, len) in crc32_big() 344 local unsigned long gf2_matrix_times(mat, vec) in gf2_matrix_times() 361 local void gf2_matrix_square(square, mat) in gf2_matrix_square() [all …]
|
H A D | trees.c | 71 local const uch bl_order[BL_CODES] 110 local int base_dist[D_CODES]; 232 local void tr_static_init() in tr_static_init() 407 local void init_block(s) in init_block() 451 local void pqdownheap(s, tree, k) in pqdownheap() 486 local void gen_bitlen(s, desc) in gen_bitlen() 615 local void build_tree(s, desc) in build_tree() 799 local int build_bl_tree(s) in build_bl_tree() 1124 local int detect_data_type(s) in detect_data_type() 1173 local void bi_flush(s) in bi_flush() [all …]
|
/dragonfly/contrib/wpa_supplicant/src/common/ |
H A D | wpa_ctrl.c | 57 struct sockaddr_in6 local; member 60 struct sockaddr_in local; member 69 struct sockaddr_un local; member 117 ctrl->local.sun_family = AF_UNIX; in wpa_ctrl_open2() 152 sizeof(ctrl->local)) < 0) { in wpa_ctrl_open2() 160 unlink(ctrl->local.sun_path); in wpa_ctrl_open2() 179 unlink(ctrl->local.sun_path); in wpa_ctrl_open2() 200 unlink(ctrl->local.sun_path); in wpa_ctrl_open2() 225 unlink(ctrl->local.sun_path); in wpa_ctrl_open2() 251 unlink(ctrl->local.sun_path); in wpa_ctrl_close() [all …]
|
/dragonfly/contrib/cvs-1.12/src/ |
H A D | annotate.c | 36 int local, char *mname, char *msg); 58 int local = 0; in annotate() local 75 local = 1; in annotate() 78 local = 0; in annotate() 114 if (local) in annotate() 133 send_files (argc, argv, local, 0, SEND_NO_CONTENTS); in annotate() 149 NULL, 0, local, 0, 0, NULL); in annotate() 156 local, NULL, NULL); in annotate() 165 char *mfile, int shorten, int local, char *mname, char *msg) in rannotate_proc() argument 244 tag_check_valid (tag, argc - 1, argv + 1, local, 0, repository, false); in rannotate_proc() [all …]
|
H A D | edit.c | 69 local = 1; in watch_onoff() 72 local = 0; in watch_onoff() 90 if (local) in watch_onoff() 480 local = 1; in edit() 483 local = 0; in edit() 553 if (local) in edit() 738 local = 1; in unedit() 741 local = 0; in unedit() 1200 local = 1; in editors() 1203 local = 0; in editors() [all …]
|
H A D | watch.c | 237 if ( the_args.local ) in addremove_filesdoneproc() 265 the_args.local = 0; in watch_addremove() 273 the_args.local = 1; in watch_addremove() 276 the_args.local = 0; in watch_addremove() 342 if (the_args.local) in watch_addremove() 495 int local = 0; in watchers() local 507 local = 1; in watchers() 510 local = 0; in watchers() 527 if (local) in watchers() 530 send_files (argc, argv, local, 0, SEND_NO_CONTENTS); in watchers() [all …]
|
H A D | remove.c | 35 static int local; variable 66 local = 1; in cvsremove() 69 local = 0; in cvsremove() 94 NULL, argc, argv, local, W_LOCAL, in cvsremove() 103 if (local) in cvsremove() 107 send_files (argc, argv, local, 0, 0); in cvsremove() 117 NULL, argc, argv, local, W_LOCAL, 0, in cvsremove()
|
/dragonfly/contrib/tnftp/src/ |
H A D | ftp.c | 726 if (*local != '-') in sendrequest() 752 } else if (*local == '|') { in sendrequest() 754 fin = popen(local + 1, "r"); in sendrequest() 763 fin = fopen(local, "r"); in sendrequest() 989 if (ignorespecial || (strcmp(local, "-") && *local != '|')) { in recvrequest() 1016 (local = gunique(local)) == NULL) { in recvrequest() 1021 else if (runique && (local = gunique(local)) == NULL) { in recvrequest() 1070 fout = fopen(local, lmode); in recvrequest() 1200 local, in recvrequest() 2045 gunique(const char *local) in gunique() argument [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | ipa-pure-const.c | 244 check_decl (funct_state local, in check_decl() argument 489 local->looping = true; in check_call() 495 local->can_throw = true; in check_call() 517 worse_state (&local->pure_const_state, &local->looping, in check_call() 527 local->looping = true; in check_call() 551 local->looping = true; in check_call() 565 local->looping = true; in check_call() 585 worse_state (&local->pure_const_state, &local->looping, in check_call() 675 local->looping = true; in check_stmt() 681 local->can_throw = true; in check_stmt() [all …]
|
H A D | varasm.c | 4818 if ((local->field != NULL_TREE || local->index != NULL_TREE) in output_constructor_regular_field() 4830 if (local->field) in output_constructor_regular_field() 4872 = (local->field in output_constructor_bitfield() 4910 local->val = TREE_OPERAND (local->val, 0); in output_constructor_bitfield() 5072 local.exp = exp; in output_constructor() 5087 local.min_index = TYPE_MIN_VALUE (TYPE_DOMAIN (local.type)); in output_constructor() 5102 local.field = TYPE_FIELDS (local.type); in output_constructor() 5106 cnt++, local.field = local.field ? DECL_CHAIN (local.field) : 0) in output_constructor() 5165 if ((unsigned HOST_WIDE_INT)local.total_bytes < local.size) in output_constructor() 5167 assemble_zeros (local.size - local.total_bytes); in output_constructor() [all …]
|
/dragonfly/usr.sbin/rpcbind/ |
H A D | rpcb_svc.c | 76 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_3() local 97 local = rpcbproc_set_com; in rpcb_service_3() 103 local = rpcbproc_unset_com; in rpcb_service_3() 109 local = rpcbproc_getaddr_3_local; in rpcb_service_3() 119 local = rpcbproc_dump_3_local; in rpcb_service_3() 133 local = rpcbproc_gettime_com; in rpcb_service_3() 143 local = rpcbproc_uaddr2taddr_com; in rpcb_service_3() 153 local = rpcbproc_taddr2uaddr_com; in rpcb_service_3() 172 result = (*local)(&argument, rqstp, transp, RPCBVERS); in rpcb_service_3()
|
H A D | rpcb_svc_4.c | 103 local = rpcbproc_set_com; in rpcb_service_4() 113 local = rpcbproc_unset_com; in rpcb_service_4() 119 local = rpcbproc_getaddr_4_local; in rpcb_service_4() 129 local = rpcbproc_getversaddr_4_local; in rpcb_service_4() 139 local = rpcbproc_dump_4_local; in rpcb_service_4() 166 local = rpcbproc_gettime_com; in rpcb_service_4() 176 local = rpcbproc_uaddr2taddr_com; in rpcb_service_4() 186 local = rpcbproc_taddr2uaddr_com; in rpcb_service_4() 196 local = rpcbproc_getaddrlist_4_local; in rpcb_service_4() 206 local = rpcbproc_getstat; in rpcb_service_4() [all …]
|
/dragonfly/sbin/adjkerntz/ |
H A D | adjkerntz.c | 74 struct tm local; in main() local 165 local = *localtime(&initial_sec); in main() 167 initial_isdst = local.tm_isdst; in main() 168 local.tm_isdst = initial_isdst; in main() 172 localsec = mktime(&local); in main() 194 offset = -local.tm_gmtoff; in main() 213 local = *localtime(&final_sec); in main() 214 final_isdst = diff < 0 ? initial_isdst : local.tm_isdst; in main() 222 local.tm_isdst = final_isdst; in main() 224 localsec = mktime(&local); in main() [all …]
|
/dragonfly/tools/regression/bin/sh/expansion/ |
H A D | local2.0 | 9 command local v=$w 11 command command local v=$w 19 command local v=~ 21 command command local v=~ 28 command local v=x:~ 30 command command local v=x:~
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | varasm.c | 5138 if (local->field != NULL_TREE || local->index != NULL_TREE) in output_constructor_regular_field() 5238 local->val = TREE_OPERAND (local->val, 0); in output_constructor_bitfield() 5381 local.exp = exp; in output_constructor() 5386 local.min_index = TYPE_MIN_VALUE (TYPE_DOMAIN (local.type)); in output_constructor() 5396 local.reverse = TYPE_REVERSE_STORAGE_ORDER (local.type); in output_constructor() 5412 local.field = TYPE_FIELDS (local.type); in output_constructor() 5418 cnt++, local.field = local.field ? DECL_CHAIN (local.field) : 0) in output_constructor() 5462 local.val in output_constructor() 5483 if ((unsigned HOST_WIDE_INT)local.total_bytes < local.size) in output_constructor() 5485 assemble_zeros (local.size - local.total_bytes); in output_constructor() [all …]
|
H A D | ipa-pure-const.c | 612 local->looping = true; in check_call() 618 local->can_throw = true; in check_call() 640 local->can_free = true; in check_call() 644 worse_state (&local->pure_const_state, &local->looping, in check_call() 674 local->can_free = true; in check_call() 718 worse_state (&local->pure_const_state, &local->looping, in check_call() 818 local->looping = true; in check_stmt() 824 local->can_throw = true; in check_stmt() 851 local->can_free = true; in check_stmt() 859 local->looping = true; in check_stmt() [all …]
|
/dragonfly/share/examples/mailwrapper/ |
H A D | mailer.conf.sendmail | 5 sendmail /usr/local/sbin/sendmail 6 mailq /usr/local/bin/mailq 7 newaliases /usr/local/bin/newaliases 8 hoststat /usr/local/bin/hoststat 9 purgestat /usr/local/bin/purgestat
|
/dragonfly/sys/dev/disk/isp/ |
H A D | isp_target.c | 153 uint8_t local[QENTRY_LEN]; in isp_target_notify() local 169 at7iop = (at7_entry_t *) local; in isp_target_notify() 282 (void) isp_notify_ack(isp, local); in isp_target_notify() 298 notify.nt_lreserved = local; in isp_target_notify() 311 notify.nt_lreserved = local; in isp_target_notify() 324 notify.nt_lreserved = local; in isp_target_notify() 338 (void) isp_notify_ack(isp, local); in isp_target_notify() 347 …ISP_SNPRINTF(local, sizeof local, "%s: unknown status to RQSTYPE_NOTIFY (0x%x)", __func__, status); in isp_target_notify() 374 nack_fcp = (na_fcentry_t *)local; in isp_target_notify() 383 nackp = (na_entry_t *)local; in isp_target_notify() [all …]
|