• Home
  • Raw
  • Download

Lines Matching refs:FLAGS2_UNICODE

742         if flags & SMB.FLAGS2_UNICODE:
2313 FLAGS2_UNICODE = 0x8000 variable in SMB
2681 path = path.upper().encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else path
2691 if self.__flags2 & SMB.FLAGS2_UNICODE:
2762 filename = filename.encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else filename
2775 if self.__flags2 & SMB.FLAGS2_UNICODE:
2798 filename = filename.encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else filename
2811 if self.__flags2 & SMB.FLAGS2_UNICODE:
3012 if flags2 & SMB.FLAGS2_UNICODE:
3013 self.__flags2 = flags2 & (flags2 ^ SMB.FLAGS2_UNICODE)
3153 if flags2 & SMB.FLAGS2_UNICODE:
3154 self.__flags2 |= SMB.FLAGS2_UNICODE
3165 if flags2 & SMB.FLAGS2_UNICODE:
3166 self.__flags2 = flags2 & (flags2 ^ SMB.FLAGS2_UNICODE)
3289 if flags2 & SMB.FLAGS2_UNICODE:
3290 self.__flags2 |= SMB.FLAGS2_UNICODE
3359 if flags2 & SMB.FLAGS2_UNICODE:
3360 self.__flags2 = flags2 & (flags2 ^ SMB.FLAGS2_UNICODE)
3430 if flags2 & SMB.FLAGS2_UNICODE:
3431 self.__flags2 |= SMB.FLAGS2_UNICODE
3710 filename = filename.encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else filename
3730 if self.__flags2 & SMB.FLAGS2_UNICODE:
3763 path = path.encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else path
3775 …dFirstParameter['FileName'] = path + ('\x00\x00' if self.__flags2 & SMB.FLAGS2_UNICODE else '\x00')
3799 …name = record['ShortName'].decode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else record['S…
3800 …ename = record['FileName'].decode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else record['F…
3818 …eter['FileName'] = resume_filename + ('\x00\x00' if self.__flags2 & SMB.FLAGS2_UNICODE else '\x00')
3895 …['Data']['DirectoryName'] = path.encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else path
3922 …leName'] = (path + '\x00').encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else (path + '…
3941 path = path.encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else path
3963 path = path.encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else path
3996 …']['OldFileName'] = old_path.encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else old_path
3997 …']['NewFileName'] = new_path.encode('utf-16le') if self.__flags2 & SMB.FLAGS2_UNICODE else new_path