Lines Matching refs:j
109 int i, j; in smb_utf16_bytes() local
119 for (j = 1; j <= 2; j++) { in smb_utf16_bytes()
120 if (i + j < maxwords) in smb_utf16_bytes()
121 ftmp[j] = get_unaligned_le16(&from[i + j]); in smb_utf16_bytes()
123 ftmp[j] = 0; in smb_utf16_bytes()
163 int i, j, charlen, safelen; in smb_from_utf16() local
182 for (j = 1; j <= 2; j++) { in smb_from_utf16()
183 if (i + j < fromwords) in smb_from_utf16()
184 ftmp[j] = get_unaligned_le16(&from[i + j]); in smb_from_utf16()
186 ftmp[j] = 0; in smb_from_utf16()
345 int i, j, charlen; in smbConvertToUTF16() local
356 for (i = 0, j = 0; i < srclen; j++) { in smbConvertToUTF16()
361 put_unaligned(0, &target[j]); in smbConvertToUTF16()
362 return j; in smbConvertToUTF16()
416 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
423 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
425 j++; in smbConvertToUTF16()
426 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
429 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
431 j++; in smbConvertToUTF16()
432 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
434 j++; in smbConvertToUTF16()
435 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
450 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
453 return j; in smbConvertToUTF16()