Lines Matching refs:newIndex
444 int index, newIndex = 0, needsCRC = 0; in udf_translate_to_linux() local
454 newIndex = udfLen; in udf_translate_to_linux()
478 newExtIndex = newIndex; in udf_translate_to_linux()
481 if (newIndex < 256) in udf_translate_to_linux()
482 newName[newIndex++] = curr; in udf_translate_to_linux()
512 if (newIndex > maxFilenameLen) in udf_translate_to_linux()
513 newIndex = maxFilenameLen; in udf_translate_to_linux()
515 newIndex = newExtIndex; in udf_translate_to_linux()
517 else if (newIndex > 250) in udf_translate_to_linux()
518 newIndex = 250; in udf_translate_to_linux()
519 newName[newIndex++] = CRC_MARK; in udf_translate_to_linux()
521 newName[newIndex++] = hexChar[(valueCRC & 0xf000) >> 12]; in udf_translate_to_linux()
522 newName[newIndex++] = hexChar[(valueCRC & 0x0f00) >> 8]; in udf_translate_to_linux()
523 newName[newIndex++] = hexChar[(valueCRC & 0x00f0) >> 4]; in udf_translate_to_linux()
524 newName[newIndex++] = hexChar[(valueCRC & 0x000f)]; in udf_translate_to_linux()
528 newName[newIndex++] = EXT_MARK; in udf_translate_to_linux()
530 newName[newIndex++] = ext[index]; in udf_translate_to_linux()
533 return newIndex; in udf_translate_to_linux()