Home
last modified time | relevance | path

Searched refs:p (Results 1 – 25 of 3614) sorted by relevance

12345678910>>...145

/illumos-gate/usr/src/cmd/mandoc/
H A Dterm_ps.c535 p->tcol = p->tcols = mandoc_calloc(1, sizeof(*p->tcol)); in pspdf_alloc()
775 p->ps->psrow = p->ps->top; in ps_closepage()
866 p->ps->pscol = p->ps->left; in ps_begin()
872 (*p->headf)(p, p->argf); in ps_begin()
873 (*p->endline)(p); in ps_begin()
875 p->ps->pscol = p->ps->left; in ps_begin()
878 (*p->footf)(p, p->argf); in ps_begin()
879 (*p->endline)(p); in ps_begin()
951 p->ps->psrow = p->ps->top; in ps_begin()
996 ps_printf(p, "%.3f", AFM2PNT(p, p->ps->pscol)); in ps_pletter()
[all …]
H A Dterm.c56 p->tcol = p->tcols; in term_setcol()
62 for (p->tcol = p->tcols; p->tcol < p->tcols + p->maxtcol; p->tcol++) in term_free()
77 (*p->begin)(p); in term_begin()
84 (*p->end)(p); in term_end()
400 (*p->letter)(p, p->tcol->buf[ic]); in term_field()
406 dv = (*p->width)(p, p->tcol->buf[ic]); in term_field()
423 (*p->advance)(p, p->maxrmargin - p->viscol + 1); in endline()
430 (*p->endline)(p); in endline()
473 p->fontl = p->fontq[p->fonti]; in term_fontlast()
482 p->fontl = p->fontq[p->fonti]; in term_fontrepl()
[all …]
H A Dmdoc_term.c261 p->tcol->rmargin = p->maxrmargin = p->defrmargin; in terminal_mdoc()
537 p->maxrmargin ? p->maxrmargin - titlen : p->maxrmargin; in print_mdoc_head()
1005 p->tcol->rmargin = p->tcol->offset + term_len(p, 1); in termp_nm_pre()
1285 p->tcol->offset = term_len(p, p->defindent); in termp_sh_pre()
1338 p->tcol->offset += term_len(p, p->defindent + 1); in termp_d1_pre()
1370 p->tcol->rmargin = p->tcol->offset + term_len(p, 4); in termp_fn_pre()
1462 p->tcol->offset += term_len(p, p->defindent + 1); in termp_bd_pre()
1464 p->tcol->offset += term_len(p, (p->defindent + 1) * 2); in termp_bd_pre()
1543 p->tcol->offset = term_len(p, (p->defindent+1)/2); in termp_ss_pre()
1546 p->tcol->offset = term_len(p, p->defindent); in termp_ss_pre()
[all …]
H A Dman_term.c156 p->tcol->rmargin = p->maxrmargin = p->defrmargin; in terminal_man()
249 p->tcol->rmargin = p->maxrmargin; in pre_literal()
379 p->tcol->offset -= p->tcol->offset > v ? v : p->tcol->offset; in pre_in()
385 p->tcol->offset = term_len(p, p->defindent); in pre_in()
434 len = term_len(p, p->defindent); in pre_HP()
467 p->tcol->rmargin = p->maxrmargin; in post_HP()
523 len = term_len(p, p->defindent); in pre_IP()
537 p->tcol->rmargin = p->maxrmargin; in pre_IP()
555 p->tcol->rmargin = p->maxrmargin; in post_IP()
783 p->tcol->rmargin = p->maxrmargin; in pre_RS()
[all …]
H A Dterm_ascii.c70 p = mandoc_calloc(1, sizeof(*p)); in ascii_init()
71 p->tcol = p->tcols = mandoc_calloc(1, sizeof(*p->tcol)); in ascii_init()
179 p->tcol->rmargin = p->maxrmargin = p->defrmargin; in ascii_setwidth()
189 (*p->endline)(p); in terminal_sepline()
191 (*p->letter)(p, '-'); in terminal_sepline()
192 (*p->endline)(p); in terminal_sepline()
193 (*p->endline)(p); in terminal_sepline()
220 (*p->headf)(p, p->argf); in ascii_begin()
227 (*p->footf)(p, p->argf); in ascii_end()
235 p->tcol->offset -= p->ti; in ascii_endline()
[all …]
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dvdbeaux.c182 p->aLabel[-1-x] = p->nOp; in sqliteVdbeResolveLabel()
184 if( p->aOp[j].p2==x ) p->aOp[j].p2 = p->nOp; in sqliteVdbeResolveLabel()
247 if( p && addr>=0 && p->nOp>addr && p->aOp ){ in sqliteVdbeChangeP1()
259 if( p && addr>=0 && p->nOp>addr && p->aOp ){ in sqliteVdbeChangeP2()
467 assert( p && p->pFunc ); in sqlite_user_data()
481 assert( p && p->pFunc && p->pFunc->xStep ); in sqlite_aggregate_context()
502 assert( p && p->pFunc && p->pFunc->xStep ); in sqlite_aggregate_count()
601 if( p->nOp==0 || (p->aOp && p->aOp[p->nOp-1].opcode!=OP_Halt) ){ in sqliteVdbeMakeReady()
623 p->anVar = (int*)&p->azVar[p->nVar]; in sqliteVdbeMakeReady()
624 p->abVar = (u8*)&p->anVar[p->nVar]; in sqliteVdbeMakeReady()
[all …]
/illumos-gate/usr/src/common/lzma/
H A DLzFind.c68 Byte *dest = p->buffer + (p->streamPos - p->pos); in MatchFinder_ReadBlock()
72 p->result = p->stream->Read(p->stream, dest, &size); in MatchFinder_ReadBlock()
81 if (p->streamPos - p->pos > p->keepSizeAfter) in MatchFinder_ReadBlock()
90 (size_t)(p->streamPos - p->pos + p->keepSizeBefore)); in MatchFinder_MoveBlock()
91 p->buffer = p->bufferBase + p->keepSizeBefore; in MatchFinder_MoveBlock()
97 return ((size_t)(p->bufferBase + p->blockSize - p->buffer) <= p->keepSizeAfter); in MatchFinder_NeedMove()
104 if (p->keepSizeAfter >= p->streamPos - p->pos) in MatchFinder_ReadIfRequired()
232 p->son = p->hash + p->hashSizeSum; in MatchFinder_Create()
273 p->pos = p->streamPos = p->cyclicBufferSize; in MatchFinder_Init()
310 if (!p->streamEndWasReached && p->keepSizeAfter == p->streamPos - p->pos) in MatchFinder_CheckLimits()
[all …]
H A DLzmaEnc.c53 p->dictSize = p->mc = 0; in LzmaEncProps_Init()
54 p->lc = p->lp = p->pb = p->algo = p->fb = p->btMode = p->numHashBytes = p->numThreads = -1; in LzmaEncProps_Init()
64 if (p->lc < 0) p->lc = 3; in LzmaEncProps_Normalize()
65 if (p->lp < 0) p->lp = 0; in LzmaEncProps_Normalize()
66 if (p->pb < 0) p->pb = 2; in LzmaEncProps_Normalize()
69 if (p->btMode < 0) p->btMode = (p->algo == 0 ? 0 : 1); in LzmaEncProps_Normalize()
71 if (p->mc == 0) p->mc = (16 + (p->fb >> 1)) >> (p->btMode ? 0 : 1); in LzmaEncProps_Normalize()
72 if (p->numThreads < 0) p->numThreads = ((p->btMode && p->algo) ? 2 : 1); in LzmaEncProps_Normalize()
482 #define RangeEnc_GetProcessed(p) ((p)->processed + ((p)->buf - (p)->bufBase) + (p)->cacheSize) argument
511 p->buf = p->bufBase; in RangeEnc_Init()
[all …]
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_initf.c34 p->name = NSS_DBNAM_PASSWD; in _nss_initf_passwd()
41 p->name = NSS_DBNAM_HOSTS; in _nss_initf_hosts()
48 p->name = NSS_DBNAM_GROUP; in _nss_initf_group()
55 p->name = NSS_DBNAM_IPNODES; in _nss_initf_ipnodes()
74 _nss_initf_rpc(p) in _nss_initf_rpc() argument
75 nss_db_params_t *p; in _nss_initf_rpc()
77 p->name = NSS_DBNAM_RPC;
84 p->name = NSS_DBNAM_ETHERS; in _nss_initf_ethers()
178 p->name = NSS_DBNAM_SHADOW; in _nss_initf_shadow()
186 p->name = NSS_DBNAM_PASSWD; in _nss_initf_passwd_compat()
[all …]
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dudfslib.c277 p->ext_len = SWAP32(p->ext_len); in ud_swap_ext_ad()
278 p->ext_loc = SWAP32(p->ext_loc); in ud_swap_ext_ad()
320 p->pvd_vsn = SWAP16(p->pvd_vsn); in ud_swap_pri_vol_desc()
322 p->pvd_il = SWAP16(p->pvd_il); in ud_swap_pri_vol_desc()
323 p->pvd_mil = SWAP16(p->pvd_mil); in ud_swap_pri_vol_desc()
324 p->pvd_csl = SWAP32(p->pvd_csl); in ud_swap_pri_vol_desc()
362 p->pd_vdsn = SWAP32(p->pd_vdsn); in ud_swap_part_desc()
398 p->ua_nad = SWAP32(p->ua_nad); in ud_swap_unall_desc()
500 p->fe_uid = SWAP32(p->fe_uid); in ud_swap_file_entry()
501 p->fe_gid = SWAP32(p->fe_gid); in ud_swap_file_entry()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/backend/
H A Dpointer-add.c1 char *caddv(char *p, int o) { char *r = p; r = r + o; return r; } in caddv() argument
2 void *vaddv(void *p, int o) { void *r = p; r = r + o; return r; } in vaddv() argument
35 char *cretaddv(char *p, int o) { return p + o; } in cretaddv() argument
36 void *vretaddv(void *p, int o) { return p + o; } in vretaddv() argument
37 int *iretaddv(int *p, int o) { return p + o; } in iretaddv() argument
39 char *cretaddc(char *p, int o) { return p + 3; } in cretaddc() argument
40 void *vretaddc(void *p, int o) { return p + 3; } in vretaddc() argument
41 int *iretaddc(int *p, int o) { return p + 3; } in iretaddc() argument
43 char *cretincv(char *p, int o) { return p += o; } in cretincv() argument
44 void *vretincv(void *p, int o) { return p += o; } in vretincv() argument
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dexit.c643 delete_ns(p->p_parent, p); in proc_exit()
759 p->p_ru.minflt += p->p_cru.minflt; in proc_exit()
760 p->p_ru.majflt += p->p_cru.majflt; in proc_exit()
761 p->p_ru.nswap += p->p_cru.nswap; in proc_exit()
762 p->p_ru.inblock += p->p_cru.inblock; in proc_exit()
764 p->p_ru.msgsnd += p->p_cru.msgsnd; in proc_exit()
765 p->p_ru.msgrcv += p->p_cru.msgrcv; in proc_exit()
767 p->p_ru.nvcsw += p->p_cru.nvcsw; in proc_exit()
768 p->p_ru.nivcsw += p->p_cru.nivcsw; in proc_exit()
769 p->p_ru.sysc += p->p_cru.sysc; in proc_exit()
[all …]
/illumos-gate/usr/src/man/man7p/
H A DMakefile56 ARP.7p := LINKSRC = arp.7p
58 ICMP.7p := LINKSRC = icmp.7p
60 if.7p := LINKSRC = if_tcp.7p
62 IP.7p := LINKSRC = ip.7p
64 AH.7p := LINKSRC = ipsecah.7p
66 ESP.7p := LINKSRC = ipsecesp.7p
68 NDP.7p := LINKSRC = ndp.7p
70 RARP.7p := LINKSRC = rarp.7p
72 SCTP.7p := LINKSRC = sctp.7p
74 TCP.7p := LINKSRC = tcp.7p
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_zip.c72 if ((p+6 > tail) || (p+7+p[6] > tail)) in interpret_ddp_zip()
136 p += p[0] + 1; in interpret_ddp_zip()
141 if (p+1 > tail || (&p[1] + p[0]) > tail) in interpret_ddp_zip()
154 if (p+7 > tail || (&p[7] + p[6]) > tail) in interpret_ddp_zip()
158 p = &p[7] + p[6]; in interpret_ddp_zip()
169 p = &p[1] + p[0]; in interpret_ddp_zip()
210 p = &p[7] + p[6]; in interpret_ddp_zip()
223 p = &p[1] + p[0]; in interpret_ddp_zip()
274 p += snprintf(p, tail-p, "IZ"); in zip_flags()
277 p += snprintf(p, tail-p, p == buf ? "UB" : " UB"); in zip_flags()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Daso12 #define _aso_inc8(p) __sync_fetch_and_add(p,1)
13 #define _aso_dec8(p) __sync_fetch_and_sub(p,1)
15 #define _aso_inc16(p) __sync_fetch_and_add(p,1)
16 #define _aso_dec16(p) __sync_fetch_and_sub(p,1)
161 #define _aso_cas8(p,o,n) cas8(p,o,n)
164 #define _aso_cas16(p,o,n) cas16(p,o,n)
192 #define _aso_cas8(p,o,n) cas8(p,o,n)
212 #define _aso_cas8(p,o,n) cas8(p,o,n)
235 #define _aso_cas8(p,o,n) cas8(p,o,n)
371 #define _aso_cas32(p,o,n) (__compare_and_swap(p,o,n) ? o : *p)
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dsfstr.c38 n += p->end - p->beg; in extend()
39 o = p->nxt - p->beg; in extend()
42 p->nxt = p->beg + o; in extend()
43 p->end = p->beg + n; in extend()
104 if (p->nxt >= p->end && extend(p, 1)) in sfputc()
125 if (r > (p->end - p->nxt) && extend(p, r)) in sfputr()
156 for (p = &strs[0]; p < &strs[elementsof(strs)]; p++) in sfstropen()
165 p->nxt = p->beg; in sfstropen()
212 r = p->nxt - p->beg; in sfstrtell()
223 if (VALID(p, f) && (p->nxt < p->end || !extend(p, 1))) in sfstruse()
[all …]
/illumos-gate/usr/src/lib/libnsl/saf/
H A Ddoconfig.c113 while (*p && isspace(*p)) in doconfig()
118 while (*p && !isspace(*p)) in doconfig()
123 p = eatwhite(p); in doconfig()
185 while (*p && !isspace(*p) && (*p != '=')) in doassign()
195 while (*p && isspace(*p)) in doassign()
210 p = eatwhite(p); in doassign()
211 if (*p == '\'' || *p == '"') { in doassign()
281 p = eatwhite(p); in dopush()
329 p = eatwhite(p); in dopop()
332 while (*p && !isspace(*p)) in dopop()
[all …]
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dutil.c55 for (p = str; *p != '\0'; p++) { in strnormalize()
61 while (p >= str && (isspace(*p) || *p == ';')) in strnormalize()
76 for (p = str; *p != '\0'; p++) in strtrim()
79 while (p >= str && isspace(*p)) in strtrim()
93 for (p = str; *p != '\0'; p++) { in strlower()
94 *p = tolower(*p); in strlower()
189 while (*p && isspace(*p)) in skipb()
201 while (*p && !isspace(*p)) in nextb()
215 while (*p && !(isalnum(*p) || *p == '_' || *p == '$')) in skipsep()
231 while (*p && isalnum(*p) || *p == '_' || *p == '$') in nextsep()
[all …]
/illumos-gate/usr/src/cmd/msgfmt/
H A Dcheck_header.c110 while ((*p == '#') || (*p == '\n')) { in check_gnu()
128 if ((*p != ' ') && (*p != '\t') && in check_gnu()
129 (*p != '\n') && (*p != '\0')) { in check_gnu()
134 while ((*p == ' ') || (*p == '\t')) in check_gnu()
143 while (*p && ((*p == ' ') || (*p == '\t'))) { in check_gnu()
146 if ((*p != '\n') && (*p != '\0')) { in check_gnu()
159 while ((*p == ' ') || (*p == '\t')) in check_gnu()
188 if ((*p != ' ') && (*p != '\t') && in check_gnu()
189 (*p != '\n') && (*p != '\0')) { in check_gnu()
195 while ((*p == ' ') || (*p == '\t')) in check_gnu()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dfts.c132 p->fts_accpath = p->fts_name; in fts_open()
204 len = p->fts_pathlen = p->fts_namelen; in fts_load()
230 p = p->fts_link ? p->fts_link : p->fts_parent; in fts_close()
287 p->fts_info = fts_stat(sp, p, 0, -1); in fts_read()
349 for (p = sp->fts_child; p; p = p->fts_link) in fts_read()
365 if ((p = p->fts_link) != NULL) { in fts_read()
718 p->fts_accpath = p->fts_path; in fts_build()
723 p->fts_accpath = p->fts_name; in fts_build()
892 for (ap = sp->fts_array, p = head; p; p = p->fts_link) in fts_sort()
993 for (p = sp->fts_child; p; p = p->fts_link) in fts_padjust()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_string_len.c49 p++; in handle_format()
54 p++; in handle_format()
60 if (isdigit(*p) || *p == '.') { in handle_format()
66 num = strtoul(p, &p, 10); in handle_format()
76 p++; in handle_format()
82 p++; in handle_format()
90 if (*p == 'h' || *p == 'n' || *p == 'b' || *p == 'l') in handle_format()
110 if (*p == 'R' || *p == 'F') in handle_format()
138 if (*p != 'd' && *p != 'i' && *p != 'x' && *p != 'X' && *p != 'u' && *p != 'p') { in handle_format()
153 if (*p == 'x' || *p == 'X' || *p == 'p') { in handle_format()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_conv.c71 char *p; local
93 P_32_SWAP(p);
95 P_32_SWAP(p);
108 P_32_SWAP(p);
110 P_32_SWAP(p);
139 char *p; local
153 P_32_SWAP(p);
155 P_32_SWAP(p);
168 P_32_SWAP(p);
170 P_32_SWAP(p);
[all …]
/illumos-gate/usr/src/cmd/auditd/
H A Ddoorway.c477 p = unload_plugin(p); in auditd_thread_init()
487 p = unload_plugin(p); in auditd_thread_init()
512 p = unload_plugin(p); in auditd_thread_init()
522 p = unload_plugin(p); in auditd_thread_init()
534 p = p->plg_next; in auditd_thread_init()
858 p = p->plg_next; in policy_is_block()
882 p = p->plg_next; in policy_update()
1019 p = p->plg_next; in queue_buffer()
1030 p = p->plg_next; in queue_buffer()
1088 p = p->plg_next; in adjust_priority()
[all …]
/illumos-gate/usr/src/cmd/tip/
H A Dvalue.c33 value_t *p; in vinit() local
38 for (p = vtable; p->v_name != NULL; p++) { in vinit()
43 number(p->v_value) = *address(p->v_value); in vinit()
122 value_t *p; in vlex() local
125 for (p = vtable; p->v_name; p++) in vlex()
147 value_t *p; in vtoken() local
251 value_t *p; in vlookup() local
253 for (p = vtable; p->v_name; p++) in vlookup()
254 if (equal(p->v_name, s) || (p->v_abrev && equal(p->v_abrev, s))) in vlookup()
304 *p++ = c; in vinterp()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_pq.c34 dt_pq_t *p; in dt_pq_init() local
40 p->dtpq_items = dt_zalloc(dtp, size * sizeof (p->dtpq_items[0])); in dt_pq_init()
52 return (p); in dt_pq_init()
61 dt_free(dtp, p); in dt_pq_fini()
68 return (p->dtpq_value(item, p->dtpq_arg)); in dt_pq_getvalue()
76 assert(p->dtpq_last < p->dtpq_size); in dt_pq_insert()
83 p->dtpq_items[i] = p->dtpq_items[i / 2]; in dt_pq_insert()
116 p->dtpq_last--; in dt_pq_pop()
117 p->dtpq_items[1] = p->dtpq_items[p->dtpq_last]; in dt_pq_pop()
118 p->dtpq_items[p->dtpq_last] = NULL; in dt_pq_pop()
[all …]

12345678910>>...145