/ast/src/lib/libast/misc/ |
H A D | stack.c | 58 stack->position.block = b; 92 stack->position.block = stack->blocks; 104 else return(stack->position.block->stack[stack->position.index]); 118 b = stack->position.block; 127 b->prev = stack->position.block; 130 stack->position.block = b; 133 stack->position.block->stack[stack->position.index] = value; 155 if (!stack->position.block->prev) return(0); 156 stack->position.block = stack->position.block [all...] |
/ast/src/lib/libtk/generic/ |
H A D | tkImgPPM.c | 131 int width, height; /* Dimensions of block of photo image to 139 Tk_PhotoImageBlock block; 174 block.pixelSize = 1; 175 block.offset[0] = 0; 176 block.offset[1] = 0; 177 block.offset[2] = 0; 180 block.pixelSize = 3; 181 block.offset[0] = 0; 182 block.offset[1] = 1; 183 block 137 Tk_PhotoImageBlock block; local [all...] |
H A D | tkImgGIF.c | 150 int width, height; /* Dimensions of block of photo image to 157 Tk_PhotoImageBlock block; 202 block.width = fileWidth; 203 block.height = fileHeight; 204 block.pixelSize = 3; 205 block.pitch = 3 * fileWidth; 206 block.offset[0] = 0; 207 block.offset[1] = 1; 208 block.offset[2] = 2; 209 nBytes = fileHeight * block 155 Tk_PhotoImageBlock block; local [all...] |
H A D | tkImgPhoto.c | 544 Tk_PhotoImageBlock block; 637 Tk_PhotoGetImage(srcHandle, &block); 638 if ((options.fromX2 > block.width) || (options.fromY2 > block.height) 639 || (options.fromX2 > block.width) 640 || (options.fromY2 > block.height)) { 651 options.fromX2 = block.width; 652 options.fromY2 = block.height; 690 block.pixelPtr += options.fromX * block 541 Tk_PhotoImageBlock block; local [all...] |
/ast/src/lib/libbz/ |
H A D | blocksort.c | 10 library for lossless, block-sorting data compression. 67 Compare two strings in block. We assume (see 70 bytes of both block and quadrant have been 75 static __inline__ Bool fullGtU ( UChar* block, argument 89 c1 = block[i1]; 90 c2 = block[i2]; 94 c1 = block[i1]; 95 c2 = block[i2]; 99 c1 = block[i1]; 100 c2 = block[i 182 UChar* block = s->block; local 313 UChar* block = s->block; local 396 UChar* block = s->block; local [all...] |
H A D | bzlib.c | 10 library for lossless, block-sorting data compression. 175 s->block = NULL; 181 s->block = BZALLOC( (n + BZ_NUM_OVERSHOOT_BYTES) * sizeof(UChar) ); 186 if (s->block == NULL || s->quadrant == NULL || 188 if (s->block != NULL) BZFREE(s->block); 228 s->block[s->nblock] = (UChar)ch; s->nblock++; 231 s->block[s->nblock] = (UChar)ch; s->nblock++; 232 s->block[s->nblock] = (UChar)ch; s->nblock++; 235 s->block[ [all...] |
/ast/src/lib/libmam/ |
H A D | mamlib.h | 39 struct block* atail; /* action tail */
|
H A D | mam.h | 58 struct block* action; /* action */ 94 struct block /* data block list */ struct 96 struct block* next; /* next item */
|
/ast/src/cmd/INIT/ |
H A D | hurl.sh | 70 integer limit=0 total=0 block=8*1024 156 then (( limit = (limit + block - 1) / block)) 157 dd bs=$block count=$limit silent=1
|
/ast/src/cmd/std/ |
H A D | df.c | 25 * df -- free disk block report 58 "[i:inodes?Display inode usage instead of block usage. There is at least one" 66 "[n:native-block?Measure disk usage in the native filesystem block size." 164 "Unused block count.", 172 "Total block count.", 236 "Native block size.", 260 "Used block count.", 275 * some systems insist on reporting block counts in 512 units 311 int block; /* bloc member in struct:__anon228 [all...] |
/ast/src/lib/libast/include/ |
H A D | stack.h | 36 struct stackblock /* stack block cell */ 39 struct stackblock* prev; /* previous block in list */ 40 struct stackblock* next; /* next block in list */ 45 struct stackblock* block; /* current block pointer */ member in struct:stackposition 46 int index; /* index within current block */ 53 int size; /* size of each block */
|
/ast/src/lib/libast/comp/ |
H A D | regexp.c | 43 block(void* handle, void* data, size_t size) function 64 regalloc(env, block, REG_NOFREE);
|
H A D | regcmp.c | 49 block(void* handle, void* data, size_t size) function 174 regalloc(re, block, REG_NOFREE);
|
/ast/src/cmd/mam/ |
H A D | mamold.c | 73 struct block* omit; /* dir prefixes to omit */ 261 dumpaction(register struct block* p) 286 register struct block* d; 381 struct block* p; 384 p = newof(0, struct block, 1, n + 1); 385 strcpy(p->data = (char*)p + sizeof(struct block), prefix);
|
H A D | mamnew.c | 90 struct block* omit; /* dir prefixes to omit */ 110 register struct block* d; 341 register struct block* p; 430 dumpaction(register struct block* p) 561 struct block* p; 563 if (!(p = newof(0, struct block, 1, 0)))
|
/ast/src/lib/libsum/ |
H A D | sum-sha1.c | 44 (block->l[i] = (rol(block->l[i], 24) & 0xFF00FF00) \ 45 | (rol(block->l[i], 8) & 0x00FF00FF)) 47 # define blk0(i) block->l[i] 50 (block->l[i & 15] = rol(block->l[(i + 13) & 15] \ 51 ^ block->l[(i + 8) & 15] \ 52 ^ block->l[(i + 2) & 15] \ 53 ^ block->l[i & 15], 1)) 97 uint32_t *e, CHAR64LONG16 *block) 96 do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) argument 109 do_R2(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) argument 122 do_R3(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) argument 135 do_R4(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) argument 154 CHAR64LONG16 *block; local [all...] |
H A D | sumlib.c | 50 int (*block)(Sum_t*, const void*, size_t); member in struct:Method_s 311 return (*p->method->block)(p, buf, siz);
|
/ast/src/cmd/pax/ |
H A D | pax-pds.c | 33 unsigned long block; member in struct:Pdsdir_s 95 pds->dir[i].block = (b[8] << 16) | (b[9] << 8) | b[10]; 122 if (n != m && pds->dir[n].block == pds->dir[m].block) 171 f->st->st_size = dp->block;
|
H A D | pax-saveset.c | 55 char* block; /* current block */ member in struct:Saveset_s 56 long blocksize; /* max block size */ 57 char* bp; /* block pointer */ 86 while (ss->bp >= ss->block + state.blocksize) 88 ss->bp = ss->block; 98 error(3, "invalid %s format block header", ap->format->name); 118 if (p + FILHDR_data + i > ss->block + state.blocksize) 146 if ((p += FILHDR_SIZE + (long)swapget(1, s, 2)) > ss->block + state.blocksize) 157 if ((p += FILHDR_SIZE + (long)swapget(1, s, 2)) > ss->block [all...] |
H A D | tar.sh | 60 [b:block-size]:[N?block size of Nx512 bytes (default N=20).] 245 block="" 254 block=$1 # Retain most recent block operand 280 if [[ $block ]] 281 then options[noptions++]="-b"; options[noptions++]="${block}b" # Take most recent block operand short form
|
/ast/src/cmd/pack/ |
H A D | pack.c | 82 #define block(size) (((size) + BLKSIZE-1) & ~(BLKSIZE-1)) macro 168 else if(!force && block(huffisize(hp)) <= block(huffosize(hp)+dsize))
|
/ast/src/cmd/html/ |
H A D | bb2tok.c | 170 const Header_t* block[4 * 1024]; local 243 if (level < elementsof(block)) 251 if (level < elementsof(block) && (block[level] = h)) 260 if (level < elementsof(block) && (h = block[level]))
|
/ast/src/cmd/codexlib/lzh/ |
H A D | lzh.c | 87 short block[TREESIZE]; member in struct:State_s 440 if (state->edge[b = state->block[i]] == i) 478 state->block[i] = b; 481 state->edge[b = state->block[i] = state->stock[state->avail++]] = i; 495 b = state->block[p]; 512 else if (b != state->block[p + 1]) 517 state->block[p] = state->block[p - 1]; 523 state->block[p] = state->block[ [all...] |
/ast/src/cmd/builtin/ |
H A D | od.c | 222 int block; member in struct:State_s 1011 block(State_t* state, Sfio_t* op, char* bp, char* ep, intmax_t base) function 1057 if (c = (state->block - (ep - bp)) / state->size * (state->width + 1)) 1173 if ((m = span - state->span) > state->block) 1174 m = state->block; 1175 if (block(state, sfstdout, state->span, state->span + m, state->offset)) 1220 e = s + (n / state->block) * state->block; 1222 e -= state->block + state->mbmax; 1227 if (block(stat [all...] |
/ast/src/cmd/paxlib/calib/ |
H A D | calib.c | 77 size_t block; member in struct:Ar_s 314 (*pax->errorf)(NiL, pax, 3, "%s: %s format block header seek error", ap->name, ap->format->name); 316 (*pax->errorf)(NiL, pax, 3, "%s: %s format block header read error", ap->name, ap->format->name); 377 size_t block; local 411 block = 0; 419 block++; 479 (*pax->errorf)(NiL, pax, 2, "%s: overbyte (bits=%d offset=%I*u+%I*u block=%I*u)", ap->name, bits, sizeof(off_t), paxseek(pax, ap, (off_t)0, SEEK_CUR, 0) - ar->bufsize, sizeof(index), index, sizeof(block), block); 515 (*pax->errorf)(NiL, pax, 1, "%s: keyword %s (bits=%d offset=%I*u+%I*u block local 709 (*pax->errorf)(NiL, pax, 3, "%s: format member read error (offset=%I*u block=%I*u)", ap->name, sizeof(off_t), paxseek(pax, ap, (off_t)0, SEEK_CUR, 0), sizeof(block), block); local [all...] |