Searched defs:head (Results 1 - 25 of 60) sorted by relevance

123

/ast/src/lib/libpp/
H A Dppcomment.c31 ppcomment(char* head, char* comment, char* tail, int line) argument
34 ppprintf("%s%-.*s%s", head, MAXTOKEN - 4, comment, tail);
H A Dppargs.c169 pplint(char* head, char* comment, char* tail, int line) argument
/ast/src/lib/libcodex/
H A Dcodexid.c32 codexid(const void* head, size_t headsize, char* name, size_t namesize) argument
37 if (meth->identf && (*meth->identf)(meth, head, headsize, name, namesize))
/ast/src/lib/libvcodex/
H A Dvcbuffer.c28 Vcchar_t* _vcbuffer(Vcodex_t* vc, Vcchar_t* trunc, ssize_t size, ssize_t head) argument
30 Vcchar_t* _vcbuffer(vc, trunc, size, head)
34 ssize_t head; /* head room in front of buffer */
77 size += (head = trunc - (Vcchar_t*)b->buf);
95 return (Vcchar_t*)(&b->buf[head]);
123 { head = (head <= 0 ? 0 : head) + vc->head; /* require
[all...]
H A Dvcrecode.c28 int vcrecode(Vcodex_t* vc, Vcchar_t** dtp, ssize_t* dtz, ssize_t head, int type) argument
30 int vcrecode(vc, dtp, dtz, head, type)
34 ssize_t head; /* extra header */
44 /* ask follow-on coders to leave head room */
45 vc->coder->head += vc->head + head;
47 vc->coder->head -= vc->head + head;
[all...]
/ast/src/lib/librecsort/
H A Drs-copy.c31 Rsobj_t* head; member in struct:Copy_s
48 copy->head = obj;
67 return copy->head;
H A Drswrite.c83 ssize_t w, head, n; local
115 head = (rs->type&RS_DSAMELEN) ? -1 : (rs->disc->data & ~0xff) ? 0 : sizeof(ssize_t);
117 head = (rs->type&RS_DSAMELEN) ? -1 : sizeof(ssize_t);
148 { if(head>=0)
170 { if(head>=0)
241 w = (n = r->datalen) + (head>0?head:0);
243 if(head>0)
248 else if(head>=0)
250 { w = (n = r->datalen) + head;
[all...]
/ast/src/cmd/cs/vcs_src/
H A Dvcs_dir.c28 static rdirent_t* add_entry(head, tp)
29 rdirent_t* head;
48 dp = head;
49 prev_posn = &head;
70 return (head);
77 return (head);
90 return (head);
103 return (head);
113 rdirent_t* head; local
121 head
[all...]
/ast/src/lib/libast/path/
H A Dpathfind.c45 Dir_t* head; /* directory list head */ member in struct:__anon299
61 for (dp = state.head; dp; dp = dp->next)
71 state.head = state.tail = dp;
136 for (dp = state.head; dp; dp = dp->next)
/ast/src/lib/libast/sfio/
H A Dsfpool.c97 /* move a stream to head */
107 reg Sfio_t* head; local
116 head = p->sf[0];
117 if(SFFROZEN(head) )
120 SFLOCK(head,0);
123 if(!(p->mode&SF_SHARE) || (head->mode&SF_READ) || (f->mode&SF_READ) )
124 { if(SFSYNC(head) < 0)
128 { if(SFMODE(head,1) != SF_WRITE && _sfmode(head,SF_WRITE,1) < 0)
132 v = head
[all...]
/ast/src/cmd/mailx/
H A Dmain.c235 struct header head; local
251 memset(&head, 0, sizeof(head));
327 extract(&head, GBCC|GMETOO, optarg);
333 extract(&head, GCC|GMETOO, optarg);
410 if (head.h_subject = optarg)
411 head.h_flags |= GSUB;
455 extract(&head, GTO|GMETOO, argv[i]);
457 head.h_options = argv;
459 state.mode = (head
[all...]
H A Dsend.c80 off_t head; member in struct:letter
190 char* head; local
216 head = savestr(pp.data);
233 from = head;
234 if (s = strchr(head, ' ')) {
240 if (date || (date = strchr(head, ' ')) && ++date)
263 if (ap = state.part.in.head) {
301 lp->head = lp->body = 0;
311 lp->head = ftell(nfo);
317 lp->head
[all...]
/ast/src/cmd/std/
H A Dtsort.c98 Node_t* head = 0; local
118 if (head)
120 if (head != x)
124 p->node = head;
128 head = 0;
131 head = x;
136 if (head)
/ast/src/lib/libdss/
H A Ddssopt.c220 int head; local
287 head = 0;
294 if ((head = !!strchr(s, ' ')) && meth->description && optout(sp, meth->name, NiL, NiL, NiL, meth->description, NiL))
304 if (!head)
311 if (head)
312 head = 0;
318 if (!head)
322 head = 1;
327 head = 0;
331 if (!head)
[all...]
H A Dtag.h65 void* head; /* user defined pointer */ member in struct:Tagframe_s
/ast/src/cmd/mailx/port/
H A Ddthdr.h84 #define head hh._head macro
/ast/src/cmd/codexlib/bzip/
H A Dbzip.c25 bzip_ident(Codexmeth_t* meth, const void* head, size_t headsize, char* name, size_t namesize) argument
27 unsigned char* h = (unsigned char*)head;
/ast/src/cmd/codexlib/gzip/
H A Dgzip.c26 gzip_ident(Codexmeth_t* meth, const void* head, size_t headsize, char* name, size_t namesize) argument
28 unsigned char* h = (unsigned char*)head;
/ast/src/lib/libvcodex/Vchuff/
H A Dvchsize.c71 Vchtree_t *f, *s, *p, *list, *tail, *head; local
118 for(head = tail = NIL(Vchtree_t*), list = sort[0];; )
120 ** 0. The lists "list" and "head" are sorted by frequency.
122 ** 2. head == NULL or head->freq >= list->next->freq
140 tail = head ? (tail->next = f) : (head = f);
144 { if(list->next && list->next->freq <= head->freq)
147 /* find the segment in "head" movable to start of list */
148 for(p = NIL(Vchtree_t*), f = head;
[all...]
/ast/src/lib/libvcodex/Vcmisc/
H A Dvcstrip.c22 /* Stripping head and tail data.
33 ssize_t head; /* amount to strip from head */ member in struct:_strip_s
39 { "head", "Header to strip is 'head=amount'", (Void_t*)ST_HEAD },
74 /* find an appropriate head amount to strip */
77 { for(z = st->head; z > 0; --z)
87 { if((hsz = st->head) > dsz)
209 st->head = (ssize_t)vcatoi(val);
233 "strip", "Strip head an
[all...]
/ast/src/lib/libvgraph/
H A Dgraph.c45 else if(e1->head != e2->head)
46 return e1->head < e2->head ? -1 : 1;
88 gredge(gr, e->tail, e->head, e->label, -1);
92 gredge(gr, e->tail, e->head, e->label, -1);
118 Gredge_t* gredge(Graph_t* gr, Grnode_t* tail, Grnode_t* head, Void_t* label, int type) argument
124 if(gr->type == GR_UNDIRECTED) /* enforce tail <= head */
125 if(tail > head)
126 { nd = tail; tail = head; hea
[all...]
/ast/src/lib/libast/cdt/
H A Ddthash.c153 Dtlink_t **t, **endt, *head, *tail, *l; local
157 { head = tail = NIL(Dtlink_t*);
162 else head = tail = l;
169 { hash->here = head;
174 return (Void_t*)head;
177 { head = hash->here;
183 for(l = head; l && l != *t; l = l->_rght)
188 *t = head; /* head of list for this slot */
189 head
[all...]
/ast/src/lib/libjcl/
H A Djcllib.h49 struct Dirlist_s /* directory list head/tail */
51 Dir_t* head; /* directory list head */ member in struct:Dirlist_s
/ast/src/cmd/html/
H A Dbb2tok.c85 token(State_t* state, Sfio_t* op, const char* text, const Header_t* head, int push) argument
87 if (!head)
105 if (head->lex == LINK && state->prev->lex == NAME && state->push)
107 if (head->lex == LINE && state->prev->lex == HEADER && !state->push)
109 if (head->lex == HEADER && push && state->prev->lex == HEADER && !state->push)
114 if (state->keep && (state->prev->lex != head->lex || !head->unary && state->push))
116 if (head->lex == LINE && state->prev->lex == BODY && !state->push)
119 switch (head->lex)
123 sfprintf(op, "<%s>", head
[all...]
/ast/src/cmd/nmake/
H A Dmisc.c108 * free units linked onto head
112 newchunk(char** head, register size_t unit) argument
115 NoP(head);
127 x = head;

Completed in 56 milliseconds

123