Searched refs:curp (Results 1 - 15 of 15) sorted by relevance

/freebsd-12-stable/sys/kern/
H A Dsubr_module.c52 caddr_t curp; local
58 curp = preload_metadata;
60 hdr = (uint32_t *)curp;
66 !strcmp(name, curp + sizeof(uint32_t) * 2))
67 return(curp);
72 curp += next;
84 caddr_t curp, lname; local
90 curp = preload_metadata;
93 hdr = (uint32_t *)curp;
99 lname = curp;
121 caddr_t curp; local
163 caddr_t curp; local
210 caddr_t addr, curp; local
281 caddr_t curp; local
[all...]
H A Dkern_resource.c178 struct proc *curp, *p; local
182 curp = td->td_proc;
186 PROC_LOCK(curp);
187 error = donice(td, curp, uap->prio);
188 PROC_UNLOCK(curp);
204 pg = curp->p_pgrp;
H A Dsys_process.c739 struct proc *curp, *p, *pp; local
758 curp = td->td_proc;
878 if (curp->p_flag & P_TRACED) {
879 for (pp = curp->p_pptr; pp != NULL; pp = pp->p_pptr) {
H A Dkern_prot.c375 struct proc *curp = td->td_proc; local
389 if (uap->pid != 0 && uap->pid != curp->p_pid) {
404 targp->p_session != curp->p_session) {
416 targp = curp;
437 pgrp->pg_session != curp->p_session) {
/freebsd-12-stable/contrib/mandoc/
H A Dread.c91 choose_parser(struct mparse *curp) argument
102 if ((format = roff_getformat(curp->roff)) == 0) {
103 cp = curp->primary->buf;
104 ep = cp + curp->primary->sz;
125 curp->man->meta.macroset = MACROSET_MDOC;
126 if (curp->man->mdocmac == NULL)
127 curp->man->mdocmac = roffhash_alloc(MDOC_Dd, MDOC_MAX);
129 curp->man->meta.macroset = MACROSET_MAN;
130 if (curp->man->manmac == NULL)
131 curp
144 mparse_buf_r(struct mparse *curp, struct buf blk, size_t i, int start) argument
425 read_whole_file(struct mparse *curp, int fd, struct buf *fb, int *with_mmap) argument
528 mparse_end(struct mparse *curp) argument
544 mparse_readfd(struct mparse *curp, int fd, const char *filename) argument
608 mparse_open(struct mparse *curp, const char *file) argument
646 struct mparse *curp; local
671 mparse_reset(struct mparse *curp) argument
681 mparse_free(struct mparse *curp) argument
692 mparse_result(struct mparse *curp) argument
[all...]
H A Dmain.c118 struct curparse curp; local
188 memset(&curp, 0, sizeof(struct curparse));
189 curp.outtype = OUTT_LOCALE;
190 curp.outopts = &conf.output;
228 if (curp.os_s != NULL) {
233 curp.os_s = mandoc_strdup(optarg + 3);
277 curp.outtype = OUTT_ASCII;
279 curp.outtype = OUTT_LINT;
283 curp.outtype = OUTT_TREE;
285 curp
922 parse(struct curparse *curp, int fd, const char *file) argument
1038 outdata_alloc(struct curparse *curp) argument
1127 woptions(struct curparse *curp, char *arg) argument
[all...]
/freebsd-12-stable/usr.sbin/crunch/crunchide/
H A Dcrunchide.c148 struct keep *newp, *prevp, *curp; local
153 for(curp = keep_list, prevp = NULL; curp; prevp = curp, curp = curp->next)
154 if((cmp = strcmp(symbol, curp->sym)) <= 0) break;
156 if(curp && cmp == 0)
166 newp->next = curp;
174 struct keep *curp; local
[all...]
/freebsd-12-stable/contrib/subversion/subversion/libsvn_diff/
H A Ddiff_file.c86 char *curp; /* current position in the current chunk */ member in struct:svn_diff__file_baton_t::file_info
231 /* For all files in the FILE array, increment the curp pointer. If a file
234 * buffer and point curp to the start of the chunk. If EOF is reached, set
235 * curp equal to endp to indicate EOF. */
242 if ((all_files)[svn_macro__i].curp < (all_files)[svn_macro__i].endp - 1)\
243 (all_files)[svn_macro__i].curp++; \
250 /* For all files in the FILE array, decrement the curp pointer. If the
252 * point curp to the last byte of the chunk. If the beginning of a FILE is
260 if ((all_files)[svn_macro__i].curp > (all_files)[svn_macro__i].buffer) \
261 (all_files)[svn_macro__i].curp
862 char *curp; local
1404 char *curp[2]; member in struct:svn_diff__file_output_baton_t
1442 char *curp; local
2016 char *curp[3]; member in struct:svn_diff3__file_output_baton_t
2139 char *curp; local
[all...]
H A Dutil.c154 const char *curp, *endp; local
204 [ start, start + included_len ) [ start + included_len, curp )
217 if (start == curp) \
238 start = curp; \
247 if (*curp == (x)) \
263 for (curp = buf, endp = buf + *lengthp; curp != endp; ++curp)
265 switch (*curp)
285 if (svn_ctype_isspace(*curp)
[all...]
H A Ddiff_memory.c221 const char *curp; local
229 for (startp = curp = text->data, endp = curp + text->len;
230 curp != endp; curp++)
232 if (curp != endp && *curp == '\r' && *(curp + 1) == '\n')
233 curp++;
235 if (*curp
1030 const char *curp; local
[all...]
/freebsd-12-stable/usr.bin/hexdump/
H A Ddisplay.c241 static u_char *curp, *savp; local
247 if (!curp) {
248 if ((curp = calloc(1, blocksize)) == NULL)
253 tmpp = curp;
254 curp = savp;
276 bcmp(curp, savp, nread) == 0) {
281 bzero((char *)curp + nread, need);
283 return(curp);
285 n = fread((char *)curp + nread, sizeof(u_char),
303 bcmp(curp, sav
[all...]
/freebsd-12-stable/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c813 struct ifaddrs *curp; local
843 curp = ifap;
844 while (curp != NULL) {
845 if (curp->ifa_addr == NULL) {
846 curp = curp->ifa_next;
851 (strncmp(curp->ifa_name, if_name, strlen(if_name)))) {
856 curp = curp->ifa_next;
866 if ((family != 0) && (curp
[all...]
/freebsd-12-stable/sys/netpfil/ipfw/
H A Ddn_heap.c497 void **curp, *cur, *next; local
502 curp = &ht->ht[i];
503 while ( (cur = *curp) != NULL) {
509 *curp = next;
511 curp = (void **)((char *)cur + ht->ofs);
533 void **curp, *cur, *next; local
541 curp = &ht->ht[i];
542 while ( (cur = *curp) != NULL) {
548 *curp = next;
550 curp
[all...]
/freebsd-12-stable/contrib/subversion/subversion/libsvn_wc/
H A Dold-and-busted.c1196 char *curp;
1211 curp = (char *)buf->data;
1216 if (curp != endp && !svn_ctype_isdigit(*curp))
1227 SVN_ERR(read_val(&val, &curp, endp));
1238 while (curp != endp)
1240 svn_error_t *err = read_entry(&entry, &curp, endp,
1246 curp = memchr(curp, '\f', endp - curp);
1195 char *curp; local
[all...]
/freebsd-12-stable/contrib/wpa/src/fst/
H A Dfst_ctrl_iface.c824 const char *curp; local
828 curp = params;
829 if (*curp) {
830 ret = (int) strtol(curp, endp, 0);

Completed in 274 milliseconds