Home
last modified time | relevance | path

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

12345678910>>...277

/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/skia/src/sksl/
DSkSLContext.h22 : fInvalid_Type(new Type("<INVALID>")) in Context()
23 , fVoid_Type(new Type("void")) in Context()
24 , fNull_Type(new Type("null")) in Context()
25 , fFloatLiteral_Type(new Type("$floatLiteral", Type::kFloat_NumberKind, 3)) in Context()
26 , fIntLiteral_Type(new Type("$intLiteral", Type::kSigned_NumberKind, 1)) in Context()
27 , fDouble_Type(new Type("double", Type::kFloat_NumberKind, 6, true)) in Context()
28 , fDouble2_Type(new Type("double2", *fDouble_Type, 2)) in Context()
29 , fDouble3_Type(new Type("double3", *fDouble_Type, 3)) in Context()
30 , fDouble4_Type(new Type("double4", *fDouble_Type, 4)) in Context()
31 , fFloat_Type(new Type("float", Type::kFloat_NumberKind, 5, true)) in Context()
[all …]
/external/skqp/src/sksl/
DSkSLContext.h22 : fInvalid_Type(new Type("<INVALID>")) in Context()
23 , fVoid_Type(new Type("void")) in Context()
24 , fDouble_Type(new Type("double", Type::kFloat_NumberKind, 4)) in Context()
25 , fDouble2_Type(new Type("double2", *fDouble_Type, 2)) in Context()
26 , fDouble3_Type(new Type("double3", *fDouble_Type, 3)) in Context()
27 , fDouble4_Type(new Type("double4", *fDouble_Type, 4)) in Context()
28 , fFloat_Type(new Type("float", Type::kFloat_NumberKind, 3)) in Context()
29 , fFloat2_Type(new Type("float2", *fFloat_Type, 2)) in Context()
30 , fFloat3_Type(new Type("float3", *fFloat_Type, 3)) in Context()
31 , fFloat4_Type(new Type("float4", *fFloat_Type, 4)) in Context()
[all …]
/external/dnsmasq/src/
Doption.c655 struct dhcp_opt* new = opt_malloc(sizeof(struct dhcp_opt)); in parse_dhcp_opt() local
662 new->len = 0; in parse_dhcp_opt()
663 new->flags = flags; in parse_dhcp_opt()
664 new->netid = NULL; in parse_dhcp_opt()
665 new->val = NULL; in parse_dhcp_opt()
666 new->opt = 0; in parse_dhcp_opt()
675 new->opt = atoi(arg); in parse_dhcp_opt()
683 new->opt = opttab[i].val; in parse_dhcp_opt()
690 new->u.vendor_class = (unsigned char*) opt_string_alloc(arg + 7); in parse_dhcp_opt()
691 new->flags |= DHOPT_VENDOR; in parse_dhcp_opt()
[all …]
/external/e2fsprogs/tests/d_xattr_edits/
Dscript13 echo "debugfs edit extended attributes" > $OUT.new
17 echo "mke2fs -Fq -b 1024 test.img 512" >> $OUT.new
21 echo Exit status is $status >> $OUT.new
23 echo "ea_set / user.joe smith" >> $OUT.new
24 $DEBUGFS -w -R "ea_set / user.joe smith" $TMPFILE >> $OUT.new 2>&1
26 echo Exit status is $status >> $OUT.new
28 echo "ea_set / user.moo FEE_FIE_FOE_FUMMMMMM" >> $OUT.new
29 $DEBUGFS -w -R "ea_set / user.moo FEE_FIE_FOE_FUMMMMMM" $TMPFILE >> $OUT.new 2>&1
31 echo Exit status is $status >> $OUT.new
33 echo "ea_list /" >> $OUT.new
[all …]
/external/e2fsprogs/tests/f_resize_inode/
Dscript18 echo mke2fs -F -O resize_inode -o Linux -b 1024 -g 1024 test.img 16384 > $OUT.new
19 $MKE2FS -F -O resize_inode -o Linux -b 1024 -g 1024 $TMPFILE 16384 >> $OUT.new 2>&1
21 $FSCK $FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
23 echo Exit status is $status >> $OUT.new
25 echo ----------------------------------------------- >> $OUT.new
27 echo " " >> $OUT.new
28 echo "debugfs -R ''set_inode_field <7> block[2] 42'' -w test.img" >> $OUT.new
29 $DEBUGFS -R "set_inode_field <7> block[2] 42" -w $TMPFILE >> $OUT.new 2>&1
31 echo Exit status is $status >> $OUT.new
33 $FSCK $FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
[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.c36 char *dest = TT.t ? TT.t : toys.optargs[--toys.optc], *new; local
57 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try));
58 else new = dest;
61 try = relative_path(new, try);
63 if (new != dest) free(new);
72 oldnew = new;
74 new = xmprintf("%s_XXXXXX", new);
75 rc = mkstemp(new);
78 if (unlink(new)) perror_msg("unlink '%s'", new);
82 rc = FLAG(s) ? symlink(try, new) : link(try, new);
[all …]
Dfind.c94 static int flush_exec(struct dirtree *new, struct exec_range *aa) in flush_exec() argument
107 if (aa->dir && new && new->parent) { in flush_exec()
109 rc = fchdir(new->parent->dirfd); in flush_exec()
112 perror_msg_raw(revert ? new->name : "."); in flush_exec()
162 static void do_print(struct dirtree *new, char c) in do_print() argument
164 char *s=dirtree_path(new, 0); in do_print()
171 static void execdir(struct dirtree *new, int flush) in execdir() argument
177 if (new && TT.topdir == -1) return; in execdir()
182 if (!aa->plus || (new && !aa->dir)) continue; in execdir()
188 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 …]
/external/swiftshader/third_party/llvm-7.0/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(gp+#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 …]
/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/swiftshader/third_party/llvm-7.0/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_xattr_sorting/
Dscript13 echo "debugfs sort extended attributes" > $OUT.new
17 echo "mke2fs -Fq -b 1024 test.img 512" >> $OUT.new
21 echo Exit status is $status >> $OUT.new
27 echo "ea_set -f /tmp/b / security.SMEG64" >> $OUT.new
28 $DEBUGFS -w -R "ea_set -f $B / security.SMEG64" $TMPFILE >> $OUT.new 2>&1
30 echo Exit status is $status >> $OUT.new
32 echo "ea_set -f /tmp/b / security.imb" >> $OUT.new
33 $DEBUGFS -w -R "ea_set -f $B / security.imb" $TMPFILE >> $OUT.new 2>&1
35 echo Exit status is $status >> $OUT.new
37 echo "ea_set / user.moo cow" >> $OUT.new
[all …]
/external/libtextclassifier/native/annotator/
Dcollections.h29 *[]() { return new std::string("address"); }(); in Address()
34 *[]() { return new std::string("app"); }(); in App()
39 *[]() { return new std::string("contact"); }(); in Contact()
44 *[]() { return new std::string("date"); }(); in Date()
49 *[]() { return new std::string("datetime"); }(); in DateTime()
54 *[]() { return new std::string("dictionary"); }(); in Dictionary()
59 *[]() { return new std::string("duration"); }(); in Duration()
64 *[]() { return new std::string("email"); }(); in Email()
69 *[]() { return new std::string("entity"); }(); in Entity()
74 *[]() { return new std::string("flight"); }(); in Flight()
[all …]
/external/e2fsprogs/tests/r_move_itable/
Dscript17 echo mke2fs -q -F -o Linux -b 1024 -g 256 test.img 1024 > $OUT.new
18 $MKE2FS -q -F -o Linux -b 1024 -g 256 $TMPFILE 1024 >> $OUT.new 2>&1
20 echo resize2fs -p test.img 10000 >> $OUT.new
21 $RESIZE2FS -p $TMPFILE 10000 >> $OUT.new 2>&1
23 $FSCK $FSCK_OPT -N test_filesys $TMPFILE >> $OUT.new 2>&1
25 echo Exit status is $status >> $OUT.new
32 echo dumpe2fs test.img >> $OUT.new
33 $DUMPE2FS $TMPFILE >> $OUT.new 2>&1
35 echo "--------------------------------" >> $OUT.new
37 echo resize2fs -p test.img 20000 >> $OUT.new
[all …]
/external/linux-kselftest/tools/testing/selftests/rtc/
Dsetdate.c24 struct rtc_time new, current; in main() local
47 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); in main()
48 new.tm_mon -= 1; in main()
49 new.tm_year -= 1900; in main()
50 sscanf(time, "%d:%d:%d", &new.tm_hour, &new.tm_min, &new.tm_sec); in main()
53 new.tm_mday, new.tm_mon + 1, new.tm_year + 1900, in main()
54 new.tm_hour, new.tm_min, new.tm_sec); in main()
57 retval = ioctl(fd, RTC_SET_TIME, &new); in main()
/external/e2fsprogs/tests/d_special_files/
Dscript13 echo "debugfs create special files" > $OUT.new
17 echo "mke2fs -Fq -b 1024 test.img 512" >> $OUT.new
21 echo Exit status is $status >> $OUT.new
35 echo "debugfs -R ''stat foo'' -w test.img" >> $OUT.new
36 $DEBUGFS -R "stat foo" -w $TMPFILE >> $OUT.new 2>&1
38 echo Exit status is $status >> $OUT.new
40 echo "debugfs -R ''stat foo2'' -w test.img" >> $OUT.new
41 $DEBUGFS -R "stat foo2" -w $TMPFILE >> $OUT.new 2>&1
43 echo Exit status is $status >> $OUT.new
45 echo "debugfs -R ''block_dump 28'' -w test.img" >> $OUT.new
[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/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/python/cffi/testing/cffi1/
Dtest_new_ffi_1.py155 py.test.raises(OverflowError, ffi.new, c_decl_ptr, min - 1)
156 py.test.raises(OverflowError, ffi.new, c_decl_ptr, max + 1)
157 py.test.raises(OverflowError, ffi.new, c_decl_ptr, long(min - 1))
158 py.test.raises(OverflowError, ffi.new, c_decl_ptr, long(max + 1))
159 assert ffi.new(c_decl_ptr, min)[0] == min
160 assert ffi.new(c_decl_ptr, max)[0] == max
161 assert ffi.new(c_decl_ptr, long(min))[0] == min
162 assert ffi.new(c_decl_ptr, long(max))[0] == max
165 e = py.test.raises(TypeError, ffi.new, "int")
169 p = ffi.new("int *") # similar to ffi.new("int[1]")
[all …]

12345678910>>...277