Searched refs:pt (Results 1 - 25 of 221) sorted by relevance

123456789

/freebsd-current/crypto/openssh/regress/unittests/misc/
H A Dtest_ptimeout.c32 struct timespec pt, *ts; local
35 ptimeout_init(&pt);
36 ASSERT_PTR_EQ(ptimeout_get_tsp(&pt), NULL);
37 ASSERT_INT_EQ(ptimeout_get_ms(&pt), -1);
41 ptimeout_deadline_sec(&pt, 100);
42 ptimeout_deadline_sec(&pt, 200);
43 ASSERT_INT_EQ(ptimeout_get_ms(&pt), 100 * 1000);
44 ts = ptimeout_get_tsp(&pt);
51 ptimeout_deadline_ms(&pt, 50123);
52 ptimeout_deadline_ms(&pt, 5050
[all...]
/freebsd-current/bin/pax/
H A Dsel_subs.c102 USRT *pt; local
139 if ((pt = usrtb[indx]) != NULL) {
140 while (pt != NULL) {
141 if (pt->uid == uid)
143 pt = pt->fow;
150 if ((pt = (USRT *)malloc(sizeof(USRT))) != NULL) {
151 pt->uid = uid;
152 pt->fow = usrtb[indx];
153 usrtb[indx] = pt;
170 USRT *pt; local
199 GRPT *pt; local
267 GRPT *pt; local
317 TIME_RNG *pt; local
458 TIME_RNG *pt; local
[all...]
H A Dtables.c125 HRDLNK *pt; local
141 if ((pt = ltab[indx]) != NULL) {
146 while (pt != NULL) {
147 if ((pt->ino == arcn->sb.st_ino) &&
148 (pt->dev == arcn->sb.st_dev))
150 ppt = &(pt->fow);
151 pt = pt->fow;
154 if (pt != NULL) {
161 arcn->ln_nlen = l_strncpy(arcn->ln_name, pt
212 HRDLNK *pt; local
267 HRDLNK *pt; local
364 FTM *pt; local
504 NAMT *pt; local
572 NAMT *pt; local
699 DEVT *pt; local
757 DEVT *pt; local
919 ATDIR *pt; local
950 ATDIR *pt; local
1012 ATDIR *pt; local
1224 char *pt; local
[all...]
H A Dpat_rep.c193 PATTERN *pt; local
208 if ((pt = (PATTERN *)malloc(sizeof(PATTERN))) == NULL) {
213 pt->pstr = str;
214 pt->pend = NULL;
215 pt->plen = strlen(str);
216 pt->fow = NULL;
217 pt->flgs = 0;
218 pt->chdname = chdnam;
221 pattail = pathead = pt;
224 pattail->fow = pt;
238 PATTERN *pt; local
275 PATTERN *pt; local
394 PATTERN *pt; local
831 REPLACE *pt; local
[all...]
H A Dgen_subs.c246 char *pt; local
252 pt = str + len - 1;
260 while (pt >= str) {
262 *pt-- = '0' + (char)digit;
264 *pt-- = 'a' + (char)(digit - 10);
269 while (pt >= str) {
270 *pt-- = '0' + (char)(val & 0x7);
279 while (pt >= str)
280 *pt-- = '0';
342 char *pt; local
[all...]
/freebsd-current/lib/libc/stdtime/
H A Dstrftime.c115 _fmt(const char *format, const struct tm * const t, char *pt, argument
132 pt = _add((t->tm_wday < 0 ||
135 pt, ptlim);
138 pt = _add((t->tm_wday < 0 ||
141 pt, ptlim);
144 pt = _add((t->tm_mon < 0 ||
148 pt, ptlim);
152 pt = _add((t->tm_mon < 0 ||
155 pt, ptlim);
165 pt
575 _conv(const int n, const char * const format, char * const pt, const char * const ptlim, locale_t loc) argument
585 _add(const char *str, char *pt, const char * const ptlim) argument
601 _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-current/contrib/tzcode/
H A Dstrftime.c164 _fmt(const char *format, const struct tm *t, char *pt, argument
177 pt = _add((t->tm_wday < 0 ||
180 pt, ptlim);
183 pt = _add((t->tm_wday < 0 ||
186 pt, ptlim);
189 pt = _add((t->tm_mon < 0 ||
192 pt, ptlim);
196 pt = _add((t->tm_mon < 0 ||
199 pt, ptlim);
209 pt
610 _conv(int n, const char *format, char *pt, const char *ptlim) argument
619 _add(const char *str, char *pt, const char *ptlim) argument
635 _yconv(int a, int b, bool convert_top, bool convert_yy, char *pt, const char *ptlim) argument
[all...]
/freebsd-current/contrib/ntp/ntpd/
H A Dntp_leapsec.c114 leap_table_t * pt)
116 if (pt == &_ltab[0] || pt == &_ltab[1])
117 _lptr = pt;
118 return _lptr == pt;
149 leap_table_t * pt)
151 memset(&pt->lsig, 0, sizeof(pt->lsig));
152 memset(&pt->head, 0, sizeof(pt
113 leapsec_set_table( leap_table_t * pt) argument
148 leapsec_clear( leap_table_t * pt) argument
160 leapsec_load( leap_table_t * pt, leapsec_reader func, void * farg, int use_build_limit ) argument
271 leap_table_t * pt; local
361 const leap_table_t * pt; local
375 const leap_table_t * pt; local
409 leap_table_t *pt; local
548 const leap_table_t * pt; local
560 const leap_table_t * pt; local
574 const leap_table_t * pt; local
626 leap_table_t * pt; local
642 leap_table_t * pt; local
712 reset_times( leap_table_t * pt) argument
725 add_range( leap_table_t * pt, const leap_info_t * pi) argument
839 reload_limits( leap_table_t * pt, const vint64 * ts) argument
982 leapsec_raw( leap_table_t * pt, const vint64 * ttime, int taiof, int dynls) argument
[all...]
/freebsd-current/crypto/openssl/crypto/ec/
H A Dec_print.c55 EC_POINT *pt = NULL; local
61 pt = EC_POINT_new(group);
62 if (pt == NULL)
65 pt = point;
74 || !EC_POINT_oct2point(group, pt, oct_buf, oct_buf_len, ctx))
80 if (pt != point)
81 EC_POINT_clear_free(pt);
82 pt = NULL;
84 return pt;
/freebsd-current/sbin/nvmecontrol/
H A Dnvmecontrol.c101 struct nvme_pt_command pt; local
103 memset(&pt, 0, sizeof(pt));
104 pt.cmd.opc = NVME_OPC_IDENTIFY;
105 pt.cmd.cdw10 = htole32(1);
106 pt.buf = cdata;
107 pt.len = sizeof(*cdata);
108 pt.is_read = 1;
110 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0)
116 if (nvme_completion_is_error(&pt
124 struct nvme_pt_command pt; local
[all...]
H A Dns.c399 struct nvme_pt_command pt; local
422 memset(&pt, 0, sizeof(pt));
423 pt.cmd.opc = NVME_OPC_IDENTIFY;
424 pt.cmd.nsid = htole32(0);
425 pt.cmd.cdw10 = htole32(0x02);
426 pt.buf = list;
427 pt.len = sizeof(list);
428 pt.is_read = 1;
429 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) <
444 struct nvme_pt_command pt; local
489 struct nvme_pt_command pt; local
541 struct nvme_pt_command pt; local
632 struct nvme_pt_command pt; local
699 struct nvme_pt_command pt; local
769 struct nvme_pt_command pt; local
846 struct nvme_pt_command pt; local
897 struct nvme_pt_command pt; local
[all...]
H A Dresv.c236 struct nvme_pt_command pt; local
253 memset(&pt, 0, sizeof(pt));
254 pt.cmd.opc = NVME_OPC_RESERVATION_ACQUIRE;
255 pt.cmd.nsid = htole32(nsid);
256 pt.cmd.cdw10 = htole32((acquire_opt.racqa & 7) |
258 pt.buf = &data;
259 pt.len = sizeof(data);
260 pt.is_read = 0;
262 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) <
275 struct nvme_pt_command pt; local
314 struct nvme_pt_command pt; local
352 struct nvme_pt_command pt; local
[all...]
H A Dselftest.c58 struct nvme_pt_command pt; local
60 memset(&pt, 0, sizeof(pt));
61 pt.cmd.opc = NVME_OPC_DEVICE_SELF_TEST;
62 pt.cmd.nsid = htole32(nsid);
63 pt.cmd.cdw10 = htole32(stc);
65 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0)
68 if (NVME_STATUS_GET_SCT(pt.cpl.status) == NVME_SCT_COMMAND_SPECIFIC &&
69 NVME_STATUS_GET_SC(pt.cpl.status) == NVME_SC_SELF_TEST_IN_PROGRESS)
71 else if (nvme_completion_is_error(&pt
[all...]
H A Dpower.c102 struct nvme_pt_command pt; local
106 memset(&pt, 0, sizeof(pt));
107 pt.cmd.opc = NVME_OPC_SET_FEATURES;
108 pt.cmd.cdw10 = htole32(NVME_FEAT_POWER_MANAGEMENT | p);
109 pt.cmd.cdw11 = htole32(power_val | (workload << 5));
111 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) < 0)
114 if (nvme_completion_is_error(&pt.cpl))
121 struct nvme_pt_command pt; local
123 memset(&pt,
[all...]
H A Dfirmware.c159 struct nvme_pt_command pt; local
180 memset(&pt, 0, sizeof(pt));
181 pt.cmd.opc = NVME_OPC_FIRMWARE_IMAGE_DOWNLOAD;
182 pt.cmd.cdw10 = htole32((size / sizeof(uint32_t)) - 1);
183 pt.cmd.cdw11 = htole32(off / sizeof(uint32_t));
184 pt.buf = chunk;
185 pt.len = size;
186 pt.is_read = 0;
188 if (ioctl(fd, NVME_PASSTHROUGH_CMD, &pt) <
203 struct nvme_pt_command pt; local
[all...]
/freebsd-current/lib/libc/gen/
H A Dgetcwd.c55 __ssp_real(getcwd)(char *pt, size_t size) argument
76 if (pt) {
86 ept = pt + size;
88 if ((pt = malloc(ptsize = PATH_MAX)) == NULL)
90 ept = pt + ptsize;
92 if (__getcwd(pt, ept - pt) == 0) {
93 if (*pt != '/') {
94 bpt = pt;
95 ept = pt
[all...]
/freebsd-current/crypto/openssl/crypto/aes/
H A Daes_local.h23 # define GETU32(pt) (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3]))
/freebsd-current/usr.sbin/ppp/
H A Dtimer.c80 struct pppTimer *t, *pt; local
104 pt = NULL;
109 pt = t;
123 if (pt) {
124 pt->next = tp;
139 struct pppTimer *t, *pt; local
150 pt = NULL;
152 pt = t;
155 if (pt)
156 pt
238 struct pppTimer *pt; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/icp/algs/aes/
H A Daes_impl_aesni.c37 const uint32_t pt[4], uint32_t ct[4]);
39 const uint32_t ct[4], uint32_t pt[4]);
75 * pt Input block (plain text)
76 * ct Output block (crypto text). Can overlap with pt
79 aes_aesni_encrypt(const uint32_t rk[], int Nr, const uint32_t pt[4], argument
83 aes_encrypt_intel(rk, Nr, pt, ct);
99 * pt Output block (plain text). Can overlap with pt
103 uint32_t pt[4])
106 aes_decrypt_intel(rk, Nr, ct, pt);
102 aes_aesni_decrypt(const uint32_t rk[], int Nr, const uint32_t ct[4], uint32_t pt[4]) argument
[all...]
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dgetcwd.c51 getcwd(char *pt, size_t size) argument
71 if (pt) {
80 ept = pt + size;
82 if ((pt = malloc(ptsize = MAXPATHLEN)) == NULL)
84 ept = pt + ptsize;
126 memmove(pt, bpt, ept - bpt);
128 return (pt);
192 if (bpt - pt < dp->d_namlen + (first ? 1 : 2)) {
201 if ((npt = realloc(pt, ptsize *= 2)) == NULL)
203 bpt = npt + (bpt - pt);
[all...]
/freebsd-current/crypto/openssl/util/
H A Dcavs-to-evptest.pl21 my $pt = "";
75 $pt = $2;
104 print " $pt";
118 $pt = "";
/freebsd-current/usr.bin/systat/
H A Dpigs.c57 } *pt = NULL; variable in typeref:struct:p_times
88 qsort(pt, nproc, sizeof (struct p_times), compar);
93 for (k = 0; i > 0 && pt[k].pt_pctcpu > 0.01; i--, y++, k++) {
94 uname = user_from_uid(pt[k].pt_kp->ki_uid, 0);
95 pname = pt[k].pt_kp->ki_comm;
102 for (j = pt[k].pt_pctcpu * 50 + 0.5; j > 0; j--)
149 if ((pt = realloc(pt, nproc * sizeof(*pt))) == NULL) {
159 pt[
[all...]
/freebsd-current/usr.bin/pr/
H A Dpr.h71 char *pt; /* ptr to col */ member in struct:vcol
/freebsd-current/sys/dev/drm2/
H A Ddrm_auth.c54 struct drm_magic_entry *pt; local
60 pt = drm_hash_entry(hash, struct drm_magic_entry, hash_item);
61 retval = pt->priv;
109 struct drm_magic_entry *pt; local
120 pt = drm_hash_entry(hash, struct drm_magic_entry, hash_item);
122 list_del(&pt->head);
125 free(pt, DRM_MEM_MAGIC);
/freebsd-current/usr.sbin/pmc/
H A Dpmc_util.c86 struct pmcstat_target *pt; local
94 pt = SLIST_FIRST(&args->pa_targets);
95 return (pt->pt_pid);
101 struct pmcstat_target *pt; local
109 pt = SLIST_FIRST(&args->pa_targets);
110 assert(pt != NULL);
112 if (kill(pt->pt_pid, SIGINT) != 0)

Completed in 168 milliseconds

123456789