/external/skia/src/gpu/ |
GrPendingProgramElement.h | 21 GrPendingProgramElement() : fObj(nullptr) { } 24 explicit GrPendingProgramElement(T* obj) : fObj(obj) { 34 if (fObj) { 35 fObj->completedExecution(); 37 fObj = obj; 40 T* get() const { return fObj; } 41 operator T*() { return fObj; } 43 T *operator->() const { return fObj; } 46 if (fObj) { 47 fObj->completedExecution() [all...] |
/external/skqp/src/gpu/ |
GrPendingProgramElement.h | 21 GrPendingProgramElement() : fObj(nullptr) { } 24 explicit GrPendingProgramElement(T* obj) : fObj(obj) { 34 if (fObj) { 35 fObj->completedExecution(); 37 fObj = obj; 40 T* get() const { return fObj; } 41 operator T*() { return fObj; } 43 T *operator->() const { return fObj; } 46 if (fObj) { 47 fObj->completedExecution() [all...] |
/external/python/cpython3/Tools/scripts/ |
generate_opcode_h.py | 40 with open(outfile, 'w') as fobj: 41 fobj.write(header) 44 fobj.write("#define %-23s %3s\n" % (name, opmap[name])) 46 fobj.write("#define %-23s %3d\n" % 48 fobj.write(footer)
|
/external/skia/include/core/ |
SkTLazy.h | 151 SkTCopyOnFirstWrite(const T& initial) : fObj(&initial) {} 153 SkTCopyOnFirstWrite(const T* initial) : fObj(initial) {} 156 SkTCopyOnFirstWrite() : fObj(nullptr) {} 160 SkASSERT(nullptr == fObj); 162 fObj = &initial; 169 SkASSERT(fObj); 171 fLazy.set(*fObj); 172 fObj = fLazy.get(); 174 return const_cast<T*>(fObj); 181 const T *operator->() const { return fObj; } [all...] |
/external/skqp/include/core/ |
SkTLazy.h | 151 SkTCopyOnFirstWrite(const T& initial) : fObj(&initial) {} 153 SkTCopyOnFirstWrite(const T* initial) : fObj(initial) {} 156 SkTCopyOnFirstWrite() : fObj(nullptr) {} 160 SkASSERT(nullptr == fObj); 162 fObj = &initial; 169 SkASSERT(fObj); 171 fLazy.set(*fObj); 172 fObj = fLazy.get(); 174 return const_cast<T*>(fObj); 181 const T *operator->() const { return fObj; } [all...] |
/external/python/cpython2/Lib/test/ |
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...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_tarfile.py | 55 fobj = self.tar.extractfile(tarinfo) 56 data = fobj.read() 88 fobj = open(os.path.join(TEMPDIR, "ustar/regtype"), "rb") 89 data = fobj.read() 90 fobj.close() 93 fobj = self.tar.extractfile(tarinfo) 95 text = fobj.read() 96 fobj.seek(0) 97 self.assertTrue(0 == fobj.tell(), 99 fobj.seek(2048, 0 [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_tarfile.py | 55 fobj = self.tar.extractfile(tarinfo) 56 data = fobj.read() 88 fobj = open(os.path.join(TEMPDIR, "ustar/regtype"), "rb") 89 data = fobj.read() 90 fobj.close() 93 fobj = self.tar.extractfile(tarinfo) 95 text = fobj.read() 96 fobj.seek(0) 97 self.assertTrue(0 == fobj.tell(), 99 fobj.seek(2048, 0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_tarfile.py | 55 fobj = self.tar.extractfile(tarinfo) 56 data = fobj.read() 88 fobj = open(os.path.join(TEMPDIR, "ustar/regtype"), "rb") 89 data = fobj.read() 90 fobj.close() 93 fobj = self.tar.extractfile(tarinfo) 95 text = fobj.read() 96 fobj.seek(0) 97 self.assertTrue(0 == fobj.tell(), 99 fobj.seek(2048, 0 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_tarfile.py | 55 fobj = self.tar.extractfile(tarinfo) 56 data = fobj.read() 88 fobj = open(os.path.join(TEMPDIR, "ustar/regtype"), "rb") 89 data = fobj.read() 90 fobj.close() 93 fobj = self.tar.extractfile(tarinfo) 95 text = fobj.read() 96 fobj.seek(0) 97 self.assertTrue(0 == fobj.tell(), 99 fobj.seek(2048, 0 [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_tarfile.py | 55 fobj = self.tar.extractfile(tarinfo)
56 data = fobj.read()
88 fobj = open(os.path.join(TEMPDIR, "ustar/regtype"), "rb")
89 data = fobj.read()
90 fobj.close()
93 fobj = self.tar.extractfile(tarinfo)
95 text = fobj.read()
96 fobj.seek(0)
97 self.assertTrue(0 == fobj.tell(),
99 fobj.seek(2048, 0) [all...] |
/external/python/cpython3/Lib/test/ |
test_tarfile.py | 93 with self.tar.extractfile(tarinfo) as fobj: 94 data = fobj.read() 106 with self.tar.extractfile(tarinfo) as fobj: 107 fobj2 = io.TextIOWrapper(fobj) 130 with open(os.path.join(TEMPDIR, "ustar/regtype"), "rb") as fobj: 131 data = fobj.read() 134 fobj = self.tar.extractfile(tarinfo) 136 text = fobj.read() 137 fobj.seek(0) 138 self.assertEqual(0, fobj.tell() [all...] |
/external/skia/src/core/ |
SkTLList.h | 34 char fObj[sizeof(T)]; 53 SkTCast<T*>(node->fObj)->~T(); 73 return new (node->fObj) T(std::forward<Args>(args)...); 82 return new (node->fObj) T(std::forward<Args>(args)...); 92 return new (node->fObj) T(std::forward<Args>(args)...); 102 return new (node->fObj) T(std::forward<Args>(args)...); 135 SkASSERT(reinterpret_cast<T*>(node->fObj) == t); 212 return reinterpret_cast<T*>(node->fObj); 266 SkTCast<T*>(node->fObj)->~T();
|
/external/skqp/src/core/ |
SkTLList.h | 34 char fObj[sizeof(T)]; 53 SkTCast<T*>(node->fObj)->~T(); 73 return new (node->fObj) T(std::forward<Args>(args)...); 82 return new (node->fObj) T(std::forward<Args>(args)...); 92 return new (node->fObj) T(std::forward<Args>(args)...); 102 return new (node->fObj) T(std::forward<Args>(args)...); 135 SkASSERT(reinterpret_cast<T*>(node->fObj) == t); 212 return reinterpret_cast<T*>(node->fObj); 266 SkTCast<T*>(node->fObj)->~T();
|
/external/python/cpython3/Lib/distutils/tests/ |
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')
|
/frameworks/compile/mclinker/lib/LD/ |
IdenticalCodeFolding.cpp | 100 FoldedObjects::iterator fobj, fobjEnd = folded_objs.end(); local 101 for (fobj = folded_objs.begin(); fobj != fobjEnd; ++fobj) { 102 LDContext::sym_iterator sym, symEnd = (*fobj)->context()->symTabEnd(); 103 for (sym = (*fobj)->context()->symTabBegin(); sym != symEnd; ++sym) {
|
/external/libjpeg-turbo/simd/ |
nasm_lt.sh | 18 -fobj|-fwin32|-fwin64|-frdf|-fieee|-fmacho|-fmacho64)
|
CMakeLists.txt | 10 set(NAFLAGS -fobj -DOBJ32)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
fileobject.c | 53 #define FILE_BEGIN_ALLOW_THREADS(fobj) \
55 fobj->unlocked_count++; \
58 #define FILE_END_ALLOW_THREADS(fobj) \
60 fobj->unlocked_count--; \
61 assert(fobj->unlocked_count >= 0); \
64 #define FILE_ABORT_ALLOW_THREADS(fobj) \
66 fobj->unlocked_count--; \
67 assert(fobj->unlocked_count >= 0);
82 void PyFile_IncUseCount(PyFileObject *fobj)
84 fobj->unlocked_count++; 2557 PyFileObject *fobj = (PyFileObject *) f; local 2630 PyFileObject *fobj = (PyFileObject *) f; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
fileobject.c | 53 #define FILE_BEGIN_ALLOW_THREADS(fobj) \
55 fobj->unlocked_count++; \
58 #define FILE_END_ALLOW_THREADS(fobj) \
60 fobj->unlocked_count--; \
61 assert(fobj->unlocked_count >= 0); \
64 #define FILE_ABORT_ALLOW_THREADS(fobj) \
66 fobj->unlocked_count--; \
67 assert(fobj->unlocked_count >= 0);
82 void PyFile_IncUseCount(PyFileObject *fobj)
84 fobj->unlocked_count++; 2490 PyFileObject *fobj = (PyFileObject *) f; local 2563 PyFileObject *fobj = (PyFileObject *) f; local [all...] |
/external/python/cpython2/Objects/ |
fileobject.c | 53 #define FILE_BEGIN_ALLOW_THREADS(fobj) \ 55 fobj->unlocked_count++; \ 58 #define FILE_END_ALLOW_THREADS(fobj) \ 60 fobj->unlocked_count--; \ 61 assert(fobj->unlocked_count >= 0); \ 64 #define FILE_ABORT_ALLOW_THREADS(fobj) \ 66 fobj->unlocked_count--; \ 67 assert(fobj->unlocked_count >= 0); 82 void PyFile_IncUseCount(PyFileObject *fobj) 84 fobj->unlocked_count++ 2556 PyFileObject *fobj = (PyFileObject *) f; local 2629 PyFileObject *fobj = (PyFileObject *) f; local [all...] |
/external/python/cpython3/Objects/ |
fileobject.c | 237 ** If fobj is NULL the routine always does newline conversion, and 239 ** If fobj is non-NULL it must be a PyFileObject. In this case there 248 Py_UniversalNewlineFgets(char *buf, int n, FILE *stream, PyObject *fobj) 255 if (fobj) {
|
/external/python/cpython2/Doc/tutorial/ |
appendix.rst | 94 with open(filename) as fobj: 95 startup_file = fobj.read()
|
/external/python/cpython3/Doc/tutorial/ |
appendix.rst | 94 with open(filename) as fobj: 95 startup_file = fobj.read()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
pgenmain.c | 157 Py_UniversalNewlineFgets(char *buf, int n, FILE *stream, PyObject *fobj)
|