HomeSort by relevance Sort by last modified time
    Searched refs:chs (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /external/syslinux/com32/include/syslinux/
disk.h 54 int cbios; /* CHS geometry is valid */
91 * CHS (cylinder, head, sector) value extraction macros.
94 #define chs_head(chs) chs[0]
95 #define chs_sector(chs) (chs[1] & 0x3F)
96 #define chs_cyl_high(chs) (((uint16_t)(chs[1] & 0xC0)) << 2)
97 #define chs_cyl_low(chs) ((uint16_t)chs[2]
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowAndroidBidi.java 10 public static int bidi(int dir, char[] chs, byte[] chInfo, int n, boolean haveInfo) {
  /external/syslinux/gpxe/src/arch/i386/include/
int13.h 93 * when the 7.8GB limit of a CHS address is exceeded, it is
176 /** CHS information is valid */
186 /** CHS is max possible, not current media (valid only for removable drives) */
259 #define PART_HEAD(chs) ( (chs).head )
260 #define PART_SECTOR(chs) ( (chs).cyl_sector & 0x3f )
261 #define PART_CYLINDER(chs) ( (chs).cyl | ( ( (chs).cyl_sector & 0xc0 ) << 2 )
    [all...]
  /external/e2fsprogs/lib/ext2fs/
dosio.c 88 * Calculates a CHS address of a sector from its LBA
91 static void lba2chs(unsigned long lba_addr, CHS *chs, PARTITION *part)
95 chs->offset = lba_addr & 0x000001FF;
97 chs->cyl = abss / (part->sects * part->heads);
98 chs->head = (abss / part->sects) % part->heads;
99 chs->sector = (abss % part->sects) + 1;
379 CHS chs; local
387 lba2chs(loc, &chs, part)
416 CHS chs; local
    [all...]
  /external/gptfdisk/
mbrpart.cc 176 // values, sets them directly, and sets the CHS values based on the LBA
190 // CHS last sector value, as per the GPT spec. (Set to 0xffffff,
243 // Recompute the CHS values for the start and end points.
245 // that can be expressed by that CHS, 0 otherwise.
256 // Converts 32-bit LBA value to MBR-style CHS value. Returns 1 if conversion
257 // was within the range that can be expressed by CHS (including 0, for an
258 // empty partition), 0 if the value is outside that range, and -1 if chs is
260 int MBRPart::LBAtoCHS(uint32_t lba, uint8_t * chs) {
266 if (chs != NULL) {
267 // Special case: In case of 0 LBA value, zero out CHS values...
    [all...]
mbrpart.h 38 // Note that firstSector and lastSector are in CHS addressing, which
105 int LBAtoCHS(uint32_t lba, uint8_t * chs);
basicmbr.h 55 uint32_t numHeads; // number of heads, in CHS scheme
56 uint32_t numSecspTrack; // number of sectors per track, in CHS scheme
87 // Functions that set or get disk metadata (size, CHS geometry, etc.)
94 int LBAtoCHS(uint64_t lba, uint8_t * chs); // Convert LBA to CHS
basicmbr.cc 612 * Functions that set or get disk metadata (CHS geometry, disk size, *
617 // Read the CHS geometry using OS calls, or if that fails, set to
659 // Converts 64-bit LBA value to MBR-style CHS value. Returns 1 if conversion
660 // was within the range that can be expressed by CHS (including 0, for an
661 // empty partition), 0 if the value is outside that range, and -1 if chs is
663 int BasicMBRData::LBAtoCHS(uint64_t lba, uint8_t * chs) {
669 if (chs != NULL) {
670 // Special case: In case of 0 LBA value, zero out CHS values....
672 chs[0] = chs[1] = chs[2] = UINT8_C(0)
    [all...]
  /system/core/libdiskconfig/include/diskconfig/
diskconfig.h 56 struct chs { struct
66 struct chs start; /* bytes 1-3 */
68 struct chs end; /* bytes 5-7 */
  /frameworks/base/core/tests/coretests/src/android/text/
StaticLayoutBidiTest.java 97 char[] chs = text.toCharArray(); local
98 int n = chs.length;
101 int resultDir = AndroidBidi.bidi(dir, chs, chInfo);
  /frameworks/base/core/java/android/text/
AndroidBidi.java 64 public static int bidi(int dir, char[] chs, byte[] chInfo) {
65 if (chs == null || chInfo == null) {
69 final int length = chs.length;
84 icuBidi.setPara(chs, paraLevel, null /* embeddingLevels */);
StaticLayout.java 743 final char[] chs = measuredPara.getChars();
747 widths.resize(chs.length);
757 chs,
    [all...]
  /external/apache-http/src/org/apache/http/message/
BasicHeaderValueParser.java 309 private static boolean isOneOf(final char ch, final char[] chs) {
310 if (chs != null) {
311 for (int i = 0; i < chs.length; i++) {
312 if (ch == chs[i]) {
  /system/core/libdiskconfig/
config_mbr.c 36 memset(&pentry->start, 0xff, sizeof(struct chs));
37 memset(&pentry->end, 0xff, sizeof(struct chs));
40 memset(&pentry->start, 0, sizeof(struct chs));
41 memset(&pentry->end, 0, sizeof(struct chs));
  /prebuilts/go/darwin-x86/doc/progs/
eff_qr.go 38 <img src="http://chart.apis.google.com/chart?chs=300x300&cht=qr&choe=UTF-8&chl={{.}}" />
  /prebuilts/go/linux-x86/doc/progs/
eff_qr.go 38 <img src="http://chart.apis.google.com/chart?chs=300x300&cht=qr&choe=UTF-8&chl={{.}}" />
  /external/webrtc/webrtc/base/
stringutils.h 147 const CTYPE* strchr(const CTYPE* str, const CTYPE* chs) {
149 for (size_t j=0; chs[j]; ++j) {
150 if (str[i] == chs[j]) {
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
WifiScannerFacade.java 344 JSONArray chs = j.getJSONArray("channels"); local
345 ChannelSpec[] channels = new ChannelSpec[chs.length()];
347 channels[i] = new ChannelSpec(chs.getInt(i));
  /cts/apps/CameraITS/pymodules/its/
image.py 772 chs = []
777 chs.append(ch.reshape(h*w/(f*f)))
778 img = numpy.vstack(chs).T.reshape(h/f,w/f,chans)
    [all...]
  /frameworks/minikin/tools/
mk_hyb_file.py 446 chs = [ch for ch in alphabet_map if alphabet_map[ch] == val]
448 lowercase = [ch for ch in chs if not ch.isupper()]
449 uppercase = [ch for ch in chs if not ch.islower()]
  /external/icu/icu4c/source/i18n/
measfmt.cpp 456 CharString chs;
457 chs.append("durationUnits", status)
462 chs.data(),
    [all...]
  /external/valgrind/VEX/priv/
guest_arm64_helpers.c 1085 UInt chs = SHAchoose(Y->w32[0], Y->w32[1], Y->w32[2]); local
    [all...]
  /prebuilts/tools/common/m2/repository/org/parboiled/parboiled-core/1.0.2/
parboiled-core-1.0.2.jar 
  /external/robolectric/v1/lib/main/
httpcore-4.0.1.jar 
  /prebuilts/devtools/tools/lib/
httpcore-4.1.jar 

Completed in 337 milliseconds

1 2 3 4