Searched refs:chp (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.9.5/procmail-14/procmail/src/
H A Dvariables.c45 static void asenvtext P((const char*const chp)); /* needed by retStdout */
248 { char*chp; local
249 didchd=1;*(chp=strcpy(buf2,maildir)+STRLEN(maildir))='=';
250 strcpy(++chp,newdir);sputenv(buf2);
254 { char*chp;size_t len; local
257 strcpy(chp=malloc(len),lastfolder);
258 strlcat(chp,"=",len);
259 strlcat(chp,folder,len);
260 sputenv(chp);free(chp);
299 { const char*chp; local
333 { char*chp; local
[all...]
H A Dfoldinfo.c31 { char*chp;int type; local
32 type=ft_FILE;chp=strchr(buf,'\0');
33 switch(chp-buf)
35 if(chp[-1]==*MCDIRSEP_) /* "//" or "x/" */
36 chp--,type=ft_MAILDIR;
39 } /* Okay, put chp right before the type specifier */
40 if(chp[-1]==chCURDIR&&chp[-2]==*MCDIRSEP_) /* foo/. */
41 chp-=2,type=ft_MH;
42 else if(chp[
113 { struct stat stbuf;mode_t mode;int i;char*chp; local
[all...]
H A Dformail.c130 { struct field*p;size_t i;char*chp; local
131 p= *pointer;(chp=p->fld_text)[p->Tot_len-1]='\0';
132 if(eqFrom_(chp)) /* continued From_ to */
133 for(;chp=strstr(chp,"\n>");*++chp=' '); /* continued regular field */
135 { for(chp=p->fld_text;chp=strchr(chp,'\n');) /* continued regular */
136 if(*++chp
196 { char*chp;int i;size_t j;struct field*fp; local
216 { char*chp;int i,nowm;size_t j;static int lastm; local
370 size_t j,lnl,escaplen;char*chp,*namep,*escap=ESCAP; local
[all...]
H A Dprocmail.c98 { register char*chp,*chp2; local
152 if(!*(chp= ++chp2)&&!(chp=(char*)argv[++argc]))
180 if(Deliverymode==1&&!(chp=chp2))
290 do /* chp should point to the first recipient */
291 { chp2=chp;
305 while(chp=(char*)argv[argc]);
347 for(chp=(char*)rcfile+STRLEN(etcrcs)-1;
348 chp; /* any devious embedded /../? */
349 chp
588 { register char*chp=lastdirsep(buf),c; local
614 { const char*chp; local
621 chderr(chp),chp=curdir; /* that didn't work, use "." */ local
629 { int lastsucc,lastcond,prevcond,i,skiprc;register char*chp,*tolock; local
[all...]
H A Dcomsat.c64 int setcomsat(chp)const char*chp;
66 chad=strchr(chp,SERV_ADDRsep); /* @ separator? */
67 if(!chad&&!renvint(-1L,chp))
95 if(!*chp) /* no service */
96 chp=BIFF_serviceport; /* new balls please! */
97 s=strtol(chp,&chad,10);
98 if(chp!=chad) /* the service is not numeric */
102 serv=getservbyname(chp,COMSATprotocol); /* so get its no. */
H A Dmailfold.c134 static int dirfile(chp,linkonly,type)char*const chp;const int linkonly,type;
149 if(chp-buf+sizeNUM(i)>linebuf)
154 do ultstr(0,++i,chp); /* find first empty MH folder */
166 { if(!unique(buf,chp,linebuf,NORMperm,verbose,doMAILDIR))
169 memcpy(chp-MAILDIRLEN-1,maildirnew,MAILDIRLEN); /* but link directly */
173 if(chp-buf+mpl+sizeNUM(stbuf.st_ino)>linebuf)
176 ultoan((unsigned long)stbuf.st_ino,strcpy(chp,msgprefix)+mpl);
196 { char*chp,*chp2;mode_t mode;int fd,type; local
213 chp
334 { char*chp,*chp2;int i;static const char sfolder[]=FOLDER; local
375 { char*chp,*pastend;static size_t contlengthoffset; local
[all...]
H A Dfields.c21 { size_t i;int uhead;char*chp;register struct field*h; local
23 for(i=p->id_len,chp=(char*)p->fld_text,h= *ah;h;h= *(ah= &h->fld_next))
24 if(i>=h->id_len&&!strncasecmp(chp,h->fld_text,h->id_len))
26 *ah=0,(*(ah=addfield(ah,chp,i)))->fld_next=h,(h= *ah)->fld_ref=0;
78 { char*chp,*echp; local
79 echp=(chp=(char*)p->fld_text+p->id_len)+(int)(p->Tot_len-p->id_len-1);
81 { chp=skpspace(chp);
82 while(chp<echp)
90 putssn(chp,ech
[all...]
H A Dcomsat.h10 setcomsat P((const char*chp));
H A Dcommon.c40 char*skpspace(chp)const char*chp;
41 { for(;;chp++)
42 switch(*chp)
46 return (char*)chp;
H A Dmisc.c154 { char*chp=strchr(buf,'\0'); local
155 if(chp-buf+strlen(file)+2>linebuf) /* +2 for / and \0 */
159 *chp++= *MCDIRSEP_;
160 strcpy(chp,file); /* append the filename */
368 const char*newdynstring(adrp,chp)struct dynstring**const adrp;
369 const char*const chp;
371 curr=malloc(ioffsetof(struct dynstring,ename[0])+(len=strlen(chp)+1));
372 tmemmove(curr->ename,chp,len);curr->enext= *adrp;*adrp=curr;
387 { char*chp,*chp2,*startchar;double score;int scored,i,skippedempty; local
444 for(chp
[all...]
H A Dcommon.h7 *skpspace P((const char*chp));
H A Dvariables.h14 asenv P((const char*const chp)),
25 *gobenv P((char*chp,char*end));
H A Dfoldinfo.h21 screenmailbox Q((char*chp,const gid_t egid,const int Deliverymode));
H A Dformisc.c167 { long val=initfileno++;char*chp; local
168 chp=ffileno+LEN_FILENO_VAR;
170 *chp++='-';
171 ultstr(lenfileno-(val<0),val<0?-val:val,chp);
172 while(*chp==' ')
173 *chp++='0';
H A Dgoodies.c411 { int sign,any;unsigned i;char*chp;double acc,fracc; local
413 switch(*(chp=skpspace(str))) /* the sign */
415 case '+':chp++;
417 while((i=(unsigned)*chp++-'0')<=9) /* before the decimal point */
421 while(fracc/=10,(i=(unsigned)*chp++-'0')<=9) /* the fractional part */
425 *ptr=any?chp-1:(char**)str;
H A Dmisc.h61 *newdynstring P((struct dynstring**const adrp,const char*const chp));
/macosx-10.9.5/dcerpc-58/dcerpc/ncklib/
H A Dcomep.c942 mgmt_ep_inq_rep_t *chp;
963 chp,
969 chp->usage = MGMT_EP_C_INQUIRY_CONTEXT;
970 chp->done = false;
971 chp->ep_binding = ep_binding;
972 chp->inquiry_type = inquiry_type;
973 chp->vers_option = vers_option;
974 chp->entry_handle = NULL;
975 chp->num_ents = 0;
976 chp
936 mgmt_ep_inq_rep_t *chp; local
1088 mgmt_ep_inq_rep_t *chp; local
1303 mgmt_ep_inq_rep_t *chp; local
[all...]
/macosx-10.9.5/emacs-92/emacs/src/
H A Dw32gui.h90 #define STORE_XCHAR2B(chp, byte1, byte2) \
91 ((*chp) = ((XChar2b)((((byte1) & 0x00ff) << 8) | ((byte2) & 0x00ff))))
93 #define XCHAR2B_BYTE1(chp) \
94 (((*chp) & 0xff00) >> 8)
96 #define XCHAR2B_BYTE2(chp) \
97 ((*chp) & 0x00ff)
H A Dmacgui.h216 #define STORE_XCHAR2B(chp, b1, b2) \
217 ((chp)->byte1 = (b1), (chp)->byte2 = (b2))
219 #define XCHAR2B_BYTE1(chp) \
220 ((chp)->byte1)
222 #define XCHAR2B_BYTE2(chp) \
223 ((chp)->byte2)
H A Dxterm.h1114 #define STORE_XCHAR2B(chp, b1, b2) \
1115 ((chp)->byte1 = (b1), (chp)->byte2 = (b2))
1117 #define XCHAR2B_BYTE1(chp) \
1118 ((chp)->byte1)
1120 #define XCHAR2B_BYTE2(chp) \
1121 ((chp)->byte2)
/macosx-10.9.5/dcerpc-58/dcerpc/rpcd/
H A Drpcddb.c537 db_contexth_t *chp;
561 * Set chp and *entry_handle to the context's address.
565 chp = (db_contexth_t *) (*entry_handle);
566 entp = (db_entry_t *) chp->lp;
574 chp = (db_contexth_t *) (*entry_handle);
590 chp->db_handle = h;
591 chp->list_type = list_type;
592 chp->lp = lp;
593 chp->pass = pass;
600 db_contexth_t *chp;
535 db_contexth_t *chp; local
598 db_contexth_t *chp; local
621 db_contexth_t *chp; local
648 db_contexth_t *chp; local
680 db_contexth_t *chp; local
[all...]
/macosx-10.9.5/ppp-727.90.1/Helpers/pppd/
H A Dmain.c920 struct subprocess *chp; local
922 for (chp = children; chp != NULL; chp = chp->next)
923 dbglog(" script %s, pid %d", chp->prog, chp->pid);
2363 struct subprocess *chp;
2367 chp = (struct subprocess *) malloc(sizeof(struct subprocess));
2368 if (chp
[all...]
/macosx-10.9.5/file_cmds-230/ls/
H A Dls.c502 FTSENT *p, *chp; local
550 chp = fts_children(ftsp, ch_options);
553 for (curr = chp; curr; curr = curr->fts_link) {
558 display(p, chp);
560 if (!f_recursive && chp != NULL)
/macosx-10.9.5/xnu-2422.115.4/bsd/vfs/
H A Dvfs_utfconv.c196 u_int16_t * chp = NULL; local
210 ucs_ch = *chp++;
224 chp = &sequence[1];
266 u_int16_t * chp = NULL; local
285 ucs_ch = *chp++;
293 chp = &sequence[1];
/macosx-10.9.5/securityd-55199.3/securityd_service/securityd_service/
H A Dmain.c760 register char *chp = dst; local
765 sprintf(chp, "%.1x", * (unsigned char *) src);
766 chp += 1;
769 sprintf(chp, "%.2x", * (unsigned char *) src);
770 chp += 2;

Completed in 152 milliseconds

12