Home
last modified time | relevance | path

Searched refs:currentLen (Results 1 – 5 of 5) sorted by relevance

/external/qemu/android/utils/
Dpath.c445 int currentLen = GetCurrentDirectory(0, NULL); in path_get_absolute() local
447 if (currentLen <= 0) { in path_get_absolute()
452 result = malloc(currentLen + pathLen + 2); in path_get_absolute()
454 GetCurrentDirectory(currentLen+1, result); in path_get_absolute()
455 if (currentLen == 0 || result[currentLen-1] != '\\') { in path_get_absolute()
456 result[currentLen++] = '\\'; in path_get_absolute()
458 memcpy(result + currentLen, path, pathLen+1); in path_get_absolute()
466 int currentLen; in path_get_absolute() local
476 currentLen = strlen(currentDir); in path_get_absolute()
477 result = malloc(currentLen + pathLen + 2); in path_get_absolute()
[all …]
/external/icu4c/i18n/
Dregexcmp.cpp2431 … int32_t currentLen = 0; // Minimum length of a match to this point (loc) in the pattern in matchStartType() local
2458 if (forwardedLength.elementAti(loc) < currentLen) { in matchStartType()
2459 currentLen = forwardedLength.elementAti(loc); in matchStartType()
2460 U_ASSERT(currentLen>=0 && currentLen < INT32_MAX); in matchStartType()
2503 if (currentLen == 0) { in matchStartType()
2509 currentLen++; in matchStartType()
2515 if (currentLen == 0) { in matchStartType()
2522 currentLen++; in matchStartType()
2529 if (currentLen == 0) { in matchStartType()
2540 if (currentLen == 0) { in matchStartType()
[all …]
/external/srec/srec/crec/
Dword_lattice.c176 size_t i, currentLen = 0; in sprint_word_token_backtraceByWordID() local
186 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 …]
Dsrec_results.c237 size_t currentLen = 0; in srec_nbest_get_resultWordIDs() local
259 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()
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/digest/
DSHA1.java22 private long currentLen; field in SHA1
43 currentLen = 0; in reset()
66 currentLen += 32; in update()
77 currentLen += 24; in update()
88 currentLen += 16; in update()
99 currentLen += 8; in update()
133 currentLen += 64; in update()
143 currentLen += 32; in update()
160 currentLen += 8; in update()
177 currentLen += 8; in update()
[all …]