Searched refs:info (Results 26 - 50 of 59) sorted by relevance

123

/system/core/toolbox/
H A Dschedtop.c96 struct thread_info *info; local
98 info = get_item(&processes);
100 info = get_item(&threads);
101 info->pid = pid;
102 info->tid = tid;
111 &info->exec_time, &info->delay_time, &info->run_count) != 3)
114 proc_info->exec_time += info->exec_time;
115 proc_info->delay_time += info
[all...]
/system/core/libsync/
H A Dsync_test.c38 struct sync_fence_info_data *info; local
52 info = sync_fence_info(sync_data->fd[i]);
53 if (info) {
55 printf(" fence %s %d\n", info->name, info->status);
57 while ((pt_info = sync_pt_info(info, pt_info))) {
68 sync_fence_info_free(info);
/system/extras/ext4_utils/
H A Dcontents.c55 if (len % info.block_size + dentry_len > info.block_size)
56 len += info.block_size - (len % info.block_size);
71 u32 start_block = *offset / info.block_size;
72 u32 end_block = (*offset + rec_len - 1) / info.block_size;
78 prev->rec_len += end_block * info.block_size - *offset;
79 *offset = end_block * info.block_size;
111 blocks = DIV_ROUND_UP(dentry_size(entries, dentries), info.block_size);
112 len = blocks * info
[all...]
H A Dextent.c43 len = min(region_len * info.block_size, backing_len);
65 len = min(region_len * info.block_size, backing_len);
77 u32 block_len = DIV_ROUND_UP(len, info.block_size);
123 u8 *data = calloc(info.block_size, 1);
127 sparse_file_add_data(ext4_sparse_file, data, info.block_size,
130 if (((int)(info.block_size - sizeof(struct ext4_extent_header) /
140 hdr->eh_max = (info.block_size - sizeof(struct ext4_extent_header)) /
164 blocks = (u64)block_len * info.block_size / 512;
H A Dallocate.c178 block += aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks + 1;
180 bg->inode_table = calloc(aux_info.inode_table_blocks, info.block_size);
185 aux_info.inode_table_blocks * info.block_size, block);
207 for them in the block group free block info. */
290 header_blocks += 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks;
292 bg->bitmaps = calloc(info.block_size, 2);
294 bg->inode_bitmap = bg->bitmaps + info.block_size;
297 bg->first_block = aux_info.first_data_block + i * info.blocks_per_group;
301 block += 1 + aux_info.bg_desc_blocks + info.bg_desc_reserve_blocks;
302 sparse_file_add_data(ext4_sparse_file, bg->bitmaps, 2 * info
[all...]
H A Dext4_utils.h117 extern struct fs_info info;
/system/core/fastbootd/commands/
H A Dboot.c74 struct atag_info info; member in struct:atag
160 while (current_tag->info.type != ATAG_NONE_TYPE) {
161 switch (current_tag->info.type) {
166 memcpy((void *)natags_raw_buff, (void *)current_tag_raw, current_tag->info.size * sizeof(unsigned));
167 natags_raw_buff += current_tag->info.size;
168 new_atags_size += current_tag->info.size;
171 current_tag_raw += current_tag->info.size;
184 .info = {
205 .info = {
221 .info
[all...]
/system/core/fastbootd/
H A Dsecure.h51 void cert_release(BIO *content, CMS_ContentInfo *info);
H A Dsecure.c165 void cert_release(BIO *content, CMS_ContentInfo *info) { argument
167 CMS_ContentInfo_free(info);
H A Dprotocol.c135 void fastboot_okay(struct protocol_handle *phandle, const char *info) argument
137 fastboot_ack(phandle, "OKAY", info);
/system/keymaster/
H A DMakefile65 coverage: coverage.info
66 genhtml coverage.info --output-directory coverage
68 coverage.info: run
69 lcov --capture --directory=. --output-file coverage.info
74 lcov --capture --directory=. --output-file coverage.info
75 genhtml coverage.info --output-directory coverage
144 *gcno *gcda coverage.info
H A Dgoogle_keymaster_test_utils.h104 int info(const char* fmt, ...) const { function in class:keymaster::test::StdoutLogger
/system/core/adb/
H A Dremount_service.c75 struct stat info; local
76 if (!lstat("/vendor", &info))
77 if ((info.st_mode & S_IFMT) == S_IFDIR)
H A Ddisable_verity_service.c52 struct fs_info info; local
54 info.len = 0; /* Only len is set to 0 to ask the device for real size. */
74 ext4_parse_sb(&sb, &info);
75 *device_size = info.len;
H A Dadb_auth_host.c155 char path[PATH_MAX], info[MAX_PAYLOAD]; local
185 get_user_info(info, sizeof(info));
186 BIO_write(bfile, info, strlen(info));
/system/core/fastboot/
H A Dfastboot.c129 } else if(!strcmp(item,"info")) {
130 fn = "android-info.txt";
203 int match_fastboot_with_serial(usb_ifc_info *info, const char *local_serial) argument
205 if(!(vendor_id && (info->dev_vendor == vendor_id)) &&
206 (info->dev_vendor != 0x18d1) && // Google
207 (info->dev_vendor != 0x8087) && // Intel
208 (info->dev_vendor != 0x0451) &&
209 (info->dev_vendor != 0x0502) &&
210 (info->dev_vendor != 0x0fce) && // Sony Ericsson
211 (info
229 match_fastboot(usb_ifc_info *info) argument
234 list_devices_callback(usb_ifc_info *info) argument
[all...]
/system/media/audio_utils/include/audio_utils/
H A Dsndfile.h58 SNDFILE *sf_open(const char *path, int mode, SF_INFO *info);
/system/extras/showmap/
H A Dshowmap.c71 struct mapinfo* info = calloc(1, sizeof(mapinfo) + name_size); local
72 if (info == NULL) {
77 info->start = start;
78 info->end = end;
79 info->is_bss = is_bss;
80 info->count = 1;
81 strlcpy(info->name, name, name_size);
83 *mi = info;
196 fprintf(stderr, "warning: could not parse map info line: %s\n", line);
/system/core/logd/
H A DLogAudit.cpp89 bool info = strstr(str, " permissive=1") || strstr(str, " policy loaded "); local
95 iov[0].iov_base = info ? const_cast<char *>(log_info)
97 iov[0].iov_len = info ? sizeof(log_info) : sizeof(log_warning);
195 *newstr = info ? ANDROID_LOG_INFO : ANDROID_LOG_WARN;
/system/core/init/
H A Dutil.c50 const struct android_id_info *info = android_ids; local
54 if (!strcmp(info[n].name, name))
55 return info[n].aid;
290 struct stat info; local
305 if (stat(buf, &info) != 0) {
376 struct stat info; local
380 while (gettime() < timeout_time && ((ret = stat(filename, &info)) < 0))
H A Dbuiltins.c424 struct loop_info info; local
440 if (ioctl(loop, LOOP_GET_STATUS, &info) < 0 && errno == ENXIO) {
756 struct stat info; local
763 if (stat(args[1], &info) < 0)
772 if (!(buffer = malloc(info.st_size)))
776 brtr = info.st_size;
788 brtw = info.st_size;
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.cpp159 component_info_t& info = mInfo[i]; local
164 info.masked = !!(masking & mask);
165 info.inDest = !info.masked && mCbFormat.c[i].h &&
169 info.inDest = false;
171 info.needed = (i==GGLFormat::ALPHA) &&
173 info.replaced = !!(mTextureMachine.replaced & mask);
174 info.iterated = (!info.replaced && (info
[all...]
/system/core/fs_mgr/
H A Dfs_mgr_verity.c48 extern struct fs_info info;
123 struct fs_info info = {0}; local
143 ext4_parse_sb(&sb, &info);
144 *device_size = info.len;
H A Dfs_mgr.c79 struct stat info; local
83 while (gettime() < timeout_time && ((ret = stat(filename, &info)) < 0))
205 struct stat info; local
206 if (!lstat(target, &info))
207 if ((info.st_mode & S_IFMT) == S_IFLNK)
/system/core/libsync/tests/
H A Dsync_test.cpp177 sync_fence_info_data *info = sync_fence_info(getFd()); local
178 if (!info) {
181 while ((pointInfo = sync_pt_info(info, pointInfo))) {
188 sync_fence_info_free(info);
206 for (auto &info : getInfo()) {
207 if (info.status == status) {

Completed in 335 milliseconds

123