| /freebsd-14.2/sys/contrib/zstd/doc/educational_decoder/ |
| H A D | zstd_decompress.c | 919 FSE_dtable dtable; in fse_decode_hufweights() local 929 FSE_free_dtable(&dtable); in fse_decode_hufweights() 2002 free(dtable->symbols); in HUF_free_dtable() 2003 free(dtable->num_bits); in HUF_free_dtable() 2123 if (!dtable->symbols || !dtable->num_bits || !dtable->new_state_base) { in FSE_init_dtable() 2302 if (!dtable->symbols || !dtable->num_bits || !dtable->new_state_base) { in FSE_init_dtable_rle() 2308 dtable->symbols[0] = symb; in FSE_init_dtable_rle() 2309 dtable->num_bits[0] = 0; in FSE_init_dtable_rle() 2311 dtable->accuracy_log = 0; in FSE_init_dtable_rle() 2315 free(dtable->symbols); in FSE_free_dtable() [all …]
|
| /freebsd-14.2/libexec/mknetid/ |
| H A D | mknetid.c | 80 struct member_entry *dtable[TABLESIZE]; variable 217 if (lookup(dtable, writebuf)) { in main() 223 mstore(dtable, writebuf, 0, 1); in main() 259 if (lookup(dtable, (char *)&writebuf)) { in main() 265 mstore(dtable, (char *)&writebuf, 0, 1); in main() 288 if (lookup(dtable, (char *)&readbuf)) { in main() 294 mstore(dtable, (char *)&readbuf, 0, 1); in main()
|
| /freebsd-14.2/contrib/wpa/src/utils/ |
| H A D | base64.c | 92 unsigned char dtable[256], *out, *pos, block[4], tmp; in base64_gen_decode() local 97 os_memset(dtable, 0x80, 256); in base64_gen_decode() 99 dtable[(unsigned char) table[i]] = (unsigned char) i; in base64_gen_decode() 100 dtable['='] = 0; in base64_gen_decode() 104 if (dtable[(unsigned char) src[i]] != 0x80) in base64_gen_decode() 125 tmp = dtable[val]; in base64_gen_decode()
|
| /freebsd-14.2/contrib/wpa/src/common/ |
| H A D | sae_pk.c | 119 u8 dtable[256]; in d_check_char() local 123 os_memset(dtable, 0x80, 256); in d_check_char() 130 c = dtable[(u8) str[j]]; in d_check_char() 147 u8 dtable[256]; in sae_pk_valid_password() local 149 os_memset(dtable, 0x80, 256); in sae_pk_valid_password() 169 if (dtable[(u8) pw[pos]] == 0x80) { in sae_pk_valid_password() 252 u8 dtable[256], *out, *pos, tmp; in sae_pk_base32_decode() local 258 os_memset(dtable, 0x80, 256); in sae_pk_base32_decode() 261 dtable['='] = 0; in sae_pk_base32_decode() 265 if (dtable[(u8) src[i]] != 0x80) in sae_pk_base32_decode() [all …]
|
| /freebsd-14.2/usr.sbin/rtadvctl/ |
| H A D | rtadvctl.c | 107 } dtable[] = { variable 140 for (i = 0; (size_t)i < sizeof(dtable)/sizeof(dtable[0]); i++) { in usage() 141 if (dtable[i].dt_comm == NULL) in usage() 143 printf("%s\n", dtable[i].dt_comm); in usage() 175 for (i = 0; (size_t)i < sizeof(dtable)/sizeof(dtable[0]); i++) { in main() 176 if (dtable[i].dt_comm == NULL || in main() 177 strcmp(dtable[i].dt_comm, argv[0]) == 0) { in main() 178 action = dtable[i].dt_act; in main() 186 error = (dtable[i].dt_act)(--argc, ++argv); in main() 188 fprintf(stderr, "%s failed", dtable[i].dt_comm); in main()
|
| /freebsd-14.2/sys/contrib/zstd/lib/common/ |
| H A D | fse_decompress.c | 315 FSE_DTable dtable[1]; /* Dynamically sized */ member 345 workSpace = wksp->dtable + FSE_DTABLE_SIZE_U32(tableLog); in FSE_decompress_wksp_body() 348 …CHECK_F( FSE_buildDTable_internal(wksp->dtable, wksp->ncount, maxSymbolValue, tableLog, workSpace,… in FSE_decompress_wksp_body() 351 const void* ptr = wksp->dtable; in FSE_decompress_wksp_body() 356 …stMode) return FSE_decompress_usingDTable_generic(dst, dstCapacity, ip, cSrcSize, wksp->dtable, 1); in FSE_decompress_wksp_body() 357 return FSE_decompress_usingDTable_generic(dst, dstCapacity, ip, cSrcSize, wksp->dtable, 0); in FSE_decompress_wksp_body()
|
| /freebsd-14.2/sys/contrib/zstd/lib/decompress/ |
| H A D | huf_decompress_amd64.S | 63 #define dtable r14 macro 131 movq 96(%rax), %dtable 207 movzwl (%dtable,%var##n,2),%vard##n 385 movq 96(%rax), %dtable 498 movzwl 0(%dtable,%rax,4),%r8d; \ 499 movzbl 2(%dtable,%rax,4),%r15d; \ 500 movzbl 3(%dtable,%rax,4),%eax; \
|