Lines Matching refs:newIndex
433 int index, newIndex = 0, needsCRC = 0; in udf_translate_to_linux() local
441 newIndex = udfLen; in udf_translate_to_linux()
461 newExtIndex = newIndex; in udf_translate_to_linux()
464 if (newIndex < newLen) in udf_translate_to_linux()
465 newName[newIndex++] = curr; in udf_translate_to_linux()
493 if (newIndex > maxFilenameLen) in udf_translate_to_linux()
494 newIndex = maxFilenameLen; in udf_translate_to_linux()
496 newIndex = newExtIndex; in udf_translate_to_linux()
497 } else if (newIndex > newLen - CRC_LEN) in udf_translate_to_linux()
498 newIndex = newLen - CRC_LEN; in udf_translate_to_linux()
499 newName[newIndex++] = CRC_MARK; in udf_translate_to_linux()
501 newName[newIndex++] = hex_asc_upper_hi(valueCRC >> 8); in udf_translate_to_linux()
502 newName[newIndex++] = hex_asc_upper_lo(valueCRC >> 8); in udf_translate_to_linux()
503 newName[newIndex++] = hex_asc_upper_hi(valueCRC); in udf_translate_to_linux()
504 newName[newIndex++] = hex_asc_upper_lo(valueCRC); in udf_translate_to_linux()
507 newName[newIndex++] = EXT_MARK; in udf_translate_to_linux()
509 newName[newIndex++] = ext[index]; in udf_translate_to_linux()
513 return newIndex; in udf_translate_to_linux()