Home
last modified time | relevance | path

Searched refs:tos (Results 1 – 25 of 61) sorted by relevance

123

/dragonfly/usr.bin/indent/
H A Dparse.c103 ps.p_stack[++ps.tos] = tk; in parse()
111 if (ps.p_stack[ps.tos] == stmt || ps.p_stack[ps.tos] == decl in parse()
132 ps.p_stack[++ps.tos] = lbrace; in parse()
133 ps.il[ps.tos] = ps.ind_level; in parse()
134 ps.p_stack[++ps.tos] = stmt; in parse()
172 if (ps.tos > 0 && ps.p_stack[ps.tos - 1] == lbrace) { in parse()
182 ps.cstk[ps.tos] = case_ind; in parse()
196 ps.p_stack[++ps.tos] = stmt; in parse()
197 ps.il[ps.tos] = ps.ind_level; in parse()
287 for (i = ps.tos - 1; in reduce()
[all …]
H A Dindent.c487 if (ps.tos > 1) /* check for balanced braces */ in main()
590 if (ps.in_or_st && *token == '(' && ps.tos <= 2) { in main()
861 if (ps.p_stack[ps.tos] == decl && !ps.block_init) /* semicolons can be in main()
890 ps.search_brace = opt.cuddle_else && ps.p_stack[ps.tos] == ifhead in main()
891 && ps.il[ps.tos] >= ps.ind_level; in main()
892 if (ps.tos <= 1 && opt.blanklines_after_procs && ps.dec_nest <= 0) in main()
950 if (ps.last_token == rparen && ps.tos <= 1) { in main()
1156 match_state[ifdef_level].tos = -1; in main()
/dragonfly/contrib/gcc-4.7/libgcc/config/
H A Dgmon-sol2.c132 if (tos == (void *) -1) { in monstartup()
135 tos = NULL; in monstartup()
138 tos[0].link = 0; in monstartup()
208 toindex = tos[toindex].link) { in _mcleanup()
211 frompc, tos[toindex].selfpc, tos[toindex].count); in _mcleanup()
362 toindex = ++tos[0].link; in internal_mcount()
367 top = &tos[toindex]; in internal_mcount()
373 top = &tos[toindex]; in internal_mcount()
387 toindex = ++tos[0].link; in internal_mcount()
391 top = &tos[toindex]; in internal_mcount()
[all …]
/dragonfly/test/udp/tos/
H A Dudp_tos.c25 int s, opt, n, tos, cmsg_tos; in main() local
37 tos = -1; in main()
57 tos = strtol(optarg, NULL, 10); in main()
72 if (tos >= 0) { in main()
75 &tos, sizeof(tos)) < 0) in main()
76 err(2, "setsockopt IP_TOS %d failed", tos); in main()
98 *((u_char *)CMSG_DATA(cm)) = tos; in main()
100 fprintf(stderr, "sendmsg tos %d\n", tos); in main()
138 tos = *((u_char *)CMSG_DATA(cm)); in main()
140 fprintf(stderr, "TOS: %d\n", tos); in main()
/dragonfly/usr.sbin/dntpd/
H A Dsocket.c48 int tos; in udp_socket() local
96 tos = IPTOS_LOWDELAY; in udp_socket()
97 setsockopt(fd, IPPROTO_IP, IP_TOS, &tos, sizeof(tos)); in udp_socket()
101 tos = IP_PORTRANGE_HIGH; in udp_socket()
102 setsockopt(fd, IPPROTO_IP, IP_PORTRANGE, &tos, sizeof(tos)); in udp_socket()
/dragonfly/lib/libc/gmon/
H A Dmcount.c84 toindex = ++p->tos[0].link; in _MCOUNT_DECL()
90 top = &p->tos[toindex]; in _MCOUNT_DECL()
96 top = &p->tos[toindex]; in _MCOUNT_DECL()
118 toindex = ++p->tos[0].link; in _MCOUNT_DECL()
122 top = &p->tos[toindex]; in _MCOUNT_DECL()
133 top = &p->tos[top->link]; in _MCOUNT_DECL()
H A Dgmon.c95 p->tos = (struct tostruct *)cp; in monstartup()
101 p->tos[0].link = 0; in monstartup()
184 toindex = p->tos[toindex].link) { in _mcleanup()
188 frompc, p->tos[toindex].selfpc, in _mcleanup()
189 p->tos[toindex].count); in _mcleanup()
193 rawarc.raw_selfpc = p->tos[toindex].selfpc; in _mcleanup()
194 rawarc.raw_count = p->tos[toindex].count; in _mcleanup()
/dragonfly/contrib/gcc-4.7/gcc/
H A Dtree-ssa-loop-unswitch.c269 basic_block *tos, *worklist; in tree_unswitch_single_loop() local
274 tos = worklist = XNEWVEC (basic_block, loop->num_nodes); in tree_unswitch_single_loop()
280 *tos++ = bbs[0]; in tree_unswitch_single_loop()
287 while (tos != worklist) in tree_unswitch_single_loop()
289 basic_block b = *--tos; in tree_unswitch_single_loop()
315 *tos++ = dest; in tree_unswitch_single_loop()
H A Dlcm.c610 basic_block *worklist, *tos, bb; in compute_nearerout() local
618 tos = worklist = XNEWVEC (basic_block, n_basic_blocks + 1); in compute_nearerout()
639 *tos++ = bb; in compute_nearerout()
644 while (tos != worklist) in compute_nearerout()
647 bb = *--tos; in compute_nearerout()
666 *tos++ = e->src; in compute_nearerout()
681 free (tos); in compute_nearerout()
H A Dtree-object-size.c41 unsigned int *stack, *tos; member
521 osi.tos = NULL; in compute_builtin_object_size()
548 osi.tos = osi.stack; in compute_builtin_object_size()
561 osi.tos = NULL; in compute_builtin_object_size()
1047 for (sp = osi->tos; sp > osi->stack; ) in check_for_plus_in_loops_1()
1063 *osi->tos++ = varno; in check_for_plus_in_loops_1()
1125 osi->tos--; in check_for_plus_in_loops_1()
1155 *osi->tos++ = SSA_NAME_VERSION (basevar); in check_for_plus_in_loops()
1158 osi->tos--; in check_for_plus_in_loops()
H A Dbt-load.c901 basic_block *worklist, *tos; in augment_live_range() local
903 tos = worklist = XNEWVEC (basic_block, n_basic_blocks + 1); in augment_live_range()
911 free (tos); in augment_live_range()
914 *tos++ = new_bb; in augment_live_range()
942 *tos++ = e->src; in augment_live_range()
945 while (tos != worklist) in augment_live_range()
947 basic_block bb = *--tos; in augment_live_range()
973 *tos++ = pred; in augment_live_range()
/dragonfly/libexec/telnetd/
H A Dtelnetd.c126 int tos = -1; in main() local
259 if ((tos = parsetos(optarg, "tcp")) < 0) in main()
373 if (tos < 0 && (tp = gettosbyname("telnet", "tcp"))) in main()
374 tos = tp->t_tos; in main()
376 if (tos < 0) in main()
377 tos = 020; /* Low Delay bit */ in main()
378 if (tos in main()
380 (char *)&tos, sizeof(tos)) < 0) in main()
/dragonfly/usr.sbin/ppp/
H A Dncp.h43 unsigned tos : 1; /* Urgent IPTOS_LOWDELAY packets ? */ member
95 #define ncp_ClearUrgentTOS(ncp) (ncp)->cfg.urgent.tos = 0;
96 #define ncp_SetUrgentTOS(ncp) (ncp)->cfg.urgent.tos = 1;
H A Dip.c550 u_char tos; in PacketCheck() local
566 tos = 0; /* XXX: pip6->ip6_vfc >> 4 ? */ in PacketCheck()
578 tos = pip->ip_tos; in PacketCheck()
625 if (tos == IPTOS_LOWDELAY && bundle->ncp.cfg.urgent.tos) in PacketCheck()
789 if (tos == IPTOS_LOWDELAY && bundle->ncp.cfg.urgent.tos) in PacketCheck()
/dragonfly/contrib/tcpdump/
H A Dprint-cnfp.c80 nd_uint8_t tos; /* IP type of service */ member
113 nd_uint8_t tos; /* IP type of service */ member
147 nd_uint8_t tos; /* IP type of service */ member
241 GET_U_1(nr->tos), in cnfp_v1_print()
343 GET_U_1(nr->tos), in cnfp_v5_print()
448 GET_U_1(nr->tos), in cnfp_v6_print()
/dragonfly/sys/netinet/
H A Din_gif.c105 u_int8_t tos; in in_gif_output() local
127 tos = ip->ip_tos; in in_gif_output()
142 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in in_gif_output()
169 ip_ecn_ingress(ECN_ALLOWED, &iphdr.ip_tos, &tos); in in_gif_output()
171 ip_ecn_ingress(ECN_NOCARE, &iphdr.ip_tos, &tos); in in_gif_output()
/dragonfly/sys/netgraph7/netflow/
H A Dnetflow.h87 uint8_t tos; /* IP type of service */ member
110 uint8_t tos; /* IP type of service */ member
H A Dng_netflow.h109 u_char tos; /* IP TOS */ member
117 #define r_tos misc.i.tos
/dragonfly/contrib/gcc-8.0/gcc/
H A Dlcm.c628 basic_block *worklist, *tos, bb; in compute_nearerout() local
636 tos = worklist = XNEWVEC (basic_block, n_basic_blocks_for_fn (cfun) + 1); in compute_nearerout()
657 *tos++ = bb; in compute_nearerout()
662 while (tos != worklist) in compute_nearerout()
665 bb = *--tos; in compute_nearerout()
684 *tos++ = e->src; in compute_nearerout()
699 free (tos); in compute_nearerout()
H A Dtree-object-size.c45 unsigned int *stack, *tos; member
566 osi.tos = NULL; in compute_builtin_object_size()
593 osi.tos = osi.stack; in compute_builtin_object_size()
606 osi.tos = NULL; in compute_builtin_object_size()
1089 for (sp = osi->tos; sp > osi->stack; ) in check_for_plus_in_loops_1()
1105 *osi->tos++ = varno; in check_for_plus_in_loops_1()
1168 osi->tos--; in check_for_plus_in_loops_1()
1198 *osi->tos++ = SSA_NAME_VERSION (basevar); in check_for_plus_in_loops()
1201 osi->tos--; in check_for_plus_in_loops()
H A Dtree-ssa-loop-unswitch.c382 basic_block *tos, *worklist; in tree_unswitch_single_loop() local
387 tos = worklist = XNEWVEC (basic_block, loop->num_nodes); in tree_unswitch_single_loop()
393 *tos++ = bbs[0]; in tree_unswitch_single_loop()
400 while (tos != worklist) in tree_unswitch_single_loop()
402 basic_block b = *--tos; in tree_unswitch_single_loop()
429 *tos++ = dest; in tree_unswitch_single_loop()
H A Dbt-load.c887 basic_block *worklist, *tos; in augment_live_range() local
889 tos = worklist = XNEWVEC (basic_block, n_basic_blocks_for_fn (cfun) + 1); in augment_live_range()
897 free (tos); in augment_live_range()
900 *tos++ = new_bb; in augment_live_range()
928 *tos++ = e->src; in augment_live_range()
931 while (tos != worklist) in augment_live_range()
933 basic_block bb = *--tos; in augment_live_range()
959 *tos++ = pred; in augment_live_range()
/dragonfly/contrib/byacc/
H A Doutput.c17 static Value_t **tos; variable
562 tos[i] = s = NEW2(shiftcount, Value_t); in token_actions()
582 tos[nstates + i] = s = NEW2(reducecount, Value_t); in token_actions()
603 tos[2 * nstates + i] = s = NEW2(conflictcount, Value_t); in token_actions()
688 tos[symno] = sp2 = NEW2(count, Value_t); in save_column()
820 if (tos[j][k] != tos[i][k] || froms[j][k] != froms[i][k]) in matching_vector()
848 to = tos[i]; in pack_vector()
951 if (tos[i]) in pack_table()
952 FREE(tos[i]); in pack_table()
956 DO_FREE(tos); in pack_table()
[all …]
/dragonfly/usr.bin/telnet/
H A Dmain.c165 extern int tos; in main()
167 if ((tos = parsetos(optarg, "tcp")) < 0) in main()
/dragonfly/sys/net/stf/
H A Dif_stf.c337 u_int8_t tos; in stf_output_serialized() local
372 tos = (ntohl(ip6->ip6_flow) >> 20) & 0xff; in stf_output_serialized()
410 ip_ecn_ingress(ECN_ALLOWED, &ip->ip_tos, &tos); in stf_output_serialized()
412 ip_ecn_ingress(ECN_NOCARE, &ip->ip_tos, &tos); in stf_output_serialized()

123