Home
last modified time | relevance | path

Searched full:os (Results 1 – 25 of 6043) sorted by relevance

12345678910>>...242

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/
DPDBExtras.cpp24 raw_ostream &llvm::pdb::operator<<(raw_ostream &OS, in operator <<() argument
27 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Bool, OS) in operator <<()
28 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Single, OS) in operator <<()
29 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Double, OS) in operator <<()
30 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int8, OS) in operator <<()
31 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int16, OS) in operator <<()
32 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int32, OS) in operator <<()
33 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, Int64, OS) in operator <<()
34 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt8, OS) in operator <<()
35 CASE_OUTPUT_ENUM_CLASS_NAME(PDB_VariantType, UInt16, OS) in operator <<()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DMicrosoftDemangleNodes.cpp24 OS << Desc; \
28 static void outputSpaceIfNecessary(OutputStream &OS) { in outputSpaceIfNecessary() argument
29 if (OS.empty()) in outputSpaceIfNecessary()
32 char C = OS.back(); in outputSpaceIfNecessary()
34 OS << " "; in outputSpaceIfNecessary()
37 static void outputSingleQualifier(OutputStream &OS, Qualifiers Q) { in outputSingleQualifier() argument
40 OS << "const"; in outputSingleQualifier()
43 OS << "volatile"; in outputSingleQualifier()
46 OS << "__restrict"; in outputSingleQualifier()
53 static bool outputQualifierIfPresent(OutputStream &OS, Qualifiers Q, in outputQualifierIfPresent() argument
[all …]
/third_party/python/Lib/test/
Dtest_os.py1 # As a test suite for the os module, this is woefully inadequate, but this
14 import os
74 if hasattr(os, 'geteuid'):
75 root_in_posix = (os.geteuid() == 0)
87 HAVE_WHEEL_GROUP = sys.platform.startswith('freebsd') and os.getgid() == 0
91 return unittest.skipUnless(hasattr(os, name), 'requires os.%s' % name)
106 cwd = os.getcwd()
112 # longer path if longer paths support is enabled. Internally, the os
135 cwd = os.getcwd()
138 need = min_len - (len(cwd) + len(os.path.sep))
[all …]
Dtest_posix.py16 import os
25 _DUMMY_SYMLINK = os.path.join(tempfile.gettempdir(),
127 "test needs os.initgroups()")
138 if os.getuid() != 0:
154 self.assertTrue(posix.statvfs(os.curdir))
185 …@unittest.skipUnless(getattr(os, 'execve', None) in os.supports_fd, "test needs execve() to suppor…
186 @unittest.skipUnless(hasattr(os, 'fork'), "test needs os.fork()")
188 fp = os.open(sys.executable, os.O_RDONLY)
190 pid = os.fork()
192 os.chdir(os.path.split(sys.executable)[0])
[all …]
Dtest_shutil.py9 import os
10 import os.path
62 builtin_rename = os.rename
63 os.rename = _fake_rename
66 os.rename = builtin_rename
72 If *path* is a tuple instead of a string, os.path.join will be used to
77 path = os.path.join(*path)
99 assert os.path.getsize(path) == size
104 If *path* is a tuple instead of a string, os.path.join will be used to
109 path = os.path.join(*path)
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DMCAsmLexer.cpp39 void AsmToken::dump(raw_ostream &OS) const { in dump()
42 OS << "error"; in dump()
45 OS << "identifier: " << getString(); in dump()
48 OS << "int: " << getString(); in dump()
51 OS << "real: " << getString(); in dump()
54 OS << "string: " << getString(); in dump()
57 case AsmToken::Amp: OS << "Amp"; break; in dump()
58 case AsmToken::AmpAmp: OS << "AmpAmp"; break; in dump()
59 case AsmToken::At: OS << "At"; break; in dump()
60 case AsmToken::BackSlash: OS << "BackSlash"; break; in dump()
[all …]
/third_party/skia/third_party/externals/angle2/src/common/
DPackedGLEnums_autogen.cpp70 std::ostream &operator<<(std::ostream &os, AlphaTestFunc value) in operator <<() argument
75 os << "GL_ALWAYS"; in operator <<()
78 os << "GL_EQUAL"; in operator <<()
81 os << "GL_GEQUAL"; in operator <<()
84 os << "GL_GREATER"; in operator <<()
87 os << "GL_LEQUAL"; in operator <<()
90 os << "GL_LESS"; in operator <<()
93 os << "GL_NEVER"; in operator <<()
96 os << "GL_NOTEQUAL"; in operator <<()
99 os << "GL_INVALID_ENUM"; in operator <<()
[all …]
DPackedCLEnums_autogen.cpp58 std::ostream &operator<<(std::ostream &os, AddressingMode value) in operator <<() argument
63 os << "CL_ADDRESS_NONE"; in operator <<()
66 os << "CL_ADDRESS_CLAMP_TO_EDGE"; in operator <<()
69 os << "CL_ADDRESS_CLAMP"; in operator <<()
72 os << "CL_ADDRESS_REPEAT"; in operator <<()
75 os << "CL_ADDRESS_MIRRORED_REPEAT"; in operator <<()
78 os << "GL_INVALID_ENUM"; in operator <<()
81 return os; in operator <<()
132 std::ostream &operator<<(std::ostream &os, CommandQueueInfo value) in operator <<() argument
137 os << "CL_QUEUE_CONTEXT"; in operator <<()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DWasmEmitter.cpp30 bool writeWasm(raw_ostream &OS);
33 void writeRelocSection(raw_ostream &OS, WasmYAML::Section &Sec,
36 void writeInitExpr(raw_ostream &OS, const wasm::WasmInitExpr &InitExpr);
38 void writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section);
39 void writeSectionContent(raw_ostream &OS, WasmYAML::TypeSection &Section);
40 void writeSectionContent(raw_ostream &OS, WasmYAML::ImportSection &Section);
41 void writeSectionContent(raw_ostream &OS, WasmYAML::FunctionSection &Section);
42 void writeSectionContent(raw_ostream &OS, WasmYAML::TableSection &Section);
43 void writeSectionContent(raw_ostream &OS, WasmYAML::MemorySection &Section);
44 void writeSectionContent(raw_ostream &OS, WasmYAML::GlobalSection &Section);
[all …]
DMachOEmitter.cpp36 void writeMachO(raw_ostream &OS);
39 void writeHeader(raw_ostream &OS);
40 void writeLoadCommands(raw_ostream &OS);
41 void writeSectionData(raw_ostream &OS);
42 void writeLinkEditData(raw_ostream &OS);
44 void writeBindOpcodes(raw_ostream &OS,
47 void writeRebaseOpcodes(raw_ostream &OS);
48 void writeBasicBindOpcodes(raw_ostream &OS);
49 void writeWeakBindOpcodes(raw_ostream &OS);
50 void writeLazyBindOpcodes(raw_ostream &OS);
[all …]
DDWARFEmitter.cpp38 static void writeInteger(T Integer, raw_ostream &OS, bool IsLittleEndian) { in writeInteger() argument
41 OS.write(reinterpret_cast<char *>(&Integer), sizeof(T)); in writeInteger()
45 raw_ostream &OS, bool IsLittleEndian) { in writeVariableSizedInteger() argument
47 writeInteger((uint64_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
49 writeInteger((uint32_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
51 writeInteger((uint16_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
53 writeInteger((uint8_t)Integer, OS, IsLittleEndian); in writeVariableSizedInteger()
58 static void ZeroFillBytes(raw_ostream &OS, size_t Size) { in ZeroFillBytes() argument
61 OS.write(reinterpret_cast<char *>(FillData.data()), Size); in ZeroFillBytes()
65 raw_ostream &OS, bool IsLittleEndian) { in writeInitialLength() argument
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DPackedGLEnums_autogen.cpp70 std::ostream &operator<<(std::ostream &os, AlphaTestFunc value) in operator <<() argument
75 os << "GL_ALWAYS"; in operator <<()
78 os << "GL_EQUAL"; in operator <<()
81 os << "GL_GEQUAL"; in operator <<()
84 os << "GL_GREATER"; in operator <<()
87 os << "GL_LEQUAL"; in operator <<()
90 os << "GL_LESS"; in operator <<()
93 os << "GL_NEVER"; in operator <<()
96 os << "GL_NOTEQUAL"; in operator <<()
99 os << "GL_INVALID_ENUM"; in operator <<()
[all …]
/third_party/ffmpeg/libavformat/
Doggdec.c100 struct ogg_stream *os = ogg->streams + i; in ogg_save() local
101 os->buf = av_mallocz(os->bufsize + AV_INPUT_BUFFER_PADDING_SIZE); in ogg_save()
102 if (os->buf) in ogg_save()
103 memcpy(os->buf, ost->streams[i].buf, os->bufpos); in ogg_save()
106 os->new_metadata = NULL; in ogg_save()
107 os->new_metadata_size = 0; in ogg_save()
164 struct ogg_stream *os = ogg->streams + i; in ogg_reset() local
165 os->bufpos = 0; in ogg_reset()
166 os->pstart = 0; in ogg_reset()
167 os->psize = 0; in ogg_reset()
[all …]
Dhdsenc.c79 static int parse_header(OutputStream *os, const uint8_t *buf, int buf_size) in parse_header() argument
93 if (os->nb_extra_packets >= FF_ARRAY_ELEMS(os->extra_packets)) in parse_header()
95 os->extra_packet_sizes[os->nb_extra_packets] = size; in parse_header()
96 os->extra_packets[os->nb_extra_packets] = av_malloc(size); in parse_header()
97 if (!os->extra_packets[os->nb_extra_packets]) in parse_header()
99 memcpy(os->extra_packets[os->nb_extra_packets], buf, size); in parse_header()
100 os->nb_extra_packets++; in parse_header()
102 if (os->metadata) in parse_header()
104 os->metadata_size = size - 11 - 4; in parse_header()
105 os->metadata = av_malloc(os->metadata_size); in parse_header()
[all …]
/third_party/skia/third_party/externals/microhttpd/
Dconfig.sub114 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
115 # Here we must recognize all the valid KERNEL-OS combinations.
123 os=-$maybe_os
127 os=-linux-android
133 then os=`echo $1 | sed 's/.*-/-/'`
134 else os=; fi
142 case $os in
143 -sun*os*)
153 os=
157 os=-cnk
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSectionELF.cpp30 static void printName(raw_ostream &OS, StringRef Name) { in printName() argument
34 OS << Name; in printName()
37 OS << '"'; in printName()
40 OS << "\\\""; in printName()
42 OS << *B; in printName()
44 OS << "\\\\"; in printName()
46 OS << B[0] << B[1]; // Quoted character in printName()
50 OS << '"'; in printName()
54 raw_ostream &OS, in PrintSwitchToSection() argument
57 OS << '\t' << getSectionName(); in PrintSwitchToSection()
[all …]
DMCAsmStreamer.cpp46 formatted_raw_ostream &OS; member in __anon659615ad0111::MCAsmStreamer
65 MCAsmStreamer(MCContext &Context, std::unique_ptr<formatted_raw_ostream> os, in MCAsmStreamer() argument
69 : MCStreamer(Context), OSOwner(std::move(os)), OS(*OSOwner), in MCAsmStreamer()
92 OS << '\n'; in EmitEOL()
370 OS << '\n'; in EmitCommentsAndEOL()
380 OS.PadToColumn(MAI->getCommentColumn()); in EmitCommentsAndEOL()
382 OS << MAI->getCommentString() << ' ' << Comments.substr(0, Position) <<'\n'; in EmitCommentsAndEOL()
397 OS << '\t'; in emitRawComment()
398 OS << MAI->getCommentString() << T; in emitRawComment()
442 OS << Comments; in emitExplicitComments()
[all …]
/third_party/node/deps/cares/
Dconfig.sub113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114 # Here we must recognize all the valid KERNEL-OS combinations.
122 os=-$maybe_os
126 os=-linux-android
132 then os=`echo "$1" | sed 's/.*-/-/'`
133 else os=; fi
141 case $os in
142 -sun*os*)
152 os=
156 os=-cnk
[all …]
/third_party/skia/third_party/externals/libpng/
Dconfig.sub113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114 # Here we must recognize all the valid KERNEL-OS combinations.
122 os=-$maybe_os
126 os=-linux-android
132 then os=`echo "$1" | sed 's/.*-/-/'`
133 else os=; fi
141 case $os in
142 -sun*os*)
152 os=
156 os=-cnk
[all …]
/third_party/mtdev/config-aux/
Dconfig.sub123 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
124 # Here we must recognize all the valid KERNEL-OS combinations.
131 os=-$maybe_os
137 then os=`echo $1 | sed 's/.*-/-/'`
138 else os=; fi
146 case $os in
147 -sun*os*)
157 os=
161 os=-cnk
164 os=
[all …]
/third_party/libffi/
Dconfig.sub113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114 # Here we must recognize all the valid KERNEL-OS combinations.
122 os=-$maybe_os
126 os=-linux-android
132 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi
141 case $os in
142 -sun*os*)
152 os=
156 os=-cnk
[all …]
/third_party/libevdev/build-aux/
Dconfig.sub113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114 # Here we must recognize all the valid KERNEL-OS combinations.
122 os=-$maybe_os
126 os=-linux-android
132 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi
141 case $os in
142 -sun*os*)
152 os=
156 os=-cnk
[all …]
/third_party/icu/icu4c/source/
Dconfig.sub113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114 # Here we must recognize all the valid KERNEL-OS combinations.
122 os=-$maybe_os
126 os=-linux-android
132 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi
141 case $os in
142 -sun*os*)
152 os=
156 os=-cnk
[all …]
/third_party/skia/third_party/externals/icu/source/
Dconfig.sub113 # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
114 # Here we must recognize all the valid KERNEL-OS combinations.
122 os=-$maybe_os
126 os=-linux-android
132 then os=`echo $1 | sed 's/.*-/-/'`
133 else os=; fi
141 case $os in
142 -sun*os*)
152 os=
156 os=-cnk
[all …]
/third_party/musl/ndk-test/script/
Dbuild.py4 import os
18 target_dir = os.path.join(os.getcwd(),os.path.pardir,'target')
20 if os.path.exists(target_dir) and os.path.isdir(target_dir):
22 for filename in os.listdir(target_dir):
23 if os.path.isdir(os.path.join(target_dir,filename)):
24 shutil.rmtree(os.path.join(target_dir,filename))
26 os.mkdir(target_dir)
33 comliler_dir = os.path.join(os.getcwd(),os.path.pardir)
36 file_path = os.path.join(comliler_dir,name)
38 if os.path.isdir(file_path):
[all …]

12345678910>>...242