Home
last modified time | relevance | path

Searched refs:new (Results 1 – 25 of 4897) sorted by relevance

12345678910>>...196

/external/valgrind/memcheck/tests/vbit-test/
Dvbits.c109 vbits_t new = { .num_bits = num_bits }; in undefined_vbits() local
112 case 1: new.bits.u32 = 0x01; break; in undefined_vbits()
113 case 8: new.bits.u8 = 0xff; break; in undefined_vbits()
114 case 16: new.bits.u16 = 0xffff; break; in undefined_vbits()
115 case 32: new.bits.u32 = ~0; break; in undefined_vbits()
116 case 64: new.bits.u64 = ~0ull; break; in undefined_vbits()
117 case 128: new.bits.u128[0] = ~0ull; in undefined_vbits()
118 new.bits.u128[1] = ~0ull; in undefined_vbits()
120 case 256: new.bits.u256[0] = ~0ull; in undefined_vbits()
121 new.bits.u256[1] = ~0ull; in undefined_vbits()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_copy_ast.c51 struct cil_list *new; in cil_copy_list() local
54 cil_list_init(&new, data->flavor); in cil_copy_list()
59 cil_list_append(new, CIL_STRING, orig_item->data); in cil_copy_list()
64 cil_list_append(new, CIL_LIST, new_sub); in cil_copy_list()
73 cil_list_append(new, CIL_PARAM, pn); in cil_copy_list()
78 cil_list_append(new, orig_item->flavor, orig_item->data); in cil_copy_list()
83 *copy = new; in cil_copy_list()
88 char *new = NULL; in cil_copy_node() local
91 new = data; in cil_copy_node()
93 *copy = new; in cil_copy_node()
[all …]
/external/e2fsprogs/tests/d_xattr_edits/
Dscript20 echo "ea_set / user.joe smith" > $OUT.new
21 $DEBUGFS -w -R "ea_set / user.joe smith" $TMPFILE >> $OUT.new 2>&1
23 echo Exit status is $status >> $OUT.new
24 sed -f $cmd_dir/filter.sed $OUT.new >> $OUT
26 echo "ea_set / user.moo FEE_FIE_FOE_FUMMMMMM" > $OUT.new
27 $DEBUGFS -w -R "ea_set / user.moo FEE_FIE_FOE_FUMMMMMM" $TMPFILE >> $OUT.new 2>&1
29 echo Exit status is $status >> $OUT.new
30 sed -f $cmd_dir/filter.sed $OUT.new >> $OUT
32 echo "ea_list /" > $OUT.new
33 $DEBUGFS -w -R "ea_list /" $TMPFILE >> $OUT.new 2>&1
[all …]
/external/skia/src/sksl/
DSkSLContext.h22 : fInvalid_Type(new Type(String("<INVALID>"))) in Context()
23 , fVoid_Type(new Type(String("void"))) in Context()
24 , fDouble_Type(new Type(String("double"), true)) in Context()
25 , fDVec2_Type(new Type(String("dvec2"), *fDouble_Type, 2)) in Context()
26 , fDVec3_Type(new Type(String("dvec3"), *fDouble_Type, 3)) in Context()
27 , fDVec4_Type(new Type(String("dvec4"), *fDouble_Type, 4)) in Context()
28 , fFloat_Type(new Type(String("float"), true, { fDouble_Type.get() })) in Context()
29 , fVec2_Type(new Type(String("vec2"), *fFloat_Type, 2))
30 , fVec3_Type(new Type(String("vec3"), *fFloat_Type, 3))
31 , fVec4_Type(new Type(String("vec4"), *fFloat_Type, 4))
[all …]
/external/dnsmasq/src/
Doption.c672 struct dhcp_opt *new = opt_malloc(sizeof(struct dhcp_opt)); in parse_dhcp_opt() local
679 new->len = 0; in parse_dhcp_opt()
680 new->flags = flags; in parse_dhcp_opt()
681 new->netid = NULL; in parse_dhcp_opt()
682 new->val = NULL; in parse_dhcp_opt()
683 new->opt = 0; in parse_dhcp_opt()
695 new->opt = atoi(arg); in parse_dhcp_opt()
706 new->opt = opttab[i].val; in parse_dhcp_opt()
715 new->u.vendor_class = (unsigned char *)opt_string_alloc(arg+7); in parse_dhcp_opt()
716 new->flags |= DHOPT_VENDOR; in parse_dhcp_opt()
[all …]
/external/e2fsprogs/tests/f_resize_inode/
Dscript21 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
23 echo Exit status is $status >> $OUT.new
24 sed -f $cmd_dir/filter.sed -e "s;$TMPFILE;test.img;" $OUT.new >> $OUT
25 rm -f $OUT.new
30 echo "debugfs -R ''set_inode_field <7> block[2] 42'' -w test.img" > $OUT.new
31 $DEBUGFS -R "set_inode_field <7> block[2] 42" -w $TMPFILE >> $OUT.new 2>&1
33 echo Exit status is $status >> $OUT.new
34 sed -f $cmd_dir/filter.sed $OUT.new >> $OUT
36 $FSCK $FSCK_OPT -N test_filesys $TMPFILE > $OUT.new 2>&1
38 echo Exit status is $status >> $OUT.new
[all …]
/external/ipsec-tools/src/racoon/
Dremoteconf.c171 struct remoteconf *new; in newrmconf() local
174 new = racoon_calloc(1, sizeof(*new)); in newrmconf()
175 if (new == NULL) in newrmconf()
178 new->proposal = NULL; in newrmconf()
181 new->doitype = IPSEC_DOI; in newrmconf()
182 new->sittype = IPSECDOI_SIT_IDENTITY_ONLY; in newrmconf()
183 new->idvtype = IDTYPE_UNDEFINED; in newrmconf()
184 new->idvl_p = genlist_init(); in newrmconf()
185 new->nonce_size = DEFAULT_NONCE_SIZE; in newrmconf()
186 new->passive = FALSE; in newrmconf()
[all …]
/external/toybox/toys/posix/
Dln.c29 char *dest = toys.optargs[--toys.optc], *new; in ln_main() local
51 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try)); in ln_main()
52 else new = dest; in ln_main()
57 oldnew = new; in ln_main()
59 new = xmprintf("%s_XXXXXX", new); in ln_main()
60 rc = mkstemp(new); in ln_main()
63 if (unlink(new)) perror_msg("unlink '%s'", new); in ln_main()
67 rc = (toys.optflags & FLAG_s) ? symlink(try, new) : link(try, new); in ln_main()
72 rc = rename(new, oldnew); in ln_main()
74 if (rc && unlink(new)) perror_msg("unlink '%s'", new); in ln_main()
[all …]
Dfind.c83 static int flush_exec(struct dirtree *new, struct exec_range *aa) in flush_exec() argument
96 if (aa->dir && new && new->parent) { in flush_exec()
98 rc = fchdir(new->parent->dirfd); in flush_exec()
101 perror_msg_raw(revert ? new->name : "."); in flush_exec()
151 static void do_print(struct dirtree *new, char c) in do_print() argument
153 char *s=dirtree_path(new, 0); in do_print()
160 static void execdir(struct dirtree *new, int flush) in execdir() argument
166 if (new && TT.topdir == -1) return; in execdir()
171 if (!aa->plus || (new && !aa->dir)) continue; in execdir()
177 toys.exitval |= flush_exec(new, aa); in execdir()
[all …]
/external/ltp/testscripts/
Dltpdmmapper.sh134 dmsetup rename dm-test-1 dm-test-1-new
135 dmsetup rename dm-test-2 dm-test-2-new
136 dmsetup rename dm-test-3 dm-test-3-new
137 dmsetup rename dm-test-4 dm-test-4-new
141 dmsetup suspend dm-test-1-new
142 dmsetup suspend dm-test-2-new
143 dmsetup suspend dm-test-3-new
144 dmsetup suspend dm-test-4-new
153 dmsetup reload dm-test-1-new ltp-dev-mapper-table1
154 dmsetup reload dm-test-2-new ltp-dev-mapper-table2
[all …]
/external/llvm/test/MC/Disassembler/Hexagon/
Dnv_st.txt4 # Store new-value byte
7 # CHECK-NEXT: memb(r17 + r21<<#3) = r31.new
10 # CHECK-NEXT: memb(#17) = r31.new
13 # CHECK-NEXT: memb(r17+#21) = r31.new
16 # CHECK-NEXT: memb(r17 ++ I:circ(m1)) = r31.new
19 # CHECK-NEXT: memb(r17 ++ #5:circ(m1)) = r31.new
22 # CHECK-NEXT: memb(r17++#5) = r31.new
25 # CHECK-NEXT: memb(r17++m1) = r31.new
28 # CHECK-NEXT: memb(r17 ++ m1:brev) = r31.new
30 # Store new-value byte conditionally
[all …]
Dj.txt14 # CHECK: p0 = cmp.eq(r17,#-1); if (p0.new) jump:nt
16 # CHECK: p0 = cmp.gt(r17,#-1); if (p0.new) jump:nt
18 # CHECK: p0 = tstbit(r17, #0); if (p0.new) jump:nt
20 # CHECK: p0 = cmp.eq(r17,#-1); if (p0.new) jump:t
22 # CHECK: p0 = cmp.gt(r17,#-1); if (p0.new) jump:t
24 # CHECK: p0 = tstbit(r17, #0); if (p0.new) jump:t
26 # CHECK: p0 = cmp.eq(r17,#-1); if (!p0.new) jump:nt
28 # CHECK: p0 = cmp.gt(r17,#-1); if (!p0.new) jump:nt
30 # CHECK: p0 = tstbit(r17, #0); if (!p0.new) jump:nt
32 # CHECK: p0 = cmp.eq(r17,#-1); if (!p0.new) jump:t
[all …]
Dnv_j.txt4 # Jump to address conditioned on new register value
7 # CHECK-NEXT: if (cmp.eq(r17.new, r21)) jump:nt
10 # CHECK-NEXT: if (cmp.eq(r17.new, r21)) jump:t
13 # CHECK-NEXT: if (!cmp.eq(r17.new, r21)) jump:nt
16 # CHECK-NEXT: if (!cmp.eq(r17.new, r21)) jump:t
19 # CHECK-NEXT: if (cmp.gt(r17.new, r21)) jump:nt
22 # CHECK-NEXT: if (cmp.gt(r17.new, r21)) jump:t
25 # CHECK-NEXT: if (!cmp.gt(r17.new, r21)) jump:nt
28 # CHECK-NEXT: if (!cmp.gt(r17.new, r21)) jump:t
31 # CHECK-NEXT: if (cmp.gtu(r17.new, r21)) jump:nt
[all …]
/external/llvm/test/MC/Hexagon/
DasmMap.s221 #CHECK: 39cfe072 if (!p3.new) memw(r15{{ *}}+{{ *}}#0)=#-14
224 if (!p3.new) memw(r15)=#-14
227 #CHECK: 3959e06b if (p3.new) memw(r25{{ *}}+{{ *}}#0)=#-21
230 if (p3.new) memw(r25)=#-21
233 #CHECK: 4312c801 if (p1.new) r1 = memb(r18{{ *}}+{{ *}}#0)
235 if (p1.new) r1=memb(r18)
239 #CHECK: 4718d803 if (!p3.new) r3 = memb(r24{{ *}}+{{ *}}#0)
241 if (!p3.new) r3=memb(r24)
245 #CHECK: 4326c81b if (p1.new) r27 = memub(r6{{ *}}+{{ *}}#0)
247 if (p1.new) r27=memub(r6)
[all …]
/external/e2fsprogs/tests/d_special_files/
Dscript32 echo "debugfs -R ''stat foo'' -w test.img" > $OUT.new
33 $DEBUGFS -R "stat foo" -w $TMPFILE >> $OUT.new 2>&1
35 echo Exit status is $status >> $OUT.new
36 sed -f $cmd_dir/filter.sed $OUT.new >> $OUT
38 echo "debugfs -R ''stat foo2'' -w test.img" > $OUT.new
39 $DEBUGFS -R "stat foo2" -w $TMPFILE >> $OUT.new 2>&1
41 echo Exit status is $status >> $OUT.new
42 sed -f $cmd_dir/filter.sed $OUT.new >> $OUT
44 echo "debugfs -R ''block_dump 28'' -w test.img" > $OUT.new
45 $DEBUGFS -R "block_dump 28" -w $TMPFILE >> $OUT.new 2>&1
[all …]
/external/e2fsprogs/tests/d_xattr_sorting/
Dscript24 echo "ea_set -f /tmp/b / security.SMEG64" > $OUT.new
25 $DEBUGFS -w -R "ea_set -f $B / security.SMEG64" $TMPFILE >> $OUT.new 2>&1
27 echo Exit status is $status >> $OUT.new
28 sed -f $cmd_dir/filter.sed $OUT.new >> $OUT
30 echo "ea_set -f /tmp/b / security.imb" > $OUT.new
31 $DEBUGFS -w -R "ea_set -f $B / security.imb" $TMPFILE >> $OUT.new 2>&1
33 echo Exit status is $status >> $OUT.new
34 sed -f $cmd_dir/filter.sed $OUT.new >> $OUT
36 echo "ea_set / user.moo cow" > $OUT.new
37 $DEBUGFS -w -R "ea_set / user.moo cow" $TMPFILE >> $OUT.new 2>&1
[all …]
/external/ltp/utils/ffsb-6.0-rc2/
Dlist.c15 void __list_add(struct list_head *new, in __list_add() argument
18 next->prev = new; in __list_add()
19 new->next = next; in __list_add()
20 new->prev = prev; in __list_add()
21 prev->next = new; in __list_add()
30 void list_add(struct list_head *new, struct list_head *head) in list_add() argument
32 __list_add(new, head, head->next); in list_add()
35 void list_add_tail(struct list_head *new, struct list_head *head) in list_add_tail() argument
37 __list_add(new, head->prev, head); in list_add_tail()
47 void list_replace(struct list_head *old, struct list_head *new) in list_replace() argument
[all …]
/external/strace/tests/
Dxetitimer.c40 static const struct itimerval new = { in main() local
50 struct itimerval *const p_new = tail_memdup(&new, sizeof(new)); in main()
51 void *const efault = tail_alloc(sizeof(new) - 8); in main()
60 (long long) new.it_interval.tv_sec, in main()
61 zero_extend_signed_to_ull(new.it_interval.tv_usec), in main()
62 (long long) new.it_value.tv_sec, in main()
63 zero_extend_signed_to_ull(new.it_value.tv_usec)); in main()
83 (long long) new.it_interval.tv_sec, in main()
84 zero_extend_signed_to_ull(new.it_interval.tv_usec), in main()
85 (long long) new.it_value.tv_sec, in main()
[all …]
/external/strace/tests-mx32/
Dxetitimer.c40 static const struct itimerval new = { in main() local
50 struct itimerval *const p_new = tail_memdup(&new, sizeof(new)); in main()
51 void *const efault = tail_alloc(sizeof(new) - 8); in main()
60 (long long) new.it_interval.tv_sec, in main()
61 zero_extend_signed_to_ull(new.it_interval.tv_usec), in main()
62 (long long) new.it_value.tv_sec, in main()
63 zero_extend_signed_to_ull(new.it_value.tv_usec)); in main()
83 (long long) new.it_interval.tv_sec, in main()
84 zero_extend_signed_to_ull(new.it_interval.tv_usec), in main()
85 (long long) new.it_value.tv_sec, in main()
[all …]
/external/strace/tests-m32/
Dxetitimer.c40 static const struct itimerval new = { in main() local
50 struct itimerval *const p_new = tail_memdup(&new, sizeof(new)); in main()
51 void *const efault = tail_alloc(sizeof(new) - 8); in main()
60 (long long) new.it_interval.tv_sec, in main()
61 zero_extend_signed_to_ull(new.it_interval.tv_usec), in main()
62 (long long) new.it_value.tv_sec, in main()
63 zero_extend_signed_to_ull(new.it_value.tv_usec)); in main()
83 (long long) new.it_interval.tv_sec, in main()
84 zero_extend_signed_to_ull(new.it_interval.tv_usec), in main()
85 (long long) new.it_value.tv_sec, in main()
[all …]
/external/kmod/libkmod/
Dlibkmod-list.c113 struct kmod_list *new; in kmod_list_append() local
115 new = malloc(sizeof(*new)); in kmod_list_append()
116 if (new == NULL) in kmod_list_append()
119 new->data = (void *)data; in kmod_list_append()
120 list_node_append(list ? &list->node : NULL, &new->node); in kmod_list_append()
122 return list ? list : new; in kmod_list_append()
128 struct kmod_list *new; in kmod_list_insert_after() local
133 new = malloc(sizeof(*new)); in kmod_list_insert_after()
134 if (new == NULL) in kmod_list_insert_after()
137 new->data = (void *)data; in kmod_list_insert_after()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXTargetObjectFile.h50 TextSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getText()); in Initialize()
51 DataSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getData()); in Initialize()
52 BSSSection = new NVPTXSection(MCSection::SV_ELF, SectionKind::getBSS()); in Initialize()
54 new NVPTXSection(MCSection::SV_ELF, SectionKind::getReadOnly()); in Initialize()
57 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
59 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
61 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
63 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
65 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
67 new NVPTXSection(MCSection::SV_ELF, SectionKind::getMetadata()); in Initialize()
[all …]
/external/valgrind/massif/tests/
Doverloaded-new.post.exp-mips322 Command: ./overloaded-new
44 99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
45 ->33.24% (4,000B) 0x........: operator new(unsigned int) (overloaded-new.cpp:19)
46 | ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
48 ->33.24% (4,000B) 0x........: operator new(unsigned int, std::nothrow_t const&) (overloaded-new.cpp…
49 | ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
51 ->16.62% (2,000B) 0x........: operator new[](unsigned int) (overloaded-new.cpp:29)
52 | ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
54 ->16.62% (2,000B) 0x........: operator new[](unsigned int, std::nothrow_t const&) (overloaded-new.c…
55 ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
/external/e2fsprogs/tests/t_uninit_bg_rm/
Dscript13 rm -f $OUT.new
15 echo mke2fs -q -t ext4 -F -o Linux -b 1024 $TMPFILE 1G >> $OUT.new
16 $MKE2FS -q -t ext4 -F -o Linux -b 1024 $TMPFILE 1G >> $OUT.new 2>&1
18 echo "tune2fs -f -O ^uninit_bg $TMPFILE" >> $OUT.new
19 $TUNE2FS -f -O ^uninit_bg $TMPFILE >> $OUT.new 2>&1
21 echo " " >> $OUT.new
22 echo fsck $FSCK_OPT -N test_filesys test.img >> $OUT.new
23 $FSCK $FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
25 echo " " >> $OUT.new
27 echo mke2fs -q -t ext4 -O bigalloc -F -o Linux -b 1024 -C 8192 $TMPFILE 10G >> $OUT.new
[all …]
/external/python/cpython2/Lib/test/
Dtest_new.py4 new = test_support.import_module('new', deprecated=True) variable
12 m = new.module('Spam')
21 C = new.classobj('Spam', (Spam.Eggs,), {'get_more_yolks': get_more_yolks})
24 c = new.instance(C, {'yolks': 3})
26 o = new.instance(C)
29 o = new.instance(C, None)
37 im = new.instancemethod(break_yolks, c, C)
50 im = new.instancemethod(break_yolks, c)
55 self.assertRaises(TypeError, new.instancemethod, break_yolks, None)
58 self.assertRaises(TypeError, new.instancemethod, break_yolks, c, kw=1)
[all …]

12345678910>>...196