Home
last modified time | relevance | path

Searched refs:chs (Results 1 – 25 of 39) sorted by relevance

12

/external/syslinux/com32/include/syslinux/
Ddisk.h94 #define chs_head(chs) chs[0] argument
95 #define chs_sector(chs) (chs[1] & 0x3F) argument
96 #define chs_cyl_high(chs) (((uint16_t)(chs[1] & 0xC0)) << 2) argument
97 #define chs_cyl_low(chs) ((uint16_t)chs[2]) argument
98 #define chs_cylinder(chs) (chs_cyl_high(chs) | chs_cyl_low(chs)) argument
/external/e2fsprogs/lib/ext2fs/
Ddosio.c91 static void lba2chs(unsigned long lba_addr, CHS *chs, PARTITION *part) in lba2chs() argument
95 chs->offset = lba_addr & 0x000001FF; 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()
379 CHS chs; in dos_read_blk() local
387 lba2chs(loc, &chs, part); in dos_read_blk()
395 chs.head, in dos_read_blk()
396 chs.cyl, in dos_read_blk()
397 chs.sector, in dos_read_blk()
[all …]
/external/syslinux/gpxe/src/arch/i386/include/
Dint13.h259 #define PART_HEAD(chs) ( (chs).head ) argument
260 #define PART_SECTOR(chs) ( (chs).cyl_sector & 0x3f ) argument
261 #define PART_CYLINDER(chs) ( (chs).cyl | ( ( (chs).cyl_sector & 0xc0 ) << 2 ) ) argument
/external/gptfdisk/
Dmbrpart.cc260 int MBRPart::LBAtoCHS(uint32_t lba, uint8_t * chs) { in LBAtoCHS() argument
266 if (chs != NULL) { in LBAtoCHS()
269 chs[0] = chs[1] = chs[2] = UINT8_C(0); in LBAtoCHS()
274 chs[0] = 254; in LBAtoCHS()
275 chs[1] = chs[2] = 255; in LBAtoCHS()
287 chs[0] = (uint8_t) head; in LBAtoCHS()
291 chs[1] = (uint8_t) ((sector + 1) + (cylinder >> 8) * 64); in LBAtoCHS()
292 chs[2] = (uint8_t) (cylinder & UINT32_C(0xFF)); in LBAtoCHS()
Dbasicmbr.cc663 int BasicMBRData::LBAtoCHS(uint64_t lba, uint8_t * chs) { in LBAtoCHS() argument
669 if (chs != NULL) { in LBAtoCHS()
672 chs[0] = chs[1] = chs[2] = UINT8_C(0); in LBAtoCHS()
677 chs[0] = 254; in LBAtoCHS()
678 chs[1] = chs[2] = 255; in LBAtoCHS()
690 chs[0] = (uint8_t) head; in LBAtoCHS()
694 chs[1] = (uint8_t) ((sector + 1) + (cylinder >> 8) * 64); in LBAtoCHS()
695 chs[2] = (uint8_t) (cylinder & UINT64_C(0xFF)); in LBAtoCHS()
Dmbrpart.h105 int LBAtoCHS(uint32_t lba, uint8_t * chs);
Dbasicmbr.h94 int LBAtoCHS(uint64_t lba, uint8_t * chs); // Convert LBA to CHS
DNEWS519 - Fixed inaccessible -C/--recompute-chs option in sgdisk.
562 - Added 'h' option to gdisk experts' menu (-C or --recompute-chs in sgdisk)
/external/apache-http/src/org/apache/http/message/
DBasicHeaderValueParser.java309 private static boolean isOneOf(final char ch, final char[] chs) { in isOneOf() argument
310 if (chs != null) { in isOneOf()
311 for (int i = 0; i < chs.length; i++) { in isOneOf()
312 if (ch == chs[i]) { in isOneOf()
/external/webrtc/webrtc/base/
Dstringutils.h147 const CTYPE* strchr(const CTYPE* str, const CTYPE* chs) { in strchr() argument
149 for (size_t j=0; chs[j]; ++j) { in strchr()
150 if (str[i] == chs[j]) { in strchr()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiScannerFacade.java344 JSONArray chs = j.getJSONArray("channels"); in parseScanSettings() local
345 ChannelSpec[] channels = new ChannelSpec[chs.length()]; in parseScanSettings()
347 channels[i] = new ChannelSpec(chs.getInt(i)); in parseScanSettings()
/external/icu/icu4c/source/i18n/
Dmeasfmt.cpp448 CharString chs; in loadNumericDateFormatterPattern() local
449 chs.append("durationUnits", status) in loadNumericDateFormatterPattern()
454 chs.data(), in loadNumericDateFormatterPattern()
/external/hyphenation-patterns/fr/
Dhyph-fr.pat.txt124 2chs
/external/syslinux/doc/
Dchain.txt22 3. Perform partition-level patching - for example hiding, unhiding, fixing chs values, etc.
/external/hyphenation-patterns/es/
Dhyph-es.pat.txt498 2chs
/external/hyphenation-patterns/en-US/
Dhyph-en-us.pat.txt4538 4chs.
/external/robolectric/v1/lib/main/
Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/owasp/sanitizer/tools/findbugs/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/libphonenumber/demo/war/WEB-INF/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...

12