/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
whichdb.py | 9 import dbm
10 _dbmerror = dbm.error
12 dbm = None
variable 14 # dbm test
24 - the module name (e.g. "dbm" or "gdbm") if recognized.
30 # Check for dbm first -- this has a .pag and a .dir file
34 # dbm linked with gdbm on OS/2 doesn't have .dir file
35 if not (dbm.library == "GNU gdbm" and sys.platform == "os2emx"):
38 return "dbm"
40 # some dbm emulations based on Berkeley DB generate a .db file [all...] |
/external/python/cpython2/Lib/ |
whichdb.py | 9 import dbm 10 _dbmerror = dbm.error 12 dbm = None variable 14 # dbm test 24 - the module name (e.g. "dbm" or "gdbm") if recognized. 30 # Check for dbm first -- this has a .pag and a .dir file 34 # dbm linked with gdbm on OS/2 doesn't have .dir file 35 if not (dbm.library == "GNU gdbm" and sys.platform == "os2emx"): 38 return "dbm" 40 # some dbm emulations based on Berkeley DB generate a .db fil [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
whichdb.py | 9 import dbm 10 _dbmerror = dbm.error 12 dbm = None variable 14 # dbm test 24 - the module name (e.g. "dbm" or "gdbm") if recognized. 30 # Check for dbm first -- this has a .pag and a .dir file 34 # dbm linked with gdbm on OS/2 doesn't have .dir file 35 if not (dbm.library == "GNU gdbm" and sys.platform == "os2emx"): 38 return "dbm" 40 # some dbm emulations based on Berkeley DB generate a .db fil [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
whichdb.py | 9 import dbm 10 _dbmerror = dbm.error 12 dbm = None variable 14 # dbm test 24 - the module name (e.g. "dbm" or "gdbm") if recognized. 30 # Check for dbm first -- this has a .pag and a .dir file 34 # dbm linked with gdbm on OS/2 doesn't have .dir file 35 if not (dbm.library == "GNU gdbm" and sys.platform == "os2emx"): 38 return "dbm" 40 # some dbm emulations based on Berkeley DB generate a .db fil [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
whichdb.py | 9 import dbm 10 _dbmerror = dbm.error 12 dbm = None variable 14 # dbm test 24 - the module name (e.g. "dbm" or "gdbm") if recognized. 30 # Check for dbm first -- this has a .pag and a .dir file 34 # dbm linked with gdbm on OS/2 doesn't have .dir file 35 if not (dbm.library == "GNU gdbm" and sys.platform == "os2emx"): 38 return "dbm" 40 # some dbm emulations based on Berkeley DB generate a .db fil [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
whichdb.py | 9 import dbm 10 _dbmerror = dbm.error 12 dbm = None variable 14 # dbm test 24 - the module name (e.g. "dbm" or "gdbm") if recognized. 30 # Check for dbm first -- this has a .pag and a .dir file 34 # dbm linked with gdbm on OS/2 doesn't have .dir file 35 if not (dbm.library == "GNU gdbm" and sys.platform == "os2emx"): 38 return "dbm" 40 # some dbm emulations based on Berkeley DB generate a .db fil [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_dbm.py | 3 dbm = test_support.import_module('dbm')
variable 9 self.d = dbm.open(self.filename, 'c')
17 self.d = dbm.open(self.filename, 'c')
33 self.d = dbm.open(self.filename, mode)
35 except dbm.error:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
db2pickle.py | 11 -d - open as dbm file
28 import dbm
30 dbm = None
variable 53 ["hash", "btree", "recno", "dbm",
105 elif opt in ("-d", "--dbm"):
107 dbopen = dbm.open
109 sys.stderr.write("dbm module unavailable.\n")
|
pickle2db.py | 12 -d - open as dbm file
33 import dbm
35 dbm = None
variable 58 ["hash", "btree", "recno", "dbm", "anydbm",
110 elif opt in ("-d", "--dbm"):
112 dbopen = dbm.open
114 sys.stderr.write("dbm module unavailable.\n")
|
/external/python/cpython2/Lib/test/ |
test_dbm.py | 3 dbm = test_support.import_module('dbm') variable 9 self.d = dbm.open(self.filename, 'c') 17 self.d = dbm.open(self.filename, 'c') 33 self.d = dbm.open(self.filename, mode) 35 except dbm.error:
|
/external/python/cpython2/Tools/scripts/ |
db2pickle.py | 11 -d - open as dbm file 28 import dbm 30 dbm = None variable 53 ["hash", "btree", "recno", "dbm", 105 elif opt in ("-d", "--dbm"): 107 dbopen = dbm.open 109 sys.stderr.write("dbm module unavailable.\n")
|
pickle2db.py | 12 -d - open as dbm file 33 import dbm 35 dbm = None variable 58 ["hash", "btree", "recno", "dbm", "anydbm", 110 elif opt in ("-d", "--dbm"): 112 dbopen = dbm.open 114 sys.stderr.write("dbm module unavailable.\n")
|
/external/python/cpython3/Tools/scripts/ |
db2pickle.py | 9 -a - open using dbm (any supported format) 11 -d - open as dbm file 28 import dbm.ndbm as dbm 30 dbm = None variable 32 import dbm.gnu as gdbm 36 import dbm.ndbm as anydbm 53 ["hash", "btree", "recno", "dbm", 97 sys.stderr.write("dbm module unavailable.\n") 103 sys.stderr.write("dbm.gnu module unavailable.\n" [all...] |
pickle2db.py | 10 -a - open using dbm (open any supported format) 12 -d - open as dbm.ndbm file 13 -g - open as dbm.gnu file 33 import dbm.ndbm as dbm 35 dbm = None variable 37 import dbm.gnu as gdbm 41 import dbm.ndbm as anydbm 58 ["hash", "btree", "recno", "dbm", "anydbm", 102 sys.stderr.write("dbm module unavailable.\n" [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_dbm.py | 3 dbm = test_support.import_module('dbm') variable 9 self.d = dbm.open(self.filename, 'c') 17 self.d = dbm.open(self.filename, 'c') 33 self.d = dbm.open(self.filename, mode) 35 except dbm.error:
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_dbm.py | 3 dbm = test_support.import_module('dbm') variable 9 self.d = dbm.open(self.filename, 'c') 17 self.d = dbm.open(self.filename, 'c') 33 self.d = dbm.open(self.filename, mode) 35 except dbm.error:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dbm.py | 3 dbm = test_support.import_module('dbm') variable 9 self.d = dbm.open(self.filename, 'c') 17 self.d = dbm.open(self.filename, 'c') 33 self.d = dbm.open(self.filename, mode) 35 except dbm.error:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dbm.py | 3 dbm = test_support.import_module('dbm') variable 9 self.d = dbm.open(self.filename, 'c') 17 self.d = dbm.open(self.filename, 'c') 33 self.d = dbm.open(self.filename, mode) 35 except dbm.error:
|
/external/python/cpython3/Lib/test/ |
test_dbm.py | 1 """Test script for the dbm.open function based on testdumbdbm.py""" 7 # Skip tests if dbm module doesn't exist. 8 dbm = test.support.import_module('dbm') variable 11 from dbm import ndbm 18 # Iterates over every database module supported by dbm currently available, 19 # setting dbm to use each in turn, and yielding that module 22 for name in dbm._names: 27 dbm._modules[name] = mod 51 f = dbm.open(_fname, 'n' [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/ |
Dates.py | 54 dbm = 0
variable 56 _DAYS_BEFORE_MONTH.append(dbm)
57 dbm = dbm + dim
variable 58 del dbm, dim
108 dbm = _days_before_month(month, year)
109 if dbm >= n:
111 dbm = dbm - _days_in_month(month, year)
113 ans.month, ans.day, ans.year = month, n-dbm, year [all...] |
/external/python/cpython2/Demo/classes/ |
Dates.py | 54 dbm = 0 variable 56 _DAYS_BEFORE_MONTH.append(dbm) 57 dbm = dbm + dim variable 58 del dbm, dim 108 dbm = _days_before_month(month, year) 109 if dbm >= n: 111 dbm = dbm - _days_in_month(month, year) 113 ans.month, ans.day, ans.year = month, n-dbm, yea [all...] |
/system/chre/chre_api/include/chre_api/chre/ |
wwan.h | 227 int32_t dbm; member in struct:chreWwanSignalStrengthCdma 240 int32_t dbm; member in struct:chreWwanSignalStrengthEvdo 256 //! The current Reference Signal Receive Power in dBm multipled by -1. 257 //! Range: 44 to 140 dBm 291 //! The Received Signal Code Power in dBm multipled by -1.
|
/system/chre/chre_api/legacy/v1_1/chre/ |
wwan.h | 227 int32_t dbm; member in struct:chreWwanSignalStrengthCdma 240 int32_t dbm; member in struct:chreWwanSignalStrengthEvdo 256 //! The current Reference Signal Receive Power in dBm multipled by -1. 257 //! Range: 44 to 140 dBm 291 //! The Received Signal Code Power in dBm multipled by -1.
|
/external/python/cpython3/Lib/ |
datetime.py | 30 dbm = 0 variable 32 _DAYS_BEFORE_MONTH.append(dbm) 33 dbm += dim 34 del dbm, dim [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
CellInfoTest.java | 54 // Maximum and minimum possible RSSI values(in dbm). 57 // Maximum and minimum possible RSSP values(in dbm). 244 int dbm = (cdmaDbm < evdoDbm) ? cdmaDbm : evdoDbm; local 245 assertEquals("getDbm() did not get correct value", dbm, cdma.getDbm()); 499 // Dbm here does not have specific limits. So just calling to verify that it does not crash 608 // Dbm here does not have specific limits. So just calling to verify that it does not 626 // Rssi(in dbm) should be within [MIN_RSSI, MAX_RSSI]. 627 private void verifyRssiDbm(int dbm) { 628 assertTrue("getCellSignalStrength().getDbm() out of range, dbm=" + dbm, [all...] |