/system/core/toolbox/ |
H A D | rm.c | 20 DIR *dir; local 33 dir = opendir(name); 34 if (dir == NULL) 39 while ((de = readdir(dir)) != NULL) { 53 closedir(dir); 59 if (closedir(dir) < 0)
|
H A D | wipe.c | 83 DIR *dir; local 87 dir = opendir(path); 89 if (dir == NULL) { 103 de = readdir(dir); 130 closedir(dir); 153 dir = opendir(path); 154 if (dir == NULL) { 174 closedir(dir);
|
H A D | lsof.c | 135 DIR *dir = opendir(info->path); local 136 if (dir == NULL) { 145 while ((de = readdir(dir))) { 151 closedir(dir); 199 DIR *dir = opendir("/proc"); local 200 if (dir == NULL) { 208 while ((de = readdir(dir))) { 220 closedir(dir);
|
H A D | getevent.c | 273 DIR *dir; local 275 dir = opendir(dirname); 276 if(dir == NULL) 281 while((de = readdir(dir))) { 289 closedir(dir); 414 fprintf(stderr, "scan dir failed for %s\n", device_path);
|
H A D | mount.c | 134 do_mount(char *dev, char *dir, char *type, unsigned long rwflag, void *data, int loop) argument 171 if (mount(dev, dir, s, rwflag, data) == -1) {
|
H A D | newfs_msdos.c | 271 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; local 621 dir = bpb.res + (bpb.spf ? bpb.spf : bpb.bspf) * bpb.nft; 622 for (lsn = 0; lsn < dir + (fat == 32 ? bpb.spc : rds); lsn++) { 701 } else if (lsn >= bpb.res && lsn < dir && 707 } else if (lsn == dir && opt_L) {
|
/system/core/adb/ |
H A D | remount_service.c | 34 static char *find_mount(const char *dir) argument 63 if (res == 4 && (strcmp(dir, mount_dir) == 0))
|
H A D | commandline.c | 111 " adb push <local> <remote> - copy file/dir to device\n" 112 " adb pull <remote> [<local>] - copy file/dir from device\n" 599 char dir[PATH_MAX]; local 600 top = find_top_from(getcwd(dir, sizeof(dir)), path_buf); 605 get_my_path(dir, PATH_MAX); 606 top = find_top_from(dir, path_buf); 615 * - A relative path from the CWD to the ANDROID_PRODUCT_OUT dir 617 * - An absolute path to the PRODUCT_OUT dir 621 * ANDROID_PRODUCT_OUT dir [all...] |
/system/extras/libpagemap/ |
H A D | pm_kernel.c | 64 struct dirent *dir; local 80 while ((dir = readdir(proc))) { 81 if (sscanf(dir->d_name, "%d", &pid) < 1)
|
/system/vold/ |
H A D | Process.cpp | 89 DIR *dir = opendir(path); local 90 if (!dir) 99 while ((de = readdir(dir))) { 115 closedir(dir); 120 closedir(dir); 181 DIR* dir; local 184 if (!(dir = opendir("/proc"))) { 189 while ((de = readdir(dir))) { 221 closedir(dir);
|
H A D | CommandListener.cpp | 247 DIR *dir; local 250 if (!(dir = opendir("/proc"))) { 255 while ((de = readdir(dir))) { 276 closedir(dir); 303 cli->sendMsg(ResponseCode::OperationFailed, "Failed to open asec dir", true);
|
/system/core/debuggerd/ |
H A D | getevent.c | 139 DIR *dir; local 141 dir = opendir(dirname); 142 if(dir == NULL) 147 while((de = readdir(dir))) { 155 closedir(dir);
|
/system/core/sh/ |
H A D | cd.c | 242 updatepwd(char *dir) argument 254 if (dir == NULL || curdir == NULL) { 268 cdcomppath = stalloc(strlen(dir) + 1); 269 scopy(dir, cdcomppath); 271 if (*dir != '/') {
|
/system/extras/ext4_utils/ |
H A D | make_ext4fs.c | 122 int dir = S_ISDIR(stat.st_mode); local 123 fs_config(dentries[i].path, dir, &uid, &gid, &mode);
|
/system/core/include/private/ |
H A D | android_filesystem_config.h | 203 static inline void fs_config(const char *path, int dir, argument 209 pc = dir ? android_dirs : android_files; 213 if (dir) {
|
/system/extras/latencytop/ |
H A D | latencytop.c | 203 DIR *dir; local 209 dir = opendir(dirname); 210 if (!dir) { 211 fprintf(stderr, "Could not open task dir for process %d.\n", pid); 217 while ((ent = readdir(dir))) { 226 closedir(dir);
|
/system/core/fastboot/ |
H A D | fastboot.c | 77 char *dir; local 103 dir = getenv("ANDROID_PRODUCT_OUT"); 104 if((dir == 0) || (dir[0] == 0)) { 109 sprintf(path, "%s/%s", dir, fn);
|
/system/core/init/ |
H A D | bootchart.c | 244 DIR* dir = opendir("/proc"); local 249 while ((entry = readdir(dir)) != NULL) { 290 closedir(dir);
|
H A D | property_service.c | 466 DIR* dir = opendir(PERSISTENT_PROPERTY_DIR); local 472 if (dir) { 473 while ((entry = readdir(dir)) != NULL) { 496 closedir(dir);
|
/system/core/libpixelflinger/codeflinger/ |
H A D | ARMAssemblerProxy.cpp | 145 void ARMAssemblerProxy::LDM(int cc, int dir, int Rn, int W, uint32_t reg_list) { argument 146 mTarget->LDM(cc, dir, Rn, W, reg_list); 148 void ARMAssemblerProxy::STM(int cc, int dir, int Rn, int W, uint32_t reg_list) { argument 149 mTarget->STM(cc, dir, Rn, W, reg_list);
|
H A D | ARMAssembler.cpp | 326 void ARMAssembler::LDM(int cc, int dir, argument 331 *mPC++ = (cc<<28) | (4<<25) | (uint32_t(P[dir])<<24) | 332 (uint32_t(U[dir])<<23) | (1<<20) | (W<<21) | (Rn<<16) | reg_list; 335 void ARMAssembler::STM(int cc, int dir, argument 340 *mPC++ = (cc<<28) | (4<<25) | (uint32_t(P[dir])<<24) | 341 (uint32_t(U[dir])<<23) | (0<<20) | (W<<21) | (Rn<<16) | reg_list;
|
/system/extras/tests/sdcard/ |
H A D | sysutil.cpp | 410 DIR *dir = opendir(directory); local 412 if (NULL != dir) 417 while((entry = readdir(dir))) 430 closedir(dir);
|
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
H A D | console.h | 188 } dir; member in union:ConEntry_t::__anon283
|
/system/wlan/ti/wilink_6_1/CUDK/configurationutility/src/ |
H A D | console.c | 91 } dir; member in union:ConEntry_t::__anon1088 197 pEntryTemp = pEntry->u.dir.first; 234 p_token = p_dir->u.dir.first; 498 p_token = p_dir->u.dir.first; 509 p_token = p_dir->u.dir.first; 527 p_token = pConsole->p_cur_dir->u.dir.first; 603 p_token = p_dir->u.dir.first; 624 p_token = p_dir->u.dir.first; 712 if (pConsole->p_cur_dir->u.dir.upper) 713 pConsole->p_cur_dir = pConsole->p_cur_dir->u.dir [all...] |
/system/core/libcutils/ |
H A D | tztime.c | 1668 register int dir; local 1775 dir = (t > 0) ? 1 : -1; 1776 } else dir = tmcomp(&mytm, &yourtm); 1777 if (dir != 0) { 1791 if (dir > 0)
|