Searched refs:currentLen (Results 1 – 4 of 4) sorted by relevance
2423 … int32_t currentLen = 0; // Minimum length of a match to this point (loc) in the pattern in matchStartType() local2450 if (forwardedLength.elementAti(loc) < currentLen) { in matchStartType()2451 currentLen = forwardedLength.elementAti(loc); in matchStartType()2452 U_ASSERT(currentLen>=0 && currentLen < INT32_MAX); in matchStartType()2495 if (currentLen == 0) { in matchStartType()2501 currentLen++; in matchStartType()2507 if (currentLen == 0) { in matchStartType()2514 currentLen++; in matchStartType()2521 if (currentLen == 0) { in matchStartType()2532 if (currentLen == 0) { in matchStartType()[all …]
2429 … int32_t currentLen = 0; // Minimum length of a match to this point (loc) in the pattern in matchStartType() local2456 if (forwardedLength.elementAti(loc) < currentLen) { in matchStartType()2457 currentLen = forwardedLength.elementAti(loc); in matchStartType()2458 U_ASSERT(currentLen>=0 && currentLen < INT32_MAX); in matchStartType()2501 if (currentLen == 0) { in matchStartType()2507 currentLen++; in matchStartType()2513 if (currentLen == 0) { in matchStartType()2520 currentLen++; in matchStartType()2527 if (currentLen == 0) { in matchStartType()2538 if (currentLen == 0) { in matchStartType()[all …]
176 size_t i, currentLen = 0; in sprint_word_token_backtraceByWordID() local186 if (*len <= currentLen) in sprint_word_token_backtraceByWordID()190 *len = currentLen + 1; in sprint_word_token_backtraceByWordID()194 wordIDs[currentLen] = wtoken->word; in sprint_word_token_backtraceByWordID()195 ++currentLen; in sprint_word_token_backtraceByWordID()207 for (i = 0; i < currentLen / 2; i++) in sprint_word_token_backtraceByWordID()210 wordIDs[i] = wordIDs[(currentLen-1-i)]; in sprint_word_token_backtraceByWordID()211 wordIDs[(currentLen-1-i)] = tmp; in sprint_word_token_backtraceByWordID()214 if (currentLen >= 1 && wordIDs[0] == rec->context->beg_silence_word) in sprint_word_token_backtraceByWordID()216 for (i = 0; i < currentLen - 1; i++) in sprint_word_token_backtraceByWordID()[all …]
237 size_t currentLen = 0; in srec_nbest_get_resultWordIDs() local259 if (currentLen >= *len) in srec_nbest_get_resultWordIDs()262 *len = currentLen + 1; in srec_nbest_get_resultWordIDs()267 ++currentLen; in srec_nbest_get_resultWordIDs()270 --currentLen; in srec_nbest_get_resultWordIDs()272 if (currentLen >= *len) in srec_nbest_get_resultWordIDs()275 *len = currentLen + 1; in srec_nbest_get_resultWordIDs()279 *len = currentLen + 1; in srec_nbest_get_resultWordIDs()