/external/e2fsprogs/lib/ext2fs/ |
D | dosio.c | 91 static void lba2chs(unsigned long lba_addr, CHS *chs, PARTITION *part) in lba2chs() argument 96 abss = (lba_addr >> 9) + part->start; in lba2chs() 97 chs->cyl = abss / (part->sects * part->heads); in lba2chs() 98 chs->head = (abss / part->sects) % part->heads; in lba2chs() 99 chs->sector = (abss % part->sects) + 1; in lba2chs() 150 static io_channel alloc_io_channel(PARTITION *part) in alloc_io_channel() argument 160 ioch->name = (char *)malloc(strlen(part->dev)+1); in alloc_io_channel() 165 strcpy(ioch->name, part->dev); in alloc_io_channel() 166 ioch->private_data = part; in alloc_io_channel() 184 PARTITION *part; in dos_open() local [all …]
|
/external/e2fsprogs/tests/f_badorphan/ |
D | expect.1 | 8 Inodes that were part of a corrupted orphan linked list found. Fix? yes 10 Inode 13 was part of the orphaned inode list. FIXED. 11 Inode 17 was part of the orphaned inode list. FIXED. 14 Inode 19 was part of the orphaned inode list. FIXED. 15 Inode 22 was part of the orphaned inode list. FIXED. 16 Inode 23 was part of the orphaned inode list. FIXED. 17 Inode 24 was part of the orphaned inode list. FIXED. 18 Inode 25 was part of the orphaned inode list. FIXED. 19 Inode 26 was part of the orphaned inode list. FIXED. 20 Inode 27 was part of the orphaned inode list. FIXED. [all …]
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-amd64-solaris.c | 111 CorePart part) in ML_() 121 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RIP, in ML_() 124 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RAX, in ML_() 127 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RBX, in ML_() 130 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RCX, in ML_() 133 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RDX, in ML_() 136 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RBP, in ML_() 139 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RSI, in ML_() 142 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_RDI, in ML_() 145 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_amd64_R8, in ML_() [all …]
|
D | syswrap-x86-solaris.c | 135 CorePart part) in ML_() 145 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EIP, in ML_() 148 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EAX, in ML_() 151 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EBX, in ML_() 154 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_ECX, in ML_() 157 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EDX, in ML_() 160 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EBP, in ML_() 163 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_ESI, in ML_() 166 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_EDI, in ML_() 169 VG_TRACK(copy_reg_to_mem, part, tid, OFFSET_x86_ESP, in ML_() [all …]
|
/external/syslinux/utils/ |
D | isohybrid.c | 808 struct gpt_part_header *part; in initialise_gpt() local 843 part = (struct gpt_part_header *)gpt; in initialise_gpt() 851 memcpy(part->partGUID, iso_uuid, sizeof(uuid_t)); in initialise_gpt() 852 memcpy(part->partTypeGUID, basic_partition, sizeof(uuid_t)); in initialise_gpt() 853 part->firstLBA = lendian_64(0); in initialise_gpt() 854 part->lastLBA = lendian_64(psize - 1); in initialise_gpt() 855 ascii_to_utf16le(part->name, "ISOHybrid ISO"); in initialise_gpt() 858 part++; in initialise_gpt() 860 memcpy(part->partGUID, part_uuid, sizeof(uuid_t)); in initialise_gpt() 861 memcpy(part->partTypeGUID, basic_partition, sizeof(uuid_t)); in initialise_gpt() [all …]
|
/external/chromium-trace/catapult/tracing/tracing/trace_data/ |
D | trace_data.py | 69 def _HasTraceFor(part, raw): argument 70 assert isinstance(part, TraceDataPart) 71 if part.raw_field_name not in raw: 73 return len(raw[part.raw_field_name]) > 0 129 def HasTracesFor(self, part): argument 130 return _HasTraceFor(part, self._raw_data) 132 def GetTracesFor(self, part): argument 141 assert isinstance(part, TraceDataPart) 142 if not self.HasTracesFor(part): 144 traces_list = self._raw_data[part.raw_field_name] [all …]
|
/external/ppp/pppd/plugins/pppoatm/ |
D | text2atm.c | 22 int part[3]; in try_pvc() local 25 part[0] = part[1] = part[2] = 0; in try_pvc() 34 if (part[i] > INT_MAX/10) return TRY_OTHER;/* number too big */ in try_pvc() 35 part[i] = part[i]*10+*text++-'0'; in try_pvc() 45 part[i++] = ATM_ITF_ANY; /* all *_ANY have the same value */ in try_pvc() 50 part[i++] = ATM_VPI_UNSPEC; /* all *_UNSPEC have the same in try_pvc() 58 part[2] = part[1]; in try_pvc() 59 part[1] = part[0]; in try_pvc() 60 part[0] = 0; /* default interface */ in try_pvc() 62 if (part[0] > SHRT_MAX || part[2] > ATM_MAX_VCI) in try_pvc() [all …]
|
/external/curl/tests/ |
D | getpart.pm | 41 my ($section, $part)=@_; 53 if((1 ==$inside) && ( ($_ =~ /^ *\<$part([^>]*)/) || 54 !(defined($part)) ) 70 elsif((2 ==$inside) && ($_ =~ /^ *\<\/$part/)) { 78 my ($section, $part)=@_; 91 elsif(($inside >= 1) && ($_ =~ /^ *\<$part[ \>]/)) { 95 elsif($_ =~ /$part [^>]*base64=/) { 101 elsif(($inside >= 2) && ($_ =~ /^ *\<\/$part[ \>]/)) { 109 print STDERR "*** getpart.pm: $section/$part returned data!\n"; 112 print STDERR "*** getpart.pm: $section/$part returned empty!\n"; [all …]
|
/external/curl/tests/data/ |
D | test571 | 52 rtp: part 2 channel 1 size 10 53 rtp: part 2 channel 0 size 500 54 rtp: part 2 channel 0 size 196 55 rtp: part 2 channel 0 size 124 56 rtp: part 2 channel 0 size 824 57 rtp: part 3 channel 1 size 10 58 rtp: part 3 channel 0 size 50 59 rtp: part 4 channel 0 size 798 60 rtp: part 4 channel 0 size 42 61 rtp: part 4 channel 1 size 30 [all …]
|
/external/python/cpython2/Lib/plat-mac/Carbon/ |
D | ControlAccessor.py | 7 def SetControlData_Handle(control, part, selector, data): argument 8 control.SetControlData_Handle(part, selector, data) 10 def GetControlData_Handle(control, part, selector): argument 11 return control.GetControlData_Handle(part, selector) 28 def SetControlData(control, part, selector, data): argument 31 setfunc(control, part, selector, data) 40 control.SetControlData(part, selector, data) 42 def GetControlData(control, part, selector): argument 45 return getfunc(control, part, selector, data) 49 data = control.GetControlData(part, selector)
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/messagepattern/ |
D | MiniMessageFormatter.java | 97 Part part=msg.getPart(i); in format() local 98 Part.Type type=part.getType(); in format() 99 int index=part.getIndex(); in format() 105 prevIndex=part.getLimit(); in format() 108 assert type==Part.Type.ARG_START : "Unexpected Part "+part+" in parsed message."; in format() 110 ArgType argType=part.getArgType(); in format() 111 part=msg.getPart(++i); in format() 115 arg=args[part.getValue()]; // args[ARG_NUMBER] in format() 118 "No argument at index "+part.getValue()); in format() 121 arg=argsMap.get(msg.getSubstring(part)); // args[ARG_NAME] in format() [all …]
|
D | MessagePatternDemo.java | 37 MessagePattern.Part part=msg.getPart(i); in printParts() local 38 assert prevPart==null || prevPart.getLimit()<=part.getIndex(); in printParts() 39 String partString=part.toString(); in printParts() 40 MessagePattern.Part.Type type=part.getType(); in printParts() 42 indent=manySpaces.substring(0, part.getValue()*2); in printParts() 44 if(part.getLength()>0) { in printParts() 45 explanation.append("=\"").append(msg.getSubstring(part)).append('"'); in printParts() 48 explanation.append('=').append(msg.getNumericValue(part)); in printParts() 52 int nestingLevel=part.getValue(); in printParts() 59 prevPart=part; in printParts()
|
/external/autotest/client/tests/cgroup/ |
D | cgroup_common.py | 239 part = 0 242 logging.error("cg.smoke_test[%d]: Can't create cgroup", part) 245 part += 1 248 logging.error("cg.smoke_test[%d]: Couldn't create process", part) 251 part += 1 253 logging.error("cg.smoke_test[%d]: Process died unexpectidly", part) 257 part += 1 260 part) 264 part += 1 266 logging.error("cg.smoke_test[%d]: Could not set cgroup", part) [all …]
|
/external/fio/lib/ |
D | flist_sort.c | 100 struct flist_head *part[MAX_LIST_LENGTH_BITS+1]; /* sorted partial lists in flist_sort() local 109 memset(part, 0, sizeof(part)); in flist_sort() 119 for (lev = 0; part[lev]; lev++) { in flist_sort() 120 cur = merge(priv, cmp, part[lev], cur); in flist_sort() 121 part[lev] = NULL; in flist_sort() 132 part[lev] = cur; in flist_sort() 136 if (part[lev]) in flist_sort() 137 list = merge(priv, cmp, part[lev], list); in flist_sort() 139 merge_and_restore_back_links(priv, cmp, head, part[max_lev], list); in flist_sort()
|
/external/autotest/client/samples/ |
D | filesystem | 6 part = job.partition('/tmp/looped', 1024, job.tmpdir) 14 part.mkfs(fstype) 15 part.mount() 17 job.run_test('fsx', dir=part.mountpoint, tag=fstype) 18 job.run_test('iozone', dir=part.mountpoint, tag=fstype) 19 job.run_test('dbench', dir=part.mountpoint, tag=fstype) 21 part.unmount() 22 part.fsck()
|
/external/syslinux/com32/lib/syslinux/ |
D | disk.c | 371 void disk_dos_part_dump(const struct disk_dos_part_entry *const part) in disk_dos_part_dump() argument 373 (void)part; in disk_dos_part_dump() 387 part->active_flag, in disk_dos_part_dump() 388 chs_cylinder(part->start), in disk_dos_part_dump() 389 chs_cylinder(part->start), in disk_dos_part_dump() 390 chs_head(part->start), in disk_dos_part_dump() 391 chs_head(part->start), in disk_dos_part_dump() 392 chs_sector(part->start), in disk_dos_part_dump() 393 chs_sector(part->start), in disk_dos_part_dump() 394 part->ostype, in disk_dos_part_dump() [all …]
|
/external/vboot_reference/cgpt/ |
D | cgpt_boot.c | 92 memset(&drive.pmbr.part, 0, sizeof(drive.pmbr.part)); in CgptBoot() 93 drive.pmbr.part[0].f_head = 0x00; in CgptBoot() 94 drive.pmbr.part[0].f_sect = 0x02; in CgptBoot() 95 drive.pmbr.part[0].f_cyl = 0x00; in CgptBoot() 96 drive.pmbr.part[0].type = 0xee; in CgptBoot() 97 drive.pmbr.part[0].l_head = 0xff; in CgptBoot() 98 drive.pmbr.part[0].l_sect = 0xff; in CgptBoot() 99 drive.pmbr.part[0].l_cyl = 0xff; in CgptBoot() 100 drive.pmbr.part[0].f_lba = htole32(1); in CgptBoot() 104 drive.pmbr.part[0].num_sect = htole32(max); in CgptBoot()
|
/external/skia/src/pathops/ |
D | SkLineParameters.h | 77 double cubicPart(const SkDCubic& part) { in cubicPart() argument 78 cubicEndPoints(part); in cubicPart() 79 if (part[0] == part[1] || ((const SkDLine& ) part[0]).nearRay(part[2])) { in cubicPart() 80 return pointDistance(part[3]); in cubicPart() 82 return pointDistance(part[2]); in cubicPart() 116 double quadPart(const SkDQuad& part) { in quadPart() argument 117 quadEndPoints(part); in quadPart() 118 return pointDistance(part[2]); in quadPart()
|
/external/messageformat/java/com/ibm/icu/simple/ |
D | MessageFormat.java | 503 Part part = msgPattern.getPart(partIndex); in argNameMatches() local 504 return part.getType() == MessagePattern.Part.Type.ARG_NAME ? in argNameMatches() 505 msgPattern.partSubstringMatches(part, argName) : in argNameMatches() 506 part.getValue() == argNumber; // ARG_NUMBER in argNameMatches() 510 Part part = msgPattern.getPart(partIndex); in getArgName() local 511 if (part.getType() == MessagePattern.Part.Type.ARG_NAME) { in getArgName() 512 return msgPattern.getSubstring(part); in getArgName() 514 return Integer.toString(part.getValue()); in getArgName() 1199 Part part=msgPattern.getPart(i); in parse() local 1200 Part.Type type=part.getType(); in parse() [all …]
|
/external/junit-params/src/main/java/junitparams/naming/ |
D | MacroSubstitutionNamingStrategy.java | 58 for (String part : parts) { in buildNameByTemplate() 59 String transformedPart = transformPart(part, parametersIndex, parameters); in buildNameByTemplate() 66 private String transformPart(String part, int parametersIndex, Object parameters) { in transformPart() argument 67 if (isMacro(part)) { in transformPart() 68 return lookupMacroValue(part, parametersIndex, parameters); in transformPart() 71 return part; in transformPart() 108 private boolean isMacro(String part) { in isMacro() argument 109 return part.startsWith(MACRO_START) && part.endsWith(MACRO_END); in isMacro()
|
/external/jarjar/src/main/com/tonicsystems/jarjar/util/ |
D | ClassPathIterator.java | 54 String part = (String)st.nextElement(); in ClassPathIterator() local 56 if (part.endsWith("/*")) { in ClassPathIterator() 57 part = part.substring(0, part.length() - 1); in ClassPathIterator() 58 if (part.indexOf('*') >= 0) in ClassPathIterator() 59 … throw new IllegalArgumentException("Multiple wildcards are not allowed: " + part); in ClassPathIterator() 61 } else if (part.indexOf('*') >= 0) { in ClassPathIterator() 62 throw new IllegalArgumentException("Incorrect wildcard usage: " + part); in ClassPathIterator() 65 File file = new File(part); in ClassPathIterator() 67 file = new File(parent, part); in ClassPathIterator()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | MessageFormat.java | 548 Part part = msgPattern.getPart(partIndex); in argNameMatches() local 549 return part.getType() == MessagePattern.Part.Type.ARG_NAME ? in argNameMatches() 550 msgPattern.partSubstringMatches(part, argName) : in argNameMatches() 551 part.getValue() == argNumber; // ARG_NUMBER in argNameMatches() 555 Part part = msgPattern.getPart(partIndex); in getArgName() local 556 if (part.getType() == MessagePattern.Part.Type.ARG_NAME) { in getArgName() 557 return msgPattern.getSubstring(part); in getArgName() 559 return Integer.toString(part.getValue()); in getArgName() 1246 Part part=msgPattern.getPart(i); in parse() local 1247 Part.Type type=part.getType(); in parse() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | MessageFormat.java | 537 Part part = msgPattern.getPart(partIndex); in argNameMatches() local 538 return part.getType() == MessagePattern.Part.Type.ARG_NAME ? in argNameMatches() 539 msgPattern.partSubstringMatches(part, argName) : in argNameMatches() 540 part.getValue() == argNumber; // ARG_NUMBER in argNameMatches() 544 Part part = msgPattern.getPart(partIndex); in getArgName() local 545 if (part.getType() == MessagePattern.Part.Type.ARG_NAME) { in getArgName() 546 return msgPattern.getSubstring(part); in getArgName() 548 return Integer.toString(part.getValue()); in getArgName() 1215 Part part=msgPattern.getPart(i); in parse() local 1216 Part.Type type=part.getType(); in parse() [all …]
|
/external/python/cpython2/Lib/email/ |
D | generator.py | 200 for part in subparts: 203 g.flatten(part, unixfrom=False) 258 for part in msg.get_payload(): 261 g.flatten(part, unixfrom=False) 331 for part in msg.walk(): 332 maintype = part.get_content_maintype() 334 print >> self, part.get_payload(decode=True) 340 'type' : part.get_content_type(), 341 'maintype' : part.get_content_maintype(), 342 'subtype' : part.get_content_subtype(), [all …]
|
/external/guava/guava/src/com/google/common/net/ |
D | InternetDomainName.java | 232 String part = parts.get(i); in validateSyntax() local 233 if (!validatePart(part, false)) { in validateSyntax() 254 private static boolean validatePart(String part, boolean isFinalPart) { in validatePart() argument 259 if (part.length() < 1 || part.length() > MAX_DOMAIN_PART_LENGTH) { in validatePart() 273 String asciiChars = CharMatcher.ASCII.retainFrom(part); in validatePart() 281 if (DASH_MATCHER.matches(part.charAt(0)) in validatePart() 282 || DASH_MATCHER.matches(part.charAt(part.length() - 1))) { in validatePart() 294 if (isFinalPart && CharMatcher.DIGIT.matches(part.charAt(0))) { in validatePart()
|