Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/lib/libpkg/common/
H A Dcanonize.c44 for (pt = file; *pt; /* void */) { in canonize()
46 (void) strcpy(pt, pt[1] ? pt+2 : pt+1); in canonize()
60 while ((*--pt != '/') && (pt > file)) in canonize()
67 while (*pt && (*pt != '/')) in canonize()
71 (void) strcpy(pt, pt+1); in canonize()
76 if ((--pt > file) && (*pt == '/')) in canonize()
86 for (pt = file; *pt; /* void */) { in canonize_slashes()
87 while (*pt && (*pt != '/')) in canonize_slashes()
88 pt++; in canonize_slashes()
91 (void) strcpy(pt, pt+1); in canonize_slashes()
[all …]
H A Dmappath.c41 #define mode(flag, pt) (!flag || ((flag == 1) && islower(pt[1])) || \ argument
75 for (pt = path; *pt; /* void */) { in mappath()
80 if ((*pt == '$') && isalpha(pt[1]) && in mappath()
81 ((pt == path) || (pt[-1] == '/'))) { in mappath()
100 pt = npt; in mappath()
103 *copy++ = *pt++; in mappath()
115 *copy++ = *pt++; in mappath()
134 pt++; in mappath()
135 if ((pt[1] == '\0') && (pt > path)) in mappath()
137 *copy++ = *pt++; in mappath()
[all …]
H A Dckparam.c157 isnull(char *param, char *pt) in isnull() argument
159 if (!pt || *pt == '\0') { in isnull()
169 if (strlen(pt) > (size_t)len) { in too_long()
177 not_ascii(char *param, char *pt) in not_ascii() argument
179 while (*pt) { in not_ascii()
180 if (!(isascii(*pt))) { in not_ascii()
184 pt++; in not_ascii()
190 not_alnum(char *param, char *pt) in not_alnum() argument
192 while (*pt) { in not_alnum()
193 if (!(isalnum(*pt))) { in not_alnum()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dstrftime.c146 pt = _fmt(loc, tptr->c_fmt, t, pt, ptlim); in _fmt()
149 pt = _fmt(loc, "%m/%d/%y", t, pt, ptlim); in _fmt()
179 pt = _fmt(loc, "%Y-%m-%d", t, pt, ptlim); in _fmt()
232 pt = _add("\n", pt, ptlim); in _fmt()
239 pt = _fmt(loc, "%H:%M", t, pt, ptlim); in _fmt()
256 pt = _add(buf, pt, ptlim); in _fmt()
261 pt = _fmt(loc, "%H:%M:%S", t, pt, ptlim); in _fmt()
264 pt = _add("\t", pt, ptlim); in _fmt()
445 pt = _add(sign, pt, ptlim); in _fmt()
534 pt = _add("-0", pt, ptlim); in _yconv()
[all …]
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_paths.c94 char *pt; in z_path_canonize() local
99 for (pt = a_file; *pt; /* void */) { in z_path_canonize()
101 (void) strcpy(pt, pt[1] ? pt+2 : pt+1); in z_path_canonize()
104 last = pt; in z_path_canonize()
117 while ((*--pt != '/') && (pt > a_file)) in z_path_canonize()
121 pt++; in z_path_canonize()
125 while (*pt && (*pt != '/')) { in z_path_canonize()
126 pt++; in z_path_canonize()
130 (void) strcpy(pt, pt+1); in z_path_canonize()
132 pt++; in z_path_canonize()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dptms_conf.c390 if (pt == NULL) { in pt_ttys_alloc()
400 pt->pt_rgid = 0; in pt_ttys_alloc()
406 return (pt); in pt_ttys_alloc()
422 return (pt); in ptms_minor2ptty()
446 if (pt != NULL && pt->pt_zoneid == getzoneid()) { in ptms_set_owner()
486 if (pt != NULL) { in ptms_minor_valid()
545 ASSERT(ptms_slots[pt->pt_minor - 1] == pt); in ptms_close()
550 pt->pt_pid = 0; in ptms_close()
615 pt->pt_pid = 0; in ptms_constructor()
616 pt->pt_minor = 0; in ptms_constructor()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dtidbit.c256 pt = &tidbs[i];
273 if (pt->tiebuf)
289 if (pt->term)
298 pt->snames = _Getsh(pt->tiebuf + 2);
299 pt->nbools = _Getsh(pt->tiebuf + 4);
300 pt->nints = _Getsh(pt->tiebuf + 6);
301 pt->nstrs = _Getsh(pt->tiebuf + 8);
303 pt->boolean_offset = pt->tiebuf + 6 * 2 + pt->snames;
305 pt->number_offset = pt->boolean_offset + pt->nbools;
309 pt->string_offset = pt->number_offset + pt->nints * 2;
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetvol.c225 pt++; in ckilabel()
324 pt = pt + strlen(pt); in insert()
361 pt += sprintf(pt, FORMFS_MSG, voltxt); in insert()
365 pt += sprintf(pt, FORMAT_MSG, voltxt); in insert()
370 pt += sprintf(pt, MAKEFS_MSG, voltxt); in insert()
376 pt += sprintf(pt, FORMAT_MSG, voltxt); in insert()
382 pt += sprintf(pt, WLABEL_MSG, voltxt); in insert()
386 pt += sprintf(pt, OLABEL_MSG); in insert()
392 pt += sprintf(pt, EJECT_MSG, voltxt); in insert()
396 pt += sprintf(pt, UNLOAD_MSG, voltxt); in insert()
[all …]
H A Dpkgparam.c452 for (pt = file; *pt; ) { in canonize_name()
454 (void) strcpy(pt, pt[1] ? pt+2 : pt+1); in canonize_name()
457 last = pt; in canonize_name()
468 while ((*--pt != '/') && (pt > file)) in canonize_name()
472 pt++; in canonize_name()
475 while (*pt && (*pt != '/')) in canonize_name()
476 pt++; in canonize_name()
479 (void) strcpy(pt, pt+1); in canonize_name()
480 pt++; in canonize_name()
484 if ((--pt > file) && (*pt == '/')) in canonize_name()
[all …]
H A Dckitem.c101 CKMENU *pt; in allocmenu() local
194 char *pt; in getnum() local
201 pt++; in getnum()
203 n = (int)strtol(pt, &pt, 10); in getnum()
208 pt++; in getnum()
212 pt++; in getnum()
214 pt++; in getnum()
318 } while (((strval = pt) != NULL) && *pt);
327 char *pt; local
351 if (!*pt || isspace((unsigned char)*pt)) {
[all …]
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_page_tables.c659 pt->pt_next->pt_prev = pt; in amd_iommu_insert_pgtable_hash()
675 pt->pt_next->pt_prev = pt->pt_prev; in amd_iommu_remove_pgtable_hash()
678 pt->pt_prev->pt_next = pt->pt_next; in amd_iommu_remove_pgtable_hash()
696 for (; pt; pt = pt->pt_next) { in amd_iommu_lookup_pgtable_hash()
783 if (pt) in amd_iommu_alloc_pgtable()
818 (size_t *)&pt->pt_mem_realsz, &pt->pt_mem_hdl); in amd_iommu_alloc_pgtable()
835 ASSERT(pt->pt_mem_realsz >= pt->pt_mem_reqsz); in amd_iommu_alloc_pgtable()
841 (caddr_t)pt->pt_pgtblva, pt->pt_mem_realsz, in amd_iommu_alloc_pgtable()
884 ASSERT(pt->pt_mem_realsz >= pt->pt_mem_reqsz); in amd_iommu_alloc_pgtable()
895 bzero(pt->pt_pgtblva, pt->pt_mem_realsz); in amd_iommu_alloc_pgtable()
[all …]
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dfreefilter.c49 register TYPE *pt; local
52 for (pt = typel; pt->name; pt++)
53 Free (pt->name);
69 register TEMPLATE *pt; local
72 for (pt = templ; pt->keyword; pt++) {
73 Free (pt->keyword);
74 if (pt->pattern)
76 if (pt->re)
77 Free (pt->re);
78 if (pt->result)
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmkpkgmap.c151 *pt = '\0'; in mkpkgmap()
153 *pt = '='; in mkpkgmap()
422 if (!pt++) in findfile()
460 if (pt && *pt) { in dosearch()
628 pt++; in translate()
629 while (*pt && !isspace(*pt)) { in translate()
632 while (*++pt && !strchr("/= \t\n\r", *pt)) in translate()
642 if (*pt) { in translate()
782 char *pt; in lputenv() local
786 if (!pt) in lputenv()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/ptm/
H A Dptm.c81 pt->pt_minor, peername, peerq, pt->pt_pid, procname); in ptms_pr_qinfo()
89 struct pt_ttys pt; in ptms() local
123 if (mdb_vread(&pt, sizeof (pt), addr) == -1) { in ptms()
143 if (pt.pt_pid != 0) { in ptms()
152 addr, pt.pt_minor, pt.pt_state, pt.ptm_rdq, pt.pts_rdq, in ptms()
153 pt.pt_zoneid, pt.pt_pid, c); in ptms()
180 struct pt_ttys pt; in ptms_qinfo() local
183 (void) mdb_vread(&pt, sizeof (pt), (uintptr_t)q->q_ptr); in ptms_qinfo()
185 if (pt.pt_pid != 0) { in ptms_qinfo()
194 ptms_pr_qinfo(buf, nbytes, &pt, "slave", pt.pts_rdq, c); in ptms_qinfo()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c168 pt->p_symtab = mdb_gelf_symtab_create_file(pt->p_file, in pt_open_aout()
170 pt->p_dynsym = mdb_gelf_symtab_create_file(pt->p_file, in pt_open_aout()
190 pt->p_fio = io; in pt_open_aout()
220 pt->p_fio = NULL; in pt_close_aout()
400 pt->p_rdstate = MAX(pt->p_rdstate, PT_RD_ADD); in pt_rtld_event()
469 if (pt->p_rtld == NULL && (pt->p_rtld = Prd_agent(P)) != NULL) { in pt_post_attach()
561 if (pt->p_fio != pt->p_aout_fio) { in pt_pre_detach()
572 pt->p_signal = 0; in pt_pre_detach()
989 pt->p_file->gf_io = pt->p_fio; in pt_setflags()
3203 if (pt->p_dynsym != NULL && pt->p_file->gf_dyns != NULL && in pt_object_iter()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/documentation/
H A Dstructure.tex163 {0pt}% Space above
164 {0pt}% Space below
175 {5pt}% Space above
176 {5pt}% Space below
242 skipbelow=7pt,
254 skipbelow=7pt,
271 skipbelow=7pt,
282 linewidth=4pt,
287 skipbelow=7pt,
299 linewidth=4pt,
[all …]
/illumos-gate/usr/src/uts/common/pcmcia/cs/
H A Dcs_stubs.c714 cistpl_geometry_t *pt) in csx_Parse_CISTPL_GEOMETRY() argument
726 cistpl_byteorder_t *pt) in csx_Parse_CISTPL_BYTEORDER() argument
818 cistpl_linktarget_t *pt) in csx_Parse_CISTPL_LINKTARGET() argument
830 cistpl_longlink_ac_t *pt) in csx_Parse_CISTPL_LONGLINK_A() argument
842 cistpl_longlink_ac_t *pt) in csx_Parse_CISTPL_LONGLINK_C() argument
866 cistpl_longlink_cb_t *pt) in csx_Parse_CISTPL_LONGLINK_CB() argument
879 cistpl_spcl_t *pt) in csx_Parse_CISTPL_SPCL() argument
891 cistpl_swil_t *pt) in csx_Parse_CISTPL_SWIL() argument
902 cistpl_bar_t *pt) in csx_Parse_CISTPL_BAR() argument
914 cistpl_devicegeo_t *pt) in csx_Parse_CISTPL_DEVICEGEO() argument
[all …]
/illumos-gate/usr/src/lib/libm/common/Q/
H A Drintl.c52 int *pt = (int *) &two112; in rintl() local
58 pt[0] = 0x406f0000; in rintl()
59 pt[1] = pt[2] = pt[3] = 0; in rintl()
61 pt[3] = 0x406f0000; in rintl()
62 pt[0] = pt[1] = pt[2] = 0; in rintl()
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dopl_olympus_copy.S784 bz,pt %icc, 4f
789 ba,pt %ncc, 1f
1248 bz,pt %ncc, 2f
1315 ba,pt %ncc, 1f
1350 bz,pt %ncc, 2f
1357 ba,pt %ncc, 3f
1405 bz,pt %icc, 4f
1410 ba,pt %ncc, 2f
1526 ba,pt %ncc, 2f
1583 bz,pt %icc, 2f
[all …]
H A Dcheetah_copy.S827 bz,pt %icc, 4f
832 ba,pt %ncc, 1f
1294 bz,pt %ncc, 2f
1402 bz,pt %ncc, 2f
1409 ba,pt %ncc, 3f
1461 bz,pt %icc, 4f
1466 ba,pt %ncc, 2f
1649 bz,pt %icc, 2f
1761 bz,pt %icc, 4f
1766 ba,pt %ncc, 1f
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_icmp.c67 char *pt, *pc, *px; in interpret_icmp() local
79 pt = "Unknown"; in interpret_icmp()
85 pt = "Echo reply"; in interpret_icmp()
198 pt = "Redirect"; in interpret_icmp()
221 pt = "Echo request"; in interpret_icmp()
371 pt, pc, px); in interpret_icmp()
445 char *pt, *pc; local
454 pt = "Unknown";
513 pt = "Redirect";
543 pt = "Echo request";
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dsetlist.c122 char *pt; in setlist() local
145 pt = strtok(slist, " \t\n"); in setlist()
146 while (pt) { in setlist()
157 if (pt && sn != -1) in setlist()
220 char *pt = NULL; in cl_putl() local
229 (void) strcat(pt, " "); in cl_putl()
233 putparam(parm_name, pt); in cl_putl()
234 free(pt); in cl_putl()
291 struct cl_attr *pt; in cl_setl() local
299 pt = cl_lst[sn]; in cl_setl()
[all …]
H A Dpathdup.c110 char *pt; in pathalloc() local
114 pt = NULL; in pathalloc()
124 pt = &tail->mem[MEMSIZ-size]; in pathalloc()
128 return (pt); in pathalloc()
135 char *pt; in pathdup() local
140 pt = NULL; in pathdup()
150 pt = &tail->mem[MEMSIZ-size]; in pathdup()
153 (void) strcpy(pt, s); in pathdup()
156 return (pt); in pathdup()
/illumos-gate/usr/src/cmd/svr4pkg/pkgremove/
H A Dcheck.c77 char *pt; in rckrunlevel() local
86 pt = getenv("RSTATES"); in rckrunlevel()
87 if (pt == NULL) { in rckrunlevel()
99 rstates = qstrdup(pt); in rckrunlevel()
100 if ((pt = strtok(pt, " \t\n, ")) == NULL) in rckrunlevel()
103 if (strcmp(pt, uxstate) == 0) { in rckrunlevel()
107 } while (pt = strtok(NULL, " \t\n, ")); in rckrunlevel()
116 pt = strtok(rstates, " \t\n, "); in rckrunlevel()
119 ptext(stderr, "\\t%s", pt); in rckrunlevel()
121 (void) fprintf(stdout, ":%s", pt); in rckrunlevel()
[all …]
/illumos-gate/usr/src/cmd/svr4pkg/pkgscripts/
H A Dcmdexec.c53 *pt, in main() local
98 for (pt = line; isspace(*pt); /* void */) in main()
99 ++pt; in main()
100 if (*pt == '#') in main()
102 if (*pt == COMMAND) { in main()
105 pt = strtok(pt+1, " \t\n"); in main()
106 if (!pt) { in main()
110 flag = (strcmp(pt, keyword) ? 0 : 1); in main()

12345678910>>...12