Searched refs:dent (Results 1 - 4 of 4) sorted by relevance
/system/core/adb/ |
H A D | file_sync_service.cpp | 116 msg.dent.id = ID_DENT; 130 msg.dent.mode = htoll(st.st_mode); 131 msg.dent.size = htoll(st.st_size); 132 msg.dent.time = htoll(st.st_mtime); 133 msg.dent.namelen = htoll(len); 135 if(!WriteFdExactly(s, &msg.dent, sizeof(msg.dent)) || 146 msg.dent.id = ID_DONE; 147 msg.dent.mode = 0; 148 msg.dent [all...] |
H A D | file_sync_service.h | 57 } dent; member in union:syncmsg
|
H A D | file_sync_client.cpp | 112 if(!ReadFdExactly(fd, &msg.dent, sizeof(msg.dent))) break; 113 if(msg.dent.id == ID_DONE) return 0; 114 if(msg.dent.id != ID_DENT) break; 116 len = ltohl(msg.dent.namelen); 122 func(ltohl(msg.dent.mode), 123 ltohl(msg.dent.size), 124 ltohl(msg.dent.time),
|
/system/vold/ |
H A D | CommandListener.cpp | 359 struct dirent *dent = (struct dirent *) malloc(dirent_len); local 360 if (dent == NULL) { 367 while (!readdir_r(d, dent, &result) && result != NULL) { 368 if (dent->d_name[0] == '.') 370 if (dent->d_type != DT_REG) 372 size_t name_len = strlen(dent->d_name); 374 !strcmp(&dent->d_name[name_len - 5], ".asec")) { 377 strlcpy(id, dent->d_name, name_len - 4); 383 free(dent);
|
Completed in 71 milliseconds