/external/valgrind/memcheck/tests/vbit-test/ |
D | vbits.c | 109 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/ |
D | cil_copy_ast.c | 51 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/ |
D | SkSLContext.h | 22 : 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/skqp/src/sksl/ |
D | SkSLContext.h | 22 : 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/e2fsprogs/tests/d_xattr_edits/ |
D | script | 20 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/dnsmasq/src/ |
D | option.c | 641 struct dhcp_opt *new = opt_malloc(sizeof(struct dhcp_opt)); in parse_dhcp_opt() local 648 new->len = 0; in parse_dhcp_opt() 649 new->flags = flags; in parse_dhcp_opt() 650 new->netid = NULL; in parse_dhcp_opt() 651 new->val = NULL; in parse_dhcp_opt() 652 new->opt = 0; in parse_dhcp_opt() 664 new->opt = atoi(arg); in parse_dhcp_opt() 675 new->opt = opttab[i].val; in parse_dhcp_opt() 684 new->u.vendor_class = (unsigned char *)opt_string_alloc(arg+7); in parse_dhcp_opt() 685 new->flags |= DHOPT_VENDOR; in parse_dhcp_opt() [all …]
|
/external/e2fsprogs/tests/f_resize_inode/ |
D | script | 21 $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/ |
D | remoteconf.c | 171 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/llvm/test/MC/Disassembler/Hexagon/ |
D | nv_st.txt | 4 # 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 …]
|
D | j.txt | 14 # 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/ |
D | asmMap.s | 221 #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/ltp/testscripts/ |
D | ltpdmmapper.sh | 134 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/toybox/toys/posix/ |
D | find.c | 84 static int flush_exec(struct dirtree *new, struct exec_range *aa) in flush_exec() argument 97 if (aa->dir && new && new->parent) { in flush_exec() 99 rc = fchdir(new->parent->dirfd); in flush_exec() 102 perror_msg_raw(revert ? new->name : "."); in flush_exec() 152 static void do_print(struct dirtree *new, char c) in do_print() argument 154 char *s=dirtree_path(new, 0); in do_print() 161 static void execdir(struct dirtree *new, int flush) in execdir() argument 167 if (new && TT.topdir == -1) return; in execdir() 172 if (!aa->plus || (new && !aa->dir)) continue; in execdir() 178 toys.exitval |= flush_exec(new, aa); in execdir() [all …]
|
D | ln.c | 29 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/e2fsprogs/tests/d_special_files/ |
D | script | 32 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/ |
D | script | 24 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/annotation-tools/annotation-file-utilities/tests/ |
D | NewArray.goal | 6 private static final Runnable[] hooks = new @Nullable Runnable[MAX_HOOKS]; 8 String[] names01 = new @X String[12]; 10 String[] names02 = new @X String[] { "Alice", "Bob"}; 12 String[] names03 = new @X String[] { "Alice", "Bob"}; 14 static final int[] table1 = new @A int @B [] {0, 1}; 15 static final int table2[] = new @A int @B [] {0, 1}; 17 String[][][][][] names0 = new String @Z [11][12][13][14][15]; 18 String[][][][][] names1 = new String[11] @A [12][13][14][15]; 19 String[][][][][] names2 = new String[11][12] @B [13][14][15]; 20 String[][][][][] names3 = new String[11][12][13] @C [14][15]; [all …]
|
D | NewArray.jaif | 14 new *0: 18 new *0: 22 new *0: 26 new *0: @B 30 new *0: @B 34 new *0: @Z 36 new *0: 39 new *0: 42 new *0: 45 new *0: [all …]
|
/external/ltp/utils/ffsb-6.0-rc2/ |
D | list.c | 15 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-mx32/ |
D | xetitimer.c | 40 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/ |
D | xetitimer.c | 40 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/ |
D | xetitimer.c | 40 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/linux-kselftest/tools/testing/selftests/timers/ |
D | rtctest_setdate.c | 33 struct rtc_time new, current; in main() local 56 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); in main() 57 new.tm_mon -= 1; in main() 58 new.tm_year -= 1900; in main() 59 sscanf(time, "%d:%d:%d", &new.tm_hour, &new.tm_min, &new.tm_sec); in main() 62 new.tm_mday, new.tm_mon + 1, new.tm_year + 1900, in main() 63 new.tm_hour, new.tm_min, new.tm_sec); in main() 66 retval = ioctl(fd, RTC_SET_TIME, &new); in main()
|
/external/kmod/libkmod/ |
D | libkmod-list.c | 113 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/ |
D | NVPTXTargetObjectFile.h | 50 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 …]
|