Searched refs:tmp_node (Results 1 – 4 of 4) sorted by relevance
/external/selinux/libsepol/src/ |
D | nodes.c | 19 ocontext_t *tmp_node = NULL; in node_from_record() local 23 tmp_node = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in node_from_record() 24 if (!tmp_node) in node_from_record() 39 memcpy(&tmp_node->u.node.addr, addr_buf, addr_bsize); in node_from_record() 40 memcpy(&tmp_node->u.node.mask, mask_buf, mask_bsize); in node_from_record() 43 memcpy(tmp_node->u.node6.addr, addr_buf, addr_bsize); in node_from_record() 44 memcpy(tmp_node->u.node6.mask, mask_buf, mask_bsize); in node_from_record() 59 context_cpy(&tmp_node->context[0], tmp_con); in node_from_record() 64 *node = tmp_node; in node_from_record() 71 if (tmp_node != NULL) { in node_from_record() [all …]
|
D | node_record.c | 577 sepol_node_t *tmp_node = (sepol_node_t *) malloc(sizeof(sepol_node_t)); in hidden_def() local 579 if (!tmp_node) { in hidden_def() 584 tmp_node->addr = NULL; in hidden_def() 585 tmp_node->addr_sz = 0; in hidden_def() 586 tmp_node->mask = NULL; in hidden_def() 587 tmp_node->mask_sz = 0; in hidden_def() 588 tmp_node->proto = SEPOL_PROTO_IP4; in hidden_def() 589 tmp_node->con = NULL; in hidden_def() 590 *node = tmp_node; in hidden_def()
|
/external/opencv/ml/src/ |
D | mlsvm.cpp | 2124 CvFileNode* tmp_node = cvGetFileNodeByName( fs, svm_node, "svm_type" ); in read_params() local 2126 if( !tmp_node ) in read_params() 2129 if( CV_NODE_TYPE(tmp_node->tag) == CV_NODE_INT ) in read_params() 2130 svm_type = cvReadInt( tmp_node, -1 ); in read_params() 2133 const char* svm_type_str = cvReadString( tmp_node, "" ); in read_params() 2149 tmp_node = cvGetFileNodeByName( fs, kernel_node, "type" ); in read_params() 2150 if( !tmp_node ) in read_params() 2153 if( CV_NODE_TYPE(tmp_node->tag) == CV_NODE_INT ) in read_params() 2154 kernel_type = cvReadInt( tmp_node, -1 ); in read_params() 2157 const char* kernel_type_str = cvReadString( tmp_node, "" ); in read_params() [all …]
|
/external/selinux/libsepol/cil/src/ |
D | cil_binary.c | 2053 struct cil_tree_node *tmp_node = NULL; in cil_booleanif_to_policydb() local 2112 tmp_node = true_node; in cil_booleanif_to_policydb() 2114 false_node = tmp_node; in cil_booleanif_to_policydb()
|