Lines Matching defs:mode
58 * - 4-byte access mode (little-endian)
64 int mode;
215 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key,
218 LOGP("write_update_file %s (%s) : mode 0%o\n", realFilename, key.string(), mode);
245 metadata.mode = tolel(mode);
368 r.s.mode = st.st_mode;
410 LOGP(" old: modTime=%d,%d mode=%04o size=%-3d crc32=0x%08x",
411 f.modTime_sec, f.modTime_nsec, f.mode, f.size, f.crc32);
412 LOGP(" new: modTime=%d,%d mode=%04o size=%-3d crc32=0x%08x",
413 g.s.modTime_sec, g.s.modTime_nsec, g.s.mode, g.s.size, g.s.crc32);
415 || f.mode != g.s.mode || f.size != g.s.size || f.crc32 != g.s.crc32) {
420 write_update_file(dataStream, fd, g.s.mode, p, g.file.string());
569 // [ 100 : 8 ] file mode
594 ALOGW("Error: unknown file mode 0%o [%s]", s.st_mode, filepath.string());
750 int mode;
770 metadata.mode = fromlel(metadata.mode);
778 mode = metadata.mode;
782 fd = open(filename.string(), O_CREAT|O_RDWR|O_TRUNC, mode);
812 r.s.mode = st.st_mode;
987 states[0].mode = 0777; // decimal 511, hex 0x000001ff
997 states[1].mode = 0666; // decimal 438, hex 0x000001b6
1007 states[2].mode = 0744; // decimal 484, hex 0x000001e4
1017 states[3].mode = 0755; // decimal 493, hex 0x000001ed
1102 || states[i].modTime_nsec != state.modTime_nsec || states[i].mode != state.mode
1106 states[i].modTime_sec, states[i].modTime_nsec, states[i].mode, states[i].size,
1108 state.modTime_sec, state.modTime_nsec, state.mode, state.size, state.crc32,