/openbsd-src/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/test/ |
H A D | test_result.py | 21 result = unittest2.TestResult() 23 self.assertTrue(result.wasSuccessful()) 24 self.assertEqual(len(result.errors), 0) 25 self.assertEqual(len(result.failures), 0) 26 self.assertEqual(result.testsRun, 0) 27 self.assertEqual(result.shouldStop, False) 28 self.assertIsNone(result._stdout_buffer) 29 self.assertIsNone(result._stderr_buffer) 35 result = unittest2.TestResult() 37 result.stop() [all …]
|
H A D | test_break.py | 39 result = unittest2.TestResult() 40 unittest2.registerResult(result) 43 if ref is result: 45 elif ref is not result: 46 self.fail("odd object in result set") 48 self.fail("result not found") 53 result = unittest2.TestResult() 55 unittest2.registerResult(result) 59 def test(result): argument 62 result.breakCaught = True [all …]
|
H A D | test_skipping.py | 14 result = LoggingResult(events) 16 test.run(result) 18 self.assertEqual(result.skipped, [(test, "skip")]) 28 result = LoggingResult(events) 30 test.run(result) 32 self.assertEqual(result.skipped, [(test, "testing")]) 33 self.assertEqual(result.testsRun, 1) 53 result = LoggingResult(events) 54 suite.run(result) 55 self.assertEqual(len(result.skipped), 1) [all …]
|
/openbsd-src/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/ |
H A D | suite.py | 57 def run(self, result): argument 59 if result.shouldStop: 61 test(result) 62 return result 83 def run(self, result): argument 84 self._wrapped_run(result) 85 self._tearDownPreviousClass(None, result) 86 self._handleModuleTearDown(result) 87 return result 98 def _wrapped_run(self, result, debug=False): argument [all …]
|
/openbsd-src/gnu/llvm/clang/lib/Index/ |
H A D | CommentToXML.cpp | 198 llvm::raw_svector_ostream &Result) { in printHTMLStartTagComment() argument 199 Result << "<" << C->getTagName(); in printHTMLStartTagComment() 203 Result << " "; in printHTMLStartTagComment() 205 Result << Attr.Name; in printHTMLStartTagComment() 207 Result << "=\"" << Attr.Value << "\""; in printHTMLStartTagComment() 212 Result << ">"; in printHTMLStartTagComment() 214 Result << "/>"; in printHTMLStartTagComment() 224 FC(FC), Result(Str), Traits(Traits) in CommentASTToHTMLConverter() 255 llvm::raw_svector_ostream Result; member in __anon4be452bf0111::CommentASTToHTMLConverter 280 Result << " "; in visitInlineCommandComment() [all …]
|
/openbsd-src/sys/arch/hppa/spmath/ |
H A D | sfadd.c | 28 register unsigned int left, right, result, extent; local 61 Sgl_makequietnan(result); 62 *dstptr = result; 171 /* Left is not a zero and must be the result. Trapped 172 * underflows are signaled if left is denormalized. Result 194 /* Both operands are denormalized. The result must be exact 199 Sgl_subtract(left,/*minus*/right,/*into*/result); 200 if(Sgl_iszero_mantissa(result)) 204 Sgl_setone_sign(result); 208 Sgl_setzero_sign(result); [all …]
|
H A D | sfsub.c | 28 register unsigned int left, right, result, extent; local 59 Sgl_makequietnan(result); 60 *dstptr = result; 172 /* Left is not a zero and must be the result. Trapped 173 * underflows are signaled if left is denormalized. Result 196 /* Both operands are denormalized. The result must be exact 201 Sgl_subtract(left,/*minus*/right,/*into*/result); 202 if(Sgl_iszero_mantissa(result)) 206 Sgl_setone_sign(result); 210 Sgl_setzero_sign(result); [all …]
|
H A D | fcnvfx.c | 32 register int src_exponent, result; local 45 if (Sgl_iszero_sign(src)) result = 0x7fffffff; 46 else result = 0x80000000; 52 *dstptr = result; 57 * Generate result 63 if (Sgl_isone_sign(src)) result = -Sgl_all(temp); 64 else result = Sgl_all(temp); 69 /* round result */ 72 if (Sgl_iszero_sign(src)) result++; 75 if (Sgl_isone_sign(src)) result--; [all …]
|
/openbsd-src/gnu/usr.bin/perl/t/comp/ |
H A D | package_block.t | 5 $main::result = ""; 7 $main::result .= "a(".__PACKAGE__."/".eval("__PACKAGE__").")"; 9 $main::result .= "b(".__PACKAGE__."/".eval("__PACKAGE__").")"; 11 $main::result .= "c(".__PACKAGE__."/".eval("__PACKAGE__").")"; 13 $main::result .= "d(".__PACKAGE__."/".eval("__PACKAGE__").")"; 15 $main::result .= "e(".__PACKAGE__."/".eval("__PACKAGE__").")"; 17 print $main::result eq 21 $main::result = ""; 23 $main::result .= "a($Foo::VERSION)"; 24 $main::result .= "b($Bar::VERSION)"; [all …]
|
/openbsd-src/gnu/gcc/libstdc++-v3/libsupc++/ |
H A D | tinfo.cc | 261 __upcast_result result (__vmi_class_type_info::__flags_unknown_mask); in __do_upcast() local 263 __do_upcast (dst_type, *obj_ptr, result); in __do_upcast() 264 if (!contained_public_p (result.part2dst)) in __do_upcast() 266 *obj_ptr = const_cast <void *> (result.dst_ptr); in __do_upcast() 352 __dyncast_result &__restrict result) const in __do_dyncast() 358 result.whole2src = access_path; in __do_dyncast() 363 result.dst_ptr = obj_ptr; in __do_dyncast() 364 result.whole2dst = access_path; in __do_dyncast() 365 result.dst2src = __not_contained; in __do_dyncast() 378 __dyncast_result &__restrict result) const in __do_dyncast() [all …]
|
/openbsd-src/gnu/lib/libstdc++/libstdc++/libsupc++/ |
H A D | tinfo.cc | 244 __upcast_result result (__vmi_class_type_info::__flags_unknown_mask); in __do_upcast() local 246 __do_upcast (dst_type, *obj_ptr, result); in __do_upcast() 247 if (!contained_public_p (result.part2dst)) in __do_upcast() 249 *obj_ptr = const_cast <void *> (result.dst_ptr); in __do_upcast() 335 __dyncast_result &__restrict result) const in __do_dyncast() 341 result.whole2src = access_path; in __do_dyncast() 346 result.dst_ptr = obj_ptr; in __do_dyncast() 347 result.whole2dst = access_path; in __do_dyncast() 348 result.dst2src = __not_contained; in __do_dyncast() 361 __dyncast_result &__restrict result) const in __do_dyncast() [all …]
|
/openbsd-src/usr.sbin/rpc.lockd/ |
H A D | procs.c | 96 * calls return no result - we just fire off a udp packet 162 syslog(LOG_ERR, "Unable to return result to %s", in get_client() 192 * Purpose: Transmit result for nlm_xxx_msg pseudo-RPCs 196 * without expecting a result 199 transmit_result(int opcode, nlm_res *result, struct sockaddr_in *addr) in transmit_result() argument 211 result, xdr_void, &dummy, timeo); in transmit_result() 220 * Purpose: Transmit result for nlm4_xxx_msg pseudo-RPCs 224 * without expecting a result 227 transmit4_result(int opcode, nlm4_res *result, struct sockaddr_in *addr) in transmit4_result() argument 239 result, xdr_void, &dummy, timeo); in transmit4_result() [all …]
|
/openbsd-src/usr.sbin/nsd/ |
H A D | region-allocator.c | 93 region_type *result = (region_type *) allocator(sizeof(region_type)); in alloc_region_base() local 94 if (!result) return NULL; in alloc_region_base() 96 result->total_allocated = 0; in alloc_region_base() 97 result->small_objects = 0; in alloc_region_base() 98 result->large_objects = 0; in alloc_region_base() 99 result->chunk_count = 1; in alloc_region_base() 100 result->unused_space = 0; in alloc_region_base() 101 result->recycle_bin = NULL; in alloc_region_base() 102 result->recycle_size = 0; in alloc_region_base() 103 result->large_list = NULL; in alloc_region_base() [all …]
|
H A D | namedb.c | 28 domain_type *result; in allocate_domain_info() local 34 result = (domain_type *) region_alloc(table->region, in allocate_domain_info() 37 result->dname in allocate_domain_info() 39 result->node.key in allocate_domain_info() 43 result->parent = parent; in allocate_domain_info() 44 result->wildcard_child_closest_match = result; in allocate_domain_info() 45 result->rrsets = NULL; in allocate_domain_info() 46 result->usage = 0; in allocate_domain_info() 48 result->nsec3 = NULL; in allocate_domain_info() 50 result->is_existing = 0; in allocate_domain_info() [all …]
|
/openbsd-src/gnu/llvm/clang/tools/scan-build-py/tests/functional/cases/ |
H A D | test_create_cdb.py | 17 result = os.path.join(tmpdir, 'cdb.json') 20 ['intercept-build', '--cdb', result] + make) 21 return result 31 result = self.run_intercept(tmpdir, ['build_regular']) 32 self.assertTrue(os.path.isfile(result)) 33 self.assertEqual(5, self.count_entries(result)) 37 result = os.path.join(tmpdir, 'cdb.json') 39 silent_check_call(['intercept-build', '--cdb', result, 41 self.assertTrue(os.path.isfile(result)) 42 self.assertEqual(5, self.count_entries(result)) [all …]
|
/openbsd-src/gnu/llvm/lldb/examples/python/ |
H A D | sbvalue.py | 171 result = self.__add__(other) 172 self.sbvalue.SetValueFromCString(str(result)) 173 return result 176 result = self.__sub__(other) 177 self.sbvalue.SetValueFromCString(str(result)) 178 return result 181 result = self.__mul__(other) 182 self.sbvalue.SetValueFromCString(str(result)) 183 return result 186 result = self.__div__(other) [all …]
|
/openbsd-src/lib/libcurses/tinfo/ |
H A D | hashed_db.c | 68 DB *result = 0; in find_connection() local 73 result = p->db; in find_connection() 78 return result; in find_connection() 123 DB *result = 0; in _nc_db_open() local 129 if ((result = find_connection(path, modify)) == 0) { in _nc_db_open() 132 db_create(&result, NULL, 0); in _nc_db_open() 133 if ((code = result->open(result, in _nc_db_open() 140 result = 0; in _nc_db_open() 143 db_create(&result, NULL, 0); in _nc_db_open() 144 if ((code = result->open(result, in _nc_db_open() [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.cpp | 405 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); in toCodeViewSubsection() local 407 Result->addChecksum(CS.FileName, CS.Kind, CS.ChecksumBytes.Bytes); in toCodeViewSubsection() 409 return Result; in toCodeViewSubsection() 416 auto Result = in toCodeViewSubsection() local 418 Result->setCodeSize(Lines.CodeSize); in toCodeViewSubsection() 419 Result->setRelocationAddress(Lines.RelocSegment, Lines.RelocOffset); in toCodeViewSubsection() 420 Result->setFlags(Lines.Flags); in toCodeViewSubsection() 422 Result->createBlock(LC.FileName); in toCodeViewSubsection() 423 if (Result->hasColumnInfo()) { in toCodeViewSubsection() 428 Result->addLineAndColumnInfo(L.Offset, in toCodeViewSubsection() [all …]
|
/openbsd-src/gnu/llvm/lldb/tools/intel-features/intel-mpx/ |
H A D | cli-wrapper-mpxtable.cpp | 25 lldb::SBCommandReturnObject &result) { in GetPtr() argument 27 result.SetError("Bad argument."); in GetPtr() 28 result.SetStatus(lldb::eReturnStatusFailed); in GetPtr() 34 result.SetError("Invalid pointer."); in GetPtr() 35 result.SetStatus(lldb::eReturnStatusFailed); in GetPtr() 62 lldb::SBCommandReturnObject &result) { in PrintBTEntry() argument 67 result.Printf("Null bounds on map: pointer value = 0x%" PRIu64 "\n", value); in PrintBTEntry() 69 result.Printf(" lbound = 0x%" PRIu64 ",", lbound); in PrintBTEntry() 70 result.Printf(" ubound = 0x%" PRIu64 , ubound); in PrintBTEntry() 71 result.Printf(" (pointer value = 0x%" PRIu64 ",", value); in PrintBTEntry() [all …]
|
/openbsd-src/lib/libcbor/src/cbor/ |
H A D | streaming.c | 12 struct cbor_decoder_result *result) { in claim_bytes() argument 13 if (required > (provided - result->read)) { in claim_bytes() 14 result->required = required + result->read; in claim_bytes() 15 result->read = 0; in claim_bytes() 16 result->status = CBOR_DECODER_NEDATA; in claim_bytes() 19 result->read += required; in claim_bytes() 20 result->required = 0; in claim_bytes() 28 if (claim_bytes(length, source_size, &result)) { \ 36 if (claim_bytes(length_bytes, source_size, &result)) { \ 40 return result; \ [all …]
|
/openbsd-src/gnu/usr.bin/binutils-2.17/ld/ |
H A D | ldexp.c | 134 expld.result.value += expld.result.section->vma; in make_abs() 135 expld.result.section = bfd_abs_section_ptr; in make_abs() 141 expld.result.valid_p = TRUE; in new_abs() 142 expld.result.section = bfd_abs_section_ptr; in new_abs() 143 expld.result.value = value; in new_abs() 144 expld.result.str = NULL; in new_abs() 185 expld.result.valid_p = TRUE; in new_rel() 186 expld.result.value = value; in new_rel() 187 expld.result.str = str; in new_rel() 188 expld.result.section = section; in new_rel() [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCDuplexInfo.cpp | 697 MCInst Result; in deriveSubInst() local 698 Result.setLoc(Inst.getLoc()); in deriveSubInst() 710 Result.setOpcode(Hexagon::SA1_inc); in deriveSubInst() 711 addOps(Result, Inst, 0); in deriveSubInst() 712 addOps(Result, Inst, 1); in deriveSubInst() 716 Result.setOpcode(Hexagon::SA1_dec); in deriveSubInst() 717 addOps(Result, Inst, 0); in deriveSubInst() 718 addOps(Result, Inst, 1); in deriveSubInst() 719 addOps(Result, Inst, 2); in deriveSubInst() 723 Result.setOpcode(Hexagon::SA1_addsp); in deriveSubInst() [all …]
|
/openbsd-src/gnu/usr.bin/binutils/ld/ |
H A D | ldexp.c | 214 etree_value_type result; in fold_unary() local 216 result = exp_fold_tree (tree->unary.child, in fold_unary() 219 if (result.valid_p) in fold_unary() 225 result = new_rel_from_section (align_n (dot, result.value), in fold_unary() 228 result.valid_p = FALSE; in fold_unary() 234 result.value += result.section->bfd_section->vma; in fold_unary() 235 result.section = abs_output_section; in fold_unary() 238 result.valid_p = FALSE; in fold_unary() 242 make_abs (&result); in fold_unary() 243 result.value = ~result.value; in fold_unary() [all …]
|
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
H A D | FixedPointBuilder.h | 46 Value *Result = Src; in Convert() local 55 Value *Zero = Constant::getNullValue(Result->getType()); in Convert() 56 Value *IsNegative = B.CreateICmpSLT(Result, Zero); in Convert() 59 Value *Rounded = B.CreateAdd(Result, LowBits); in Convert() 60 Result = B.CreateSelect(IsNegative, Rounded, Result); in Convert() 63 Result = SrcIsSigned in Convert() 64 ? B.CreateAShr(Result, SrcScale - DstScale, "downscale") in Convert() 65 : B.CreateLShr(Result, SrcScale - DstScale, "downscale"); in Convert() 70 Result = B.CreateIntCast(Result, DstIntTy, SrcIsSigned, "resize"); in Convert() 74 Result = B.CreateShl(Result, DstScale - SrcScale, "upscale"); in Convert() [all …]
|
/openbsd-src/gnu/llvm/clang/lib/Lex/ |
H A D | MacroArgs.cpp | 47 MacroArgs *Result; in create() local 51 Result = new ( in create() 55 Result = *ResultEnt; in create() 57 *ResultEnt = Result->ArgCache; in create() 58 Result->NumUnexpArgTokens = UnexpArgTokens.size(); in create() 59 Result->VarargsElided = VarargsElided; in create() 60 Result->NumMacroArgs = MI->getNumParams(); in create() 63 // Copy the actual unexpanded tokens to immediately after the result ptr. in create() 70 Result->getTrailingObjects<Token>()); in create() 73 return Result; in create() [all …]
|