/external/vboot_reference/cgpt/ |
H A D | cgpt_repair.c | 13 struct drive drive; local 18 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, 22 int gpt_retval = GptSanityCheck(&drive.gpt); 27 GptRepair(&drive.gpt); 28 if (drive.gpt.modified & GPT_MODIFIED_HEADER1) 30 if (drive.gpt.modified & GPT_MODIFIED_ENTRIES1) 32 if (drive.gpt.modified & GPT_MODIFIED_ENTRIES2) 34 if (drive.gpt.modified & GPT_MODIFIED_HEADER2) 37 return DriveClose(&drive, [all...] |
H A D | cgpt_boot.c | 16 struct drive drive; local 23 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDONLY, 27 if (GPT_SUCCESS != (gpt_retval = GptSanityCheck(&drive.gpt))) { 34 if (CGPT_OK != ReadPMBR(&drive)) { 41 GuidToStr(&drive.pmbr.boot_guid, buf, sizeof(buf)); 43 int numEntries = GetNumberOfEntries(&drive); 46 GptEntry *entry = GetEntry(&drive.gpt, ANY_VALID, i); 48 if (GuidEqual(&entry->unique, &drive.pmbr.boot_guid)) { 60 (void) DriveClose(&drive, 66 struct drive drive; local [all...] |
H A D | cgpt_create.c | 24 static int GptCreate(struct drive *drive, CgptCreateParams *params) { argument 28 AllocAndClear(&drive->gpt.primary_header, 29 drive->gpt.sector_bytes * GPT_HEADER_SECTORS); 30 AllocAndClear(&drive->gpt.secondary_header, 31 drive->gpt.sector_bytes * GPT_HEADER_SECTORS); 33 drive->gpt.modified |= (GPT_MODIFIED_HEADER1 | GPT_MODIFIED_ENTRIES1 | 38 GptHeader *h = (GptHeader *)drive->gpt.primary_header; 42 h->my_lba = GPT_PMBR_SECTORS; /* The second sector on drive. */ 43 h->alternate_lba = drive 106 struct drive drive; local [all...] |
H A D | cgpt.h | 44 // Handle to the drive storing the GPT. 45 struct drive { struct 60 // Returns CGPT_OK if success and information are stored in 'drive'. */ 61 int DriveOpen(const char *drive_path, struct drive *drive, int mode, 63 int DriveClose(struct drive *drive, int update_as_needed); 64 int CheckValid(const struct drive *drive); 66 /* Loads sectors from 'drive' [all...] |
H A D | cgpt_legacy.c | 12 struct drive drive; local 18 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, 22 h1 = (GptHeader *)drive.gpt.primary_header; 23 h2 = (GptHeader *)drive.gpt.secondary_header; 27 RepairEntries(&drive.gpt, MASK_SECONDARY); 28 drive.gpt.modified |= (GPT_MODIFIED_HEADER1 | GPT_MODIFIED_ENTRIES1 | 33 memset(drive.gpt.primary_entries, 0, drive.gpt.sector_bytes); 34 drive [all...] |
H A D | cgpt_add.c | 68 static int GptSetEntryAttributes(struct drive *drive, argument 73 entry = GetEntry(&drive->gpt, PRIMARY, index); 100 static int SetEntryAttributes(struct drive *drive, argument 104 SetRaw(drive, PRIMARY, index, params->raw_value); 107 SetSuccessful(drive, PRIMARY, index, params->successful); 109 SetTries(drive, PRIMARY, index, params->tries); 111 SetPriority(drive, PRIMARY, index, params->priority); 115 if (IsUnused(drive, PRIMAR 129 CgptCheckAddValidity(struct drive *drive) argument 147 CgptGetUnusedPartition(struct drive *drive, uint32_t *index, CgptAddParams *params) argument 173 struct drive drive; local 209 struct drive drive; local 267 GptAdd(struct drive *drive, CgptAddParams *params, uint32_t index) argument 297 struct drive drive; local [all...] |
H A D | cgpt_common.c | 54 int CheckValid(const struct drive *drive) { argument 55 if ((drive->gpt.valid_headers != MASK_BOTH) || 56 (drive->gpt.valid_entries != MASK_BOTH)) { 63 int Load(struct drive *drive, uint8_t **buf, argument 86 if (-1 == lseek(drive->fd, sector * sector_bytes, SEEK_SET)) { 91 nread = read(drive->fd, *buf, count); 106 int ReadPMBR(struct drive *drive) { argument 117 WritePMBR(struct drive *drive) argument 128 Save(struct drive *drive, const uint8_t *buf, const uint64_t sector, const uint64_t sector_bytes, const uint64_t sector_count) argument 148 GptLoad(struct drive *drive, uint32_t sector_bytes) argument 206 GptSave(struct drive *drive) argument 289 DriveOpen(const char *drive_path, struct drive *drive, int mode, uint64_t drive_size) argument 340 DriveClose(struct drive *drive, int update_as_needed) argument 697 GetNumberOfEntries(const struct drive *drive) argument 729 SetPriority(struct drive *drive, int secondary, uint32_t entry_index, int priority) argument 737 GetPriority(struct drive *drive, int secondary, uint32_t entry_index) argument 743 SetTries(struct drive *drive, int secondary, uint32_t entry_index, int tries) argument 751 GetTries(struct drive *drive, int secondary, uint32_t entry_index) argument 757 SetSuccessful(struct drive *drive, int secondary, uint32_t entry_index, int success) argument 765 GetSuccessful(struct drive *drive, int secondary, uint32_t entry_index) argument 771 SetRaw(struct drive *drive, int secondary, uint32_t entry_index, uint32_t raw) argument 778 UpdateAllEntries(struct drive *drive) argument 787 IsUnused(struct drive *drive, int secondary, uint32_t index) argument 793 IsKernel(struct drive *drive, int secondary, uint32_t index) argument 968 struct drive drive; local [all...] |
H A D | cgpt_show.c | 144 void EntriesDetails(struct drive *drive, const int secondary, int raw) { argument 147 for (i = 0; i < GetNumberOfEntries(drive); ++i) { 149 entry = GetEntry(&drive->gpt, secondary, i); 158 static int GptShow(struct drive *drive, CgptShowParams *params) { argument 160 if (GPT_SUCCESS != (gpt_retval = GptSanityCheck(&drive->gpt))) { 168 if (params->partition > GetNumberOfEntries(drive)) { 174 GptEntry *entry = GetEntry(&drive->gpt, ANY_VALID, index); 204 printf("%d\n", GetSuccessful(drive, ANY_VALI 335 struct drive drive; local [all...] |
H A D | cgpt_find.c | 42 static int match_content(CgptFindParams *params, struct drive *drive, argument 57 drive->fd, 110 static int gpt_search(CgptFindParams *params, struct drive *drive, argument 117 if (GPT_SUCCESS != GptSanityCheck(&drive->gpt)) { 121 for (i = 0; i < GetNumberOfEntries(drive); ++i) { 122 entry = GetEntry(&drive->gpt, ANY_VALID, i); 141 if (found && match_content(params, drive, entry)) { 155 struct drive driv local [all...] |
H A D | cgpt_prioritize.c | 95 struct drive drive; local 109 if (CGPT_OK != DriveOpen(params->drive_name, &drive, O_RDWR, 113 if (GPT_SUCCESS != (gpt_retval = GptSanityCheck(&drive.gpt))) { 119 max_part = GetNumberOfEntries(&drive); 129 if (!IsKernel(&drive, PRIMARY, index)) { 138 if (IsKernel(&drive, PRIMARY, i)) 146 if (!IsKernel(&drive, PRIMARY, i)) 149 priority = GetPriority(&drive, PRIMARY, i); 194 SetPriority(&drive, PRIMAR [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/_setup/py2/ |
H A D | data.py | 37 drive, path = '', _os.path.normpath(path) 43 drive, path = splitunc(path) 44 if not drive: 45 drive, path = _os.path.splitdrive(path) 55 drive = _os.path.join(drive, prefix) 59 return drive, elems
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/ |
H A D | data.py | 37 drive, path = '', _os.path.normpath(path) 43 drive, path = splitunc(path) 44 if not drive: 45 drive, path = _os.path.splitdrive(path) 55 drive = _os.path.join(drive, prefix) 59 return drive, elems
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/_setup/py2/ |
H A D | data.py | 37 drive, path = '', _os.path.normpath(path) 43 drive, path = splitunc(path) 44 if not drive: 45 drive, path = _os.path.splitdrive(path) 55 drive = _os.path.join(drive, prefix) 59 return drive, elems
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rjsmin/_setup/py3/ |
H A D | data.py | 37 drive, path = '', _os.path.normpath(path) 43 drive, path = splitunc(path) 44 if not drive: 45 drive, path = _os.path.splitdrive(path) 55 drive = _os.path.join(drive, prefix) 59 return drive, elems
|
/external/sonivox/arm-fm-22k/lib_src/ |
H A D | eas_math.h | 299 /* drive coef is given as int.frac */ 303 #define MULT_AUDIO_DRIVE(audio,drive) /*lint -e(702) <avoid divide for performance>*/ \ 306 ((EAS_I32)(audio)) * ((EAS_I32)(drive)) \
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
H A D | eas_math.h | 299 /* drive coef is given as int.frac */ 303 #define MULT_AUDIO_DRIVE(audio,drive) /*lint -e(702) <avoid divide for performance>*/ \ 306 ((EAS_I32)(audio)) * ((EAS_I32)(drive)) \
|
/external/sonivox/arm-wt-22k/lib_src/ |
H A D | eas_math.h | 300 /* drive coef is given as int.frac */ 304 #define MULT_AUDIO_DRIVE(audio,drive) /*lint -e(702) <avoid divide for performance>*/ \ 307 ((int32_t)(audio)) * ((int32_t)(drive)) \
|
/external/llvm/test/MC/X86/AlignedBundling/ |
H A D | single-inst-bundling.s | 47 # Just sanity checking that data fills don't drive bundling crazy
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/ |
H A D | antRun.bat | 23 rem Change drive and directory to %1
|
H A D | ant.bat | 101 rem check for ant in root directory of system drive
|
/external/google-breakpad/src/testing/gtest/test/ |
H A D | gtest-filepath_test.cc | 398 // Find a drive that doesn't exist. Start with 'Z' to avoid common ones. 399 for (char drive = 'Z'; drive >= 'A'; drive--) 400 if (_chdrive(drive - 'A' + 1) == -1) { 402 non_drive[0] = drive;
|
/external/gtest/test/ |
H A D | gtest-filepath_test.cc | 385 // Find a drive that doesn't exist. Start with 'Z' to avoid common ones. 386 for (char drive = 'Z'; drive >= 'A'; drive--) 387 if (_chdrive(drive - 'A' + 1) == -1) { 389 non_drive[0] = drive;
|
/external/protobuf/gtest/test/ |
H A D | gtest-filepath_test.cc | 394 // Find a drive that doesn't exist. Start with 'Z' to avoid common ones. 395 for (char drive = 'Z'; drive >= 'A'; drive--) 396 if (_chdrive(drive - 'A' + 1) == -1) { 398 non_drive[0] = drive;
|
/external/gptfdisk/ |
H A D | gptcurses.cc | 738 string drive="Disk Drive: "; local 739 drive += device; 747 move(2, (COLS - drive.length()) / 2); 748 printw(drive.c_str());
|
/external/robolectric/lib/main/ |
H A D | sqlite-jdbc-3.7.2.jar | META-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/org. ... |