Home
last modified time | relevance | path

Searched refs:scratchStateSize (Results 1 – 22 of 22) sorted by relevance

/dports/devel/hyperscan/hyperscan-5.4.0/src/nfa/
H A Dtamaramacompile.cpp81 u32 scratchStateSize = verify_u32(sub->scratchStateSize); in copyInSubnfas() local
83 maxScratchStateSize = max(maxScratchStateSize, scratchStateSize); in copyInSubnfas()
106 nfa.scratchStateSize = maxScratchStateSize; in copyInSubnfas()
H A Dcastlecompile.cpp346 u32 &scratchStateSize, u32 &streamStateSize, in buildSubcastles() argument
383 sub.fullStateOffset = scratchStateSize; in buildSubcastles()
385 scratchStateSize += verify_u32(sizeof(RepeatControl)); in buildSubcastles()
429 sub.fullStateOffset = scratchStateSize; in buildSubcastles()
431 scratchOffset[id] = scratchStateSize; in buildSubcastles()
433 scratchStateSize += verify_u32(sizeof(RepeatControl)); in buildSubcastles()
471 u32 scratchStateSize = ROUNDUP_N(streamStateSize, alignof(RepeatControl)); in buildCastle() local
557 scratchStateSize, streamStateSize, tableSize, in buildCastle()
585 nfa->scratchStateSize = scratchStateSize; in buildCastle()
H A Dmcclellan.c1273 assert(nfa->scratchStateSize == 1); in nfaExecMcClellan8_queueInitState()
1281 assert(m->has_wide == 1 ? nfa->scratchStateSize == 4 in nfaExecMcClellan16_queueInitState()
1282 : nfa->scratchStateSize == 2); in nfaExecMcClellan16_queueInitState()
1297 assert(nfa->scratchStateSize == 1); in nfaExecMcClellan8_queueCompressState()
1306 assert(nfa->scratchStateSize == 1); in nfaExecMcClellan8_expandState()
1318 assert(m->has_wide == 1 ? nfa->scratchStateSize == 4 in nfaExecMcClellan16_queueCompressState()
1319 : nfa->scratchStateSize == 2); in nfaExecMcClellan16_queueCompressState()
1337 assert(m->has_wide == 1 ? nfa->scratchStateSize == 4 in nfaExecMcClellan16_expandState()
1338 : nfa->scratchStateSize == 2); in nfaExecMcClellan16_expandState()
H A Dmpvcompile.cpp206 u32 streamStateSize, u32 scratchStateSize) { in writeCoreNfa() argument
214 nfa->scratchStateSize = scratchStateSize; in writeCoreNfa()
H A Dnfa_dump_internal.cpp89 fprintf(f, "Scratch State : %u bytes\n", nfa->scratchStateSize); in dumpTextReverse()
H A Dnfa_internal.h116 u32 scratchStateSize; member
H A Dsheng.c846 assert(nfa->scratchStateSize == 1); in nfaExecSheng_queueInitState()
859 assert(nfa->scratchStateSize == 1); in nfaExecSheng_queueCompressState()
868 assert(nfa->scratchStateSize == 1); in nfaExecSheng_expandState()
1366 assert(nfa->scratchStateSize == 1); in nfaExecSheng32_queueInitState()
1379 assert(nfa->scratchStateSize == 1); in nfaExecSheng32_queueCompressState()
1388 assert(nfa->scratchStateSize == 1); in nfaExecSheng32_expandState()
1850 assert(nfa->scratchStateSize == 1); in nfaExecSheng64_queueInitState()
1863 assert(nfa->scratchStateSize == 1); in nfaExecSheng64_queueCompressState()
1872 assert(nfa->scratchStateSize == 1); in nfaExecSheng64_expandState()
H A Dmcsheng.c1356 assert(nfa->scratchStateSize == 1); in nfaExecMcSheng8_queueInitState()
1362 assert(nfa->scratchStateSize == 2); in nfaExecMcSheng16_queueInitState()
1372 assert(nfa->scratchStateSize == 1); in nfaExecMcSheng8_queueCompressState()
1381 assert(nfa->scratchStateSize == 1); in nfaExecMcSheng8_expandState()
1392 assert(nfa->scratchStateSize == 2); in nfaExecMcSheng16_queueCompressState()
1402 assert(nfa->scratchStateSize == 2); in nfaExecMcSheng16_expandState()
2684 assert(nfa->scratchStateSize == 1); in nfaExecMcSheng64_8_queueInitState()
2690 assert(nfa->scratchStateSize == 2); in nfaExecMcSheng64_16_queueInitState()
2700 assert(nfa->scratchStateSize == 1); in nfaExecMcSheng64_8_queueCompressState()
2709 assert(nfa->scratchStateSize == 1); in nfaExecMcSheng64_8_expandState()
[all …]
H A Dshengcompile.cpp427 n->scratchStateSize = 1; in populateBasicInfo()
452 n->scratchStateSize = 1; in populateBasicInfo()
477 n->scratchStateSize = 1; in populateBasicInfo()
H A Dlimex_compile.cpp1716 size_t scratchStateSize = NFATraits<dtype>::scratch_state_size; in allocState() local
1719 scratchStateSize in allocState()
1720 = ROUNDUP_N(scratchStateSize, alignof(RepeatControl)); in allocState()
1721 scratchStateSize += repeatscratchStateSize; in allocState()
1725 nfa->scratchStateSize = verify_u32(scratchStateSize); in allocState()
1757 u32 *scratchStateSize, u32 *streamState) { in buildRepeats()
1820 *scratchStateSize += sizeof(RepeatControl); in buildRepeats()
H A Dgough.c199 || dest < (nfa->scratchStateSize - 16) / 8); in run_prog_i()
1073 memset(q->state, 0, nfa->scratchStateSize); in nfaExecGough8_queueInitState()
1078 memset(q->state, 0, nfa->scratchStateSize); in nfaExecGough16_queueInitState()
H A Dmcclellancompile.cpp316 nfa->scratchStateSize = verify_u32(state_size); in populateBasicInfo()
342 nfa->scratchStateSize += sizeof(u8); in populateBasicInfo()
348 nfa->scratchStateSize += sizeof(u16); in populateBasicInfo()
H A Dmpv.c779 assert(sizeof(*out) <= n->scratchStateSize); in mpvLoadState()
861 assert(sizeof(*out) <= n->scratchStateSize); in nfaExecMpv_queueInitState()
H A Dmcsheng_compile.cpp218 nfa->scratchStateSize = verify_u32(state_size); in populateBasicInfo()
318 nfa->scratchStateSize = verify_u32(state_size); in populateBasicInfo64()
H A Dgoughcompile.cpp1134 gough_dfa->scratchStateSize = (u32)(16 + scratch_slot_count * sizeof(u64a)); in goughCompile()
/dports/devel/hyperscan/hyperscan-5.4.0/unit/internal/
H A Dlimex_nfa.cpp92 full_state = make_bytecode_ptr<char>(nfa->scratchStateSize, 64); in SetUp()
148 EXPECT_LT(0, nfa->scratchStateSize); in TEST_P()
170 u32 real_state_size = nfa->scratchStateSize; in TEST_P()
191 auto state_copy = make_bytecode_ptr<char>(nfa->scratchStateSize, 64); in TEST_P()
193 memset(dest, 0xff, nfa->scratchStateSize); in TEST_P()
205 if (nfa->scratchStateSize == 8) { in TEST_P()
386 full_state = make_bytecode_ptr<char>(nfa->scratchStateSize, 64); in SetUp()
H A Dlbr.cpp111 full_state = make_bytecode_ptr<char>(nfa->scratchStateSize, 64); in SetUp()
/dports/devel/hyperscan/hyperscan-5.4.0/src/rose/
H A Drose_internal.h363 u32 scratchStateSize; /**< uncompressed state req'd for NFAs in scratch; member
H A Drose_build_bytecode.cpp2079 RoseStateOffsets *so, u32 *scratchStateSize, in allocateStateSpace() argument
2096 *scratchStateSize = ROUNDUP_N(*scratchStateSize, eng_info.scratch_align); in allocateStateSpace()
2097 nfa_info.fullStateOffset = *scratchStateSize; in allocateStateSpace()
2098 *scratchStateSize += eng_info.scratch_size; in allocateStateSpace()
2103 RoseStateOffsets *so, u32 *scratchStateSize, in updateNfaState() argument
2110 *scratchStateSize = 0; in updateNfaState()
2115 allocateStateSpace(eng_info, nfa_info, so, scratchStateSize, in updateNfaState()
2551 updateNfaState(bc, infos, &proto.stateOffsets, &proto.scratchStateSize, in writeNfaInfo()
H A Drose_build_program.cpp61 scratch_size(nfa->scratchStateSize), in engine_info()
/dports/devel/hyperscan/hyperscan-5.4.0/src/nfagraph/
H A Dng_lbr.cpp113 nfa->scratchStateSize = (u32)sizeof(lbr_state); in fillNfa()
/dports/devel/hyperscan/hyperscan-5.4.0/src/
H A Dscratch.c359 u32 fullStateSize = rose->scratchStateSize; in hs_alloc_scratch()