/freebsd-11-stable/contrib/groff/src/preproc/grn/ |
H A D | hpoint.cpp | 31 register POINT *pt; local 33 if (Nullpoint(pt = *pplist)) { /* empty list */ 35 pt = *pplist; 37 while (!Nullpoint(pt->nextpt)) 38 pt = pt->nextpt; 39 pt->nextpt = (POINT *) malloc(sizeof(POINT)); 40 pt = pt->nextpt; 43 pt [all...] |
H A D | gprint.h | 83 #define Nullpoint(pt) ((pt) == (POINT *) NULL) 84 #define PTNextPoint(pt) (pt->nextpt)
|
/freebsd-11-stable/bin/pax/ |
H A D | sel_subs.c | 105 USRT *pt; local 146 if ((pt = usrtb[indx]) != NULL) { 147 while (pt != NULL) { 148 if (pt->uid == uid) 150 pt = pt->fow; 157 if ((pt = (USRT *)malloc(sizeof(USRT))) != NULL) { 158 pt->uid = uid; 159 pt->fow = usrtb[indx]; 160 usrtb[indx] = pt; 177 USRT *pt; local 206 GRPT *pt; local 278 GRPT *pt; local 328 TIME_RNG *pt; local 469 TIME_RNG *pt; local [all...] |
H A D | tables.c | 131 HRDLNK *pt; local 147 if ((pt = ltab[indx]) != NULL) { 152 while (pt != NULL) { 153 if ((pt->ino == arcn->sb.st_ino) && 154 (pt->dev == arcn->sb.st_dev)) 156 ppt = &(pt->fow); 157 pt = pt->fow; 160 if (pt != NULL) { 167 arcn->ln_nlen = l_strncpy(arcn->ln_name, pt 218 HRDLNK *pt; local 273 HRDLNK *pt; local 370 FTM *pt; local 510 NAMT *pt; local 578 NAMT *pt; local 705 DEVT *pt; local 763 DEVT *pt; local 925 ATDIR *pt; local 956 ATDIR *pt; local 1018 ATDIR *pt; local 1230 char *pt; local [all...] |
H A D | pat_rep.c | 221 PATTERN *pt; local 236 if ((pt = (PATTERN *)malloc(sizeof(PATTERN))) == NULL) { 241 pt->pstr = str; 242 pt->pend = NULL; 243 pt->plen = strlen(str); 244 pt->fow = NULL; 245 pt->flgs = 0; 246 pt->chdname = chdnam; 249 pattail = pathead = pt; 252 pattail->fow = pt; 266 PATTERN *pt; local 303 PATTERN *pt; local 422 PATTERN *pt; local 859 REPLACE *pt; local [all...] |
H A D | gen_subs.c | 261 char *pt; local 267 pt = str + len - 1; 275 while (pt >= str) { 277 *pt-- = '0' + (char)digit; 279 *pt-- = 'a' + (char)(digit - 10); 284 while (pt >= str) { 285 *pt-- = '0' + (char)(val & 0x7); 294 while (pt >= str) 295 *pt-- = '0'; 358 char *pt; local [all...] |
/freebsd-11-stable/lib/libc/stdtime/ |
H A D | strftime.c | 130 _fmt(const char *format, const struct tm * const t, char *pt, argument 147 pt = _add((t->tm_wday < 0 || 150 pt, ptlim); 153 pt = _add((t->tm_wday < 0 || 156 pt, ptlim); 159 pt = _add((t->tm_mon < 0 || 163 pt, ptlim); 167 pt = _add((t->tm_mon < 0 || 170 pt, ptlim); 180 pt 590 _conv(const int n, const char * const format, char * const pt, const char * const ptlim, locale_t loc) argument 600 _add(const char *str, char *pt, const char * const ptlim) argument 616 _yconv(const int a, const int b, const int convert_top, const int convert_yy, char *pt, const char * const ptlim, locale_t loc) argument [all...] |
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | ntp_leapsec.c | 134 leap_table_t * pt) 136 if (pt == &_ltab[0] || pt == &_ltab[1]) 137 _lptr = pt; 138 return _lptr == pt; 169 leap_table_t * pt) 171 memset(&pt->lsig, 0, sizeof(pt->lsig)); 172 memset(&pt->head, 0, sizeof(pt 133 leapsec_set_table( leap_table_t * pt) argument 168 leapsec_clear( leap_table_t * pt) argument 290 leap_table_t * pt; local 380 const leap_table_t * pt; local 394 const leap_table_t * pt; local 428 leap_table_t *pt; local 567 const leap_table_t * pt; local 579 const leap_table_t * pt; local 593 const leap_table_t * pt; local 645 leap_table_t * pt; local 661 leap_table_t * pt; local 731 reset_times( leap_table_t * pt) argument 744 add_range( leap_table_t * pt, const leap_info_t * pi) argument 856 reload_limits( leap_table_t * pt, const vint64 * ts) argument 999 leapsec_raw( leap_table_t * pt, const vint64 * ttime, int taiof, int dynls) argument [all...] |
/freebsd-11-stable/lib/libc/gen/ |
H A D | getcwd.c | 58 getcwd(char *pt, size_t size) argument 79 if (pt) { 89 ept = pt + size; 91 if ((pt = malloc(ptsize = PATH_MAX)) == NULL) 93 ept = pt + ptsize; 95 if (__getcwd(pt, ept - pt) == 0) { 96 if (*pt != '/') { 97 bpt = pt; 98 ept = pt [all...] |
/freebsd-11-stable/crypto/openssl/crypto/aes/ |
H A D | aes_locl.h | 70 # define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3]))
|
/freebsd-11-stable/sbin/nvmecontrol/ |
H A D | nvmecontrol.c | 146 struct nvme_pt_command pt; local 148 memset(&pt, 0, sizeof(pt)); 149 pt.cmd.opc = NVME_OPC_IDENTIFY; 150 pt.cmd.cdw10 = 1; 151 pt.buf = cdata; 152 pt.len = sizeof(*cdata); 153 pt.is_read = 1; 155 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) 158 if (nvme_completion_is_error(&pt 165 struct nvme_pt_command pt; local [all...] |
H A D | power.c | 92 struct nvme_pt_command pt; local 96 memset(&pt, 0, sizeof(pt)); 97 pt.cmd.opc = NVME_OPC_SET_FEATURES; 98 pt.cmd.cdw10 = NVME_FEAT_POWER_MANAGEMENT | p; 99 pt.cmd.cdw11 = power_val | (workload << 5); 101 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) 104 if (nvme_completion_is_error(&pt.cpl)) 111 struct nvme_pt_command pt; local 113 memset(&pt, [all...] |
H A D | firmware.c | 112 struct nvme_pt_command pt; local 127 memset(&pt, 0, sizeof(pt)); 128 pt.cmd.opc = NVME_OPC_FIRMWARE_IMAGE_DOWNLOAD; 129 pt.cmd.cdw10 = (size / sizeof(uint32_t)) - 1; 130 pt.cmd.cdw11 = (off / sizeof(uint32_t)); 131 pt.buf = chunk; 132 pt.len = size; 133 pt.is_read = 0; 135 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 149 struct nvme_pt_command pt; local [all...] |
H A D | wdc.c | 81 struct nvme_pt_command pt; local 83 memset(&pt, 0, sizeof(pt)); 84 pt.cmd.opc = opcode; 85 pt.cmd.cdw10 = len / sizeof(uint32_t); /* - 1 like all the others ??? */ 86 pt.cmd.cdw11 = off / sizeof(uint32_t); 87 pt.cmd.cdw12 = cmd; 88 pt.buf = buffer; 89 pt.len = buflen; 90 pt [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | drm_auth.c | 51 drm_magic_entry_t *pt; local 56 for (pt = dev->magiclist[hash].head; pt; pt = pt->next) { 57 if (pt->magic == magic) { 58 return pt->priv; 105 drm_magic_entry_t *pt; local 113 for (pt = dev->magiclist[hash].head; pt; pre [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | timer.c | 82 struct pppTimer *t, *pt; local 106 pt = NULL; 111 pt = t; 125 if (pt) { 126 pt->next = tp; 141 struct pppTimer *t, *pt; local 152 pt = NULL; 154 pt = t; 157 if (pt) 158 pt 240 struct pppTimer *pt; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | ada-tasks.c | 160 struct task_entry *pt; local 168 pt = task_list; 169 if (pt) 171 while (pt->next_task) 172 pt = pt->next_task; 173 pt->next_task = new_task_entry; 174 pt->stack_per = 0; 184 struct task_entry *pt; local 186 pt 199 struct task_entry *pt; local 214 struct task_entry *pt; local 229 struct task_entry *pt, *old_pt; local 291 struct task_entry *pt, *pt2; local 467 struct task_entry *pt; local [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-mpls.c | 65 enum mpls_packet_type pt = PT_UNKNOWN; local 99 pt = PT_IPV4; 103 pt = PT_IPV6; 150 pt = PT_IPV4; 169 pt = PT_IPV6; 175 pt = PT_OSI; 187 if (pt == PT_UNKNOWN) { 193 switch (pt) {
|
/freebsd-11-stable/usr.bin/systat/ |
H A D | pigs.c | 63 } *pt; variable in typeref:struct:p_times 91 if (pt == NULL) 94 qsort(pt, nproc, sizeof (struct p_times), compar); 99 for (k = 0; i > 0 && pt[k].pt_pctcpu > 0.01; i--, y++, k++) { 100 uname = user_from_uid(pt[k].pt_kp->ki_uid, 0); 101 pname = pt[k].pt_kp->ki_comm; 108 for (j = pt[k].pt_pctcpu * 50 + 0.5; j > 0; j--) 151 if (pt) 152 free(pt); 156 free(pt); [all...] |
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | getcwd.c | 52 getcwd(char *pt, size_t size) argument 72 if (pt) { 78 ept = pt + size; 80 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL) 82 ept = pt + ptsize; 124 memmove(pt, bpt, ept - bpt); 126 return (pt); 190 if (bpt - pt < dp->d_namlen + (first ? 1 : 2)) { 199 if ((npt = realloc(pt, ptsize *= 2)) == NULL) 201 bpt = npt + (bpt - pt); [all...] |
/freebsd-11-stable/gnu/usr.bin/rcs/rcs/ |
H A D | rcs.c | 672 struct Symrev * pt; local 688 pt = talloc(struct Symrev); 689 pt->ssymbol = temp; 690 pt->override = flag; 692 pt->revno = 0; 696 pt->revno = sp; 698 pt->nextsym = 0; 699 *nextassoc = pt; 700 nextassoc = &pt->nextsym; 709 register struct chaccess *pt; local 758 struct Message *pt; local 789 struct Status *pt; local 828 struct delrevpair *pt; local 954 struct Lockrev *pt, **pre; local 1140 struct hshentry *pt; local 1322 struct assoc **pre, *pt; local 1571 struct branchhead *pt, *pre; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/md4/ |
H A D | md4test.c | 96 static char *pt(unsigned char *md); 109 p = pt(md); 124 static char *pt(unsigned char *md) function
|
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | radix.h | 37 #define NETADDR_TO_PREFIX_T(na,pt,bits) \ 39 memset(&(pt), 0, sizeof(pt)); \ 41 (pt).family = (na)->family; \ 42 (pt).bitlen = (bits); \ 43 if ((pt).family == AF_INET6) { \ 44 memcpy(&(pt).add.sin6, &(na)->type.in6, \ 47 memcpy(&(pt).add.sin, &(na)->type.in, \ 50 (pt).family = AF_UNSPEC; \ 51 (pt) [all...] |
/freebsd-11-stable/usr.bin/pr/ |
H A D | pr.h | 72 char *pt; /* ptr to col */ member in struct:vcol
|
/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_renamerace.c | 79 pthread_t pt[2]; local 99 pthread_create(&pt[0], NULL, r2w1, NULL); 100 pthread_create(&pt[1], NULL, r2w2, NULL); 106 pthread_join(pt[0], NULL); 107 pthread_join(pt[1], NULL);
|