Lines Matching refs:fs
63 CvFileStorage* fs = 0;
69 CV_CALL( fs = cvOpenFileStorage( filename, 0, CV_STORAGE_WRITE ));
70 if( !fs )
73 write( fs, name ? name : default_model_name );
77 cvReleaseFileStorage( &fs );
83 CvFileStorage* fs = 0;
91 CV_CALL( fs = cvOpenFileStorage( filename, 0, CV_STORAGE_READ ));
92 if( !fs )
96 model_node = cvGetFileNodeByName( fs, 0, name );
99 CvFileNode* root = cvGetRootFileNode( fs );
104 read( fs, model_node );
108 cvReleaseFileStorage( &fs );