Searched refs:dent (Results 1 – 4 of 4) sorted by relevance
/system/core/adb/ |
D | file_sync_service.cpp | 101 msg.dent.id = ID_DENT; in do_list() 112 msg.dent.mode = st.st_mode; in do_list() 113 msg.dent.size = st.st_size; in do_list() 114 msg.dent.time = st.st_mtime; in do_list() 115 msg.dent.namelen = d_name_length; in do_list() 117 if (!WriteFdExactly(s, &msg.dent, sizeof(msg.dent)) || in do_list() 125 msg.dent.id = ID_DONE; in do_list() 126 msg.dent.mode = 0; in do_list() 127 msg.dent.size = 0; in do_list() 128 msg.dent.time = 0; in do_list() [all …]
|
D | file_sync_client.cpp | 441 if (!ReadFdExactly(sc.fd, &msg.dent, sizeof(msg.dent))) return false; in sync_ls() 443 if (msg.dent.id == ID_DONE) return true; in sync_ls() 444 if (msg.dent.id != ID_DENT) return false; in sync_ls() 446 size_t len = msg.dent.namelen; in sync_ls() 453 func(msg.dent.mode, msg.dent.size, msg.dent.time, buf); in sync_ls()
|
D | file_sync_service.h | 55 } dent; member
|
/system/vold/ |
D | CommandListener.cpp | 364 struct dirent *dent = (struct dirent *) malloc(dirent_len); in listAsecsInDirectory() local 365 if (dent == NULL) { in listAsecsInDirectory() 372 while (!readdir_r(d, dent, &result) && result != NULL) { in listAsecsInDirectory() 373 if (dent->d_name[0] == '.') in listAsecsInDirectory() 375 if (dent->d_type != DT_REG) in listAsecsInDirectory() 377 size_t name_len = strlen(dent->d_name); in listAsecsInDirectory() 379 !strcmp(&dent->d_name[name_len - 5], ".asec")) { in listAsecsInDirectory() 382 strlcpy(id, dent->d_name, name_len - 4); in listAsecsInDirectory() 388 free(dent); in listAsecsInDirectory()
|