Home
last modified time | relevance | path

Searched refs:tp (Results 251 – 275 of 558) sorted by relevance

1...<<11121314151617181920>>...23

/illumos-gate/usr/src/cmd/ttymon/
H A Dtmhandler.c609 struct pmtab *tp; in pcsync_close() local
610 for (tp = PMtab; tp; tp = tp->p_next) in pcsync_close()
611 if ((tp->p_fd > 0) && (tp->p_fd != fd)) in pcsync_close()
612 (void) close(tp->p_fd); in pcsync_close()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.proc.c599 struct process *pp, *tp; in pendjob() local
609 tp = pp; in pendjob()
613 } while (pp != tp); in pendjob()
626 struct process *tp; in pprint() local
640 tp = pp; in pprint()
654 if (pp == tp) in pprint()
719 if (tp == pp->p_friends) { in pprint()
737 if (tp == pp->p_friends) { in pprint()
750 ptprint(tp); in pprint()
756 ptprint(struct process *tp) in ptprint() argument
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Dterminal.h77 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) argument
93 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) argument
/illumos-gate/usr/src/uts/common/sys/
H A Dldterm.h46 #define V_MIN tp->t_modes.c_cc[VMIN]
47 #define V_TIME tp->t_modes.c_cc[VTIME]
48 #define RAW_MODE !(tp->t_modes.c_lflag & ICANON)
49 #define CANON_MODE (tp->t_modes.c_lflag & ICANON)
/illumos-gate/usr/src/cmd/tbl/
H A Dtv.c22 int tp=0, sl, ln, pos, epb, ept, vm; in drawvert() local
31 if (pos!=tp) fprintf(tabout, "\\h'%dp'", pos-tp); in drawvert()
32 tp = pos; in drawvert()
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dports.c17 int ports(seg, proto, pp, cp, tp, linenum) in ports() argument
22 u_short *tp;
51 if (portnum(**seg, proto, tp, linenum) == 0)
/illumos-gate/usr/src/cmd/setfacl/
H A Dsetfacl.c281 char *tp; in set_file_entries() local
297 if ((tp = (char *)strchr(buf, '#')) != NULL) { in set_file_entries()
298 tp--; in set_file_entries()
299 while (*tp == ' ' || *tp == '\t') { in set_file_entries()
300 if (tp != buf) in set_file_entries()
301 tp--; in set_file_entries()
309 *(tp+1) = '\0'; in set_file_entries()
313 if ((tp = (char *)strchr(buf, '\n')) != NULL) in set_file_entries()
314 *tp = '\0'; in set_file_entries()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dnvtree.c381 Namval_t *tp = fp->type; in outtype() local
398 char *cp=tp->nvname; in outtype()
402 cp = tp->nvname; in outtype()
412 register const Shtable_t *tp; in nv_attribute() local
469 for(tp = shtab_attributes; *tp->sh_name;tp++) in nv_attribute()
471 val = tp->sh_number; in nv_attribute()
494 if(tp->sh_name[1]!='A') in nv_attribute()
522 if(*tp->sh_name=='-') in nv_attribute()
854 Namval_t *np,*tp; in genvalue() local
857 if(!np || (nv_isarray(np) && (!(tp=nv_opensub(np)) || !nv_isvtree(tp)))) in genvalue()
[all …]
H A Dfault.c229 register const struct shtable2 *tp = shtab_signals; in sh_siginit() local
240 while(*tp->sh_name) in sh_siginit()
242 sig = (tp->sh_number&((1<<SH_SIGBITS)-1)); in sh_siginit()
245 if ((tp->sh_number>>SH_SIGBITS) & SH_SIGRUNTIME) in sh_siginit()
250 tp++; in sh_siginit()
256 for(tp=shtab_signals; sig=tp->sh_number; tp++) in sh_siginit()
267 if(*tp->sh_name) in sh_siginit()
268 shp->gd->sigmsg[sig] = (char*)tp->sh_value; in sh_siginit()
/illumos-gate/usr/src/cmd/spell/
H A Dhashcheck.c53 int tp = wp; in fetch() local
57 y |= (long)table[tp++] << empty; in fetch()
60 y |= table[tp]>>i-empty; in fetch()
/illumos-gate/usr/src/cmd/msgfmt/
H A Dmsgfmt.c1027 wchar_t *tp, *th; in _mbsntowcs() local
1052 tp = th; in _mbsntowcs()
1070 tp = th + tbufsize - nc; in _mbsntowcs()
1073 *tp++ = L'\n'; in _mbsntowcs()
1074 *tp++ = L'\0'; in _mbsntowcs()
1085 tp = th + tbufsize; in _mbsntowcs()
1089 *tp++ = wc; in _mbsntowcs()
1109 tp = th + tbufsize - nc; in _mbsntowcs()
1112 *tp++ = L'\n'; in _mbsntowcs()
1113 *tp++ = L'\0'; in _mbsntowcs()
[all …]
/illumos-gate/usr/src/cmd/troff/
H A Dn3.c927 tchar *tp; in casetl() local
937 tp = buf; in casetl()
947 *tp++ = 0; in casetl()
956 *tp++ = i; in casetl()
961 *tp++ = 0; in casetl()
962 *tp++ = 0; in casetl()
963 *tp++ = 0; in casetl()
964 tp = buf; in casetl()
968 while (i = *tp++) in casetl()
972 while (i = *tp++) in casetl()
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dserver_acl.c311 char *sp, *tp, *ap; local
328 for (tp=strtok(sp, delims); tp; tp=strtok((char *)NULL, delims)) {
330 if (!krb5_string_to_flags(tp, "+", "-", &flag)) {
336 (void) krb5_string_to_flags(tp, "+", "-", &flag);
340 } else if (!strcmp(tp, "-clearpolicy")) {
348 if (!strcmp(tp, "-policy")) {
360 if (!strcmp(tp, "-expire")) {
363 } else if (!strcmp(tp, "-pwexpire")) {
366 } else if (!strcmp(tp, "-maxlife")) {
369 } else if (!strcmp(tp, "-maxrenewlife")) {
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drwall.c218 struct timeval tp; in do_one() local
227 tp.tv_sec = PATIENCE; in do_one()
228 tp.tv_usec = 0; in do_one()
230 hostname, WALLPROG, WALLVERS, "datagram_v", &tp); in do_one()
/illumos-gate/usr/src/test/util-tests/tests/dis/risc-v/
H A Dtst.regs.out5 libdis_test+0x10: 33 02 42 00 add tp,tp,tp
35 libdis_test+0x88: 33 81 41 00 add sp,gp,tp
36 libdis_test+0x8c: b3 01 52 00 add gp,tp,t0
37 libdis_test+0x90: 33 82 62 00 add tp,t0,t1
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_queue.c338 iscsi_cmd_t *tp = NULL; in iscsi_dequeue_cmd() local
368 for (tp = (*head)->cmd_next; (tp != NULL) && in iscsi_dequeue_cmd()
369 (tp != icmdp); tp = tp->cmd_next) in iscsi_dequeue_cmd()
371 if (tp == NULL) { in iscsi_dequeue_cmd()
/illumos-gate/usr/src/cmd/streams/log/
H A Dstrerr.c65 struct tm *tp; in makefile() local
67 tp = localtime(&time); in makefile()
69 (void) sprintf(r, "%02d-%02d", (tp->tm_mon+1), tp->tm_mday); in makefile()
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_getrhent.c224 tsol_tpent_t tp; in tsol_getrhtype() local
251 (void) strlcpy(tp.name, rhent.rh_template, sizeof (tp.name)); in tsol_getrhtype()
253 if (tnrhtp(TNDB_GET, &tp) != 0) in tsol_getrhtype()
256 return (tp.host_type); in tsol_getrhtype()
/illumos-gate/usr/src/cmd/bnu/
H A Dsecurity.c392 register struct tm *tp; local
397 tp = localtime(&stbuf.st_mtime);
398 (void) sprintf(mtime, "%d/%d-%d:%2.2d", tp->tm_mon + 1,
399 tp->tm_mday, tp->tm_hour, tp->tm_min);
/illumos-gate/usr/src/cmd/fdformat/
H A Dfdformat.c1571 struct tm *tp; in write_DOS_label() local
1585 tp = localtime(&tv.tv_sec); in write_DOS_label()
1587 dostime = tp->tm_sec / 2; in write_DOS_label()
1588 dostime |= tp->tm_min << 5; in write_DOS_label()
1589 dostime |= tp->tm_hour << 11; in write_DOS_label()
1590 dosday = tp->tm_mday; in write_DOS_label()
1704 struct tm *tp; in write_NEC_DOS_label() local
1718 tp = localtime(&tv.tv_sec); in write_NEC_DOS_label()
1720 dostime = tp->tm_sec / 2; in write_NEC_DOS_label()
1721 dostime |= tp->tm_min << 5; in write_NEC_DOS_label()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_split.c261 PAGE *lp, *rp, *tp; local
266 lp = rp = tp = NULL;
331 if (tp == NULL)
336 tp == NULL ? 0 : PGNO(tp),
337 tp == NULL ? &__lsn : &LSN(tp), &__a)) != 0)
341 if (tp != NULL)
342 LSN(tp) = LSN(cp->page);
353 if (tp != NULL)
354 tp->prev_pgno = rp->pgno;
365 if (tp != NULL) {
[all …]
/illumos-gate/usr/src/cmd/vi/misc/
H A Dctags.c457 char *token, *tp; in C_entries() local
468 sp = tp = token = line; in C_entries()
609 tp++; in C_entries()
616 tp++; in C_entries()
629 tp++; in C_entries()
633 tp++; in C_entries()
640 tp += 2; in C_entries()
656 tok[tp-token+1] = 0; in C_entries()
667 tp++; in C_entries()
669 token = tp = sp; in C_entries()
[all …]
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet_sundry.c96 __inet_netdir_options(struct netconfig *tp, int opts, int fd, char *par) in __inet_netdir_options() argument
106 return (bindresvport(tp, fd, (struct netbuf *)par)); in __inet_netdir_options()
113 ma->m_uaddr = inet_netdir_mergeaddr(tp, ma->c_uaddr, in __inet_netdir_options()
129 __inet_taddr2uaddr(struct netconfig *tp, struct netbuf *addr) in __inet_taddr2uaddr() argument
136 if (addr == NULL || tp == NULL || addr->buf == NULL) { in __inet_taddr2uaddr()
140 if (strcmp(tp->nc_protofmly, NC_INET) == 0) { in __inet_taddr2uaddr()
165 __inet_uaddr2taddr(struct netconfig *tp, char *addr) in __inet_uaddr2taddr() argument
167 if (!addr || !tp) { in __inet_uaddr2taddr()
171 if (strcmp(tp->nc_protofmly, NC_INET) == 0) in __inet_uaddr2taddr()
745 if (!uaddr || !ruaddr || !tp) { in inet_netdir_mergeaddr()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_split.c350 PAGE *l, *r, *tp; local
405 if ((tp = mpool_get(t->bt_mp, h->nextpg, 0)) == NULL) {
410 tp->prevpg = r->pgno;
411 mpool_put(t->bt_mp, tp, MPOOL_DIRTY);
421 tp = bt_psplit(t, h, l, r, skip, ilen);
425 if (tp == l)
426 tp = h;
431 return (tp);
455 PAGE *l, *r, *tp; local
476 tp = bt_psplit(t, h, l, r, skip, ilen);
[all …]
/illumos-gate/usr/src/boot/libsa/
H A Dbootp.c637 char tags[512], *tp; /* the list of tags */ in setenv_() local
641 tp = tags; in setenv_()
751 if (tp - tags < sizeof (tags) - 5) { in setenv_()
753 if (tp != tags) in setenv_()
754 *tp++ = FLD_SEP; in setenv_()
755 sprintf(tp, "%d", tag); in setenv_()
756 tp += strlen(tp); in setenv_()
773 if (tp != tags) { in setenv_()

1...<<11121314151617181920>>...23