Home
last modified time | relevance | path

Searched refs:write_mode (Results 1 – 2 of 2) sorted by relevance

/external/linux-tools-perf/
Dbuiltin-record.c60 static enum write_mode_t write_mode = WRITE_FORCE; variable
481 if (write_mode == WRITE_FORCE) { in __cmd_record()
488 } else if (write_mode == WRITE_APPEND) { in __cmd_record()
489 write_mode = WRITE_FORCE; in __cmd_record()
494 if (write_mode == WRITE_APPEND) in __cmd_record()
509 write_mode == WRITE_FORCE, false, NULL); in __cmd_record()
825 write_mode = WRITE_APPEND; in cmd_record()
827 write_mode = WRITE_FORCE; in cmd_record()
/external/opencv/cxcore/src/
Dcxpersistence.cpp122 int write_mode; member
175 if( !fs->write_mode ) \
386 if( fs->write_mode && fs->file ) in cvReleaseFileStorage()
2698 fs->write_mode = (flags & 3) != 0; in cvOpenFileStorage()
2699 fs->file = fopen( fs->filename, !fs->write_mode ? "rt" : !append ? "wt" : "a+t" ); in cvOpenFileStorage()
2708 if( fs->write_mode ) in cvOpenFileStorage()
2842 else if( !fs->write_mode ) in cvOpenFileStorage()