Home
last modified time | relevance | path

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

/external/iproute2/ip/
Dxfrm_policy.c720 struct nlmsghdr *new_n; in xfrm_policy_keep() local
756 new_n = (struct nlmsghdr *)(xb->buf + xb->offset); in xfrm_policy_keep()
757 new_n->nlmsg_len = NLMSG_LENGTH(sizeof(*xpid)); in xfrm_policy_keep()
758 new_n->nlmsg_flags = NLM_F_REQUEST; in xfrm_policy_keep()
759 new_n->nlmsg_type = XFRM_MSG_DELPOLICY; in xfrm_policy_keep()
760 new_n->nlmsg_seq = ++rth->seq; in xfrm_policy_keep()
762 xpid = NLMSG_DATA(new_n); in xfrm_policy_keep()
767 xb->offset += new_n->nlmsg_len; in xfrm_policy_keep()
Dxfrm_state.c912 struct nlmsghdr *new_n; in xfrm_state_keep() local
935 new_n = (struct nlmsghdr *)(xb->buf + xb->offset); in xfrm_state_keep()
936 new_n->nlmsg_len = NLMSG_LENGTH(sizeof(*xsid)); in xfrm_state_keep()
937 new_n->nlmsg_flags = NLM_F_REQUEST; in xfrm_state_keep()
938 new_n->nlmsg_type = XFRM_MSG_DELSA; in xfrm_state_keep()
939 new_n->nlmsg_seq = ++rth->seq; in xfrm_state_keep()
941 xsid = NLMSG_DATA(new_n); in xfrm_state_keep()
947 addattr_l(new_n, xb->size, XFRMA_SRCADDR, &xsinfo->saddr, in xfrm_state_keep()
950 xb->offset += new_n->nlmsg_len; in xfrm_state_keep()
/external/stlport/test/unit/
Dstack_allocator.h113 _Tp* _M_allocate(size_type n, size_type &new_n) { in _M_allocate()
114 new_n = n; in _M_allocate()
/external/opencv/ml/src/
Dml_inner_functions.cpp1752 int old_n, new_n, out_n; in cvCombineResponseMaps() local
1771 new_n = new_response_map->cols; in cvCombineResponseMaps()
1772 CV_CALL (new_data = (int**)cvAlloc (new_n * sizeof (new_data[0]))); in cvCombineResponseMaps()
1773 for (i = 0; i < new_n; i++) in cvCombineResponseMaps()
1775 qsort (new_data, new_n, sizeof(int*), icvCmpIntegersPtr); in cvCombineResponseMaps()
1785 for (i = 0, j = 0, out_n = 0; i < old_n && j < new_n; out_n++) in cvCombineResponseMaps()
1797 out_n += old_n - i + new_n - j; in cvCombineResponseMaps()
1805 for (i = 0, j = 0; i < old_n && j < new_n; ) in cvCombineResponseMaps()
1822 for (; j < new_n; j++) in cvCombineResponseMaps()
/external/ppp/pppd/
Dmain.c1945 int new_n = i + 17; local
1947 new_n * sizeof(char *));
1951 s_env_nalloc = new_n;
/external/chromium/testing/gmock/test/
Dgmock-matchers_test.cc3018 void set_n(int new_n) { n_ = new_n; } in set_n() argument