Lines Matching defs:elem
1113 CvFileNode* elem = 0;
1133 CV_CALL( ptr = icvYMLParseKey( fs, ptr, node, &elem ));
1140 elem = (CvFileNode*)cvSeqPush( node->data.seq, 0 );
1142 CV_CALL( ptr = icvYMLParseValue( fs, ptr, elem, struct_flags, new_min_indent ));
1144 elem->tag |= CV_NODE_NAMED;
1145 is_simple &= !CV_NODE_IS_COLLECTION(elem->tag);
1200 CvFileNode* elem = 0;
1204 CV_CALL( ptr = icvYMLParseKey( fs, ptr, node, &elem ));
1212 CV_CALL( elem = (CvFileNode*)cvSeqPush( node->data.seq, 0 ));
1216 CV_CALL( ptr = icvYMLParseValue( fs, ptr, elem, struct_flags, indent + 1 ));
1218 elem->tag |= CV_NODE_NAMED;
1219 is_simple &= !CV_NODE_IS_COLLECTION(elem->tag);
1789 CvFileNode *elem = node;
1859 elem = (CvFileNode*)cvSeqPush( node->data.seq, 0 );
1861 CV_CALL( elem = cvGetFileNode( fs, node, key, 1 ));
1863 CV_CALL( ptr = icvXMLParseValue( fs, ptr, elem, elem_type));
1865 elem->tag |= CV_NODE_NAMED;
1866 is_simple &= !CV_NODE_IS_COLLECTION(elem->tag);
1867 elem->info = info;
1878 elem = node;
1884 elem = (CvFileNode*)cvSeqPush( node->data.seq, 0 );
1885 elem->info = 0;
1902 elem->tag = CV_NODE_REAL;
1903 elem->data.f = fval;
1908 elem->tag = CV_NODE_INT;
1909 elem->data.i = ival;
1922 elem->tag = CV_NODE_STRING;
1993 CV_CALL( elem->data.str = cvMemStorageAllocString( fs->memstorage, buf, i ));
3410 CvFileMapNode* elem = (CvFileMapNode*)reader.ptr;
3411 if( !is_map || CV_IS_SET_ELEM(elem) )
3413 const char* name = is_map ? elem->key->str.ptr : 0;
3414 icvWriteFileNode( fs, name, &elem->value );
3860 CvFileNode* elem = (CvFileNode*)reader.ptr;
3863 if( !CV_NODE_IS_INT(elem->tag ))
3865 k = elem->data.i;
3878 elem = (CvFileNode*)reader.ptr;
3879 if( !CV_NODE_IS_INT(elem->tag ) || elem->data.i < 0 )
3881 idx[k] = elem->data.i;
4413 CvFileNode* elem = (CvFileNode*)reader.ptr;
4416 CV_CALL( seq = (CvSeq*)cvRead( fs, elem ));
4417 CV_CALL( level = cvReadIntByName( fs, elem, "level", -1 ));