/external/v8/src/ |
D | objects-printer.cc | 24 OFStream os(stdout); in Print() local 25 this->Print(os); in Print() 26 os << std::flush; in Print() 30 void Object::Print(std::ostream& os) { // NOLINT in Print() argument 32 os << "Smi: " << std::hex << "0x" << Smi::cast(this)->value(); in Print() 33 os << std::dec << " (" << Smi::cast(this)->value() << ")\n"; in Print() 35 HeapObject::cast(this)->HeapObjectPrint(os); in Print() 40 void HeapObject::PrintHeader(std::ostream& os, const char* id) { // NOLINT in PrintHeader() argument 41 os << reinterpret_cast<void*>(this) << ": ["; in PrintHeader() 43 os << id; in PrintHeader() [all …]
|
/external/libvncserver/libvncserver/ |
D | zrleoutstream.c | 68 zrleOutStream *os; in zrleOutStreamNew() local 70 os = malloc(sizeof(zrleOutStream)); in zrleOutStreamNew() 71 if (os == NULL) in zrleOutStreamNew() 74 if (!zrleBufferAlloc(&os->in, ZRLE_IN_BUFFER_SIZE)) { in zrleOutStreamNew() 75 free(os); in zrleOutStreamNew() 79 if (!zrleBufferAlloc(&os->out, ZRLE_OUT_BUFFER_SIZE)) { in zrleOutStreamNew() 80 zrleBufferFree(&os->in); in zrleOutStreamNew() 81 free(os); in zrleOutStreamNew() 85 os->zs.zalloc = Z_NULL; in zrleOutStreamNew() 86 os->zs.zfree = Z_NULL; in zrleOutStreamNew() [all …]
|
/external/mesa3d/src/gtest/src/ |
D | gtest-printers.cc | 60 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 68 *os << ' '; in PrintByteSegmentInObjectTo() 70 *os << '-'; in PrintByteSegmentInObjectTo() 73 *os << text; in PrintByteSegmentInObjectTo() 79 ostream* os) { in PrintBytesInObjectToImpl() argument 81 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 90 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 92 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 93 *os << " ... "; in PrintBytesInObjectToImpl() 96 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/external/v8/testing/gtest/src/ |
D | gtest-printers.cc | 64 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 72 *os << ' '; in PrintByteSegmentInObjectTo() 74 *os << '-'; in PrintByteSegmentInObjectTo() 77 *os << text; in PrintByteSegmentInObjectTo() 83 ostream* os) { in PrintBytesInObjectToImpl() argument 85 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 94 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 96 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 97 *os << " ... "; in PrintBytesInObjectToImpl() 100 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/ |
D | gtest-printers.cc | 60 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 68 *os << ' '; in PrintByteSegmentInObjectTo() 70 *os << '-'; in PrintByteSegmentInObjectTo() 73 *os << text; in PrintByteSegmentInObjectTo() 79 ostream* os) { in PrintBytesInObjectToImpl() argument 81 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 90 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 92 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 93 *os << " ... "; in PrintBytesInObjectToImpl() 96 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-printers.cc | 64 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 72 *os << ' '; in PrintByteSegmentInObjectTo() 74 *os << '-'; in PrintByteSegmentInObjectTo() 77 *os << text; in PrintByteSegmentInObjectTo() 83 ostream* os) { in PrintBytesInObjectToImpl() argument 85 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 94 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 96 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 97 *os << " ... "; in PrintBytesInObjectToImpl() 100 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
D | gtest-printers.cc | 68 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 76 *os << ' '; in PrintByteSegmentInObjectTo() 78 *os << '-'; in PrintByteSegmentInObjectTo() 81 *os << text; in PrintByteSegmentInObjectTo() 87 ostream* os) { in PrintBytesInObjectToImpl() argument 89 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 98 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 100 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 101 *os << " ... "; in PrintBytesInObjectToImpl() 104 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/external/llvm/utils/unittest/googletest/src/ |
D | gtest-printers.cc | 68 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 76 *os << ' '; in PrintByteSegmentInObjectTo() 78 *os << '-'; in PrintByteSegmentInObjectTo() 81 *os << text; in PrintByteSegmentInObjectTo() 87 ostream* os) { in PrintBytesInObjectToImpl() argument 89 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 98 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 100 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 101 *os << " ... "; in PrintBytesInObjectToImpl() 104 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-printers.cc | 60 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 68 *os << ' '; in PrintByteSegmentInObjectTo() 70 *os << '-'; in PrintByteSegmentInObjectTo() 73 *os << text; in PrintByteSegmentInObjectTo() 79 ostream* os) { in PrintBytesInObjectToImpl() argument 81 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 90 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 92 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 93 *os << " ... "; in PrintBytesInObjectToImpl() 96 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/external/googletest/googletest/src/ |
D | gtest-printers.cc | 64 size_t count, ostream* os) { in PrintByteSegmentInObjectTo() argument 72 *os << ' '; in PrintByteSegmentInObjectTo() 74 *os << '-'; in PrintByteSegmentInObjectTo() 77 *os << text; in PrintByteSegmentInObjectTo() 83 ostream* os) { in PrintBytesInObjectToImpl() argument 85 *os << count << "-byte object <"; in PrintBytesInObjectToImpl() 94 PrintByteSegmentInObjectTo(obj_bytes, 0, count, os); in PrintBytesInObjectToImpl() 96 PrintByteSegmentInObjectTo(obj_bytes, 0, kChunkSize, os); in PrintBytesInObjectToImpl() 97 *os << " ... "; in PrintBytesInObjectToImpl() 100 PrintByteSegmentInObjectTo(obj_bytes, resume_pos, count - resume_pos, os); in PrintBytesInObjectToImpl() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_os.py | 16 import os 50 if hasattr(os, 'getgid'): 51 process_gid = os.getgid() 71 if hasattr(os, 'geteuid'): 72 root_in_posix = (os.geteuid() == 0) 84 HAVE_WHEEL_GROUP = sys.platform.startswith('freebsd') and os.getgid() == 0 94 return unittest.skipUnless(hasattr(os, name), 'requires os.%s' % name) 97 class _PathLike(os.PathLike): 120 if os.path.lexists(support.TESTFN): 121 os.unlink(support.TESTFN) [all …]
|
D | test_shutil.py | 9 import os 10 import os.path 46 builtin_rename = os.rename 47 os.rename = _fake_rename 50 os.rename = builtin_rename 61 path = os.path.join(*path) 73 path = os.path.join(*path) 79 for name in sorted(os.listdir(path)): 80 p = os.path.join(path, name) 81 if os.path.isdir(p) and not os.path.islink(p): [all …]
|
/external/fec/ |
D | config.sub | 121 os=-$maybe_os 127 then os=`echo $1 | sed 's/.*-/-/'` 128 else os=; fi 136 case $os in 137 -sun*os*) 147 os= 151 os= 157 os=-vxworks 161 os=-hiuxwe2 164 os=-sco3.2v5 [all …]
|
/external/python/cpython3/Mac/BuildScript/ |
D | build-installer.py | 31 import platform, os, sys, getopt, textwrap, shutil, stat, time, pwd, grp 83 os.path.join(SRCDIR, 'configure'), 'PACKAGE_VERSION') 95 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h') 111 DEPSRC = os.path.join(WORKDIR, 'third-party') 112 DEPSRC = os.path.expanduser('~/Universal/other-sources') 150 SRCDIR = os.path.dirname( 151 os.path.dirname( 152 os.path.dirname( 153 os.path.abspath(__file__ 243 "DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')), [all …]
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest-printers.h | 116 ::std::ostream* os); 135 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 137 sizeof(value), os); in PrintValue() 149 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 154 *os << ("<" + pretty_str + ">"); in PrintValue() 168 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 170 *os << kBigInt; in PrintValue() 200 ::std::basic_ostream<Char, CharTraits>& os, const T& x) { 204 kConvertibleToInteger : kOtherType)>::PrintValue(x, &os); 205 return os; [all …]
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/ |
D | gtest-printers.h | 116 ::std::ostream* os); 135 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 137 sizeof(value), os); in PrintValue() 149 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 154 *os << ("<" + pretty_str + ">"); in PrintValue() 168 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 170 *os << kBigInt; in PrintValue() 200 ::std::basic_ostream<Char, CharTraits>& os, const T& x) { 204 kConvertibleToInteger : kOtherType)>::PrintValue(x, &os); 205 return os; [all …]
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/ |
D | gtest-printers.h | 116 ::std::ostream* os); 135 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 137 sizeof(value), os); in PrintValue() 149 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 154 *os << ("<" + pretty_str + ">"); in PrintValue() 168 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 170 *os << kBigInt; in PrintValue() 200 ::std::basic_ostream<Char, CharTraits>& os, const T& x) { 204 kConvertibleToInteger : kOtherType)>::PrintValue(x, &os); 205 return os; [all …]
|
/external/google-breakpad/src/testing/gtest/include/gtest/ |
D | gtest-printers.h | 116 ::std::ostream* os); 135 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 137 sizeof(value), os); in PrintValue() 149 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 154 *os << ("<" + pretty_str + ">"); in PrintValue() 168 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 170 *os << kBigInt; in PrintValue() 200 ::std::basic_ostream<Char, CharTraits>& os, const T& x) { 204 kConvertibleToInteger : kOtherType)>::PrintValue(x, &os); 205 return os; [all …]
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest-printers.h | 116 ::std::ostream* os); 135 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 137 sizeof(value), os); in PrintValue() 149 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 154 *os << ("<" + pretty_str + ">"); in PrintValue() 168 static void PrintValue(const T& value, ::std::ostream* os) { in PrintValue() argument 170 *os << kBigInt; in PrintValue() 200 ::std::basic_ostream<Char, CharTraits>& os, const T& x) { 204 kConvertibleToInteger : kOtherType)>::PrintValue(x, &os); 205 return os; [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_os.py | 5 import os 31 if os.path.exists(test_support.TESTFN): 32 os.unlink(test_support.TESTFN) 36 f = os.open(test_support.TESTFN, os.O_CREAT|os.O_RDWR) 37 os.close(f) 38 self.assertTrue(os.access(test_support.TESTFN, os.W_OK)) 41 first = os.open(test_support.TESTFN, os.O_CREAT|os.O_RDWR) 45 second = os.dup(first) 49 os.close(first) 54 first, second = second, os.dup(second) [all …]
|
/external/python/cpython2/Mac/BuildScript/ |
D | build-installer.py | 31 import platform, os, sys, getopt, textwrap, shutil, stat, time, pwd, grp 83 os.path.join(SRCDIR, 'configure'), 'PACKAGE_VERSION') 95 fn = os.path.join(SRCDIR, 'Include', 'patchlevel.h') 110 DEPSRC = os.path.join(WORKDIR, 'third-party') 111 DEPSRC = os.path.expanduser('~/Universal/other-sources') 149 SRCDIR = os.path.dirname( 150 os.path.dirname( 151 os.path.dirname( 152 os.path.abspath(__file__ 272 "DESTDIR": shellQuote(os.path.join(WORKDIR, 'libraries')), [all …]
|
/external/swiftshader/third_party/LLVM/projects/sample/autoconf/ |
D | config.sub | 122 os=-$maybe_os 128 then os=`echo $1 | sed 's/.*-/-/'` 129 else os=; fi 137 case $os in 138 -sun*os*) 148 os= 152 os= 158 os=-vxworks 162 os=-chorusos 166 os=-chorusrdb [all …]
|
/external/libunwind/aux/ |
D | config.sub | 122 os=-$maybe_os 128 then os=`echo $1 | sed 's/.*-/-/'` 129 else os=; fi 137 case $os in 138 -sun*os*) 148 os= 152 os= 158 os=-vxworks 162 os=-chorusos 166 os=-chorusrdb [all …]
|
/external/stressapptest/ |
D | config.sub | 126 os=-$maybe_os 132 then os=`echo $1 | sed 's/.*-/-/'` 133 else os=; fi 141 case $os in 142 -sun*os*) 152 os= 156 os= 162 os=-vxworks 166 os=-chorusos 170 os=-chorusrdb [all …]
|
/external/libusb-compat/ |
D | config.sub | 126 os=-$maybe_os 132 then os=`echo $1 | sed 's/.*-/-/'` 133 else os=; fi 141 case $os in 142 -sun*os*) 152 os= 156 os= 162 os=-vxworks 166 os=-chorusos 170 os=-chorusrdb [all …]
|