/system/core/fastbootd/commands/ |
H A D | partitions.c | 52 #define BLKRRPART _IO(0x12,95) /* re-read partition table */ 106 #define LBA_ADDR(table, value) ((uint64_t) (table)->sector_size * (value)) 108 int GPT_map_from_content(struct GPT_entry_table *table, const struct GPT_content *content) argument 112 if (gpt_mmap(&table->header_map, LBA_ADDR(table, content->header.current_lba), 113 table->sector_size, table->fd)) { 118 table->header = (struct GPT_header *) table 163 GPT_map(struct GPT_entry_table *table, unsigned header_lba) argument 195 struct GPT_entry_table *table; local 224 struct GPT_entry_table *table; local 252 GPT_release_device(struct GPT_entry_table *table) argument 267 GPT_edit_entry(struct GPT_entry_table *table, struct GPT_entry_raw *old_entry, struct GPT_entry_raw *new_entry) argument 286 GPT_delete_entry(struct GPT_entry_table *table, struct GPT_entry_raw *entry) argument 302 GPT_add_entry(struct GPT_entry_table *table, struct GPT_entry_raw *entry) argument 334 GPT_get_pointer(struct GPT_entry_table *table, struct GPT_entry_raw *entry) argument 345 GPT_get_pointer_by_guid(struct GPT_entry_table *table, const char *name) argument 385 GPT_get_pointer_by_name(struct GPT_entry_table *table, const char *name) argument 400 GPT_get_pointer_by_UTFname(struct GPT_entry_table *table, const uint16_t *name) argument 415 GPT_sync(struct GPT_entry_table *table) argument 454 GPT_check_overlap_except(struct GPT_entry_table *table, struct GPT_entry_raw *entry, struct GPT_entry_raw *exclude) argument 481 GPT_check_overlap(struct GPT_entry_table *table, struct GPT_entry_raw *entry) argument 574 GPT_default_content(struct GPT_content *content, struct GPT_entry_table *table) argument [all...] |
H A D | partitions.h | 108 void GPT_edit_entry(struct GPT_entry_table *table, 112 int GPT_delete_entry(struct GPT_entry_table *table, struct GPT_entry_raw *entry); 114 void GPT_add_entry(struct GPT_entry_table *table, struct GPT_entry_raw *entry); 116 struct GPT_entry_raw *GPT_get_pointer(struct GPT_entry_table *table, struct GPT_entry_raw *entry); 128 void GPT_default_content(struct GPT_content *content, struct GPT_entry_table *table);
|
/system/core/fastbootd/other/ |
H A D | gptedit.c | 65 void printGPT(struct GPT_entry_table *table); 66 void addGPT(struct GPT_entry_table *table, const char *arg, const char *guid, const char *tguid); 67 void deleteGPT(struct GPT_entry_table *table, const char *name); 68 void configPrintGPT(struct GPT_entry_table *table); 152 struct GPT_entry_table *table = GPT_get_device(path, gpt_location); local 153 if (table == NULL) { 154 fprintf(stderr, "unable to get GPT table from %s\n", path); 159 addGPT(table, new_partition, partition_guid, type_guid); 161 deleteGPT(table, old_partition); 163 printGPT(table); 174 printGPT(struct GPT_entry_table *table) argument 194 configPrintGPT(struct GPT_entry_table *table) argument 239 addGPT(struct GPT_entry_table *table, const char *str , const char *guid, const char *tguid) argument 287 deleteGPT(struct GPT_entry_table *table, const char *name) argument [all...] |
/system/core/fastbootd/ |
H A D | vendor_trigger_default.c | 50 int trigger_gpt_layout(struct GPT_content *table) { argument 51 KLOG_DEBUG("fastbootd", "%s: %p", __func__, table);
|
/system/extras/verity/ |
H A D | build_verity_metadata.py | 30 def sign_verity_table(table, signer_path, key_path): 31 with tempfile.NamedTemporaryFile(suffix='.table') as table_file: 33 table_file.write(table) 41 table = "1 %s %s %s %s %s %s sha256 %s %s" 42 table %= ( block_device, 50 return table 54 # build the verity table 56 # build the verity table signature
|
/system/netd/server/ |
H A D | RouteController.cpp | 139 void addTableName(uint32_t table, const std::string& name, std::string* contents) { argument 141 snprintf(tableString, sizeof(tableString), "%u", table); 246 // + If |table| is non-zero, the rule points at the specified routing table. Otherwise, the rule 256 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, argument 286 .action = static_cast<uint8_t>(table != RT_TABLE_UNSPEC ? FR_ACT_TO_TBL : 298 { &FRATTR_TABLE, table != RT_TABLE_UNSPEC ? sizeof(FRATTR_TABLE) : 0 }, 299 { &table, table != RT_TABLE_UNSPEC ? sizeof(table) 327 modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, uint32_t fwmark, uint32_t mask) argument 335 modifyIpRoute(uint16_t action, uint32_t table, const char* interface, const char* destination, const char* nexthop) argument 464 modifyVpnUidRangeRule(uint32_t table, uid_t uidStart, uid_t uidEnd, bool secure, bool add) argument 492 modifyVpnSystemPermissionRule(unsigned netId, uint32_t table, bool secure, bool add) argument 516 modifyExplicitNetworkRule(unsigned netId, uint32_t table, Permission permission, uid_t uidStart, uid_t uidEnd, bool add) argument 539 modifyOutputInterfaceRule(const char* interface, uint32_t table, Permission permission, uid_t uidStart, uid_t uidEnd, bool add) argument 557 modifyImplicitNetworkRule(unsigned netId, uint32_t table, Permission permission, bool add) argument 583 uint32_t table = getRouteTableForInterface(physicalInterface); local 682 uint32_t table = getRouteTableForInterface(interface); local 704 uint32_t table = getRouteTableForInterface(interface); local 741 uint32_t table = getRouteTableForInterface(interface); local 761 uint32_t table = getRouteTableForInterface(outputInterface); local 792 uint32_t table; local 829 uint32_t table = getRouteTableForInterface(interface); local [all...] |
H A D | CommandListener.cpp | 150 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain, argument 162 execIptablesSilently(target, "-t", table, "-D", parentChain, "-j", *childChain, NULL); 163 execIptablesSilently(target, "-t", table, "-F", *childChain, NULL); 164 execIptablesSilently(target, "-t", table, "-X", *childChain, NULL); 165 execIptables(target, "-t", table, "-N", *childChain, NULL); 166 execIptables(target, "-t", table, "-A", parentChain, "-j", *childChain, NULL);
|
/system/core/toolbox/ |
H A D | schedtop.c | 46 static void grow_table(struct thread_table *table) argument 48 size_t size = table->allocated; 55 new_table = realloc(table->data, size * sizeof(*table->data)); 60 table->data = new_table; 61 table->allocated = size; 64 static struct thread_info *get_item(struct thread_table *table) argument 66 if (table->active >= table->allocated) 67 grow_table(table); 71 commit_item(struct thread_table *table) argument [all...] |
/system/core/fs_mgr/ |
H A D | fs_mgr_verity.c | 87 static int verify_table(char *signature, char *table, int table_length) argument 93 // Hash the table 94 SHA_hash((uint8_t*)table, table_length, hash_buf); 109 ERROR("Couldn't verify table."); 151 static int read_verity_metadata(char *block_device, char **signature, char **table) argument 208 // get the size of the table 210 ERROR("Couldn't get the size of the verity table from metadata!\n"); 215 // get the table + null terminator 217 *table = malloc(table_length); 218 if(!*table) { 276 load_verity_table(struct dm_ioctl *io, char *name, char *blockdev, int fd, char *table) argument [all...] |
/system/media/camera/docs/ |
H A D | html.mako | 40 /* table column sizes */ 41 table { border-collapse:collapse; table-layout: fixed; width: 100%; word-wrap: break-word } 177 <table class="properties"> 369 </table>
|
/system/core/libmincrypt/ |
H A D | p256_ec.c | 93 * The first table contains (x,y) felem pairs for 16 multiples of the base 114 * The second table follows the same style, but the terms are 2**32G, 292 /* The following table may be helpful when reading this code: 363 * The following table contains the amounts added to each word (as an 379 * The following table accumulates these values. The sums at the bottom 986 /* select_affine_point sets {out_x,out_y} to the index'th entry of table. 987 * On entry: index < 16, table[0] must be zero. */ 988 static void select_affine_point(felem out_x, felem out_y, const limb* table, argument 1001 for (j = 0; j < NLIMBS; j++, table++) { 1002 out_x[j] |= *table 1012 select_jacobian_point(felem out_x, felem out_y, felem out_z, const limb* table, limb index) argument [all...] |