Home
last modified time | relevance | path

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

12345678

/dragonfly/bin/pax/
HDtables.c126 HRDLNK *pt; in chk_lnk() local
142 if ((pt = ltab[indx]) != NULL) { in chk_lnk()
147 while (pt != NULL) { in chk_lnk()
148 if ((pt->ino == arcn->sb.st_ino) && in chk_lnk()
149 (pt->dev == arcn->sb.st_dev)) in chk_lnk()
151 ppt = &(pt->fow); in chk_lnk()
152 pt = pt->fow; in chk_lnk()
155 if (pt != NULL) { in chk_lnk()
162 arcn->ln_nlen = l_strncpy(arcn->ln_name, pt->name, in chk_lnk()
174 if (--pt->nlink <= 1) { in chk_lnk()
[all …]
HDsel_subs.c102 USRT *pt; in usr_add() local
139 if ((pt = usrtb[indx]) != NULL) { in usr_add()
140 while (pt != NULL) { in usr_add()
141 if (pt->uid == uid) in usr_add()
143 pt = pt->fow; in usr_add()
150 if ((pt = (USRT *)malloc(sizeof(USRT))) != NULL) { in usr_add()
151 pt->uid = uid; in usr_add()
152 pt->fow = usrtb[indx]; in usr_add()
153 usrtb[indx] = pt; in usr_add()
170 USRT *pt; in usr_match() local
[all …]
HDpat_rep.c197 PATTERN *pt; in pat_add() local
212 if ((pt = (PATTERN *)malloc(sizeof(PATTERN))) == NULL) { in pat_add()
217 pt->pstr = str; in pat_add()
218 pt->pend = NULL; in pat_add()
219 pt->plen = strlen(str); in pat_add()
220 pt->fow = NULL; in pat_add()
221 pt->flgs = 0; in pat_add()
222 pt->chdname = chdname; in pat_add()
225 pattail = pathead = pt; in pat_add()
228 pattail->fow = pt; in pat_add()
[all …]
HDgen_subs.c252 char *pt; in ul_asc() local
258 pt = str + len - 1; in ul_asc()
266 while (pt >= str) { in ul_asc()
268 *pt-- = '0' + (char)digit; in ul_asc()
270 *pt-- = 'a' + (char)(digit - 10); in ul_asc()
275 while (pt >= str) { in ul_asc()
276 *pt-- = '0' + (char)(val & 0x7); in ul_asc()
285 while (pt >= str) in ul_asc()
286 *pt-- = '0'; in ul_asc()
348 char *pt; in uqd_asc() local
[all …]
HDtar.c148 char *pt; in ul_oct() local
153 pt = str + len - 1; in ul_oct()
156 *pt-- = '\0'; in ul_oct()
159 *pt-- = ' '; in ul_oct()
160 *pt-- = '\0'; in ul_oct()
163 *pt-- = ' '; in ul_oct()
167 *pt-- = '\0'; in ul_oct()
168 *pt-- = ' '; in ul_oct()
175 while (pt >= str) { in ul_oct()
176 *pt-- = '0' + (char)(val & 0x7); in ul_oct()
[all …]
/dragonfly/lib/libc/stdtime/
HDstrftime.c118 _fmt(const char *format, const struct tm * const t, char *pt, in _fmt() argument
135 pt = _add((t->tm_wday < 0 || in _fmt()
138 pt, ptlim); in _fmt()
141 pt = _add((t->tm_wday < 0 || in _fmt()
144 pt, ptlim); in _fmt()
147 pt = _add((t->tm_mon < 0 || in _fmt()
151 pt, ptlim); in _fmt()
155 pt = _add((t->tm_mon < 0 || in _fmt()
158 pt, ptlim); in _fmt()
168 pt = _yconv(t->tm_year, TM_YEAR_BASE, 1, 0, in _fmt()
[all …]
/dragonfly/usr.sbin/ppp/
HDtimer.c83 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()
138 struct pppTimer *t, *pt; in StopTimerNoBlock() local
149 pt = NULL; in StopTimerNoBlock()
151 pt = t; in StopTimerNoBlock()
154 if (pt) in StopTimerNoBlock()
155 pt->next = t->next; in StopTimerNoBlock()
[all …]
/dragonfly/gnu/usr.bin/rcs/rcs/
HDrcs.c675 struct Symrev * pt; local
691 pt = talloc(struct Symrev);
692 pt->ssymbol = temp;
693 pt->override = flag;
695 pt->revno = 0;
699 pt->revno = sp;
701 pt->nextsym = 0;
702 *nextassoc = pt;
703 nextassoc = &pt->nextsym;
712 register struct chaccess *pt; local
[all …]
/dragonfly/sbin/fsck/
HDpreen.c75 struct part *pt; in checkfstab() local
184 for (pt = badlist; pt; pt = pt->next) in checkfstab()
185 fprintf(stderr, "%s (%s)%s", pt->name, pt->fsname, in checkfstab()
186 pt->next ? ", " : "\n"); in checkfstab()
234 struct part *pt, **ppt = &dk->part; in addpart() local
236 for (pt = dk->part; pt; ppt = &pt->next, pt = pt->next) in addpart()
237 if (strcmp(pt->name, name) == 0) { in addpart()
245 pt = *ppt; in addpart()
246 if ((pt->name = malloc(strlen(name) + 1)) == NULL) { in addpart()
250 strcpy(pt->name, name); in addpart()
[all …]
/dragonfly/usr.bin/systat/
HDpigs.c58 } *pt; variable
89 if (pt == NULL) in showpigs()
95 total += pt[i].pt_pctcpu; in showpigs()
102 qsort(pt, nproc + 1, sizeof (struct p_times), compar); in showpigs()
108 if (pt[k].pt_pctcpu <= 0.01 && in showpigs()
109 (pt[k].pt_kp == NULL || in showpigs()
110 pt[k].pt_kp->kp_lwp.kl_slptime > 1) in showpigs()
115 if (pt[k].pt_kp == NULL) { in showpigs()
119 uname = user_from_uid(pt[k].pt_kp->kp_uid, 0); in showpigs()
120 pname = pt[k].pt_kp->kp_comm; in showpigs()
[all …]
/dragonfly/sys/dev/raid/mfi/
HDmfi_cam.c262 struct mfi_pass_frame *pt; in mfip_start() local
276 pt = &cm->cm_frame->pass; in mfip_start()
277 pt->header.cmd = MFI_CMD_PD_SCSI_IO; in mfip_start()
278 pt->header.cmd_status = 0; in mfip_start()
279 pt->header.scsi_status = 0; in mfip_start()
280 pt->header.target_id = ccbh->target_id; in mfip_start()
281 pt->header.lun_id = ccbh->target_lun; in mfip_start()
282 pt->header.flags = 0; in mfip_start()
283 pt->header.timeout = 0; in mfip_start()
284 pt->header.data_len = csio->dxfer_len; in mfip_start()
[all …]
/dragonfly/lib/libthread_db/
HDlibthread_xu.c210 psaddr_t pt; in pt_ta_map_id2thr() local
223 pt = (psaddr_t)thread_list.tqh_first; in pt_ta_map_id2thr()
224 while (pt != NULL) { in pt_ta_map_id2thr()
225 ret = ps_pread(ta->ph, pt + ta->thread_off_tid, in pt_ta_map_id2thr()
233 pt + ta->thread_off_next, in pt_ta_map_id2thr()
234 &pt, sizeof(pt)); in pt_ta_map_id2thr()
238 if (pt == NULL) in pt_ta_map_id2thr()
242 th->th_thread = pt; in pt_ta_map_id2thr()
261 psaddr_t pt; in pt_ta_thr_iter() local
271 pt = (psaddr_t)thread_list.tqh_first; in pt_ta_thr_iter()
[all …]
/dragonfly/share/syscons/keymaps/
HDINDEX.keymaps8 # lang: ar bg cs da de el en es fi fr hr hu is it iw ja ko nl no pl pt
29 MENU:pt:Escolha o layout do teclado
36 FONT:de,fr,da,no,sv,pt,es:iso-8x16.fnt
45 be.iso.kbd:pt,es:Belga ISO-8859-1
49 be.iso.acc.kbd:pt:Belga ISO-8859-1 (com acentos)
57 br275.iso.kbd:pt:Brasileiro 275 ISO-8859-1
62 br275.iso.acc.kbd:pt:Brasileiro 275 ISO-8859-1 (com acentos)
67 br275.cp850.kbd:pt:Brasileiro 275 Codepage 850
91 danish.iso.kbd:pt:Dinamarqu�s ISO-8859-1
98 danish.cp865.kbd:pt:Dinamarqu�s Codepage 865
[all …]
/dragonfly/lib/libc/gen/
HDgetcwd.c40 int __getcwd(char *pt, size_t size);
43 getcwd(char *pt, size_t size) in getcwd() argument
50 if (pt == NULL) { in getcwd()
52 if ((pt = malloc(MAXPATHLEN)) == NULL) in getcwd()
56 ret = __getcwd(pt, size); in getcwd()
58 return (pt); in getcwd()
60 free(pt); in getcwd()
/dragonfly/gnu/usr.bin/rcs/lib/
HDmaketime.c257 maketime(pt, default_time) in maketime() argument
258 struct partime const *pt; in maketime()
267 localzone = pt->zone==TM_LOCAL_ZONE;
269 tm = pt->tm;
271 if (TM_DEFINED(pt->ymodulus) || !TM_DEFINED(tm.tm_year)) {
275 adjzone(tm0, pt->zone);
278 if (TM_DEFINED(pt->ymodulus))
280 rounddown(tm0->tm_year + TM_YEAR_ORIGIN, pt->ymodulus);
302 adjzone(&tm, -pt->zone);
322 struct partime pt; local
[all …]
/dragonfly/contrib/tcpdump/
HDprint-esp.c190 u_char *pt; in do_decrypt() local
239 pt = (u_char *)malloc(ptlen); in do_decrypt()
240 if (pt == NULL) { in do_decrypt()
252 free(pt); in do_decrypt()
258 if (!EVP_DecryptUpdate(ctx, pt, &len, ct, ctlen)) { in do_decrypt()
259 free(pt); in do_decrypt()
266 return pt; in do_decrypt()
292 u_char *pt; in esp_decrypt_buffer_by_ikev2_print() local
320 pt = do_decrypt(ndo, "esp_decrypt_buffer_by_ikev2_print", sa, iv, in esp_decrypt_buffer_by_ikev2_print()
322 if (pt == NULL) in esp_decrypt_buffer_by_ikev2_print()
[all …]
HDprint-mpls.c67 enum mpls_packet_type pt = PT_UNKNOWN; in mpls_print() local
99 pt = PT_IPV4; in mpls_print()
103 pt = PT_IPV6; in mpls_print()
137 pt = in mpls_print()
148 switch (pt) { in mpls_print()
/dragonfly/crypto/openssh/
HDsshbuf-getput-crypto.c97 EC_POINT *pt = EC_POINT_new(EC_KEY_get0_group(v)); in sshbuf_get_eckey() local
102 if (pt == NULL) { in sshbuf_get_eckey()
107 EC_POINT_free(pt); in sshbuf_get_eckey()
110 if ((r = get_ec(d, len, pt, EC_KEY_get0_group(v))) != 0) { in sshbuf_get_eckey()
111 EC_POINT_free(pt); in sshbuf_get_eckey()
114 if (EC_KEY_set_public_key(v, pt) != 1) { in sshbuf_get_eckey()
115 EC_POINT_free(pt); in sshbuf_get_eckey()
118 EC_POINT_free(pt); in sshbuf_get_eckey()
HDmisc.h224 void ptimeout_init(struct timespec *pt);
225 void ptimeout_deadline_sec(struct timespec *pt, long sec);
226 void ptimeout_deadline_ms(struct timespec *pt, long ms);
227 void ptimeout_deadline_monotime_tsp(struct timespec *pt, struct timespec *when);
228 void ptimeout_deadline_monotime(struct timespec *pt, time_t when);
229 int ptimeout_get_ms(struct timespec *pt);
230 struct timespec *ptimeout_get_tsp(struct timespec *pt);
231 int ptimeout_isset(struct timespec *pt);
/dragonfly/sys/dev/misc/nmdm/
HDnmdm.c117 struct nm_softc *pt; in nmdminit() local
126 pt = kmalloc(sizeof(*pt), M_NLMDM, M_WAITOK | M_ZERO); in nmdminit()
127 pt->part1.dev = dev1 = make_dev(&nmdm_ops, n << 1, in nmdminit()
129 pt->part2.dev = dev2 = make_dev(&nmdm_ops, (n << 1) + 1, in nmdminit()
132 dev1->si_drv1 = dev2->si_drv1 = pt; in nmdminit()
133 dev1->si_tty = &pt->part1.nm_tty; in nmdminit()
134 dev2->si_tty = &pt->part2.nm_tty; in nmdminit()
135 ttyinit(&pt->part1.nm_tty); in nmdminit()
136 ttyinit(&pt->part2.nm_tty); in nmdminit()
137 ttyregister(&pt->part1.nm_tty); in nmdminit()
[all …]
/dragonfly/crypto/libressl/crypto/aes/
HDaes_locl.h67 #define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)… argument
/dragonfly/contrib/gdb-7/libiberty/
HDpex-unix.c242 struct pex_time pt; in pex_wait() local
252 memset (&pt, 0, sizeof (struct pex_time)); in pex_wait()
263 pt.user_seconds = r2.ru_utime.tv_sec - r1.ru_utime.tv_sec; in pex_wait()
264 pt.user_microseconds = r2.ru_utime.tv_usec - r1.ru_utime.tv_usec; in pex_wait()
265 if (pt.user_microseconds < 0) in pex_wait()
267 --pt.user_seconds; in pex_wait()
268 pt.user_microseconds += 1000000; in pex_wait()
271 pt.system_seconds = r2.ru_stime.tv_sec - r1.ru_stime.tv_sec; in pex_wait()
272 pt.system_microseconds = r2.ru_stime.tv_usec - r1.ru_stime.tv_usec; in pex_wait()
273 if (pt.system_microseconds < 0) in pex_wait()
[all …]
/dragonfly/contrib/gcc-8.0/libiberty/
HDpex-unix.c242 struct pex_time pt; in pex_wait() local
252 memset (&pt, 0, sizeof (struct pex_time)); in pex_wait()
263 pt.user_seconds = r2.ru_utime.tv_sec - r1.ru_utime.tv_sec; in pex_wait()
264 pt.user_microseconds = r2.ru_utime.tv_usec - r1.ru_utime.tv_usec; in pex_wait()
265 if (pt.user_microseconds < 0) in pex_wait()
267 --pt.user_seconds; in pex_wait()
268 pt.user_microseconds += 1000000; in pex_wait()
271 pt.system_seconds = r2.ru_stime.tv_sec - r1.ru_stime.tv_sec; in pex_wait()
272 pt.system_microseconds = r2.ru_stime.tv_usec - r1.ru_stime.tv_usec; in pex_wait()
273 if (pt.system_microseconds < 0) in pex_wait()
[all …]
/dragonfly/contrib/binutils-2.27/libiberty/
HDpex-unix.c243 struct pex_time pt; in pex_wait() local
253 memset (&pt, 0, sizeof (struct pex_time)); in pex_wait()
264 pt.user_seconds = r2.ru_utime.tv_sec - r1.ru_utime.tv_sec; in pex_wait()
265 pt.user_microseconds = r2.ru_utime.tv_usec - r1.ru_utime.tv_usec; in pex_wait()
266 if (pt.user_microseconds < 0) in pex_wait()
268 --pt.user_seconds; in pex_wait()
269 pt.user_microseconds += 1000000; in pex_wait()
272 pt.system_seconds = r2.ru_stime.tv_sec - r1.ru_stime.tv_sec; in pex_wait()
273 pt.system_microseconds = r2.ru_stime.tv_usec - r1.ru_stime.tv_usec; in pex_wait()
274 if (pt.system_microseconds < 0) in pex_wait()
[all …]
/dragonfly/contrib/gcc-4.7/libiberty/
HDpex-unix.c240 struct pex_time pt; in pex_wait() local
250 memset (&pt, 0, sizeof (struct pex_time)); in pex_wait()
261 pt.user_seconds = r2.ru_utime.tv_sec - r1.ru_utime.tv_sec; in pex_wait()
262 pt.user_microseconds = r2.ru_utime.tv_usec - r1.ru_utime.tv_usec; in pex_wait()
263 if (pt.user_microseconds < 0) in pex_wait()
265 --pt.user_seconds; in pex_wait()
266 pt.user_microseconds += 1000000; in pex_wait()
269 pt.system_seconds = r2.ru_stime.tv_sec - r1.ru_stime.tv_sec; in pex_wait()
270 pt.system_microseconds = r2.ru_stime.tv_usec - r1.ru_stime.tv_usec; in pex_wait()
271 if (pt.system_microseconds < 0) in pex_wait()
[all …]

12345678