| /freebsd/usr.bin/jot/tests/ |
| H A D | regress.ed.out | 1 2s/old/new/ 2 7s/old/new/ 3 12s/old/new/ 4 17s/old/new/ 5 22s/old/new/ 6 27s/old/new/ 7 32s/old/new/ 8 37s/old/new/ 9 42s/old/new/ 10 47s/old/new/ [all …]
|
| /freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
| H A D | TestBean.java | 44 public static final String[] TESTS = new String[] { 96 OutputStream out = new BufferedOutputStream in getXMLEncoder() 97 (new FileOutputStream(file)); in getXMLEncoder() 98 encoder = new XMLEncoder(out); in getXMLEncoder() 117 InputStream in = new BufferedInputStream in getXMLDecoder() 118 (new FileInputStream(file)); in getXMLDecoder() 119 decoder = new XMLDecoder(in, null, exceptionListener); in getXMLDecoder() 130 ExitRecord r = new ExitRecord(1); in getExitRecord() 138 AggregationValue value = new CountValue(7); in getAggregationRecord() 139 AggregationRecord r = new AggregationRecord(tuple, value); in getAggregationRecord() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Syntax/ |
| H A D | Synthesis.cpp | 50 auto *Leaf = new (A.getAllocator()) syntax::Leaf( in createLeaf() 76 return new (A.getAllocator()) syntax::TranslationUnit; in allocateTree() 78 return new (A.getAllocator()) syntax::UnknownExpression; in allocateTree() 80 return new (A.getAllocator()) syntax::ParenExpression; in allocateTree() 82 return new (A.getAllocator()) syntax::ThisExpression; in allocateTree() 84 return new (A.getAllocator()) syntax::IntegerLiteralExpression; in allocateTree() 86 return new (A.getAllocator()) syntax::CharacterLiteralExpression; in allocateTree() 88 return new (A.getAllocator()) syntax::FloatingLiteralExpression; in allocateTree() 90 return new (A.getAllocator()) syntax::StringLiteralExpression; in allocateTree() 92 return new (A.getAllocator()) syntax::BoolLiteralExpression; in allocateTree() [all …]
|
| /freebsd/usr.sbin/etcupdate/tests/ |
| H A D | tests_test.sh | 63 NEW=$WORKDIR/current 73 rm -rf $OLD $NEW $TEST $CONFLICTS 74 mkdir -p $OLD/etc $NEW/etc $TEST/etc 77 # relations between the three threes (old, new, and test): old 78 # vs new, old vs test, and new vs test. Each of these 89 # Note that if the old and new files are identical (so first 94 # present in at least one of the old or new trees. Thus, none 100 mkdir -p $OLD/$i/$j/$k $NEW/$i/$j/$k \ 107 for i in $OLD $NEW $TEST; do 116 for i in $OLD $NEW; do [all …]
|
| H A D | always_test.sh | 63 NEW=$WORKDIR/current 75 rm -rf $OLD $NEW $TEST $CONFLICTS 80 mkdir -p $OLD/$i/$j/$k $NEW/$i/$j/$k \ 112 mkdir $NEW/second/second/difftype/dir 117 ln -s "new link" $NEW/second/second/difflinks/link 122 echo "new" > $NEW/second/second/difffiles/file 128 mkdir $NEW/difftype/first/first/fifo 130 # /difftype/difftype/difftype: All three files (old, new, and 134 mkdir $NEW/difftype/difftype/difftype/one 137 echo "baz" > $NEW/difftype/difftype/difftype/two [all …]
|
| /freebsd/contrib/libfido2/windows/ |
| H A D | const.ps1 | 7 New-Variable -Name 'LIBRESSL_URL' ` 10 New-Variable -Name 'LIBRESSL' -Value 'libressl-4.0.0' -Option Constant 11 New-Variable -Name 'CRYPTO_LIB' -Value 'crypto' -Option Constant 12 New-Variable -Name 'CRYPTO_DLL' -Value 'crypto-55' -Option Constant 15 New-Variable -Name 'LIBCBOR' -Value 'libcbor-0.12.0' -Option Constant 16 New-Variable -Name 'LIBCBOR_BRANCH' -Value 'v0.12.0' -Option Constant 17 New-Variable -Name 'LIBCBOR_GIT' -Value 'https://github.com/pjk/libcbor' ` 21 New-Variable -Name 'ZLIB' -Value 'zlib-1.3.1' -Option Constant 22 New-Variable -Name 'ZLIB_BRANCH' -Value 'v1.3.1' -Option Constant 23 New-Variable -Name 'ZLIB_GIT' -Value 'https://github.com/madler/zlib' ` [all …]
|
| /freebsd/contrib/llvm-project/libcxx/src/ |
| H A D | new.cpp | 14 #include <new> 26 // Implement all new and delete operators as weak definitions 46 _LIBCPP_OVERRIDABLE_FUNCTION(void*, operator new, (std::size_t size)) _THROW_BAD_ALLOC { 53 _LIBCPP_WEAK void* operator new(size_t size, const std::nothrow_t&) noexcept { in operator new() 57 (!std::__is_function_overridden < void*(std::size_t), &operator new>()), in operator new() 58 … "libc++ was configured with exceptions disabled and `operator new(size_t)` has been overridden, " in operator new() 59 "but `operator new(size_t, nothrow_t)` has not been overridden. This is problematic because " in operator new() 60 …"`operator new(size_t, nothrow_t)` must call `operator new(size_t)`, which will terminate in case " in operator new() 61 … "it fails to allocate, making it impossible for `operator new(size_t, nothrow_t)` to fulfill its " in operator new() 63 "`operator new(size_t, nothrow_t)` as well."); in operator new() [all …]
|
| /freebsd/usr.bin/find/ |
| H A D | function.c | 89 PLAN *new; in palloc() local 91 if ((new = malloc(sizeof(PLAN))) == NULL) in palloc() 93 new->execute = option->execute; in palloc() 94 new->flags = option->flags; in palloc() 95 new->next = NULL; in palloc() 96 return new; in palloc() 274 PLAN *new; in c_Xmin() local 279 new = palloc(option); in c_Xmin() 280 new->t_data.tv_sec = find_parsenum(new, option->name, nmins, NULL); in c_Xmin() 281 new->t_data.tv_nsec = 0; in c_Xmin() [all …]
|
| /freebsd/contrib/bmake/unit-tests/ |
| H A D | varmod-assign.exp | 15 …ar_Parse: ${CMD_CMD_VAR::=new-value} || ${CMD_GLOBAL_VAR::=new-value} || ${CMD_ENV_VAR::=new-val… 17 Modifier part: "new-value" 18 Command: CMD_CMD_VAR = new-value 20 Result of ${CMD_CMD_VAR::=new-value} is "" 21 Var_Parse: ${CMD_GLOBAL_VAR::=new-value} || ${CMD_ENV_VAR::=new-value} || "${CMD_NEW_VAR::=new-va… 23 Modifier part: "new-value" 24 Global: CMD_GLOBAL_VAR = new-value 25 Result of ${CMD_GLOBAL_VAR::=new-value} is "" 26 Var_Parse: ${CMD_ENV_VAR::=new-value} || "${CMD_NEW_VAR::=new-value}" (eval-defined-loud) 28 Modifier part: "new-value" [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
| H A D | record_section_tracker.h | 28 /// Add a section to the "new" list. 29 void add(span<RecordElement> Sec) { New.push_back(std::move(Sec)); } in add() 31 /// Returns true if there are new sections to process. 32 bool hasNewSections() const { return !New.empty(); } in hasNewSections() 34 /// Returns the number of new sections to process. 35 size_t numNewSections() const { return New.size(); } in numNewSections() 37 /// Process all new sections. 42 for (auto &Sec : New) in processNewSections() 47 /// Proces all new sections with a fallible handler. 57 for (size_t I = 0; I != New.size(); ++I) { in processNewSections() [all …]
|
| /freebsd/lib/libc/locale/ |
| H A D | xlocale.c | 191 * Allocates a new, uninitialised, locale. 196 locale_t new = calloc(sizeof(struct _xlocale), 1); in alloc_locale() local 198 if (new == NULL) in alloc_locale() 201 new->header.destructor = destruct_locale; in alloc_locale() 202 new->monetary_locale_changed = 1; in alloc_locale() 203 new->numeric_locale_changed = 1; in alloc_locale() 204 return (new); in alloc_locale() 208 copyflags(locale_t new, locale_t old) in copyflags() argument 210 new->using_monetary_locale = old->using_monetary_locale; in copyflags() 211 new->using_numeric_locale = old->using_numeric_locale; in copyflags() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonDepMask.h | 46 /*if (!Pu4.new) Rd32=add(Rs32,#s8)*/ 58 /*if (Pu4.new) Rd32=add(Rs32,#s8)*/ 142 /*if (!Pu4.new) Rd32=#s12*/ 148 /*if (Pu4.new) Rd32=#s12*/ 244 /*if (!Pu4.new) jump:nt #r15:2*/ 250 /*if (!Pu4.new) jump:t #r15:2*/ 268 /*if (Pu4.new) jump:nt #r15:2*/ 274 /*if (Pu4.new) jump:t #r15:2*/ 346 /*if (!cmp.eq(Ns8.new,Rt32)) jump:nt #r9:2*/ 352 /*if (!cmp.eq(Ns8.new,Rt32)) jump:t #r9:2*/ [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/SandboxIR/ |
| H A D | Context.cpp | 67 It->second = std::unique_ptr<VAArgInst>(new VAArgInst(LLVMVAArg, *this)); in getOrCreateValueInternal() 73 std::unique_ptr<FreezeInst>(new FreezeInst(LLVMFreeze, *this)); in getOrCreateValueInternal() 78 It->second = std::unique_ptr<FenceInst>(new FenceInst(LLVMFence, *this)); in getOrCreateValueInternal() 83 It->second = std::unique_ptr<SelectInst>(new SelectInst(LLVMSel, *this)); in getOrCreateValueInternal() 89 new ExtractElementInst(LLVMIns, *this)); in getOrCreateValueInternal() 95 new InsertElementInst(LLVMIns, *this)); in getOrCreateValueInternal() 101 new ShuffleVectorInst(LLVMIns, *this)); in getOrCreateValueInternal() 107 new ExtractValueInst(LLVMIns, *this)); in getOrCreateValueInternal() 113 std::unique_ptr<InsertValueInst>(new InsertValueInst(LLVMIns, *this)); in getOrCreateValueInternal() 118 It->second = std::unique_ptr<BranchInst>(new BranchInst(LLVMBr, *this)); in getOrCreateValueInternal() [all …]
|
| /freebsd/contrib/nvi/vi/ |
| H A D | vs_split.c | 34 * Create a new screen, horizontally. 41 SCR *new, in vs_split() argument 62 /* Get a new screen map. */ in vs_split() 63 CALLOC(sp, _HMAP(new), SIZE_HMAP(sp), sizeof(SMAP)); in vs_split() 64 if (_HMAP(new) == NULL) in vs_split() 66 _HMAP(new)->lno = sp->lno; in vs_split() 67 _HMAP(new)->coff = 0; in vs_split() 68 _HMAP(new)->soff = 1; in vs_split() 82 new->coff = sp->coff; in vs_split() 83 new->cols = sp->cols; in vs_split() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | hexagon_types.h | 344 #define HEXAGON_V64_PUT_D(v, new) (new) argument 350 #define HEXAGON_V64_PUT_W0(v, new) \ argument 357 _HEXAGON_V64_internal_union.w[0] = (new); \ 360 #define HEXAGON_V64_PUT_W1(v, new) \ argument 367 _HEXAGON_V64_internal_union.w[1] = (new); \ 373 #define HEXAGON_V64_PUT_W0(v, new) \ argument 374 (((v) & 0xffffffff00000000LL) | ((HEXAGON_Vect64)((unsigned int)(new)))) 375 #define HEXAGON_V64_PUT_W1(v, new) \ argument 376 (((v) & 0x00000000ffffffffLL) | (((HEXAGON_Vect64)(new)) << 32LL)) 384 #define HEXAGON_V64_PUT_H0(v, new) \ argument [all …]
|
| /freebsd/contrib/bearssl/T0/ |
| H A D | T0Comp.cs | 43 List<string> r = new List<string>(); in Main() 45 List<string> entryPoints = new List<string>(); in Main() 145 T0Comp tc = new T0Comp(); in Main() 149 using (TextReader tr = new StreamReader( in Main() 201 * each new token. 288 tokenBuilder = new StringBuilder(); in T0Comp() 289 words = new SortedDictionary<string, Word>( in T0Comp() 291 savedWordBuilders = new Stack<WordBuilder>(); in T0Comp() 292 allCCode = new SortedDictionary<string, string>( in T0Comp() 295 extraCode = new List<string>(); in T0Comp() [all …]
|
| H A D | WordBuilder.cs | 29 * A WordBuilder instance organizes construction of a new interpreted word. 53 * Create a new instance, with the specified word name. 59 cfStack = new int[16]; in WordBuilder() 61 code = new List<Opcode>(); in WordBuilder() 62 toResolve = new List<string>(); in WordBuilder() 63 locals = new Dictionary<string, int>(); in WordBuilder() 75 throw new Exception("control-flow stack is not empty"); in Build() 80 Word w = new WordInterpreted(TC, name, locals.Count, in Build() 123 int[] ncf = new int[len << 1]; in CSPush() 161 throw new Exception("not an origin"); in CSPopOrig() [all …]
|
| /freebsd/tools/tools/iso/ |
| H A D | check-iso639.pl | 41 my %new = (); 57 $new{$bib}{a2} = $a2; 58 $new{$bib}{bib} = $bib; 59 $new{$bib}{term} = $term; 60 $new{$bib}{name} = $name; 67 next if (defined $new{$bib}); 68 print "In old but not new: $old{$bib}{a2}\t$old{$bib}{bib}\t$old{$bib}{term}\t$old{$bib}{name}\n"; 76 foreach my $bib (sort(keys(%new))) { 78 print "In new but not old: $new{$bib}{a2}\t$new{$bib}{bib}\t$new{$bib}{term}\t$new{$bib}{name}\n"; 87 next if (!defined $new{$bib}); [all …]
|
| /freebsd/usr.bin/diff3/ |
| H A D | diff3.c | 108 struct range new; member 122 * reverse order. Its first element must be all zero, the "old" and "new" 290 (*dd)[i].new.from = c; in readin() 291 (*dd)[i].new.to = d; in readin() 294 (*dd)[i].new.from < (*dd)[i - 1].new.to) in readin() 300 (*dd)[i].new.from = (*dd)[i].new.to = (*dd)[i - 1].new.to; in readin() 387 if (!t2 || (t1 && d1->new.to < d2->new.from)) { in merge() 392 keep(2, &d1->new); in merge() 393 change(3, &d1->new, false); in merge() 398 de[j].new = d1->new; in merge() [all …]
|
| /freebsd/contrib/llvm-project/lldb/bindings/python/ |
| H A D | python-swigsafecast.swig | 17 return ToSWIGWrapper(std::unique_ptr<lldb::SBValue>(new lldb::SBValue(value_sp))); 21 return ToSWIGHelper(new lldb::SBTarget(std::move(target_sp)), 26 return ToSWIGHelper(new lldb::SBProcess(std::move(process_sp)), 31 return ToSWIGHelper(new lldb::SBModule(std::move(module_sp)), 36 return ToSWIGHelper(new lldb::SBThreadPlan(std::move(thread_plan_sp)), 41 return ToSWIGHelper(new lldb::SBBreakpoint(std::move(breakpoint_sp)), 46 return ToSWIGHelper(new lldb::SBError(std::move(status)), SWIGTYPE_p_lldb__SBError); 54 …return ToSWIGWrapper(std::unique_ptr<lldb::SBStructuredData>(new lldb::SBStructuredData(data_impl)… 58 return ToSWIGHelper(new lldb::SBThread(std::move(thread_sp)), 63 return ToSWIGHelper(new lldb::SBFrame(std::move(frame_sp)), [all …]
|
| /freebsd/lib/libc/isc/ |
| H A D | ev_streams.c | 66 evStream *new; in evWrite() local 69 OKNEW(new); in evWrite() 70 new->func = func; in evWrite() 71 new->uap = uap; in evWrite() 72 new->fd = fd; in evWrite() 73 new->flags = 0; in evWrite() 74 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) in evWrite() 76 if (copyvec(new, iov, iocnt) < 0) in evWrite() 78 new->prevDone = NULL; in evWrite() 79 new->nextDone = NULL; in evWrite() [all …]
|
| /freebsd/contrib/sendmail/src/ |
| H A D | recipient.c | 196 /* heuristic to determine old versus new style addresses */ 364 /* heuristic to determine old versus new style addresses */ 452 ** new -- the (preparsed) address header for the recipient. 466 recipient(new, sendq, aliaslevel, e) in recipient() argument 467 register ADDRESS *new; in recipient() 491 initialdontsend = QS_IS_DEAD(new->q_state); 492 e->e_to = new->q_paddr; 493 m = new->q_mailer; 496 new->q_flags |= QPRIMARY; 500 printaddr(sm_debug_file(), new, false); [all …]
|
| /freebsd/contrib/libcbor/src/cbor/ |
| H A D | ints.h | 115 /** Allocates new integer with 1B width 119 * @return **new** positive integer or `NULL` on memory allocation failure. The 124 /** Allocates new integer with 2B width 128 * @return **new** positive integer or `NULL` on memory allocation failure. The 133 /** Allocates new integer with 4B width 137 * @return **new** positive integer or `NULL` on memory allocation failure. The 142 /** Allocates new integer with 8B width 146 * @return **new** positive integer or `NULL` on memory allocation failure. The 151 /** Constructs a new positive integer 154 * @return **new** positive integer or `NULL` on memory allocation failure [all …]
|
| /freebsd/contrib/nvi/ex/ |
| H A D | ex_edit.c | 106 * New screen version of ex_edit. 111 SCR *new; in ex_N_edit() local 113 /* Get a new screen. */ in ex_N_edit() 114 if (screen_init(sp->gp, sp, &new)) in ex_N_edit() 116 if ((cmdp->cmd == &cmds[C_VSPLIT] && vs_vsplit(sp, new)) || in ex_N_edit() 117 (cmdp->cmd != &cmds[C_VSPLIT] && vs_split(sp, new, 0))) { in ex_N_edit() 118 (void)screen_end(new); in ex_N_edit() 125 new->ep = sp->ep; in ex_N_edit() 126 ++new->ep->refcnt; in ex_N_edit() 128 new->frp = frp; in ex_N_edit() [all …]
|
| /freebsd/sys/contrib/openzfs/module/zfs/ |
| H A D | zfs_rlock.c | 82 * new proxy locks created for non overlapping ranges. 158 zfs_rangelock_enter_writer(zfs_rangelock_t *rl, zfs_locked_range_t *new, in zfs_rangelock_enter_writer() argument 164 uint64_t orig_off = new->lr_offset; in zfs_rangelock_enter_writer() 165 uint64_t orig_len = new->lr_length; in zfs_rangelock_enter_writer() 166 zfs_rangelock_type_t orig_type = new->lr_type; in zfs_rangelock_enter_writer() 170 * Call callback which can modify new->r_off,len,type. in zfs_rangelock_enter_writer() 175 rl->rl_cb(new, rl->rl_arg); in zfs_rangelock_enter_writer() 182 ASSERT3U(new->lr_type, ==, RL_WRITER); in zfs_rangelock_enter_writer() 188 avl_add(tree, new); in zfs_rangelock_enter_writer() 195 lr = avl_find(tree, new, &where); in zfs_rangelock_enter_writer() [all …]
|