Lines Matching refs: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);
247 metadata.mode = tolel(mode);
362 r.s.mode = st.st_mode;
410 LOGP(" new: 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(" old: 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) {
416 write_update_file(dataStream, fd, g.s.mode, p, g.file.string());
566 // [ 100 : 8 ] file mode
591 ALOGW("Error: unknown file mode 0%o [%s]", s.st_mode, filepath.string());
744 int mode;
764 metadata.mode = fromlel(metadata.mode);
772 mode = metadata.mode;
776 fd = open(filename.string(), O_CREAT|O_RDWR|O_TRUNC, mode);
806 r.s.mode = st.st_mode;
981 states[0].mode = 0777; // decimal 511, hex 0x000001ff
991 states[1].mode = 0666; // decimal 438, hex 0x000001b6
1001 states[2].mode = 0744; // decimal 484, hex 0x000001e4
1011 states[3].mode = 0755; // decimal 493, hex 0x000001ed
1096 || states[i].modTime_nsec != state.modTime_nsec || states[i].mode != state.mode
1100 states[i].modTime_sec, states[i].modTime_nsec, states[i].mode, states[i].size,
1102 state.modTime_sec, state.modTime_nsec, state.mode, state.size, state.crc32,