| /src/sys/contrib/zstd/doc/educational_decoder/ |
| H A D | zstd_decompress.c | 168 static inline u8 HUF_decode_symbol(const HUF_dtable *const dtable, 172 static inline void HUF_init_state(const HUF_dtable *const dtable, 178 static size_t HUF_decompress_1stream(const HUF_dtable *const dtable, 183 static size_t HUF_decompress_4stream(const HUF_dtable *const dtable, 196 static void HUF_free_dtable(HUF_dtable *const dtable); 217 static inline u8 FSE_peek_symbol(const FSE_dtable *const dtable, 221 static inline void FSE_update_state(const FSE_dtable *const dtable, 226 static inline u8 FSE_decode_symbol(const FSE_dtable *const dtable, 231 static inline void FSE_init_state(const FSE_dtable *const dtable, 238 static size_t FSE_decompress_interleaved2(const FSE_dtable *const dtable, [all …]
|
| /src/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()
|
| /src/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()
|
| /src/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() 125 dtable[(u8) sae_pk_base32_table[i]] = i; 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() 151 dtable[(u8) sae_pk_base32_table[i]] = i; in sae_pk_valid_password() 169 if (dtable[(u8) pw[pos]] == 0x80) { in sae_pk_valid_password() 184 sec_1b = dtable[(u8) pw[0]] & BIT(4); in sae_pk_valid_password() 186 if (sec_1b != (dtable[(u8) pw[i]] & BIT(4))) { in sae_pk_valid_password() [all …]
|
| /src/usr.sbin/rtadvctl/ |
| H A D | rtadvctl.c | 108 } dtable[] = { variable 141 for (i = 0; (size_t)i < nitems(dtable); i++) { in usage() 142 if (dtable[i].dt_comm == NULL) in usage() 144 printf("%s\n", dtable[i].dt_comm); in usage() 176 for (i = 0; (size_t)i < nitems(dtable); i++) { in main() 177 if (dtable[i].dt_comm == NULL || in main() 178 strcmp(dtable[i].dt_comm, argv[0]) == 0) { in main() 179 action = dtable[i].dt_act; in main() 187 error = (dtable[i].dt_act)(--argc, ++argv); in main() 189 fprintf(stderr, "%s failed", dtable[i].dt_comm); in main()
|
| /src/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()
|
| /src/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; \
|
| /src/sys/contrib/openzfs/module/zstd/lib/decompress/ |
| H A D | huf_decompress_amd64.S | 83 #define dtable r14 macro 156 movq 96(%rax), %dtable 231 movzwl (%dtable,%var##n,2),%vard##n 415 movq 96(%rax), %dtable 516 movzwl 0(%dtable,%rax,4),%r8d; \ 517 movzbl 2(%dtable,%rax,4),%r15d; \ 518 movzbl 3(%dtable,%rax,4),%eax; \
|
| H A D | huf_decompress.c | 727 U16 const* const dtable = (U16 const*)args->dt; in HUF_decompress4X1_usingDTable_internal_fast_c_loop() local 791 int const entry = (int)dtable[index]; \ in HUF_decompress4X1_usingDTable_internal_fast_c_loop() 1531 HUF_DEltX2 const* const dtable = (HUF_DEltX2 const*)args->dt; in HUF_decompress4X2_usingDTable_internal_fast_c_loop() local 1610 HUF_DEltX2 const entry = dtable[index]; \ in HUF_decompress4X2_usingDTable_internal_fast_c_loop()
|
| /src/sys/contrib/openzfs/module/zstd/lib/common/ |
| H A D | fse_decompress.c | 256 FSE_DTable* const dtable = (FSE_DTable*)workSpace + dtablePos; in FSE_decompress_wksp_body() local 279 …CHECK_F( FSE_buildDTable_internal(dtable, wksp->ncount, maxSymbolValue, tableLog, workSpace, wkspS… in FSE_decompress_wksp_body() 282 const void* ptr = dtable; in FSE_decompress_wksp_body() 287 …if (fastMode) return FSE_decompress_usingDTable_generic(dst, dstCapacity, ip, cSrcSize, dtable, 1); in FSE_decompress_wksp_body() 288 return FSE_decompress_usingDTable_generic(dst, dstCapacity, ip, cSrcSize, dtable, 0); in FSE_decompress_wksp_body()
|