/freebsd-10.0-release/contrib/mdocml/ |
H A D | main.c | 85 struct curparse curp; local 95 memset(&curp, 0, sizeof(struct curparse)); 98 curp.outtype = OUTT_ASCII; 99 curp.wlevel = MANDOCLEVEL_FATAL; 109 (void)strlcat(curp.outopts, optarg, BUFSIZ); 110 (void)strlcat(curp.outopts, ",", BUFSIZ); 113 if ( ! toptions(&curp, optarg)) 117 if ( ! woptions(&curp, optarg)) 128 curp.mp = mparse_alloc(type, curp 185 parse(struct curparse *curp, int fd, const char *file, enum mandoclevel *level) argument 316 toptions(struct curparse *curp, char *arg) argument 349 woptions(struct curparse *curp, char *arg) argument [all...] |
H A D | read.c | 224 pset(const char *buf, int pos, struct mparse *curp) argument 247 switch (curp->inttype) { 249 if (NULL == curp->pmdoc) 250 curp->pmdoc = mdoc_alloc(curp->roff, curp); 251 assert(curp->pmdoc); 252 curp->mdoc = curp->pmdoc; 255 if (NULL == curp 284 mparse_buf_r(struct mparse *curp, struct buf blk, int start) argument 620 mparse_end(struct mparse *curp) argument 646 mparse_parse_buffer(struct mparse *curp, struct buf blk, const char *file, int re) argument 665 mparse_readmem(struct mparse *curp, const void *buf, size_t len, const char *file) argument 678 mparse_readfd_r(struct mparse *curp, int fd, const char *file, int re) argument 715 mparse_readfd(struct mparse *curp, int fd, const char *file) argument 725 struct mparse *curp; local 741 mparse_reset(struct mparse *curp) argument 759 mparse_free(struct mparse *curp) argument 776 mparse_result(struct mparse *curp, struct mdoc **mdoc, struct man **man) argument [all...] |
/freebsd-10.0-release/sys/kern/ |
H A D | subr_module.c | 47 caddr_t curp; local 53 curp = preload_metadata; 55 hdr = (uint32_t *)curp; 61 !strcmp(name, curp + sizeof(uint32_t) * 2)) 62 return(curp); 67 curp += next; 79 caddr_t curp, lname; local 85 curp = preload_metadata; 88 hdr = (uint32_t *)curp; 94 lname = curp; 116 caddr_t curp; local 158 caddr_t curp; local 202 caddr_t curp; local 260 caddr_t curp; local [all...] |
H A D | kern_resource.c | 182 struct proc *curp, *p; local 186 curp = td->td_proc; 190 PROC_LOCK(curp); 191 error = donice(td, curp, uap->prio); 192 PROC_UNLOCK(curp); 208 pg = curp->p_pgrp;
|
H A D | sys_process.c | 637 struct proc *curp, *p, *pp; local 651 curp = td->td_proc; 757 if (curp->p_flag & P_TRACED) { 758 for (pp = curp->p_pptr; pp != NULL; pp = pp->p_pptr) {
|
H A D | kern_prot.c | 397 struct proc *curp = td->td_proc; local 411 if (uap->pid != 0 && uap->pid != curp->p_pid) { 426 targp->p_session != curp->p_session) { 438 targp = curp; 459 pgrp->pg_session != curp->p_session) {
|
/freebsd-10.0-release/usr.sbin/crunch/crunchide/ |
H A D | crunchide.c | 149 struct keep *newp, *prevp, *curp; local 154 for(curp = keep_list, prevp = NULL; curp; prevp = curp, curp = curp->next) 155 if((cmp = strcmp(symbol, curp->sym)) <= 0) break; 157 if(curp && cmp == 0) 167 newp->next = curp; 175 struct keep *curp; local [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_diff/ |
H A D | diff_file.c | 84 char *curp; /* current position in the current chunk */ member in struct:svn_diff__file_baton_t::file_info 217 /* For all files in the FILE array, increment the curp pointer. If a file 220 * buffer and point curp to the start of the chunk. If EOF is reached, set 221 * curp equal to endp to indicate EOF. */ 228 if ((all_files)[svn_macro__i].curp < (all_files)[svn_macro__i].endp - 1)\ 229 (all_files)[svn_macro__i].curp++; \ 236 /* For all files in the FILE array, decrement the curp pointer. If the 238 * point curp to the last byte of the chunk. If the beginning of a FILE is 246 if ((all_files)[svn_macro__i].curp > (all_files)[svn_macro__i].buffer) \ 247 (all_files)[svn_macro__i].curp 853 char *curp; local 1385 char *curp[2]; member in struct:svn_diff__file_output_baton_t 1417 char *curp; local 1960 char *curp[3]; member in struct:svn_diff3__file_output_baton_t 2073 char *curp; local [all...] |
H A D | util.c | 148 const char *curp, *endp; local 198 [ start, start + included_len ) [ start + included_len, curp ) 211 if (start == curp) \ 232 start = curp; \ 241 if (*curp == (x)) \ 257 for (curp = buf, endp = buf + *lengthp; curp != endp; ++curp) 259 switch (*curp) 279 if (svn_ctype_isspace(*curp) [all...] |
H A D | diff_memory.c | 221 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 1031 const char *curp; local [all...] |
/freebsd-10.0-release/usr.bin/hexdump/ |
H A D | display.c | 233 static u_char *curp, *savp; local 239 if (!curp) { 240 if ((curp = calloc(1, blocksize)) == NULL) 245 tmpp = curp; 246 curp = savp; 268 bcmp(curp, savp, nread) == 0) { 273 bzero((char *)curp + nread, need); 275 return(curp); 277 n = fread((char *)curp + nread, sizeof(u_char), 295 bcmp(curp, sav [all...] |
/freebsd-10.0-release/sys/netpfil/ipfw/ |
H A D | dn_heap.c | 493 void **curp, *cur, *next; local 498 curp = &ht->ht[i]; 499 while ( (cur = *curp) != NULL) { 505 *curp = next; 507 curp = (void **)((char *)cur + ht->ofs); 529 void **curp, *cur, *next; local 537 curp = &ht->ht[i]; 538 while ( (cur = *curp) != NULL) { 544 *curp = next; 546 curp [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_wc/ |
H A D | old-and-busted.c | 1192 char *curp; 1206 curp = (char *)buf->data; 1211 if (curp != endp && !svn_ctype_isdigit(*curp)) 1222 SVN_ERR(read_val(&val, &curp, endp)); 1233 while (curp != endp) 1235 svn_error_t *err = read_entry(&entry, &curp, endp, 1241 curp = memchr(curp, '\f', endp - curp); 1191 char *curp; local [all...] |
/freebsd-10.0-release/sys/fs/procfs/ |
H A D | procfs_ctl.c | 58 * relative to process (curp) 60 #define TRACE_WAIT_P(curp, p) \ 62 (p)->p_pptr == (curp) && \
|