/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | F__e_a_t.py | 46 fobj = Feature() 47 fobj.flags = flags 48 fobj.label = lid 49 self.features[grUtils.num2tag(fid)] = fobj 50 fobj.settings = {} 51 fobj.default = None 52 fobj.index = i 56 fobj.settings[vid] = vlid 57 if fobj.default is None: 58 fobj.default = vid [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_tarfile.py | 56 fobj = self.tar.extractfile(tarinfo) 57 data = fobj.read() 90 with open(os.path.join(TEMPDIR, "ustar/regtype"), "rb") as fobj: 91 data = fobj.read() 94 fobj = self.tar.extractfile(tarinfo) 96 text = fobj.read() 97 fobj.seek(0) 98 self.assertTrue(0 == fobj.tell(), 100 fobj.seek(2048, 0) 101 self.assertTrue(2048 == fobj.tell(), [all …]
|
D | test_pydoc.py | 403 with open(init_path, 'w') as fobj: 404 fobj.write('''\ 422 with open(init_path, 'w') as fobj: 423 fobj.write("foo = 1")
|
D | test_gzip.py | 55 with open(unicode_filename, 'rb') as fobj, \ 56 gzip.GzipFile(fileobj=fobj, mode="rb") as f:
|
/external/python/cpython3/Lib/test/ |
D | test_tarfile.py | 94 with self.tar.extractfile(tarinfo) as fobj: 95 data = fobj.read() 107 with self.tar.extractfile(tarinfo) as fobj: 108 fobj2 = io.TextIOWrapper(fobj) 131 with open(os.path.join(TEMPDIR, "ustar/regtype"), "rb") as fobj: 132 data = fobj.read() 135 fobj = self.tar.extractfile(tarinfo) 137 text = fobj.read() 138 fobj.seek(0) 139 self.assertEqual(0, fobj.tell(), [all …]
|
D | test_pydoc.py | 594 with open(init_path, 'w') as fobj: 595 fobj.write("foo = 1") 820 with open(init_path, 'w') as fobj: 821 fobj.write("foo = 1")
|
D | test_subprocess.py | 1819 with open(fd, "w", errors="surrogateescape") as fobj: 1820 fobj.write("#!%s\n" % support.unix_shell) 1821 fobj.write("exec '%s' -c 'import sys; sys.exit(47)'\n" % 1864 with open(fd, "w", errors="surrogateescape") as fobj: 1865 fobj.write("#!%s\n" % support.unix_shell) 1866 fobj.write("exec '%s' -c 'import sys; sys.exit(47)'\n" %
|
D | test_urllib.py | 407 with urlopen(tmp_fileurl) as fobj: 408 self.assertTrue(fobj)
|
D | test_os.py | 135 with open(support.TESTFN, "w+b") as fobj: 136 fobj.write(b"spam") 137 fobj.flush() 138 fd = fobj.fileno() 171 with open(support.TESTFN, "rb") as fobj: 172 self.assertEqual(fobj.read().splitlines(),
|
/external/python/cpython3/Tools/scripts/ |
D | generate_opcode_h.py | 48 with open(outfile, 'w') as fobj: 49 fobj.write(header) 52 fobj.write("#define %-23s %3s\n" % (name, opmap[name])) 54 fobj.write("#define %-23s %3d\n" % 56 fobj.write(footer)
|
/external/python/cpython2/Objects/ |
D | fileobject.c | 53 #define FILE_BEGIN_ALLOW_THREADS(fobj) \ argument 55 fobj->unlocked_count++; \ 58 #define FILE_END_ALLOW_THREADS(fobj) \ argument 60 fobj->unlocked_count--; \ 61 assert(fobj->unlocked_count >= 0); \ 64 #define FILE_ABORT_ALLOW_THREADS(fobj) \ argument 66 fobj->unlocked_count--; \ 67 assert(fobj->unlocked_count >= 0); 82 void PyFile_IncUseCount(PyFileObject *fobj) in PyFile_IncUseCount() argument 84 fobj->unlocked_count++; in PyFile_IncUseCount() [all …]
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_file_util.py | 67 with open(self.source, 'w') as fobj: 68 fobj.write('spam eggs') 76 with open(self.source, 'w') as fobj: 77 fobj.write('spam eggs')
|
/external/python/cpython3/Objects/ |
D | fileobject.c | 236 Py_UniversalNewlineFgets(char *buf, int n, FILE *stream, PyObject *fobj) in Py_UniversalNewlineFgets() argument 243 if (fobj) { in Py_UniversalNewlineFgets()
|
/external/python/cpython2/Doc/tutorial/ |
D | appendix.rst | 94 with open(filename) as fobj: 95 startup_file = fobj.read()
|
/external/python/cpython3/Doc/tutorial/ |
D | appendix.rst | 94 with open(filename) as fobj: 95 startup_file = fobj.read()
|
/external/python/cpython2/Parser/ |
D | pgenmain.c | 158 Py_UniversalNewlineFgets(char *buf, int n, FILE *stream, PyObject *fobj) in Py_UniversalNewlineFgets() argument
|
/external/python/cpython3/Parser/ |
D | pgenmain.c | 172 Py_UniversalNewlineFgets(char *buf, int n, FILE *stream, PyObject *fobj) in Py_UniversalNewlineFgets() argument
|
/external/python/cpython3/Python/ |
D | pylifecycle.c | 1059 file_is_closed(PyObject *fobj) in file_is_closed() argument 1062 PyObject *tmp = PyObject_GetAttrString(fobj, "closed"); in file_is_closed()
|
/external/python/dateutil/dateutil/tz/ |
D | tz.py | 1210 with fileobj as fobj: 1211 self._parse_rfc(fobj.read())
|
/external/python/mock/mock/tests/ |
D | testpatch.py | 408 fobj = open('doesnotexists.txt') 409 data = fobj.read() 410 fobj.close()
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testpatch.py | 404 fobj = open('doesnotexists.txt') 405 data = fobj.read() 406 fobj.close()
|
/external/libjpeg-turbo/simd/nasm/ |
D | jsimdext.inc | 63 %elifdef OBJ32 ; ----(nasm -fobj -DOBJ32 ...)----------
|
/external/clang/bindings/python/clang/ |
D | cindex.py | 2464 def visitor(fobj, lptr, depth, includes): argument 2467 includes.append(FileInclusion(loc.file, File(fobj), loc, depth))
|