Home
last modified time | relevance | path

Searched refs:fnode (Results 1 – 6 of 6) sorted by relevance

/external/toybox/toys/pending/
Dsyslogd.c380 struct unsocks *fnode = TT.lsocks; in cleanup() local
382 if (fnode->sd >= 0) { in cleanup()
383 close(fnode->sd); in cleanup()
384 unlink(fnode->path); in cleanup()
386 TT.lsocks = fnode->next; in cleanup()
387 free(fnode); in cleanup()
391 struct logfile *fnode = TT.lfiles; in cleanup() local
393 free(fnode->filename); in cleanup()
394 if (fnode->logfd >= 0) close(fnode->logfd); in cleanup()
395 TT.lfiles = fnode->next; in cleanup()
[all …]
/external/opencv/ml/src/
Dmlrtrees.cpp161 void CvForestTree::read( CvFileStorage* fs, CvFileNode* fnode, CvRTrees* _forest, CvDTreeTrainData*… in read() argument
163 CvDTree::read( fs, fnode, _data ); in read()
619 void CvRTrees::read( CvFileStorage* fs, CvFileNode* fnode ) in read() argument
631 nclasses = cvReadIntByName( fs, fnode, "nclasses", -1 ); in read()
632 nsamples = cvReadIntByName( fs, fnode, "nsamples" ); in read()
633 nactive_vars = cvReadIntByName( fs, fnode, "nactive_vars", -1 ); in read()
634 oob_error = cvReadRealByName(fs, fnode, "oob_error", -1 ); in read()
635 ntrees = cvReadIntByName( fs, fnode, "ntrees", -1 ); in read()
637 var_importance = (CvMat*)cvReadByName( fs, fnode, "var_importance" ); in read()
649 data->read_params( fs, fnode ); in read()
[all …]
Dmltree.cpp3192 CvDTreeSplit* CvDTree::read_split( CvFileStorage* fs, CvFileNode* fnode ) in read_split() argument
3202 if( !fnode || CV_NODE_TYPE(fnode->tag) != CV_NODE_MAP ) in read_split()
3205 vi = cvReadIntByName( fs, fnode, "var", -1 ); in read_split()
3216 inseq = cvGetFileNodeByName( fs, fnode, "in" ); in read_split()
3219 inseq = cvGetFileNodeByName( fs, fnode, "not_in" ); in read_split()
3262 cmp_node = cvGetFileNodeByName( fs, fnode, "le" ); in read_split()
3265 cmp_node = cvGetFileNodeByName( fs, fnode, "gt" ); in read_split()
3272 split->quality = (float)cvReadRealByName( fs, fnode, "quality" ); in read_split()
3280 CvDTreeNode* CvDTree::read_node( CvFileStorage* fs, CvFileNode* fnode, CvDTreeNode* parent ) in read_node() argument
3291 if( !fnode || CV_NODE_TYPE(fnode->tag) != CV_NODE_MAP ) in read_node()
[all …]
Dmlboost.cpp773 void CvBoostTree::read( CvFileStorage* fs, CvFileNode* fnode, CvBoost* _ensemble, CvDTreeTrainData*… in read() argument
775 CvDTree::read( fs, fnode, _data ); in read()
1480 void CvBoost::read_params( CvFileStorage* fs, CvFileNode* fnode ) in read_params() argument
1488 if( !fnode || !CV_NODE_IS_MAP(fnode->tag) ) in read_params()
1492 CV_CALL( data->read_params(fs, fnode)); in read_params()
1502 temp = cvGetFileNodeByName( fs, fnode, "boosting_type" ); in read_params()
1520 temp = cvGetFileNodeByName( fs, fnode, "splitting_criteria" ); in read_params()
1535 params.weak_count = cvReadIntByName( fs, fnode, "ntrees" ); in read_params()
1536 params.weight_trim_rate = cvReadRealByName( fs, fnode, "weight_trimming_rate", 0. ); in read_params()
/external/wpa_supplicant_8/hs20/client/
Dspp_client.c79 xml_node_t *fnode, *tnds; in add_mo_container() local
83 fnode = node_from_file(ctx, fname); in add_mo_container()
84 if (!fnode) { in add_mo_container()
90 tnds = mo_to_tnds(ctx, fnode, 0, urn, "syncml:dmddf1.2"); in add_mo_container()
91 xml_node_free(ctx, fnode); in add_mo_container()
Doma_dm_client.c199 xml_node_t *fnode, *tnds; in mo_str() local
202 fnode = node_from_file(ctx->xml, fname); in mo_str()
203 if (!fnode) in mo_str()
205 tnds = mo_to_tnds(ctx->xml, fnode, 0, urn, "syncml:dmddf1.2"); in mo_str()
206 xml_node_free(ctx->xml, fnode); in mo_str()