Lines Matching refs:scode
8446 // Build an array, scode, such that scode[i] contains the number
8475 std::vector<long long> scode(HUF_ENCSIZE);
8476 memset(scode.data(), 0, sizeof(long long) * HUF_ENCSIZE);
8496 // The entries in scode are linked into lists with the
8500 // Traverse the lists that start at scode[m] and scode[mm].
8502 // corresponding code by one bit. (If we visit scode[j]
8506 // Merge the lists that start at scode[m] and scode[mm]
8507 // into a single list that starts at scode[m].
8515 scode[j]++;
8517 TEXR_ASSERT(scode[j] <= 58);
8534 scode[j]++;
8536 TEXR_ASSERT(scode[j] <= 58);
8544 // lengths in scode with (code, code length) pairs. Copy the
8545 // code table from scode into frq.
8548 hufCanonicalCodeTable(scode.data());
8549 memcpy(frq, scode.data(), sizeof(long long) * HUF_ENCSIZE);