Home
last modified time | relevance | path

Searched refs:os (Results 1 – 25 of 979) sorted by relevance

12345678910>>...40

/openbsd/src/gnu/llvm/lld/wasm/
DWriterUtils.cpp83 void writeUleb128(raw_ostream &os, uint64_t number, const Twine &msg) { in writeUleb128() argument
84 debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]"); in writeUleb128()
85 encodeULEB128(number, os); in writeUleb128()
88 void writeSleb128(raw_ostream &os, int64_t number, const Twine &msg) { in writeSleb128() argument
89 debugWrite(os.tell(), msg + "[" + utohexstr(number) + "]"); in writeSleb128()
90 encodeSLEB128(number, os); in writeSleb128()
93 void writeBytes(raw_ostream &os, const char *bytes, size_t count, in writeBytes() argument
95 debugWrite(os.tell(), msg + " [data[" + Twine(count) + "]]"); in writeBytes()
96 os.write(bytes, count); in writeBytes()
99 void writeStr(raw_ostream &os, StringRef string, const Twine &msg) { in writeStr() argument
[all …]
DSyntheticSections.cpp42 os.flush(); in writeTo()
53 raw_string_ostream os{body}; member in lld::wasm::__anon78186a110111::SubSection
65 raw_ostream &os = bodyOutputStream; in writeBody() local
69 writeUleb128(sub.os, memSize, "MemSize"); in writeBody()
70 writeUleb128(sub.os, memAlign, "MemAlign"); in writeBody()
71 writeUleb128(sub.os, out.elemSec->numEntries(), "TableSize"); in writeBody()
72 writeUleb128(sub.os, 0, "TableAlign"); in writeBody()
73 sub.writeTo(os); in writeBody()
78 writeUleb128(sub.os, symtab->sharedFiles.size(), "Needed"); in writeBody()
80 writeStr(sub.os, llvm::sys::path::filename(so->getName()), "so name"); in writeBody()
[all …]
DWriterUtils.h25 void writeUleb128(raw_ostream &os, uint64_t number, const Twine &msg);
27 void writeSleb128(raw_ostream &os, int64_t number, const Twine &msg);
29 void writeBytes(raw_ostream &os, const char *bytes, size_t count,
32 void writeStr(raw_ostream &os, StringRef string, const Twine &msg);
34 void writeU8(raw_ostream &os, uint8_t byte, const Twine &msg);
36 void writeU32(raw_ostream &os, uint32_t number, const Twine &msg);
38 void writeValueType(raw_ostream &os, llvm::wasm::ValType type,
41 void writeSig(raw_ostream &os, const llvm::wasm::WasmSignature &sig);
43 void writeI32Const(raw_ostream &os, int32_t number, const Twine &msg);
45 void writeI64Const(raw_ostream &os, int64_t number, const Twine &msg);
[all …]
DWriter.cpp1001 raw_string_ostream os(functionBody); in createFunction() local
1002 writeUleb128(os, bodyContent.size(), "function size"); in createFunction()
1003 os << bodyContent; in createFunction()
1086 raw_string_ostream os(bodyContent); in createInitMemoryFunction() local
1140 writeU8(os, WASM_OPCODE_LOCAL_GET, "local.get"); in createInitMemoryFunction()
1141 writeUleb128(os, 0, "local 0"); in createInitMemoryFunction()
1143 writePtrConst(os, flagAddress, is64, "flag address"); in createInitMemoryFunction()
1150 writeUleb128(os, 1, "num local decls"); in createInitMemoryFunction()
1151 writeUleb128(os, 2, "local count"); in createInitMemoryFunction()
1152 writeU8(os, is64 ? WASM_TYPE_I64 : WASM_TYPE_I32, "address type"); in createInitMemoryFunction()
[all …]
/openbsd/src/gnu/share/
Dconfig.sub121 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=-chorusos
165 os=-chorusrdb
[all …]
/openbsd/src/gnu/llvm/clang/tools/clang-fuzzer/proto-to-cxx/
Dproto_to_cxx.cpp22 std::ostream &operator<<(std::ostream &os, const BinaryOp &x);
23 std::ostream &operator<<(std::ostream &os, const StatementSeq &x);
26 std::ostream &operator<<(std::ostream &os, const Const &x) { in operator <<() argument
27 return os << "(" << x.val() << ")"; in operator <<()
29 std::ostream &operator<<(std::ostream &os, const VarRef &x) { in operator <<() argument
30 return os << "a[" << (static_cast<uint32_t>(x.varnum()) % 100) << "]"; in operator <<()
32 std::ostream &operator<<(std::ostream &os, const Lvalue &x) { in operator <<() argument
33 return os << x.varref(); in operator <<()
35 std::ostream &operator<<(std::ostream &os, const Rvalue &x) { in operator <<() argument
36 if (x.has_varref()) return os << x.varref(); in operator <<()
[all …]
Dloop_proto_to_cxx.cpp42 std::ostream &operator<<(std::ostream &os, const BinaryOp &x);
43 std::ostream &operator<<(std::ostream &os, const StatementSeq &x);
46 std::ostream &operator<<(std::ostream &os, const Const &x) { in operator <<() argument
47 return os << "(" << x.val() << ")"; in operator <<()
49 std::ostream &operator<<(std::ostream &os, const VarRef &x) { in operator <<() argument
53 return os << "a[" << which_loop << "]"; in operator <<()
55 return os << "b[" << which_loop << "]"; in operator <<()
57 return os << "c[" << which_loop << "]"; in operator <<()
60 std::ostream &operator<<(std::ostream &os, const Rvalue &x) { in operator <<() argument
62 return os << x.cons(); in operator <<()
[all …]
/openbsd/src/gnu/lib/libreadline/support/
Dconfig.sub122 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 …]
/openbsd/src/gnu/lib/libstdc++/
Dconfig.sub122 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 …]
/openbsd/src/gnu/usr.bin/gcc/
Dconfig.sub122 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 …]
/openbsd/src/gnu/usr.bin/binutils-2.17/
Dconfig.sub125 os=-$maybe_os
131 then os=`echo $1 | sed 's/.*-/-/'`
132 else os=; fi
140 case $os in
141 -sun*os*)
151 os=
155 os=
161 os=-vxworks
165 os=-chorusos
169 os=-chorusrdb
[all …]
/openbsd/src/gnu/lib/libiberty/
Dconfig.sub125 os=-$maybe_os
131 then os=`echo $1 | sed 's/.*-/-/'`
132 else os=; fi
140 case $os in
141 -sun*os*)
151 os=
155 os=
161 os=-vxworks
165 os=-chorusos
169 os=-chorusrdb
[all …]
/openbsd/src/gnu/usr.bin/texinfo/
Dconfig.sub123 os=-$maybe_os
129 then os=`echo $1 | sed 's/.*-/-/'`
130 else os=; fi
138 case $os in
139 -sun*os*)
149 os=
153 os=
159 os=-vxworks
163 os=-chorusos
167 os=-chorusrdb
[all …]
/openbsd/src/gnu/usr.bin/binutils/
Dconfig.sub123 os=-$maybe_os
129 then os=`echo $1 | sed 's/.*-/-/'`
130 else os=; fi
138 case $os in
139 -sun*os*)
149 os=
153 os=
159 os=-vxworks
163 os=-chorusos
167 os=-chorusrdb
[all …]
/openbsd/src/gnu/llvm/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/
D_fork_pty.py3 import os
23 parent_fd, child_fd = os.openpty()
27 pid = os.fork()
30 os.close(parent_fd)
33 os.dup2(child_fd, STDIN_FILENO)
34 os.dup2(child_fd, STDOUT_FILENO)
35 os.dup2(child_fd, STDERR_FILENO)
39 os.close(child_fd)
48 child_name = os.ttyname(tty_fd)
54 fd = os.open("/dev/tty", os.O_RDWR | os.O_NOCTTY)
[all …]
Dutil.py4 import os, sys
7 def which(cmd, mode=os.F_OK | os.X_OK, path=None):
21 return (os.path.exists(fn) and os.access(fn, mode)
22 and not os.path.isdir(fn))
27 if os.path.dirname(cmd):
33 path = os.environ.get("PATH", os.defpath)
36 path = path.split(os.pathsep)
40 if not os.curdir in path:
41 path.insert(0, os.curdir)
44 pathext = os.environ.get("PATHEXT", "").split(os.pathsep)
[all …]
/openbsd/src/gnu/llvm/clang/tools/clang-fuzzer/proto-to-llvm/
Dloop_proto_to_llvm.cpp28 std::string BinopToString(std::ostream &os, const BinaryOp &x);
29 std::string StateSeqToString(std::ostream &os, const StatementSeq &x);
54 std::string VarRefToString(std::ostream &os, const VarRef &x) { in VarRefToString() argument
69 os << ptr_var << " = getelementptr inbounds i32, i32* " << arr in VarRefToString()
73 std::string RvalueToString(std::ostream &os, const Rvalue &x) { in RvalueToString() argument
77 return BinopToString(os, x.binop()); in RvalueToString()
79 std::string var_ref = VarRefToString(os, x.varref()); in RvalueToString()
81 os << val_var << " = load i32, i32* " << var_ref << "\n"; in RvalueToString()
87 std::string BinopToString(std::ostream &os, const BinaryOp &x) { in BinopToString() argument
88 std::string left = RvalueToString(os, x.left()); in BinopToString()
[all …]
/openbsd/src/gnu/llvm/llvm/utils/
Dsysroot.py6 import os
19 os.mkdir(out_dir)
20 p = os.getenv('ProgramFiles(x86)', 'C:\\Program Files (x86)')
22 winsdk = os.getenv('WindowsSdkDir')
24 winsdk = os.path.join(p, 'Windows Kits', '10')
27 os.mkdir(os.path.join(out_dir, 'Windows Kits'))
28 mkjunction(os.path.join(out_dir, 'Windows Kits', '10'), winsdk)
30 vswhere = os.path.join(
37 mkjunction(os.path.join(out_dir, 'VC'),
38 os.path.join(vsinstalldir, 'VC'))
[all …]
/openbsd/src/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/
Dcompatibility.py1 import os
16 def _relpath_nt(path, start=os.path.curdir):
21 start_list = os.path.abspath(start).split(os.path.sep)
22 path_list = os.path.abspath(path).split(os.path.sep)
24 unc_path, rest = os.path.splitunc(path)
25 unc_start, rest = os.path.splitunc(start)
39 rel_list = [os.path.pardir] * (len(start_list) - i) + path_list[i:]
41 return os.path.curdir
42 return os.path.join(*rel_list)
47 def _relpath_posix(path, start=os.path.curdir):
[all …]
/openbsd/src/gnu/llvm/clang/utils/
DCaptureCmd20 import os
27 path = os.path.join(dir,
29 if not os.path.exists(path):
36 program = os.getenv('CAPTURE_CMD_PROGRAM')
37 dir = os.getenv('CAPTURE_CMD_DIR')
38 fallback = os.getenv('CAPTURE_CMD_FALLBACK')
45 if not os.path.exists(dir):
46 os.mkdir(dir, 0700)
49 env = os.environ.items()
52 cwdKey = saveCaptureData('cwd-', dir, os.getcwd())
[all …]
/openbsd/src/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_discovery.py1 import os
29 original_listdir = os.listdir
32 os.listdir = original_listdir
33 original_isfile = os.path.isfile
36 os.path.isfile = original_isfile
37 original_isdir = os.path.isdir
40 os.path.isdir = original_isdir
45 os.listdir = lambda path: path_lists.pop(0)
50 os.path.isdir = isdir
56 os.path.isfile = isfile
[all …]
/openbsd/src/gnu/llvm/lld/COFF/
DMapFile.cpp47 static void writeHeader(raw_ostream &os, uint32_t sec, uint64_t addr) { in writeHeader() argument
48 os << format(" %04x:%08llx", sec, addr); in writeHeader()
54 static void writeFormattedTimestamp(raw_ostream &os, time_t tds) { in writeFormattedTimestamp() argument
61 os << format("%s %s %2d %02d:%02d:%02d %d", days[time->tm_wday], in writeFormattedTimestamp()
146 raw_string_ostream os(str[i]); in getSymbolStrings() local
184 writeHeader(os, sectionIdx, address); in getSymbolStrings()
185 os << " "; in getSymbolStrings()
186 os << left_justify(sym->getName(), 26); in getSymbolStrings()
187 os << " "; in getSymbolStrings()
188 os << format_hex_no_prefix((ctx.config.imageBase + sym->getRVA()), 16); in getSymbolStrings()
[all …]
/openbsd/src/usr.sbin/unbound/
Dconfig.sub187 sun*os*)
1503 os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'`
1507 os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'`
1511 os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
1515 IFS="-" read kernel os <<EOF
1523 os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
1527 os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
1531 os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'`
1535 os=$basic_os
1541 case $os in
[all …]
/openbsd/src/usr.sbin/nsd/
Dconfig.sub173 sun*os*)
1317 os=`echo "$basic_os" | sed -e 's|gnu/linux|gnu|'`
1321 os=`echo "$basic_os" | sed -e 's|os2-emx|emx|'`
1325 os=`echo "$basic_os" | sed -e 's|nto-qnx|qnx|'`
1330 IFS="-" read kernel os <<EOF
1338 os=`echo "$basic_os" | sed -e 's|nto|qnx|'`
1342 os=`echo "$basic_os" | sed -e 's|linux|gnu|'`
1346 os=`echo "$basic_os" | sed -e 's|managarm|mlibc|'`
1350 os=$basic_os
1356 case $os in
[all …]
/openbsd/src/lib/libcrypto/hmac/
Dhm_ameth.c87 ASN1_OCTET_STRING *os; in hmac_key_free() local
89 if ((os = pkey->pkey.ptr) == NULL) in hmac_key_free()
92 if (os->data != NULL) in hmac_key_free()
93 explicit_bzero(os->data, os->length); in hmac_key_free()
95 ASN1_OCTET_STRING_free(os); in hmac_key_free()
113 ASN1_OCTET_STRING *os = NULL; in hmac_set_priv_key() local
121 if ((os = ASN1_OCTET_STRING_new()) == NULL) in hmac_set_priv_key()
124 if (!ASN1_OCTET_STRING_set(os, priv, len)) in hmac_set_priv_key()
127 pkey->pkey.ptr = os; in hmac_set_priv_key()
132 ASN1_OCTET_STRING_free(os); in hmac_set_priv_key()
[all …]

12345678910>>...40