Lines Matching refs:data

106 Continuation = re.compile(br'\+( (?P<data>.*))?')
116 # We no longer exclude the ']' character from the data portion of the response
124 Response_code = re.compile(br'\[(?P<type>[A-Z-]+)( (?P<data>.*))?\]')
125 Untagged_response = re.compile(br'\* (?P<type>[A-Z-]+)( (?P<data>.*))?')
128 br'\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?', re.ASCII)
131 _Untagged_status = br'\* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?'
160 Each command returns a tuple: (type, [data, ...]) where 'type'
161 is usually 'OK' or 'NO', and 'data' is either the text from the
162 tagged response, or untagged results from command. Each 'data'
165 the data (ie: 'literal' value).
193 self.untagged_responses = {} # {typ: [data, ...], ...}
234 + br'\d+) (?P<type>[A-Z]+) (?P<data>.*)', re.ASCII)
329 def send(self, data):
330 """Send data to remote."""
331 sys.audit("imaplib.send", self, data)
332 self.sock.sendall(data)
367 (typ, [data]) = <instance>.recent()
369 'data' is None if no new messages,
381 """Return data for response 'code' if received, or None.
385 (code, [data]) = <instance>.response(code)
397 (typ, [data]) = <instance>.append(mailbox, flags, date_time, message)
429 data = authobject(response)
433 data that will be base64 encoded and sent to the server. It should
450 """(typ, [data]) = <instance>.capability()
461 (typ, [data]) = <instance>.check()
472 (typ, [data]) = <instance>.close()
484 (typ, [data]) = <instance>.copy(message_set, new_mailbox)
492 (typ, [data]) = <instance>.create(mailbox)
500 (typ, [data]) = <instance>.delete(mailbox)
507 (typ, [data]) = <instance>.deleteacl(mailbox, who)
514 (typ, [data]) = <instance>.enable(capability)
518 typ, data = self._simple_command('ENABLE', capability)
521 return typ, data
528 (typ, [data]) = <instance>.expunge()
530 'data' is list of 'EXPUNGE'd message numbers in order received.
540 (typ, [data, ...]) = <instance>.fetch(message_set, message_parts)
545 'data' are tuples of message part envelope and data.
555 (typ, [data]) = <instance>.getacl(mailbox)
562 """(typ, [data]) = <instance>.getannotation(mailbox, entry, attribute)
574 (typ, [data]) = <instance>.getquota(root)
594 (typ, [data]) = <instance>.list(directory='""', pattern='*')
596 'data' is list of LIST responses.
606 (typ, [data]) = <instance>.login(user, password)
620 (typ, [data]) = <instance>.login_cram_md5(user, password)
637 (typ, [data]) = <instance>.logout()
650 (typ, [data, ...]) = <instance>.lsub(directory='""', pattern='*')
652 'data' are tuples of message part envelope and data.
661 (typ, [data]) = <instance>.myrights(mailbox)
669 (typ, [data, ...]) = <instance>.namespace()
679 (typ, [data]) = <instance>.noop()
690 (typ, [data, ...]) = <instance>.partial(message_num, message_part, start, length)
692 'data' is tuple of message part envelope and data.
705 (typ, [data]) = <instance>.proxyauth(user)
715 (typ, [data]) = <instance>.rename(oldmailbox, newmailbox)
723 (typ, [data]) = <instance>.search(charset, criterion, ...)
725 'data' is space separated list of matching message numbers.
743 (typ, [data]) = <instance>.select(mailbox='INBOX', readonly=False)
745 'data' is count of messages in mailbox ('EXISTS' response).
773 (typ, [data]) = <instance>.setacl(mailbox, who, what)
779 """(typ, [data]) = <instance>.setannotation(mailbox[, entry, attribute]+)
789 (typ, [data]) = <instance>.setquota(root, limits)
798 (typ, [data]) = <instance>.sort(sort_criteria, charset, search_criteria, ...)
835 (typ, [data]) = <instance>.status(mailbox, names)
847 (typ, [data]) = <instance>.store(message_set, command, flags)
858 (typ, [data]) = <instance>.subscribe(mailbox)
866 (type, [data]) = <instance>.thread(threading_algorithm, charset, search_criteria, ...)
877 (typ, [data]) = <instance>.uid(command, arg1, arg2, ...)
901 (typ, [data]) = <instance>.unsubscribe(mailbox)
913 (typ, [data]) = <instance>.unselect()
916 typ, data = self._simple_command('UNSELECT')
919 return typ, data
928 (typ, [data]) = <instance>.xatom(name, arg, ...)
983 data = tag + b' ' + name
988 data = data + b' ' + arg
997 data = data + bytes(' {%s}' % len(literal), self._encoding)
1001 self._mesg('> %r' % data)
1003 self._log('> %r' % data)
1006 self.send(data + CRLF)
1047 typ, data = self._get_tagged_response(tag, expect_bye=logout)
1055 raise self.error('%s command error: %s %s' % (name, typ, data))
1056 return typ, data
1086 dat = self.mo.group('data')
1101 self.continuation_response = self.mo.group('data')
1108 dat = self.mo.group('data')
1122 data = self.read(size)
1126 self._append_untagged(typ, (dat, data))
1139 self._append_untagged(typ, self.mo.group('data'))
1238 data = self.untagged_responses.pop(name)
1241 self._mesg('untagged_responses[%s] => %s' % (name, data))
1242 return typ, data
1384 def send(self, data):
1385 """Send data to remote."""
1386 self.writefile.write(data)
1405 self.mech = mechinst # Callable object to provide/process data
1407 def process(self, data):
1408 ret = self.mech(self.decode(data))