/external/python/cpython3/Lib/test/ |
test_mailcap.py | 1 import mailcap 7 # Location of mailcap file 8 MAILCAPFILE = test.support.findfile("mailcap.txt") 10 # Dict to act as mock mailcap entry for this test 73 mcfiles = mailcap.listmailcapfiles() 83 env_mailcaps = ["/testdir1/.mailcap", "/testdir2/mailcap"] 85 mcfiles = mailcap.listmailcapfiles() 92 d = mailcap.readmailcapfile(mcf) 99 actual = mailcap.lookup(MAILCAPDICT, 'video/mpeg' [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_sundry.py | 57 import mailcap
|
/external/python/cpython2/Lib/test/ |
test_sundry.py | 55 import mailcap
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_sundry.py | 61 import mailcap
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_sundry.py | 61 import mailcap
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sundry.py | 61 import mailcap
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sundry.py | 61 import mailcap
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mailcap.py | 0 """Mailcap file handling. See RFC 1524."""
10 """Return a dictionary containing the mailcap database.
13 to a list of dictionaries corresponding to mailcap entries. The list
14 collects all the entries for that MIME type from all available mailcap
20 for mailcap in listmailcapfiles():
22 fp = open(mailcap, 'r')
35 """Return a list of all mailcap files found on the system."""
46 mailcaps = [home + '/.mailcap', '/etc/mailcap',
47 '/usr/etc/mailcap', '/usr/local/etc/mailcap'] [all...] |
/external/python/cpython2/Lib/ |
mailcap.py | 0 """Mailcap file handling. See RFC 1524.""" 10 """Return a dictionary containing the mailcap database. 13 to a list of dictionaries corresponding to mailcap entries. The list 14 collects all the entries for that MIME type from all available mailcap 20 for mailcap in listmailcapfiles(): 22 fp = open(mailcap, 'r') 35 """Return a list of all mailcap files found on the system.""" 46 mailcaps = [home + '/.mailcap', '/etc/mailcap', 47 '/usr/etc/mailcap', '/usr/local/etc/mailcap' [all...] |
/external/python/cpython3/Lib/ |
mailcap.py | 0 """Mailcap file handling. See RFC 1524.""" 20 """Return a dictionary containing the mailcap database. 23 to a list of dictionaries corresponding to mailcap entries. The list 24 collects all the entries for that MIME type from all available mailcap 31 for mailcap in listmailcapfiles(): 33 fp = open(mailcap, 'r') 46 """Return a list of all mailcap files found on the system.""" 57 mailcaps = [home + '/.mailcap', '/etc/mailcap', 58 '/usr/etc/mailcap', '/usr/local/etc/mailcap' [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
mailcap.py | 0 """Mailcap file handling. See RFC 1524.""" 10 """Return a dictionary containing the mailcap database. 13 to a list of dictionaries corresponding to mailcap entries. The list 14 collects all the entries for that MIME type from all available mailcap 20 for mailcap in listmailcapfiles(): 22 fp = open(mailcap, 'r') 35 """Return a list of all mailcap files found on the system.""" 46 mailcaps = [home + '/.mailcap', '/etc/mailcap', 47 '/usr/etc/mailcap', '/usr/local/etc/mailcap' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
mailcap.py | 0 """Mailcap file handling. See RFC 1524.""" 10 """Return a dictionary containing the mailcap database. 13 to a list of dictionaries corresponding to mailcap entries. The list 14 collects all the entries for that MIME type from all available mailcap 20 for mailcap in listmailcapfiles(): 22 fp = open(mailcap, 'r') 35 """Return a list of all mailcap files found on the system.""" 46 mailcaps = [home + '/.mailcap', '/etc/mailcap', 47 '/usr/etc/mailcap', '/usr/local/etc/mailcap' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mailcap.py | 0 """Mailcap file handling. See RFC 1524.""" 10 """Return a dictionary containing the mailcap database. 13 to a list of dictionaries corresponding to mailcap entries. The list 14 collects all the entries for that MIME type from all available mailcap 20 for mailcap in listmailcapfiles(): 22 fp = open(mailcap, 'r') 35 """Return a list of all mailcap files found on the system.""" 46 mailcaps = [home + '/.mailcap', '/etc/mailcap', 47 '/usr/etc/mailcap', '/usr/local/etc/mailcap' [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mailcap.py | 0 """Mailcap file handling. See RFC 1524.""" 10 """Return a dictionary containing the mailcap database. 13 to a list of dictionaries corresponding to mailcap entries. The list 14 collects all the entries for that MIME type from all available mailcap 20 for mailcap in listmailcapfiles(): 22 fp = open(mailcap, 'r') 35 """Return a list of all mailcap files found on the system.""" 46 mailcaps = [home + '/.mailcap', '/etc/mailcap', 47 '/usr/etc/mailcap', '/usr/local/etc/mailcap' [all...] |