Home
last modified time | relevance | path

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

12345678910>>...260

/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/deqp-deps/SPIRV-Tools/tools/comp/
Dmarkv_model_shader_default_autogen.inc80 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(35, {
123 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(55, {
186 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(19, {
213 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(67, {
288 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(79, {
375 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(55, {
438 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(57, {
503 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(13, {
524 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(83, {
615 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(29, {
[all …]
/external/swiftshader/third_party/SPIRV-Tools/tools/comp/
Dmarkv_model_shader_default_autogen.inc80 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(35, {
123 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(55, {
186 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(19, {
213 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(67, {
288 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(79, {
375 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(55, {
438 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(57, {
503 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(13, {
524 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(83, {
615 std::unique_ptr<HuffmanCodec<uint64_t>> codec(new HuffmanCodec<uint64_t>(29, {
[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/toybox/toys/posix/
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 …]
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 …]
/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/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/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/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/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 …]

12345678910>>...260