Lines Matching refs:mtAll
494 paramVariation(paramValues_t* ptr, memoTable_t* mtAll, const U32 nbChanges) in paramVariation() argument
502 const U32 changeID = (U32)FUZ_rand(&g_rand) % (mtAll[p.vals[strt_ind]].varLen << 1); in paramVariation()
503 paramVaryOnce(mtAll[p.vals[strt_ind]].varArray[changeID >> 1], in paramVariation()
1444 static void freeMemoTableArray(memoTable_t* const mtAll) { in freeMemoTableArray() argument
1446 if(mtAll == NULL) { return; } in freeMemoTableArray()
1448 free(mtAll[i].table); in freeMemoTableArray()
1450 free(mtAll); in freeMemoTableArray()
1461 memoTable_t* const mtAll = (memoTable_t*)calloc(sizeof(memoTable_t),(ZSTD_STRATEGY_MAX + 1)); in createMemoTableArray() local
1464 if(mtAll == NULL) { in createMemoTableArray()
1469 mtAll[i].varLen = sanitizeVarArray(mtAll[i].varArray, varyLen, varyParams, i); in createMemoTableArray()
1475 mtAll[i].tableType = noMemo; in createMemoTableArray()
1476 mtAll[i].table = NULL; in createMemoTableArray()
1477 mtAll[i].tableLen = 0; in createMemoTableArray()
1479 return mtAll; in createMemoTableArray()
1490 size_t mtl = memoTableLen(mtAll[i].varArray, mtAll[i].varLen); in createMemoTableArray()
1491 mtAll[i].tableType = directMap; in createMemoTableArray()
1494 mtAll[i].tableType = xxhashMap; in createMemoTableArray()
1498 mtAll[i].table = (BYTE*)calloc(sizeof(BYTE), mtl); in createMemoTableArray()
1499 mtAll[i].tableLen = mtl; in createMemoTableArray()
1501 if(mtAll[i].table == NULL) { in createMemoTableArray()
1502 freeMemoTableArray(mtAll); in createMemoTableArray()
1507 return mtAll; in createMemoTableArray()
2173 memoTable_t* mtAll, in climbOnce() argument
2195 const size_t varLen = mtAll[cparam.vals[strt_ind]].varLen; in climbOnce()
2205 paramVaryOnce(mtAll[cparam.vals[strt_ind]].varArray[i], in climbOnce()
2212 … sanitizeParams(candidateInfo.params), target, &winnerInfo.result, mtAll, feas); in climbOnce()
2235 paramVariation(&candidateInfo.params, mtAll, (U32)dist); in climbOnce()
2240 &winnerInfo.result, mtAll, feas); in climbOnce()