Searched refs:header (Results 1 - 25 of 73) sorted by relevance

123

/ast/src/lib/libardir/
H A Dar-pdp11.c48 Header_t header; /* current header */ member in struct:State_s
109 if (read(ar->fd, (char*)&state->header, sizeof(state->header)) != sizeof(state->header))
111 if ((z = read(ar->fd, (char*)&state->header, 1)) < 0)
118 strncpy(ar->dirent.name = state->name, state->header.ar_name, sizeof(state->header.ar_name));
119 ar->dirent.mtime = swapget(state->swap, (char*)&state->header.ar_date, sizeof(state->header
[all...]
H A Dar-port.c65 Header_t header; /* current header */ member in struct:State_s
66 char term[1]; /* trailing '\0' for header */
78 char buf[sizeof(state->header.ar_date) + 1];
175 hdr = &state->header;
176 while (read(ar->fd, (char*)hdr, sizeof(state->header)) == sizeof(state->header) && hdr->ar_name[0] == TERM_port)
199 state->offset += sizeof(state->header) + size;
257 if (read(ar->fd, (char*)&state->header, sizeof(state->header)) !
[all...]
H A Dar-s5r0.c76 Header_t header; local
89 swapput(0, (char*)&header.ar_date, sizeof(header.ar_date), (intmax_t)((unsigned long)time((time_t*)0) + 5));
90 if (write(ar->fd, &header.ar_date, sizeof(header.ar_date)) != sizeof(header.ar_date))
/ast/src/cmd/std/
H A Dls-dir.sh21 ls -D header='%(dir.count:case:[01]::*:\n)s Directory of %(path)s\n' \
/ast/src/cmd/paxlib/calib/
H A Dcamap.c55 tr(int in, int out, const char *header, const unsigned char *table) argument
66 z = strlen(header);
67 if (write(out,header,z) != z)
88 char header[80]; local
105 strcpy(header,MAPCHARS);
116 k+= sfsprintf(&header[k],sizeof(header)-k,"%c%d,%d",sep,m,n);
126 strcpy(&header[k],")\n");
128 r = tr(in,out,header,table);
/ast/src/lib/libtk/generic/
H A DtkCanvImg.c23 Tk_Item header; /* Generic stuff that's the same for all member in struct:ImageItem
141 Tk_Item *itemPtr; /* Record to hold new item; header
346 * The fields x1, y1, x2, and y2 are updated in the header
366 imgPtr->header.x1 = imgPtr->header.x2 = x;
367 imgPtr->header.y1 = imgPtr->header.y2 = y;
410 * Store the information in the item header.
413 imgPtr->header.x1 = x;
414 imgPtr->header
[all...]
H A DtkCanvBmap.c23 Tk_Item header; /* Generic stuff that's the same for all member in struct:BitmapItem
144 Tk_Item *itemPtr; /* Record to hold new item; header
359 * The fields x1, y1, x2, and y2 are updated in the header
379 bmapPtr->header.x1 = bmapPtr->header.x2 = x;
380 bmapPtr->header.y1 = bmapPtr->header.y2 = y;
424 * Store the information in the item header.
427 bmapPtr->header.x1 = x;
428 bmapPtr->header
[all...]
H A DtkCanvWind.c23 Tk_Item header; /* Generic stuff that's the same for all member in struct:WindowItem
163 Tk_Item *itemPtr; /* Record to hold new item; header
408 * The fields x1, y1, x2, and y2 are updated in the header
426 winItemPtr->header.x1 = winItemPtr->header.x2 = x;
427 winItemPtr->header.y1 = winItemPtr->header.y2 = y;
488 * Store the information in the item header.
491 winItemPtr->header.x1 = x;
492 winItemPtr->header
[all...]
H A DtkCanvPoly.c22 Tk_Item header; /* Generic stuff that's the same for all member in struct:PolygonItem
164 Tk_Item *itemPtr; /* Record to hold new item; header
466 * The fields x1, y1, x2, and y2 are updated in the header
482 polyPtr->header.x1 = polyPtr->header.x2 = *coordPtr;
483 polyPtr->header.y1 = polyPtr->header.y2 = coordPtr[1];
497 polyPtr->header.x1 -= i;
498 polyPtr->header.x2 += i;
499 polyPtr->header
[all...]
/ast/src/cmd/pax/
H A Dpax-tar.c36 #define TAR_SUMASK ((1L<<(sizeof(tar->header.chksum)-1)*3)-1)
42 Tarheader_t header; member in struct:Tar_s
48 * output extended header keyword assignment record
90 * compute tar->header checksum
106 p = (unsigned char*)tar->header.chksum;
116 p = (unsigned char*)&tar->header;
145 p = (unsigned char*)tar->header.chksum;
178 * check if tar file name may be split to fit in header
180 * <0 extension header required with error message for non-extension formats
234 * <0 extension header require
[all...]
H A Dpax-vdb.c32 unsigned char delimiter; /* header delimiter */
33 unsigned char variant; /* variant header delimiters */
38 char* base; /* header buffer base */
39 char* next; /* next header */
40 } header; member in struct:Vdb_s
86 if (!(vdb->header.base = newof(0, char, i, 1)))
90 if (read(ap->io->fd, vdb->header.base, i) != i)
92 ccmapstr(state.map.a2n, vdb->header.base, i);
93 *(vdb->header.base + i) = 0;
94 if (!strneq(vdb->header
[all...]
H A Dpax-saveset.c69 * if header!=0 then all records skipped until REC_file found
75 getsaveset(Pax_t* pax, register Archive_t* ap, register File_t* f, register Saveset_t* ss, int header) argument
93 if (header)
98 error(3, "invalid %s format block header", ap->format->name);
111 if (header)
115 error(3, "invalid %s format file header", ap->format->name);
177 else if (i == REC_vbn && !header)
/ast/src/cmd/ksh93/sh/
H A Darray.c45 Namarr_t header; member in struct:index_array
55 Namarr_t header; member in struct:assoc_array
141 struct index_array *aq = (struct index_array*)ap->header.scope;
142 if(!ap->header.fun && aq)
144 return (ap->header.fixed || ((ap->cur<aq->maxi) && aq->val[ap->cur].cp));
157 while(*fp && *fp!= &old->header.hdr)
161 new->header.hdr.next = (*fp)->next;
162 *fp = &new->header.hdr;
282 ap->header.nelem &= ~ARRAY_NOSCOPE;
284 ap->header
[all...]
H A Dshcomp.c68 static const char header[6] = { CNTL('k'),CNTL('s'),CNTL('h'),0,VERSION,0 }; variable
130 sfwrite(out,header,sizeof(header));
/ast/src/lib/libcmd/
H A Dhead.c36 "the options. By default a header of the form \b==> \b\afilename\a\b "
80 int header = 1; local
101 header = argc;
104 header = 0;
137 if (argc > header)
H A Dcat.c139 int header; local
148 header = flags & (B_FLAG|N_FLAG);
179 if (header)
181 header = 0;
216 if (header)
218 header = 0;
242 if (header)
244 header = 0;
337 if (header && !(flags & B_FLAG))
342 if (!header || !(flag
[all...]
/ast/src/lib/libast/include/
H A Dtar.h64 #define EXTTYPE 'x' /* extended header */
65 #define GLBTYPE 'g' /* global extended header */
92 struct header struct
115 struct header dbuf;
/ast/src/cmd/kshlib/dbm_t/
H A Ddbm_t.c55 Namarr_t header; member in struct:dbm_array
126 if(!ap->header.hdr.type && data.dsize>1 && *val==0 && val[1])
143 if(ap->header.hdr.type)
189 ap->header.hdr.disc = array_disc(np);
193 ap->header.hdr.nofree = 0;
194 ap->header.hdr.dsize = sizeof(struct dbm_array);
208 ap->header.nelem = 1;
293 ap->header.nelem++;
315 ap->header.nelem++;
320 if(ap->pos != &ap->node && !(ap->header
[all...]
/ast/src/lib/libdss/
H A Ddssopt.c146 else if (tp->base && tp->base->member && !(tp->base->header.flags & CX_REFERENCED) && opttype(sp, tp->base, 0))
150 if (!(tp->generic[i]->header.flags & CX_REFERENCED) && opttype(sp, tp->generic[i], 0))
229 tp = (Cxtype_t*)((Dssoptdisc_t*)dp)->header;
236 sfprintf(sp, "%s", state->cx->header ? state->cx->header->description : "unknown-description");
241 if (state->cx->header)
242 sfprintf(sp, "%s - %s", state->cx->header->name, state->cx->header->description);
250 tp = (Cxtype_t*)((Dssoptdisc_t*)dp)->header;
264 sfprintf(sp, "%s", state->cx->header
[all...]
/ast/src/cmd/mailx/
H A Dmailx.h157 #define HEADSIZE 128 /* maximum header line length */
242 * Common header labels.
256 struct header* hp; /* Matched headers here */
263 int length; /* Total header length */
265 unsigned long type; /* Matched header type */
457 * state of the user-typed message header.
460 struct header { struct
617 int hdrnum; /* Number of header labels */
687 jmp_buf header; /* Printing headers */ member in struct:__anon136::__anon138
806 char* header; member in struct:__anon136::__anon147
[all...]
H A Dmain.c132 "[r:address?Set the reply to header address to \aaddress\a.]:[address]"
166 longjmp(state.jump.header, sig);
235 struct header head;
291 * Avoid initial header printing.
508 if (sig = setjmp(state.jump.header))
/ast/src/cmd/codexlib/compress/
H A Dcompress.c78 #define BIT_MASK 0x1f /* Defines for third byte of header. */
83 * a fourth header byte (for expansion).
474 u_char header[HEADER]; local
487 header[0] = MAGIC1;
488 header[1] = MAGIC2;
489 header[2] = ((maxbits) | block_compress) & 0xff;
490 if (sfwr(p->sp, header, sizeof(header), &p->sfdisc) != sizeof(header))
494 bytes_out = sizeof(header);
[all...]
/ast/src/cmd/html/
H A Dbb2tok.c63 static const Header_t header[] = variable
67 "postdetails", "header", HEADER, 0,
174 state.prev = (Header_t*)&header[*(state.lex = lex) = LINE];
239 for (i = 0; i < elementsof(header); i++)
240 if (streq(s, header[i].in))
242 h = &header[i];
277 PUSH(&state, op, &header[LINK]);
312 PUSH(&state, op, &header[LINE]);
/ast/src/lib/libz/
H A Dtrees.c160 int header));
332 FILE *header = fopen("trees.h", "w"); local
335 Assert (header != NULL, "Can't open trees.h");
336 fprintf(header,
337 "/* header created automatically with -DGEN_TREES_H */\n\n");
339 fprintf(header, "local const ct_data static_ltree[L_CODES+2] = {\n");
341 fprintf(header, "{{%3u},{%3u}}%s", static_ltree[i].Code,
345 fprintf(header, "local const ct_data static_dtree[D_CODES] = {\n");
347 fprintf(header, "{{%2u},{%2u}}%s", static_dtree[i].Code,
351 fprintf(header, "cons
[all...]
/ast/src/cmd/INIT/
H A Dratz.c492 file compression on file systems, has a larger header than zlib to maintain
625 #define PRESET_DICT 0x20 /* preset dictionary flag in zlib header */
1312 gz_headerp gzhead; /* gzip header information to write */
1582 HEAD, /* i: waiting for magic header */
1590 HCRC, /* i: waiting for header crc (gzip) */
1619 Process header:
1643 int flags; /* gzip header method and flags (0 if zlib) */
1644 unsigned dmax; /* zlib header max distance (INFLATE_STRICT) */
1647 gz_headerp head; /* where to save gzip header information */
2075 unsigned dmax; /* maximum distance from zlib header */
[all...]

Completed in 49 milliseconds

123