| /freebsd-10-stable/bin/pax/ |
| D | tables.c | 131 HRDLNK *pt; in chk_lnk() local 147 if ((pt = ltab[indx]) != NULL) { in chk_lnk() 152 while (pt != NULL) { in chk_lnk() 153 if ((pt->ino == arcn->sb.st_ino) && in chk_lnk() 154 (pt->dev == arcn->sb.st_dev)) in chk_lnk() 156 ppt = &(pt->fow); in chk_lnk() 157 pt = pt->fow; in chk_lnk() 160 if (pt != NULL) { in chk_lnk() 167 arcn->ln_nlen = l_strncpy(arcn->ln_name, pt->name, in chk_lnk() 179 if (--pt->nlink <= 1) { in chk_lnk() [all …]
|
| D | sel_subs.c | 105 USRT *pt; in usr_add() local 146 if ((pt = usrtb[indx]) != NULL) { in usr_add() 147 while (pt != NULL) { in usr_add() 148 if (pt->uid == uid) in usr_add() 150 pt = pt->fow; in usr_add() 157 if ((pt = (USRT *)malloc(sizeof(USRT))) != NULL) { in usr_add() 158 pt->uid = uid; in usr_add() 159 pt->fow = usrtb[indx]; in usr_add() 160 usrtb[indx] = pt; in usr_add() 177 USRT *pt; in usr_match() local [all …]
|
| 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; [all …]
|
| D | gen_subs.c | 260 char *pt; in ul_asc() local 266 pt = str + len - 1; in ul_asc() 274 while (pt >= str) { in ul_asc() 276 *pt-- = '0' + (char)digit; in ul_asc() 278 *pt-- = 'a' + (char)(digit - 10); in ul_asc() 283 while (pt >= str) { in ul_asc() 284 *pt-- = '0' + (char)(val & 0x7); in ul_asc() 293 while (pt >= str) in ul_asc() 294 *pt-- = '0'; in ul_asc() 357 char *pt; in uqd_asc() local [all …]
|
| D | tar.c | 151 char *pt; in ul_oct() local 156 pt = str + len - 1; in ul_oct() 159 *pt-- = '\0'; in ul_oct() 162 *pt-- = ' '; in ul_oct() 163 *pt-- = '\0'; in ul_oct() 166 *pt-- = ' '; in ul_oct() 170 *pt-- = '\0'; in ul_oct() 171 *pt-- = ' '; in ul_oct() 178 while (pt >= str) { in ul_oct() 179 *pt-- = '0' + (char)(val & 0x7); in ul_oct() [all …]
|
| /freebsd-10-stable/lib/libc/stdtime/ |
| D | strftime.c | 130 _fmt(format, t, pt, ptlim, warnp, loc) in _fmt() argument 133 char * pt; 152 pt = _add((t->tm_wday < 0 || 155 pt, ptlim); 158 pt = _add((t->tm_wday < 0 || 161 pt, ptlim); 164 pt = _add((t->tm_mon < 0 || 168 pt, ptlim); 172 pt = _add((t->tm_mon < 0 || 175 pt, ptlim); [all …]
|
| /freebsd-10-stable/contrib/ntp/ntpd/ |
| D | ntp_leapsec.c | 134 leap_table_t * pt) in leapsec_set_table() argument 136 if (pt == &_ltab[0] || pt == &_ltab[1]) in leapsec_set_table() 137 _lptr = pt; in leapsec_set_table() 138 return _lptr == pt; in leapsec_set_table() 169 leap_table_t * pt) in leapsec_clear() argument 171 memset(&pt->lsig, 0, sizeof(pt->lsig)); in leapsec_clear() 172 memset(&pt->head, 0, sizeof(pt->head)); in leapsec_clear() 173 reset_times(pt); in leapsec_clear() 181 leap_table_t * pt , in leapsec_load() argument 191 leapsec_clear(pt); in leapsec_load() [all …]
|
| /freebsd-10-stable/contrib/gdb/gdb/ |
| D | ada-tasks.c | 160 struct task_entry *pt; in add_task_entry() local 168 pt = task_list; in add_task_entry() 169 if (pt) in add_task_entry() 171 while (pt->next_task) in add_task_entry() 172 pt = pt->next_task; in add_task_entry() 173 pt->next_task = new_task_entry; in add_task_entry() 174 pt->stack_per = 0; in add_task_entry() 184 struct task_entry *pt; in get_entry_number() local 186 pt = task_list; in get_entry_number() 187 while (pt != NULL) in get_entry_number() [all …]
|
| /freebsd-10-stable/sys/powerpc/aim/ |
| D | moea64_native.c | 189 static void moea64_pte_synch_native(mmu_t, uintptr_t pt, 191 static void moea64_pte_clear_native(mmu_t, uintptr_t pt, 193 static void moea64_pte_change_native(mmu_t, uintptr_t pt, 195 static void moea64_pte_unset_native(mmu_t mmu, uintptr_t pt, 239 struct lpte *pt = (struct lpte *)pt_cookie; in moea64_pte_synch_native() local 241 pvo_pt->pte_lo |= pt->pte_lo & (LPTE_REF | LPTE_CHG); in moea64_pte_synch_native() 248 struct lpte *pt = (struct lpte *)pt_cookie; in moea64_pte_clear_native() local 253 pt->pte_lo &= ~ptebit; in moea64_pte_clear_native() 260 moea64_pte_set_native(struct lpte *pt, struct lpte *pvo_pt) in moea64_pte_set_native() argument 270 pt->pte_lo = pvo_pt->pte_lo; in moea64_pte_set_native() [all …]
|
| /freebsd-10-stable/lib/libc/gen/ |
| D | getcwd.c | 58 getcwd(pt, size) in getcwd() argument 59 char *pt; in getcwd() 81 if (pt) { 91 ept = pt + size; 93 if ((pt = malloc(ptsize = PATH_MAX)) == NULL) 95 ept = pt + ptsize; 97 if (__getcwd(pt, ept - pt) == 0) { 98 if (*pt != '/') { 99 bpt = pt; 100 ept = pt + strlen(pt) - 1; [all …]
|
| /freebsd-10-stable/contrib/groff/src/preproc/grn/ |
| D | hpoint.cpp | 31 register POINT *pt; in PTMakePoint() local 33 if (Nullpoint(pt = *pplist)) { /* empty list */ in PTMakePoint() 35 pt = *pplist; in PTMakePoint() 37 while (!Nullpoint(pt->nextpt)) in PTMakePoint() 38 pt = pt->nextpt; in PTMakePoint() 39 pt->nextpt = (POINT *) malloc(sizeof(POINT)); in PTMakePoint() 40 pt = pt->nextpt; in PTMakePoint() 43 pt->x = x; in PTMakePoint() 44 pt->y = y; in PTMakePoint() 45 pt->nextpt = PTInit(); in PTMakePoint() [all …]
|
| /freebsd-10-stable/usr.sbin/ppp/ |
| D | timer.c | 80 struct pppTimer *t, *pt; in timer_Start() local 104 pt = NULL; in timer_Start() 109 pt = t; in timer_Start() 123 if (pt) { in timer_Start() 124 pt->next = tp; in timer_Start() 139 struct pppTimer *t, *pt; in StopTimerNoBlock() local 150 pt = NULL; in StopTimerNoBlock() 152 pt = t; in StopTimerNoBlock() 155 if (pt) in StopTimerNoBlock() 156 pt->next = t->next; in StopTimerNoBlock() [all …]
|
| /freebsd-10-stable/sys/dev/drm/ |
| D | drm_auth.c | 51 drm_magic_entry_t *pt; in drm_find_file() local 56 for (pt = dev->magiclist[hash].head; pt; pt = pt->next) { in drm_find_file() 57 if (pt->magic == magic) { in drm_find_file() 58 return pt->priv; in drm_find_file() 105 drm_magic_entry_t *pt; in drm_remove_magic() local 113 for (pt = dev->magiclist[hash].head; pt; prev = pt, pt = pt->next) { in drm_remove_magic() 114 if (pt->magic == magic) { in drm_remove_magic() 115 if (dev->magiclist[hash].head == pt) { in drm_remove_magic() 116 dev->magiclist[hash].head = pt->next; in drm_remove_magic() 118 if (dev->magiclist[hash].tail == pt) { in drm_remove_magic() [all …]
|
| /freebsd-10-stable/sbin/nvmecontrol/ |
| D | nvmecontrol.c | 129 struct nvme_pt_command pt; in read_controller_data() local 131 memset(&pt, 0, sizeof(pt)); in read_controller_data() 132 pt.cmd.opc = NVME_OPC_IDENTIFY; in read_controller_data() 133 pt.cmd.cdw10 = 1; in read_controller_data() 134 pt.buf = cdata; in read_controller_data() 135 pt.len = sizeof(*cdata); in read_controller_data() 136 pt.is_read = 1; in read_controller_data() 138 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) in read_controller_data() 141 if (nvme_completion_is_error(&pt.cpl)) in read_controller_data() 148 struct nvme_pt_command pt; in read_namespace_data() local [all …]
|
| D | firmware.c | 110 struct nvme_pt_command pt; in update_firmware() local 125 memset(&pt, 0, sizeof(pt)); in update_firmware() 126 pt.cmd.opc = NVME_OPC_FIRMWARE_IMAGE_DOWNLOAD; in update_firmware() 127 pt.cmd.cdw10 = (size / sizeof(uint32_t)) - 1; in update_firmware() 128 pt.cmd.cdw11 = (off / sizeof(uint32_t)); in update_firmware() 129 pt.buf = chunk; in update_firmware() 130 pt.len = size; in update_firmware() 131 pt.is_read = 0; in update_firmware() 133 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0) in update_firmware() 136 if (nvme_completion_is_error(&pt.cpl)) in update_firmware() [all …]
|
| /freebsd-10-stable/gnu/usr.bin/rcs/rcs/ |
| 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 [all …]
|
| /freebsd-10-stable/usr.bin/systat/ |
| D | pigs.c | 63 } *pt; variable 91 if (pt == NULL) in showpigs() 94 qsort(pt, nproc, sizeof (struct p_times), compar); in showpigs() 99 for (k = 0; i > 0 && pt[k].pt_pctcpu > 0.01; i--, y++, k++) { in showpigs() 100 uname = user_from_uid(pt[k].pt_kp->ki_uid, 0); in showpigs() 101 pname = pt[k].pt_kp->ki_comm; in showpigs() 108 for (j = pt[k].pt_pctcpu * 50 + 0.5; j > 0; j--) in showpigs() 151 if (pt) in fetchpigs() 152 free(pt); in fetchpigs() 156 free(pt); in fetchpigs() [all …]
|
| /freebsd-10-stable/sys/dev/mfi/ |
| D | mfi_cam.c | 347 struct mfi_pass_frame *pt; in mfip_start() local 361 pt = &cm->cm_frame->pass; in mfip_start() 362 pt->header.cmd = MFI_CMD_PD_SCSI_IO; in mfip_start() 363 pt->header.cmd_status = 0; in mfip_start() 364 pt->header.scsi_status = 0; in mfip_start() 365 pt->header.target_id = ccbh->target_id; in mfip_start() 366 pt->header.lun_id = ccbh->target_lun; in mfip_start() 367 pt->header.flags = 0; in mfip_start() 368 pt->header.timeout = 0; in mfip_start() 369 pt->header.data_len = csio->dxfer_len; in mfip_start() [all …]
|
| /freebsd-10-stable/crypto/openssh/openbsd-compat/ |
| D | getcwd.c | 52 getcwd(char *pt, size_t size) in getcwd() argument 72 if (pt) { in getcwd() 78 ept = pt + size; in getcwd() 80 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL) in getcwd() 82 ept = pt + ptsize; in getcwd() 124 memmove(pt, bpt, ept - bpt); in getcwd() 126 return (pt); in getcwd() 190 if (bpt - pt < dp->d_namlen + (first ? 1 : 2)) { in getcwd() 199 if ((npt = realloc(pt, ptsize *= 2)) == NULL) in getcwd() 201 bpt = npt + (bpt - pt); in getcwd() [all …]
|
| /freebsd-10-stable/contrib/gdb/gdb/doc/ |
| D | psrc.sed | 3 \\font\\bbf=ptmb at 10pt\ 4 \\font\\vbbf=ptmb at 12pt\ 5 \\font\\smrm=ptmr at 6pt\ 6 \\font\\brm=ptmr at 10pt\ 7 \\font\\rm=ptmr at 8pt\ 8 \\font\\it=ptmri at 8pt\ 9 \\font\\tt=pcrr at 8pt\ 11 \\font\\sym=psyr at 7pt\
|
| D | lpsrc.sed | 3 \\font\\bbf=Times-Bold at 10pt\ 4 \\font\\vbbf=Times-Bold at 12pt\ 5 \\font\\smrm=Times-Roman at 6pt\ 6 \\font\\brm=Times-Roman at 10pt\ 7 \\font\\rm=Times-Roman at 8pt\ 8 \\font\\it=Times-Italic at 8pt\ 9 \\font\\tt=Courier at 8pt\ 11 \\font\\sym=Symbol at 7pt\
|
| /freebsd-10-stable/contrib/ntp/lib/isc/include/isc/ |
| D | radix.h | 37 #define NETADDR_TO_PREFIX_T(na,pt,bits) \ argument 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).bitlen = 0; \ 53 isc_refcount_init(&(pt).refcount, 0); \
|
| /freebsd-10-stable/sys/boot/powerpc/ps3/ |
| D | ps3mmu.c | 50 struct lpte pt; in ps3mmu_map() local 55 pt.pte_hi = LPTE_BIG; in ps3mmu_map() 56 pt.pte_lo = LPTE_M; in ps3mmu_map() 60 pt.pte_hi = 0; in ps3mmu_map() 61 pt.pte_lo = LPTE_I | LPTE_G | LPTE_M | LPTE_NOEXEC; in ps3mmu_map() 66 pt.pte_hi |= (vsid << LPTE_VSID_SHIFT) | in ps3mmu_map() 68 pt.pte_lo |= pa; in ps3mmu_map() 71 pt.pte_hi |= LPTE_LOCKED | LPTE_VALID; in ps3mmu_map() 74 return (lv1_insert_pte(ptegidx, &pt, LPTE_LOCKED)); in ps3mmu_map()
|
| /freebsd-10-stable/share/vt/keymaps/ |
| D | INDEX.keymaps | 8 # pt ro ru sh sk sl sv tr uk zh 28 MENU:pt:Escolha o layout do teclado 47 be.kbd:pt,es:Belga 52 be.acc.kbd:pt:Belga (com acentos) 64 br.kbd:pt:Brasileiro (com acentos) 70 br.noacc.kbd:pt:Brasileiro (without accent keys) 108 dk.kbd:pt:Dinamarquês 115 dk.acc.kbd:pt:Dinamarquês (com acentos) 122 dk.kbd.from-cp865:pt:Dinamarquês 129 dk.macbook.kbd:pt:Dinamarquês (macbook) [all …]
|
| /freebsd-10-stable/gnu/usr.bin/rcs/lib/ |
| D | maketime.c | 256 maketime(pt, default_time) in maketime() argument 257 struct partime const *pt; in maketime() 266 localzone = pt->zone==TM_LOCAL_ZONE; 268 tm = pt->tm; 270 if (TM_DEFINED(pt->ymodulus) || !TM_DEFINED(tm.tm_year)) { 274 adjzone(tm0, pt->zone); 277 if (TM_DEFINED(pt->ymodulus)) 279 (tm0->tm_year + TM_YEAR_ORIGIN)/pt->ymodulus * pt->ymodulus; 301 adjzone(&tm, -pt->zone); 321 struct partime pt; local [all …]
|