Home
last modified time | relevance | path

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

12345

/NextBSD/contrib/binutils/bfd/doc/
HDchew.c269 string_type *tos; variable
305 if (tos < stack) in check_range()
307 if (tos >= stack + STACK) in check_range()
378 if (tos->write_idx) in remchar()
379 tos->write_idx--; in remchar()
386 while ((isspace ((unsigned char) at (tos, tos->write_idx - 1)) in strip_trailing_newlines()
387 || at (tos, tos->write_idx - 1) == '\n') in strip_trailing_newlines()
388 && tos->write_idx > 0) in strip_trailing_newlines()
389 tos->write_idx--; in strip_trailing_newlines()
406 tos++; in push_text()
[all …]
/NextBSD/usr.bin/indent/
HDparse.c61 while (ps.p_stack[ps.tos] == ifhead && tk != elselit) { in parse()
63 ps.p_stack[ps.tos] = stmt; /* apply the if(..) stmt ::= stmt in parse()
75 if (ps.p_stack[ps.tos] != decl) { /* only put one declaration in parse()
79 ps.p_stack[++ps.tos] = decl; in parse()
80 ps.il[ps.tos] = ps.i_l_follow; in parse()
85 for (i = ps.tos - 1; i > 0; --i) in parse()
95 if (ps.p_stack[ps.tos] == elsehead && ps.else_if) /* "else if ..." */ in parse()
96 ps.i_l_follow = ps.il[ps.tos]; in parse()
99 ps.p_stack[++ps.tos] = tk; in parse()
100 ps.il[ps.tos] = ps.ind_level = ps.i_l_follow; in parse()
[all …]
HDindent.c436 if (ps.tos > 1) /* check for balanced braces */ in main()
533 if (ps.in_or_st && *token == '(' && ps.tos <= 2) { in main()
817 if (ps.p_stack[ps.tos] == decl && !ps.block_init) /* semicolons can be in main()
846 ps.search_brace = cuddle_else && ps.p_stack[ps.tos] == ifhead in main()
847 && ps.il[ps.tos] >= ps.ind_level; in main()
848 if (ps.tos <= 1 && blanklines_after_procs && ps.dec_nest <= 0) in main()
898 if (ps.last_token == rparen && ps.tos <= 1) { in main()
1137 match_state[ifdef_level].tos = -1; in main()
1161 if (match_state[ifdef_level].tos >= 0 in main()
/NextBSD/contrib/gcc/config/i386/
HDgmon-sol2.c106 static struct tostruct *tos = 0; variable
158 tos = (struct tostruct *) sbrk( tolimit * sizeof( struct tostruct ) ); in monstartup()
159 if ( tos == (struct tostruct *) -1 ) { in monstartup()
162 tos = 0; in monstartup()
166 tos[0].link = 0; in monstartup()
225 for (toindex=froms[fromindex]; toindex!=0; toindex=tos[toindex].link) { in _mcleanup()
229 frompc , tos[toindex].selfpc , tos[toindex].count ); in _mcleanup()
232 rawarc.raw_selfpc = (unsigned long) tos[toindex].selfpc; in _mcleanup()
233 rawarc.raw_count = tos[toindex].count; in _mcleanup()
302 toindex = ++tos[0].link; in internal_mcount()
[all …]
/NextBSD/contrib/gcc/config/sparc/
HDgmon-sol2.c77 static struct tostruct *tos = 0; variable
130 tos = (struct tostruct *) sbrk( tolimit * sizeof( struct tostruct ) ); in monstartup()
131 if ( tos == (struct tostruct *) -1 ) { in monstartup()
134 tos = 0; in monstartup()
138 tos[0].link = 0; in monstartup()
220 for (toindex=froms[fromindex]; toindex!=0; toindex=tos[toindex].link) { in _mcleanup()
224 frompc , tos[toindex].selfpc , tos[toindex].count ); in _mcleanup()
227 rawarc.raw_selfpc = (unsigned long) tos[toindex].selfpc; in _mcleanup()
228 rawarc.raw_count = tos[toindex].count; in _mcleanup()
327 toindex = ++tos[0].link; in internal_mcount()
[all …]
/NextBSD/sys/libkern/
HDmcount.c160 toindex = ++p->tos[0].link;
166 top = &p->tos[toindex];
172 top = &p->tos[toindex];
194 toindex = ++p->tos[0].link;
198 top = &p->tos[toindex];
209 top = &p->tos[top->link];
/NextBSD/contrib/netbsd-tests/ipf/expected/
HDi181 pass in tos 0x50 from any to any
2 pass in tos 0x80 from any to any
3 pass out tos 0x80 from any to any
4 pass out tos 0x50 from any to any
HDi52 count in tos 0x80 from any to any
3 pass in on ed0(!) inet tos 0x40 from 127.0.0.1/32 to 127.0.0.1/32
/NextBSD/lib/libc/gmon/
HDgmon.c105 p->tos = (struct tostruct *)cp; in monstartup()
112 p->tos[0].link = 0; in monstartup()
197 toindex = p->tos[toindex].link) { in _mcleanup()
201 frompc, p->tos[toindex].selfpc, in _mcleanup()
202 p->tos[toindex].count); in _mcleanup()
206 rawarc.raw_selfpc = p->tos[toindex].selfpc; in _mcleanup()
207 rawarc.raw_count = p->tos[toindex].count; in _mcleanup()
HDmcount.c192 toindex = ++p->tos[0].link; in _MCOUNT_DECL()
198 top = &p->tos[toindex]; in _MCOUNT_DECL()
204 top = &p->tos[toindex]; in _MCOUNT_DECL()
226 toindex = ++p->tos[0].link; in _MCOUNT_DECL()
230 top = &p->tos[toindex]; in _MCOUNT_DECL()
241 top = &p->tos[top->link]; in _MCOUNT_DECL()
/NextBSD/sys/kern/
HDsubr_pctrie.c398 int slot, tos; in pctrie_lookup_ge() local
410 tos = 0; in pctrie_lookup_ge()
431 if (tos == 0) in pctrie_lookup_ge()
433 node = stack[--tos]; in pctrie_lookup_ge()
489 KASSERT(tos < PCTRIE_LIMIT, in pctrie_lookup_ge()
491 stack[tos++] = node; in pctrie_lookup_ge()
509 int slot, tos; in pctrie_lookup_le() local
521 tos = 0; in pctrie_lookup_le()
545 if (tos == 0) in pctrie_lookup_le()
547 node = stack[--tos]; in pctrie_lookup_le()
[all …]
HDsubr_prof.c114 np.tos = (struct tostruct *)cp; in kmupetext()
126 bcopy(p->tos, np.tos, p->tossize); in kmupetext()
127 bzero((char *)np.tos + p->tossize, np.tossize - p->tossize); in kmupetext()
133 cp = (char *)p->tos; in kmupetext()
176 p->tos = (struct tostruct *)cp;
379 gp->tos, gp->tossize, req)); in sysctl_kern_prof()
/NextBSD/usr.sbin/kgmon/
HDkgmon.c348 struct tostruct *tos; in dumpstate() local
417 if ((tos = (struct tostruct *)malloc(kvp->gpm.tossize)) == NULL) in dumpstate()
420 i = kvm_read(kvp->kd, (u_long)kvp->gpm.tos, (void *)tos, in dumpstate()
425 if (sysctl(mib, 3, tos, &i, NULL, 0) < 0) in dumpstate()
442 toindex = tos[toindex].link) { in dumpstate()
445 "count %ld", frompc, tos[toindex].selfpc, in dumpstate()
446 tos[toindex].count); in dumpstate()
448 rawarc.raw_selfpc = (u_long)tos[toindex].selfpc; in dumpstate()
449 rawarc.raw_count = tos[toindex].count; in dumpstate()
509 if (kvm_write(kvp->kd, (u_long)kvp->gpm.tos, zbuf, in reset()
/NextBSD/contrib/ipfilter/iplang/
HDBNF24 "ttl" number | "tos" number | "sum" number | "len" number |
59 "net-prohib" | "host-prohib" | "net-tos" | "host-tos" |
61 redirtype ::= "net-redir" | "host-redir" | "tos-net-redir" |
62 "tos-host-redir" .
/NextBSD/contrib/ipfilter/tools/
HDBNF.ipf1 filter-rule = [ insert ] action in-out [ options ] [ tos ] [ ttl ]
8 tos = "tos" decnumber | "tos" hexnumber .
59 "net-prohib" | "host-prohib" | "net-tos" | "host-tos" |
/NextBSD/contrib/ipfilter/
HDBNF1 filter-rule = [ insert ] action in-out [ options ] [ tos ] [ ttl ]
8 tos = "tos" decnumber | "tos" hexnumber .
60 "net-prohib" | "host-prohib" | "net-tos" | "host-tos" |
/NextBSD/sys/vm/
HDvm_radix.c489 int slot, tos; in vm_radix_lookup_ge() local
501 tos = 0; in vm_radix_lookup_ge()
522 if (tos == 0) in vm_radix_lookup_ge()
524 rnode = stack[--tos]; in vm_radix_lookup_ge()
580 KASSERT(tos < VM_RADIX_LIMIT, in vm_radix_lookup_ge()
582 stack[tos++] = rnode; in vm_radix_lookup_ge()
600 int slot, tos; in vm_radix_lookup_le() local
612 tos = 0; in vm_radix_lookup_le()
636 if (tos == 0) in vm_radix_lookup_le()
638 rnode = stack[--tos]; in vm_radix_lookup_le()
[all …]
/NextBSD/contrib/telnet/telnetd/
HDtelnetd.c138 int tos = -1; in main() local
272 if ((tos = parsetos(optarg, "tcp")) < 0) in main()
284 tos = ultmp; in main()
400 if (tos < 0 && (tp = gettosbyname("telnet", "tcp"))) in main()
401 tos = tp->t_tos; in main()
403 if (tos < 0) in main()
404 tos = 020; /* Low Delay bit */ in main()
405 if (tos in main()
407 (char *)&tos, sizeof(tos)) < 0) in main()
/NextBSD/contrib/netbsd-tests/ipf/regress/
HDi181 pass in tos {80,0x80} all
2 pass out tos {0x80,80} all
HDi52 count in tos 0x80 from any to any
3 pass in on ed0 tos 64 from localhost to localhost
/NextBSD/usr.sbin/ppp/
HDncp.h42 unsigned tos : 1; /* Urgent IPTOS_LOWDELAY packets ? */ member
94 #define ncp_ClearUrgentTOS(ncp) (ncp)->cfg.urgent.tos = 0;
95 #define ncp_SetUrgentTOS(ncp) (ncp)->cfg.urgent.tos = 1;
/NextBSD/contrib/binutils/bfd/
HDcoff-alpha.c791 int tos = 0; local
1028 if (tos >= RELOC_STACKSIZE)
1031 stack[tos++] = relocation;
1047 if (tos == 0)
1057 val |= (stack[--tos] & ((1 << size) - 1)) << offset;
1088 if (tos == 0)
1091 stack[tos - 1] -= relocation;
1121 if (tos == 0)
1124 stack[tos - 1] >>= relocation;
1179 if (tos != 0)
[all …]
/NextBSD/contrib/tcpdump/
HDprint-cnfp.c80 uint8_t tos; /* IP type of service */ member
113 uint8_t tos; /* IP type of service */ member
147 uint8_t tos; /* IP type of service */ member
235 nr->tos, in cnfp_v1_print()
332 nr->tos, in cnfp_v5_print()
432 nr->tos, in cnfp_v6_print()
/NextBSD/contrib/telnet/telnet/
HDmain.c69 extern int tos;
192 if ((tos = parsetos(optarg, "tcp")) < 0) in main()
206 tos = ultmp; in main()
/NextBSD/crypto/heimdal/appl/telnet/telnetd/
HDtelnetd.c155 int tos = -1; in main() local
297 if ((tos = parsetos(optarg, "tcp")) < 0) in main()
448 if (tos < 0 && (tp = gettosbyname("telnet", "tcp"))) in main()
449 tos = tp->t_tos; in main()
451 if (tos < 0) in main()
452 tos = 020; /* Low Delay bit */ in main()
453 if (tos in main()
456 (void *)&tos, sizeof(tos)) < 0) in main()

12345