Home
last modified time | relevance | path

Searched refs:dtable (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/contrib/zstd/doc/educational_decoder/
H A Dzstd_decompress.c168 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 …]
/freebsd/libexec/mknetid/
H A Dmknetid.c80 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/contrib/wpa/src/utils/
H A Dbase64.c92 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/contrib/wpa/src/common/
H A Dsae_pk.c119 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 …]
/freebsd/usr.sbin/rtadvctl/
H A Drtadvctl.c107 } dtable[] = { variable
140 for (i = 0; (size_t)i < nitems(dtable); 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 < nitems(dtable); 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[ in main()
[all...]
/freebsd/sys/contrib/zstd/lib/common/
H A Dfse_decompress.c315 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/sys/contrib/zstd/lib/decompress/
H A Dhuf_decompress_amd64.S63 #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; \