Symbol: syms
common/dist/zlib/examples/enough.c
237
local inline size_t map(int syms, int left, int len) {
common/dist/zlib/examples/enough.c
238
return ((size_t)((syms - 1) >> 1) * ((syms - 2) >> 1) +
common/dist/zlib/examples/enough.c
261
local big_t count(int syms, int left, int len) {
common/dist/zlib/examples/enough.c
263
if (syms == left)
common/dist/zlib/examples/enough.c
267
assert(syms > left && left > 0 && len < g.max);
common/dist/zlib/examples/enough.c
270
size_t index = map(syms, left, len);
common/dist/zlib/examples/enough.c
277
int least = (left << 1) - syms;
common/dist/zlib/examples/enough.c
284
int most = (((code_t)left << (g.max - len)) - syms) /
common/dist/zlib/examples/enough.c
290
got = count(syms - use, (left - use) << 1, len + 1);
common/dist/zlib/examples/enough.c
308
local int been_here(int syms, int left, int len, int mem, int rem) {
common/dist/zlib/examples/enough.c
310
size_t index = map(syms, left, len);
common/dist/zlib/examples/enough.c
361
local void examine(int syms, int left, int len, int mem, int rem) {
common/dist/zlib/examples/enough.c
363
if (syms == left) {
common/dist/zlib/examples/enough.c
385
syms = 0;
common/dist/zlib/examples/enough.c
388
syms += g.code[bits];
common/dist/zlib/examples/enough.c
396
syms, g.root + 1, ((1 << g.root) - left) << 1);
common/dist/zlib/examples/enough.c
409
if (been_here(syms, left, len, mem, rem))
common/dist/zlib/examples/enough.c
414
int least = (left << 1) - syms;
common/dist/zlib/examples/enough.c
421
int most = (((code_t)left << (g.max - len)) - syms) /
common/dist/zlib/examples/enough.c
436
examine(syms - use, (left - use) << 1, len + 1,
common/dist/zlib/examples/enough.c
454
local void enough(int syms) {
common/dist/zlib/examples/enough.c
463
for (int n = 3; n <= syms; n++)
common/dist/zlib/examples/enough.c
506
int syms = 286;
common/dist/zlib/examples/enough.c
510
syms = atoi(argv[1]);
common/dist/zlib/examples/enough.c
517
if (argc > 4 || syms < 2 || g.root < 1 || g.max < 1) {
common/dist/zlib/examples/enough.c
524
if (g.max > syms - 1)
common/dist/zlib/examples/enough.c
525
g.max = syms - 1;
common/dist/zlib/examples/enough.c
533
if (g.max > bits || (code_t)(syms - 2) >= ((code_t)-1 >> (g.max - 1))) {
common/dist/zlib/examples/enough.c
539
if ((code_t)(syms - 1) > ((code_t)1 << g.max) - 1) {
common/dist/zlib/examples/enough.c
541
syms, g.max);
common/dist/zlib/examples/enough.c
551
if (syms == 2) // iff max == 1
common/dist/zlib/examples/enough.c
554
g.size = syms >> 1;
common/dist/zlib/examples/enough.c
555
int n = (syms - 1) >> 1;
common/dist/zlib/examples/enough.c
567
for (int n = 2; n <= syms; n++) {
common/dist/zlib/examples/enough.c
572
printf("%"PRIbig" total codes for 2 to %d symbols", sum, syms);
common/dist/zlib/examples/enough.c
573
if (g.max < syms - 1)
common/dist/zlib/examples/enough.c
579
if (syms == 2)
common/dist/zlib/examples/enough.c
589
if ((code_t)syms < ((code_t)1 << (g.root + 1)))
common/dist/zlib/examples/enough.c
590
enough(syms);
games/dab/box.cc
114
_b.data(_centery + edges[e].y, _centerx + edges[e].x) = syms[e];
games/dab/box.cc
48
const int BOX::syms[BOX::last] =
games/dab/box.h
83
static const int syms[BOX::last];
lib/libc/resolv/res_debug.c
569
sym_ston(const struct res_sym *syms, const char *name, int *success) {
lib/libc/resolv/res_debug.c
570
for (; syms->name != 0; syms++) {
lib/libc/resolv/res_debug.c
571
if (strcasecmp (name, syms->name) == 0) {
lib/libc/resolv/res_debug.c
574
return (syms->number);
lib/libc/resolv/res_debug.c
579
return (syms->number); /*%< The default value. */
lib/libc/resolv/res_debug.c
583
sym_ntos(const struct res_sym *syms, int number, int *success) {
lib/libc/resolv/res_debug.c
585
for (; syms->name != 0; syms++) {
lib/libc/resolv/res_debug.c
586
if (number == syms->number) {
lib/libc/resolv/res_debug.c
589
return (syms->name);
lib/libc/resolv/res_debug.c
600
sym_ntop(const struct res_sym *syms, int number, int *success) {
lib/libc/resolv/res_debug.c
602
for (; syms->name != 0; syms++) {
lib/libc/resolv/res_debug.c
603
if (number == syms->number) {
lib/libc/resolv/res_debug.c
606
return (syms->humanname);
sys/arch/hpcmips/vr/vrgiu.c
310
char syms[] = "iiiiiiiilhLHeeEEoooooooooooooooo"
sys/arch/hpcmips/vr/vrgiu.c
328
printf ("%c", syms[
tests/lib/libexecinfo/t_backtrace_sandbox.c
42
char **syms;
tests/lib/libexecinfo/t_backtrace_sandbox.c
50
syms = backtrace_symbols_fmt(addr, frames, "%n");
tests/lib/libexecinfo/t_backtrace_sandbox.c
51
ATF_REQUIRE(strcmp(syms[0], "atfu_backtrace_sandbox_body") == 0);
tests/lib/libexecinfo/t_backtrace_sandbox.c
66
syms = backtrace_symbols_fmt(addr, frames, "%n");
tests/lib/libexecinfo/t_backtrace_sandbox.c
67
if (strcmp(syms[0], "atfu_backtrace_sandbox_body") != 0)
usr.bin/xlint/lint1/lex.c
1556
symtab_remove_level(sym_t *syms)
usr.bin/xlint/lint1/lex.c
1559
if (syms != NULL)
usr.bin/xlint/lint1/lex.c
1560
debug_step("%s %d", __func__, syms->s_block_level);
usr.bin/xlint/lint1/lex.c
1563
for (sym_t *sym = syms; sym != NULL; sym = sym->s_level_next) {
usr.bin/xlint/lint1/lex.c
296
syms_add(struct syms *syms, const sym_t *sym)
usr.bin/xlint/lint1/lex.c
298
if (syms->len >= syms->cap) {
usr.bin/xlint/lint1/lex.c
299
syms->cap *= 2;
usr.bin/xlint/lint1/lex.c
300
syms->items = xrealloc(syms->items,
usr.bin/xlint/lint1/lex.c
301
syms->cap * sizeof(syms->items[0]));
usr.bin/xlint/lint1/lex.c
303
syms->items[syms->len++] = sym;
usr.bin/xlint/lint1/lex.c
309
struct syms syms = { xcalloc(64, sizeof(syms.items[0])), 0, 64 };
usr.bin/xlint/lint1/lex.c
316
syms.len = 0;
usr.bin/xlint/lint1/lex.c
321
syms_add(&syms, sym);
usr.bin/xlint/lint1/lex.c
328
if (syms.len > 0) {
usr.bin/xlint/lint1/lex.c
331
qsort(syms.items, syms.len, sizeof(syms.items[0]),
usr.bin/xlint/lint1/lex.c
333
for (size_t i = 0; i < syms.len; i++)
usr.bin/xlint/lint1/lex.c
334
debug_sym("", syms.items[i], "\n");
usr.bin/xlint/lint1/lex.c
345
free(syms.items);
usr.sbin/tprof/ksyms.c
129
syms = erealloc(syms, sizeof(*syms) * nsyms);
usr.sbin/tprof/ksyms.c
130
syms[nsyms - 1] = sym;
usr.sbin/tprof/ksyms.c
134
qsort(syms, nsyms, sizeof(*syms), compare_value);
usr.sbin/tprof/ksyms.c
137
return syms;
usr.sbin/tprof/ksyms.c
158
const struct sym *sym = syms[mid];
usr.sbin/tprof/ksyms.c
160
assert(syms[lo]->value >= sym->value);
usr.sbin/tprof/ksyms.c
161
assert(sym->value >= syms[hi]->value);
usr.sbin/tprof/ksyms.c
168
assert(lo == nsyms - 1 || syms[lo]->value <= value);
usr.sbin/tprof/ksyms.c
169
assert(lo == 0 || syms[lo - 1]->value > value);
usr.sbin/tprof/ksyms.c
171
const struct sym *sym = syms[i];
usr.sbin/tprof/ksyms.c
46
static struct sym **syms = NULL;