/openbsd/gnu/llvm/lld/wasm/ |
H A D | WriterUtils.cpp | 85 encodeULEB128(number, os); in writeUleb128() 90 encodeSLEB128(number, os); in writeSleb128() 96 os.write(bytes, count); in writeBytes() 100 debugWrite(os.tell(), in writeStr() 102 encodeULEB128(string.size(), os); in writeStr() 108 os << byte; in writeU8() 140 writeSleb128(os, number, msg); in writeI32Const() 145 writeSleb128(os, number, msg); in writeI64Const() 151 writeI64Const(os, number, msg); in writePtrConst() 208 writeLimits(os, type.Limits); in writeTableType() [all …]
|
H A D | SyntheticSections.cpp | 42 os.flush(); in writeTo() 53 raw_string_ostream os{body}; member in lld::wasm::__anon87bbf9c20111::SubSection 73 sub.writeTo(os); in writeBody() 81 sub.writeTo(os); in writeBody() 120 sub.writeTo(os); in writeBody() 136 sub.writeTo(os); in writeBody() 254 writeImport(os, import); in writeBody() 665 sub.writeTo(os); in writeBody() 676 sub.writeTo(os); in writeBody() 686 sub.writeTo(os); in writeBody() [all …]
|
H A D | WriterUtils.h | 25 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); 47 void writePtrConst(raw_ostream &os, int64_t number, bool is64, [all …]
|
H A D | Writer.cpp | 1003 os << bodyContent; in createFunction() 1177 writeMemArg(os, 2, 0); in createInitMemoryFunction() 1250 writeMemArg(os, 2, 0); in createInitMemoryFunction() 1257 writeMemArg(os, 2, 0); in createInitMemoryFunction() 1272 writeMemArg(os, 2, 0); in createInitMemoryFunction() 1333 writeUleb128(os, 0, "num locals"); in createApplyDataRelocationsFunction() 1352 writeUleb128(os, 0, "num locals"); in createApplyGlobalRelocationsFunction() 1368 writeUleb128(os, 0, "num locals"); in createApplyGlobalTLSRelocationsFunction() 1388 writeUleb128(os, 0, "num locals"); in createCallCtorsFunction() 1716 raw_string_ostream os(header); in createHeader() local [all …]
|
/openbsd/gnu/llvm/clang/tools/clang-fuzzer/proto-to-cxx/ |
H A D | proto_to_cxx.cpp | 27 return os << "(" << x.val() << ")"; in operator <<() 33 return os << x.varref(); in operator <<() 39 return os << "1"; in operator <<() 42 os << "(" << x.left(); in operator <<() 51 case BinaryOp::OR: os << "|"; break; in operator <<() 59 return os << x.right() << ")"; in operator <<() 76 return os << "(void)0;\n"; in operator <<() 80 return os; in operator <<() 89 std::ostringstream os; in FunctionToString() local 90 os << input; in FunctionToString() [all …]
|
H A D | loop_proto_to_cxx.cpp | 73 os << "+"; in operator <<() 76 os << "-"; in operator <<() 79 os << "*"; in operator <<() 82 os << "^"; in operator <<() 85 os << "&"; in operator <<() 88 os << "|"; in operator <<() 103 os << "<"; in operator <<() 106 os << ">"; in operator <<() 119 os << st; in operator <<() 120 return os; in operator <<() [all …]
|
/openbsd/gnu/share/ |
H A D | config.sub | 137 -sun*os*) 147 os= 151 os= 180 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 211 os=`echo $os | sed -e 's/windowsnt/winnt/'` 214 os=-psos 218 os=-mint 251 os=-none 613 os=-mvs 688 os=-ose [all …]
|
/openbsd/gnu/lib/libreadline/support/ |
H A D | config.sub | 138 -sun*os*) 148 os= 152 os= 181 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 212 os=`echo $os | sed -e 's/windowsnt/winnt/'` 215 os=-psos 219 os=-mint 262 os=-none 663 os=-mvs 746 os=-ose [all …]
|
/openbsd/gnu/usr.bin/gcc/ |
H A D | config.sub | 138 -sun*os*) 148 os= 152 os= 181 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 212 os=`echo $os | sed -e 's/windowsnt/winnt/'` 215 os=-psos 219 os=-mint 274 os=-none 663 os=-mvs 746 os=-ose [all …]
|
/openbsd/gnu/lib/libstdc++/ |
H A D | config.sub | 138 -sun*os*) 148 os= 152 os= 181 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 212 os=`echo $os | sed -e 's/windowsnt/winnt/'` 215 os=-psos 219 os=-mint 274 os=-none 663 os=-mvs 746 os=-ose [all …]
|
/openbsd/gnu/usr.bin/binutils-2.17/ |
H A D | config.sub | 141 -sun*os*) 151 os= 155 os= 188 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 223 os=`echo $os | sed -e 's/windowsnt/winnt/'` 226 os=-psos 230 os=-mint 294 os=-none 716 os=-mvs 798 os=-ose [all …]
|
/openbsd/gnu/lib/libiberty/ |
H A D | config.sub | 141 -sun*os*) 151 os= 155 os= 188 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 223 os=`echo $os | sed -e 's/windowsnt/winnt/'` 226 os=-psos 230 os=-mint 294 os=-none 716 os=-mvs 798 os=-ose [all …]
|
/openbsd/gnu/usr.bin/binutils/ |
H A D | config.sub | 139 -sun*os*) 149 os= 153 os= 182 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 213 os=`echo $os | sed -e 's/windowsnt/winnt/'` 216 os=-psos 220 os=-mint 277 os=-none 676 os=-mvs 763 os=-ose [all …]
|
/openbsd/gnu/usr.bin/texinfo/ |
H A D | config.sub | 139 -sun*os*) 149 os= 153 os= 182 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` 213 os=`echo $os | sed -e 's/windowsnt/winnt/'` 216 os=-psos 220 os=-mint 277 os=-none 688 os=-mvs 771 os=-ose [all …]
|
/openbsd/gnu/llvm/lldb/third_party/Python/module/ptyprocess-0.6.0/ptyprocess/ |
H A D | _fork_pty.py | 3 import os 27 pid = os.fork() 54 fd = os.open("/dev/tty", os.O_RDWR | os.O_NOCTTY) 55 os.close(fd) 60 os.setsid() 65 fd = os.open("/dev/tty", os.O_RDWR | os.O_NOCTTY) 66 os.close(fd) 73 fd = os.open(child_name, os.O_RDWR) 74 os.close(fd) 77 fd = os.open("/dev/tty", os.O_WRONLY) [all …]
|
H A D | util.py | 4 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/gnu/llvm/clang/tools/clang-fuzzer/proto-to-llvm/ |
H A D | loop_proto_to_llvm.cpp | 77 return BinopToString(os, x.binop()); in RvalueToString() 130 return os << x.assignment(); in operator <<() 134 os << st; in operator <<() 136 return os; in operator <<() 156 os << x.inner_statements(); in NestedLoopToString() 189 NestedLoopToString(os, x); in operator <<() 191 SingleLoopToString(os, x); in operator <<() 192 return os; in operator <<() 198 std::ostringstream os; in LoopFunctionToLLVMString() local 199 os << input; in LoopFunctionToLLVMString() [all …]
|
/openbsd/gnu/llvm/llvm/utils/ |
H A D | sysroot.py | 6 import os 19 os.mkdir(out_dir) 22 winsdk = os.getenv('WindowsSdkDir') 27 os.mkdir(os.path.join(out_dir, 'Windows Kits')) 30 vswhere = os.path.join( 37 mkjunction(os.path.join(out_dir, 'VC'), 50 os.mkdir(out_dir) 58 sdkpath = os.path.realpath(sdkpath) 59 os.symlink(sdkpath, os.path.join(out_dir, os.path.basename(sdkpath))) 61 os.symlink('/', out_dir) [all …]
|
/openbsd/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/ |
H A D | compatibility.py | 1 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) 41 return os.path.curdir 42 return os.path.join(*rel_list) 53 start_list = os.path.abspath(start).split(os.path.sep) 54 path_list = os.path.abspath(path).split(os.path.sep) 61 return os.path.curdir 62 return os.path.join(*rel_list) [all …]
|
/openbsd/gnu/llvm/clang/utils/ |
H A D | CaptureCmd | 20 import os 27 path = os.path.join(dir, 29 if not os.path.exists(path): 45 if not os.path.exists(dir): 46 os.mkdir(dir, 0700) 49 env = os.environ.items() 58 pid = os.fork() 61 os._exit(1) 66 os._exit(1) 69 os.execv(program, sys.argv) [all …]
|
/openbsd/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/test/ |
H A D | test_discovery.py | 1 import os 50 os.path.isdir = isdir 56 os.path.isfile = isfile 96 os.path.isfile = lambda path: os.path.basename(path) not in directories 162 full_path = os.path.abspath(os.path.normpath('/foo')) 187 top_level_dir = os.path.abspath(os.path.normpath('/foo/bar')) 188 start_dir = os.path.abspath(os.path.normpath('/foo/bar/baz')) 197 listdir = os.listdir 199 isfile = os.path.isfile 354 os.listdir = listdir [all …]
|
/openbsd/gnu/llvm/lld/COFF/ |
H A D | MapFile.cpp | 187 os << " "; in getSymbolStrings() 232 os << "\n"; in writeMapFile() 241 os << ")\n"; in writeMapFile() 243 os << "\n"; in writeMapFile() 246 os << "\n"; in writeMapFile() 287 os << "\n"; in writeMapFile() 290 os << "\n"; in writeMapFile() 295 os << "\n"; in writeMapFile() 311 os << "\n"; in writeMapFile() 314 os << "\n"; in writeMapFile() [all …]
|
/openbsd/usr.sbin/unbound/ |
H A D | config.sub | 187 sun*os*) 1497 # First recognize some ad-hoc cases, or perhaps split kernel-os, or else just 1498 # set 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 [all...] |
/openbsd/usr.sbin/nsd/ |
H A D | config.sub | 1364 os=cnk 1377 os=ose 1408 os=qnx 1426 os=`echo "$os" | sed -e 's|mac|macos|'` 1444 os=bsd 1447 os=bsd 1450 os=aos 1459 os=bsd 1472 os=`echo "$os" | sed -e 's|sinix|sysv|'` 1478 os=tpf [all …]
|
/openbsd/lib/libcrypto/hmac/ |
H A D | hm_ameth.c | 87 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 127 pkey->pkey.ptr = os; in hmac_set_priv_key() 132 ASN1_OCTET_STRING_free(os); in hmac_set_priv_key() 140 ASN1_OCTET_STRING *os; in hmac_get_priv_key() local 147 *len = os->length; in hmac_get_priv_key() [all …]
|