Searched refs:new (Results 1 - 25 of 1033) sorted by relevance

1234567891011>>

/freebsd-current/contrib/ldns/compat/
H A Dcalloc.c17 void *new = malloc(num * size); local
18 if (!new) {
21 bzero(new, num * size);
22 return new;
/freebsd-current/lib/libc/arm/gen/
H A Dfpsetround_vfp.c38 uint32_t old, new; local
41 new = old & ~(3 << 22);
42 new |= rnd_dir << 22;
43 __asm __volatile("vmsr fpscr, %0" : : "r"(new));
H A Dfpsetsticky_vfp.c40 fp_except old, new; local
43 new = old & ~(FP_X_MASK);
44 new &= ~except;
45 __asm __volatile("vmsr fpscr, %0" : : "r"(new));
H A Dfpsetmask_vfp.c40 fp_except old, new; local
44 new = (old & ~(FP_X_MASK << 8)) | mask;
45 __asm __volatile("vmsr fpscr, %0" : : "r"(new));
/freebsd-current/lib/libc/gen/
H A Dualarm.c45 struct itimerval new, old; local
47 new.it_interval.tv_usec = reload % USPS;
48 new.it_interval.tv_sec = reload / USPS;
50 new.it_value.tv_usec = usecs % USPS;
51 new.it_value.tv_sec = usecs / USPS;
53 if (setitimer(ITIMER_REAL, &new, &old) == 0)
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_placement_new.h12 // The file provides 'placement new'.
20 inline void *operator new(__sanitizer::operator_new_size_type sz, void *p) {
/freebsd-current/lib/libc/aarch64/gen/
H A Dfpsetmask.c37 uint64_t old, new; local
43 new = old & ~FP_X_MASK;
44 new |= mask;
45 __asm __volatile("msr fpcr, %0" :: "r"(new));
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rename/
H A Dzfs_rename_013_pos.ksh49 datasetexists $TESTPOOL/$TESTCTR@snap-new && \
50 destroy_dataset $TESTPOOL/$TESTCTR@snap-new -f
55 datasetexists $TESTPOOL@snap-new && \
56 destroy_dataset $TESTPOOL@snap-new -f
68 log_must zfs rename -r $TESTPOOL/$TESTCTR@snap $TESTPOOL/$TESTCTR@snap-new
69 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
72 log_must zfs rename -r $TESTPOOL@snap $TESTPOOL@snap-new
73 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
74 log_must datasetexists $TESTPOOL@snap-new
76 log_must zfs destroy -f $TESTPOOL/$TESTCTR@snap-new
[all...]
H A Dzfs_rename_006_pos.ksh40 # 2. Rename volume snapshot to a new one.
41 # 3. Rename volume to a new one.
65 rename_dataset $vol@$snap $vol@${snap}-new
66 rename_dataset $vol ${vol}-new
67 rename_dataset ${vol}-new@${snap}-new ${vol}-new@$snap
68 rename_dataset ${vol}-new $vol
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_rename/
H A Dzfs_rename_013_pos.ksh64 if datasetexists $TESTPOOL/$TESTCTR@snap-new ; then
65 log_must $ZFS destroy -f $TESTPOOL/$TESTCTR@snap-new
72 if datasetexists $TESTPOOL@snap-new ; then
73 log_must $ZFS destroy -f $TESTPOOL@snap-new
87 log_must $ZFS rename -r $TESTPOOL/$TESTCTR@snap $TESTPOOL/$TESTCTR@snap-new
88 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
91 log_must $ZFS rename -r $TESTPOOL@snap $TESTPOOL@snap-new
92 log_must datasetexists $TESTPOOL/$TESTCTR@snap-new
93 log_must datasetexists $TESTPOOL@snap-new
95 log_must $ZFS destroy -f $TESTPOOL/$TESTCTR@snap-new
[all...]
H A Dzfs_rename_006_pos.ksh40 # 2. Rename volume snapshot to a new one.
41 # 3. Rename volume to a new one.
72 rename_dataset $vol@$snap $vol@${snap}-new
73 rename_dataset $vol ${vol}-new
74 rename_dataset ${vol}-new@${snap}-new ${vol}-new@$snap
75 rename_dataset ${vol}-new $vol
/freebsd-current/contrib/nvi/ex/
H A Dex_edit.c111 SCR *new; local
113 /* Get a new screen. */
114 if (screen_init(sp->gp, sp, &new))
116 if ((cmdp->cmd == &cmds[C_VSPLIT] && vs_vsplit(sp, new)) ||
117 (cmdp->cmd != &cmds[C_VSPLIT] && vs_split(sp, new, 0))) {
118 (void)screen_end(new);
125 new->ep = sp->ep;
126 ++new->ep->refcnt;
128 new->frp = frp;
129 new
[all...]
/freebsd-current/crypto/openssl/external/perl/Text-Template-1.56/t/
H A Derror.t14 Text::Template->new();
18 like $@, qr/^\QUsage: Text::Template::new(TYPE => ..., SOURCE => ...)/;
20 eval { Text::Template->new(TYPE => 'FILE'); };
21 like $@, qr/^\QUsage: Text::Template::new(TYPE => ..., SOURCE => ...)/;
24 eval { Text::Template->new(TYPE => 'wlunch', SOURCE => 'fish food'); };
28 my $o = Text::Template->new(
H A Dtemplate-encoding.t19 my $tmp_fh = File::Temp->new;
26 my $str = Text::Template->new(
34 $tmp_fh = File::Temp->new;
41 $str = Text::Template->new(
/freebsd-current/lib/libc/locale/
H A Dxlocale.c191 * Allocates a new, uninitialised, locale.
196 locale_t new = calloc(sizeof(struct _xlocale), 1); local
198 if (new == NULL)
201 new->header.destructor = destruct_locale;
202 new->monetary_locale_changed = 1;
203 new->numeric_locale_changed = 1;
204 return (new);
208 copyflags(locale_t new, locale_t old) argument
210 new->using_monetary_locale = old->using_monetary_locale;
211 new
217 dupcomponent(int type, locale_t base, locale_t new) argument
257 locale_t new = alloc_locale(); local
309 locale_t new = alloc_locale(); local
[all...]
/freebsd-current/tools/tools/shlib-compat/
H A Dshlib-compat-dirs.sh7 echo "Usage: $0 orig-dir new-dir output-dir"
12 new=$2
34 rnew=`realpath $new`
38 test_file $orig/$i $new/$i || continue
39 $SHLIB_COMPAT --out-orig $out/$i.orig.c --out-new $out/$i.new.c -v "$@" \
40 $orig/$i $new/$i > $out/$i.cmp 2> $out/$i.err || true
41 remove_empty $out/$i.orig.c $out/$i.new.c $out/$i.cmp $out/$i.err
42 if [ -f $out/$i.orig.c -a -f $out/$i.new.c ]; then
43 astyle --quiet --style=bsd -k3 $out/$i.orig.c $out/$i.new
[all...]
/freebsd-current/contrib/llvm-project/llvm/include/llvm/
H A DLinkAllIR.h47 (void)new llvm::Module("", Context);
48 (void)new llvm::UnreachableInst(Context);
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/history/
H A Dcleanup.ksh34 rm -f $TEST_BASE_DIR/{old,tmp,new}_history.*
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/renameat2/
H A Drenameat2_whiteout.ksh44 log_must renameat2 -w whiteout new
45 # Check new file.
46 log_must grep '^whiteout$' new
/freebsd-current/contrib/tcpdump/
H A Dmakemib177 # add a new object to the tree
179 # new OBJECT IDENTIFIER ::= { parent value }
182 function oidadd(new, parent, value) {
187 print "/* oidadd" inn(FILENAME) ":", new, "in", parent, "as", value, "line", $0, "*/"
189 gsub(/[-&\/]/,"",new)
194 inn(FILENAME), parent, new, value
198 if (oid[new] > 0 && oid[new] != value) {
200 inn(FILENAME), parent, new, value, oid[new]
[all...]
/freebsd-current/libexec/revnetgroup/
H A Dhash.c146 struct group_entry *new; local
151 new = (struct group_entry *)malloc(sizeof(struct group_entry));
152 new->key = strdup(key);
153 new->data = strdup(data);
154 new->next = table[i];
155 table[i] = new;
175 struct member_entry *cur, *new; local
186 /* Check if all we have to do is insert a new groupname. */
197 new = (struct member_entry *)malloc(sizeof(struct member_entry));
198 new
[all...]
/freebsd-current/contrib/sendmail/src/
H A Drecipient.c196 /* 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)
467 register ADDRESS *new;
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, fals local
841 printaddr(sm_debug_file(), new, false); local
972 printaddr(sm_debug_file(), new, false); local
1070 printaddr(sm_debug_file(), new, false); local
[all...]
/freebsd-current/usr.bin/find/
H A Dfunction.c85 PLAN *new; local
87 if ((new = malloc(sizeof(PLAN))) == NULL)
89 new->execute = option->execute;
90 new->flags = option->flags;
91 new->next = NULL;
92 return new;
270 PLAN *new; local
275 new = palloc(option);
276 new->t_data.tv_sec = find_parsenum(new, optio
319 PLAN *new; local
345 PLAN *new; local
521 PLAN *new; local
693 PLAN *new; /* node returned */ local
830 PLAN *new; local
945 PLAN *new; local
991 PLAN *new; local
1049 PLAN *new; local
1070 PLAN *new; local
1103 PLAN *new; local
1173 PLAN *new; local
1212 PLAN *new; local
1330 PLAN *new; local
1448 PLAN *new; local
1506 PLAN *new; local
1596 PLAN *new; local
1657 PLAN *new; local
[all...]
/freebsd-current/crypto/heimdal/tools/
H A DMakefile.am34 $(subst) $(srcdir)/krb5-config.in > $@.new
35 mv $@.new $@
39 $(subst) $(srcdir)/heimdal-gssapi.pc.in > $@.new
40 mv $@.new $@
51 krb5-config.new \
53 heimdal-gssapi.pc.new
/freebsd-current/tools/test/stress2/misc/
H A Dtmpfs8.sh72 char new[128];
90 stat(new, &sb);
115 sprintf(new, "test.log.%05d", i);
116 if ((fd = open(new, O_RDWR | O_CREAT | O_TRUNC, 0644)) == -1)
117 err(1, "creat(%s)", new);
120 if ((r3 = stat(new, &sb3)) == -1)
121 err(1, "stat(%s)", new);
123 if (rename(logfile, new) == -1)
124 warn("rename(%s, %s)", logfile, new);
127 if (link(logfile, new)
[all...]

Completed in 538 milliseconds

1234567891011>>