Lines Matching refs:j
110 int i, j; in smb_utf16_bytes() local
120 for (j = 1; j <= 2; j++) { in smb_utf16_bytes()
121 if (i + j < maxwords) in smb_utf16_bytes()
122 ftmp[j] = get_unaligned_le16(&from[i + j]); in smb_utf16_bytes()
124 ftmp[j] = 0; in smb_utf16_bytes()
164 int i, j, charlen, safelen; in smb_from_utf16() local
183 for (j = 1; j <= 2; j++) { in smb_from_utf16()
184 if (i + j < fromwords) in smb_from_utf16()
185 ftmp[j] = get_unaligned_le16(&from[i + j]); in smb_from_utf16()
187 ftmp[j] = 0; in smb_from_utf16()
346 int i, j, charlen; in smbConvertToUTF16() local
357 for (i = 0, j = 0; i < srclen; j++) { in smbConvertToUTF16()
362 put_unaligned(0, &target[j]); in smbConvertToUTF16()
363 return j; in smbConvertToUTF16()
417 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
424 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
426 j++; in smbConvertToUTF16()
427 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
430 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
432 j++; in smbConvertToUTF16()
433 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
435 j++; in smbConvertToUTF16()
436 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
451 put_unaligned(dst_char, &target[j]); in smbConvertToUTF16()
454 return j; in smbConvertToUTF16()