Home
last modified time | relevance | path

Searched refs:nwords (Results 1 – 3 of 3) sorted by relevance

/lib/
Ddynamic_debug.c224 int nwords = 0; in ddebug_tokenize() local
252 if (nwords == maxwords) { in ddebug_tokenize()
258 words[nwords++] = buf; in ddebug_tokenize()
265 for (i = 0; i < nwords; i++) in ddebug_tokenize()
270 return nwords; in ddebug_tokenize()
320 static int ddebug_parse_query(char *words[], int nwords, in ddebug_parse_query() argument
327 if (nwords % 2 != 0) { in ddebug_parse_query()
337 for (i = 0; i < nwords; i += 2) { in ddebug_parse_query()
451 int nwords, nfound; in ddebug_exec_query() local
454 nwords = ddebug_tokenize(query_string, words, MAXWORDS); in ddebug_exec_query()
[all …]
Dbch.c145 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in load_ecc8() local
147 for (i = 0; i < nwords; i++, src += 4) in load_ecc8()
150 memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); in load_ecc8()
151 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8()
161 unsigned int i, nwords = BCH_ECC_WORDS(bch)-1; in store_ecc8() local
163 for (i = 0; i < nwords; i++) { in store_ecc8()
169 pad[0] = (src[nwords] >> 24); in store_ecc8()
170 pad[1] = (src[nwords] >> 16) & 0xff; in store_ecc8()
171 pad[2] = (src[nwords] >> 8) & 0xff; in store_ecc8()
172 pad[3] = (src[nwords] >> 0) & 0xff; in store_ecc8()
[all …]
/lib/reed_solomon/
Dtest_rslib.c66 int nwords; member
73 int nwords; member
310 stat->nwords += trials; in test_uc()
335 stat.dwrong, stat.nwords); in ex_rs_helper()
337 stat.irv, stat.nwords); in ex_rs_helper()
404 stat->nwords += trials; in test_bc()
429 stat.rfail, stat.nwords); in exercise_rs_bc()
431 stat.rsuccess, stat.nwords); in exercise_rs_bc()