/ast/src/lib/libcodex/ |
H A D | codexid.c | 32 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/libast/hash/ |
H A D | hashlib.h | 64 int namesize; /* fixed name size: 0 => string */ \ 84 #define HASH(r,n,h) if (r->local->hash) h = r->namesize ? (*r->local->hash)(n, r->namesize) : (*r->local->hash)(n);\ 89 if (r->namesize)\ 91 register const char* _hash_s2 = _hash_s1 + r->namesize;\
|
H A D | hashdump.c | 75 if (n = tab->root->namesize) 142 if (root->namesize) sfprintf(sfstderr, "namesize=%d ", root->namesize);
|
H A D | hashlook.c | 109 if (tab->root->namesize) 111 register char* s3 = s1 + tab->root->namesize; 119 else if (tab->root->namesize) 121 if (!(*tab->root->local->compare)(hashname(b), name, tab->root->namesize)) goto found; 209 else if (b->name && tab->root->namesize) 211 memcpy(b->name, value, tab->root->namesize); 306 m = tab->root->namesize ? tab->root->namesize : strlen(name) + 1;
|
H A D | hashalloc.c | 133 tab->root->namesize = va_arg(ap, int);
|
/ast/src/cmd/pax/ |
H A D | pax-cpio.c | 63 short namesize; member in struct:Binary_header_s 107 if (f->namesize > (c = strlen(f->name) + 1)) 155 if ((f->namesize += n) > CPIO_NAMESIZE) 171 paxwrite(pax, ap, f->name, f->namesize -= n); 275 if (header = (header + f->namesize) % align) 280 f->name = paxstash(pax, &ap->stash.head, NiL, f->namesize + align); 281 paxread(pax, ap, f->name, (off_t)0, (off_t)(f->namesize + align), 1); 282 if (f->name[f->namesize - 1]) 284 paxunread(pax, ap, &f->name[f->namesize - 1], 1); 285 f->name[f->namesize [all...] |
H A D | pax-vdb.c | 203 complete(ap, f, state.record.header ? state.record.headerlen : f->namesize); 208 f->name[f->namesize - 1] = '\n'; 209 paxwrite(pax, ap, f->name, f->namesize); 210 f->name[f->namesize - 1] = 0;
|
H A D | pax.h | 267 int namesize; /* name size with null byte */ member in struct:Link_s 289 int namesize; /* name size with null byte */ \
|
H A D | misc.c | 156 if (f->skip || f->namesize <= 1 || f->linkpath && !*f->linkpath) 361 f->namesize = pathcanon(f->name = name, 0, 0) - name + 1;
|
H A D | file.c | 814 f->namesize = strlen(f->name) + 1; 1031 p->namesize = n; 1140 f->namesize = strlen(name) + 1;
|
H A D | copy.c | 362 f->name = stash(&state.out->path.copy, NiL, state.pwdlen + f->namesize);
|
H A D | pax-tar.c | 192 if (!(n = f->namesize) || --n <= TARSIZEOF(name)) 784 synthesize(ap, f, headname(ap, f, "@PaxPathText.%(sequence)s"), LREGTYPE, f->name, f->namesize);
|
H A D | format.c | 684 f->namesize = strlen(f->name) + 1;
|
/ast/src/lib/libardir/ |
H A D | ar-aix.c | 67 size_t namesize; /* max size for name */ member in struct:State_s 153 if (n >= state->namesize) 155 state->namesize = roundof(n + 1, 256); 156 if (!(state->name = newof(state->name, char, state->namesize, 0)))
|
H A D | ar-aixbig.c | 68 size_t namesize; /* max size for name */ member in struct:State_s 154 if (n >= state->namesize) 156 state->namesize = roundof(n + 1, 256); 157 if (!(state->name = newof(state->name, char, state->namesize, 0)))
|
/ast/src/cmd/codexlib/bzip/ |
H A D | bzip.c | 25 bzip_ident(Codexmeth_t* meth, const void* head, size_t headsize, char* name, size_t namesize) argument 31 strncopy(name, meth->name, namesize);
|
/ast/src/cmd/codexlib/gzip/ |
H A D | gzip.c | 26 gzip_ident(Codexmeth_t* meth, const void* head, size_t headsize, char* name, size_t namesize) argument 32 strncopy(name, meth->name, namesize);
|
/ast/src/cmd/codexlib/compress/ |
H A D | compress.c | 432 lzw_ident(Codexmeth_t* meth, const void* head, size_t headsize, char* name, size_t namesize) argument 438 strncopy(name, meth->name, namesize);
|