Home
last modified time | relevance | path

Searched refs:flow (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/external/fio/
Dflow.c18 struct fio_flow *flow = td->flow; in flow_threshold_exceeded() local
21 if (!flow) in flow_threshold_exceeded()
24 sign = td->o.flow > 0 ? 1 : -1; in flow_threshold_exceeded()
25 if (sign * flow->flow_counter > td->o.flow_watermark) { in flow_threshold_exceeded()
36 flow->flow_counter += td->o.flow; in flow_threshold_exceeded()
42 struct fio_flow *flow = NULL; in flow_get() local
51 flow = flist_entry(n, struct fio_flow, list); in flow_get()
52 if (flow->id == id) in flow_get()
55 flow = NULL; in flow_get()
58 if (!flow) { in flow_get()
[all …]
/external/icu/icu4c/source/samples/layout/
Dpflow.c110 pf_object *flow; in pf_create() local
123 flow = NEW_ARRAY(pf_object, 1); in pf_create()
125 flow->fParagraphLayout = NULL; in pf_create()
126 flow->fParagraphCount = 0; in pf_create()
127 flow->fParagraphMax = PARA_GROW; in pf_create()
128 flow->fParagraphGrow = PARA_GROW; in pf_create()
129 flow->fLineCount = 0; in pf_create()
130 flow->fLinesMax = LINE_GROW; in pf_create()
131 flow->fLinesGrow = LINE_GROW; in pf_create()
132 flow->fLines = NULL; in pf_create()
[all …]
Dpflow.h23 void pf_close(pf_flow *flow);
25 le_int32 pf_getAscent(pf_flow *flow);
26 le_int32 pf_getLineHeight(pf_flow *flow);
27 le_int32 pf_getLineCount(pf_flow *flow);
28 void pf_breakLines(pf_flow *flow, le_int32 width, le_int32 height);
29 void pf_draw(pf_flow *flow, rs_surface *surface, le_int32 firstLine, le_int32 lastLine);
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/
DCompactConstructorTest.java23 CompactConstructor flow = new CompactConstructor(); in testNoCompactData() local
24 assertNull(flow.getCompactData("scalar")); in testNoCompactData()
25 assertNull(flow.getCompactData("123")); in testNoCompactData()
26 assertNull(flow.getCompactData("(name=frame,title=My Frame)")); in testNoCompactData()
27 assertNull(flow.getCompactData("JFrame name=frame,title=My Frame)")); in testNoCompactData()
28 assertNull(flow.getCompactData("JFrame name=frame,title=My Frame")); in testNoCompactData()
29 assertNull(flow.getCompactData("JFrame(name=frame,title=My Frame")); in testNoCompactData()
30 assertNull(flow.getCompactData("JFrame(name=frame,title=My Frame)b")); in testNoCompactData()
31 assertNull(flow.getCompactData("JFrame(name=frame,title=My Frame) ")); in testNoCompactData()
32 assertNull(flow.getCompactData("JFrame(name=)")); in testNoCompactData()
[all …]
/external/opencv3/samples/python2/
Dopt_flow.py16 def draw_flow(img, flow, step=16): argument
19 fx, fy = flow[y,x].T
28 def draw_hsv(flow): argument
29 h, w = flow.shape[:2]
30 fx, fy = flow[:,:,0], flow[:,:,1]
40 def warp_flow(img, flow): argument
41 h, w = flow.shape[:2]
42 flow = -flow
43 flow[:,:,0] += np.arange(w)
44 flow[:,:,1] += np.arange(h)[:,np.newaxis]
[all …]
/external/opencv3/modules/video/test/
Dtest_tvl1optflow.cpp59 void writeOpticalFlowToFile(const Mat_<Point2f>& flow, const string& fileName) in writeOpticalFlowToFile() argument
66 file.write((const char*) &flow.cols, sizeof(int)); in writeOpticalFlowToFile()
67 file.write((const char*) &flow.rows, sizeof(int)); in writeOpticalFlowToFile()
69 for (int i = 0; i < flow.rows; ++i) in writeOpticalFlowToFile()
71 for (int j = 0; j < flow.cols; ++j) in writeOpticalFlowToFile()
73 const Point2f u = flow(i, j); in writeOpticalFlowToFile()
84 void readOpticalFlowFromFile(Mat_<Point2f>& flow, const string& fileName) in readOpticalFlowFromFile() argument
97 flow.create(size); in readOpticalFlowFromFile()
99 for (int i = 0; i < flow.rows; ++i) in readOpticalFlowFromFile()
101 for (int j = 0; j < flow.cols; ++j) in readOpticalFlowFromFile()
[all …]
/external/opencv3/samples/cpp/
Dtvl1_optical_flow.cpp87 static void drawOpticalFlow(const Mat_<Point2f>& flow, Mat& dst, float maxmotion = -1) in drawOpticalFlow() argument
89 dst.create(flow.size(), CV_8UC3); in drawOpticalFlow()
98 for (int y = 0; y < flow.rows; ++y) in drawOpticalFlow()
100 for (int x = 0; x < flow.cols; ++x) in drawOpticalFlow()
102 Point2f u = flow(y, x); in drawOpticalFlow()
112 for (int y = 0; y < flow.rows; ++y) in drawOpticalFlow()
114 for (int x = 0; x < flow.cols; ++x) in drawOpticalFlow()
116 Point2f u = flow(y, x); in drawOpticalFlow()
126 static void writeOpticalFlowToFile(const Mat_<Point2f>& flow, const string& fileName) in writeOpticalFlowToFile() argument
134 file.write((const char*) &flow.cols, sizeof(int)); in writeOpticalFlowToFile()
[all …]
Dfback.cpp20 static void drawOptFlowMap(const Mat& flow, Mat& cflowmap, int step, in drawOptFlowMap() argument
26 const Point2f& fxy = flow.at<Point2f>(y, x); in drawOptFlowMap()
40 Mat flow, cflow, frame; in main() local
53 uflow.copyTo(flow); in main()
54 drawOptFlowMap(flow, cflow, 16, 1.5, Scalar(0, 255, 0)); in main()
/external/iproute2/examples/bpf/
Dbpf_prog.c259 __u8 *ip_proto, struct flow_keys *flow) in flow_parse_ipv4() argument
269 flow->src = load_word(skb, nh_off + offsetof(struct iphdr, saddr)); in flow_parse_ipv4()
270 flow->dst = load_word(skb, nh_off + offsetof(struct iphdr, daddr)); in flow_parse_ipv4()
293 __u8 *ip_proto, struct flow_keys *flow) in flow_parse_ipv6() argument
297 flow->src = flow_addr_hash_ipv6(skb, nh_off + offsetof(struct ipv6hdr, saddr)); in flow_parse_ipv6()
298 flow->dst = flow_addr_hash_ipv6(skb, nh_off + offsetof(struct ipv6hdr, daddr)); in flow_parse_ipv6()
304 struct flow_keys *flow) in flow_dissector() argument
323 nh_off = flow_parse_ipv4(skb, nh_off, &ip_proto, flow); in flow_dissector()
325 nh_off = flow_parse_ipv6(skb, nh_off, &ip_proto, flow); in flow_dissector()
359 nh_off = flow_parse_ipv4(skb, nh_off, &ip_proto, flow); in flow_dissector()
[all …]
/external/opencv3/modules/cudaoptflow/perf/
Dperf_optflow.cpp74 cv::cuda::GpuMat flow; variable
80 TEST_CYCLE() d_alg->calc(d_frame0, d_frame1, flow);
83 cv::cuda::split(flow, flows);
198 cv::cuda::GpuMat flow; variable
205 TEST_CYCLE() d_pyrLK->calc(d_frame0, d_frame1, flow);
208 cv::cuda::split(flow, flows);
248 cv::cuda::GpuMat flow; variable
254 TEST_CYCLE() d_farneback->calc(d_frame0, d_frame1, flow);
257 cv::cuda::split(flow, flows);
267 cv::Mat flow; variable
[all …]
/external/opencv/cvaux/src/
Denmin.cpp90 int flow;
238 ( ( Edge* )newEdgePtr ) -> flow = 0;
253 ( ( Edge* )tempEdgePtr ) -> flow = 0;
274 ( ( Edge* )tempEdgePtr ) -> flow = 0;
281 ( ( Edge* )newEdgePtr ) -> flow = 0;
293 ( ( Edge* )newEdgePtr ) -> flow = 0;
316 ( ( Edge* )newEdgePtr ) -> flow = 0;
417 && ( ( ( Edge* )tempGraphEdge ) -> flow <
430 ( ( Edge* )tempGraphEdge2 ) -> flow = 0;
434 ( ( Edge* )tempGraphEdge ) -> flow;
[all …]
/external/iproute2/doc/
Dapi-ip6-flowlabels.tex22 Every IPv6 packet carries 28 bits of flow information. RFC2460 splits
24 prefer this term) and 20 bits of flow label. Currently there exist
25 no well-defined API to manage IPv6 flow information. In this document
42 \item To assign flow labels to packets sent by user.
44 \item To get flow labels of received packets. I do not know
46 want to use flow labels to distinguish sub-flows.
48 \item To allocate flow labels in the way, compliant to RFC2460. Namely:
56 Flows with coinciding source address and flow label must have identical
65 with flow labels.
75 flow label for another flow within the maximal lifetime has expired,
[all …]
/external/boringssl/src/ssl/test/runner/
Drecordingconn.go23 type flow struct { struct
35 flows []flow
47 r.flows = append(r.flows, flow{flowType, message, buf})
77 for i, flow := range r.flows {
78 switch flow.flowType {
84 fmt.Fprintf(w, ">>> Flow %d %q\n", i+1, flow.message)
87 if flow.data != nil {
89 dumper.Write(flow.data)
/external/tcpdump/
Dprint-ip6.c85 u_int flow; in ip6_print() local
110 flow = EXTRACT_32BITS(&ip6->ip6_flow); in ip6_print()
114 if (flow & 0x0f000000) in ip6_print()
115 ND_PRINT((ndo, "pri 0x%02x, ", (flow & 0x0f000000) >> 24)); in ip6_print()
116 if (flow & 0x00ffffff) in ip6_print()
117 ND_PRINT((ndo, "flowlabel 0x%06x, ", flow & 0x00ffffff)); in ip6_print()
120 if (flow & 0x0ff00000) in ip6_print()
121 ND_PRINT((ndo, "class 0x%02x, ", (flow & 0x0ff00000) >> 20)); in ip6_print()
122 if (flow & 0x000fffff) in ip6_print()
123 ND_PRINT((ndo, "flowlabel 0x%05x, ", flow & 0x000fffff)); in ip6_print()
/external/opencv3/doc/py_tutorials/py_video/py_lucas_kanade/
Dpy_lucas_kanade.markdown8 - We will understand the concepts of optical flow and its estimation using Lucas-Kanade
16 Optical flow is the pattern of apparent motion of image objects between two consecutive frames
25 flow has many applications in areas like :
31 Optical flow works on several assumptions:
79 flow vectors of those points. But again there are some problems. Until now, we were dealing with
82 Lucas-Kanade there, we get optical flow along with the scale.
90 then we iteratively track those points using Lucas-Kanade optical flow. For the function
107 # Parameters for lucas kanade optical flow
127 # calculate optical flow
155 in image, there is a chance that optical flow finds the next point which may look close to it. So
[all …]
/external/opencv3/modules/shape/src/
DemdL1.cpp189 m_EdgesRight[r][c].flow = 0; in fillBaseTrees()
196 m_EdgesUp[r][c].flow = 0; in fillBaseTrees()
223 m_3dEdgesUp[r][c][z].flow = 0; in fillBaseTrees()
230 m_3dEdgesRight[r][c][z].flow = 0; in fillBaseTrees()
237 m_3dEdgesDeep[r][c][z].flow = 0; in fillBaseTrees()
311 pBV->flow = fabs(dFlow); in greedySolution2()
323 pBV->flow = fabs(dFlow); in greedySolution2()
425 pBV->flow = fabs(dFlow); in greedySolution3()
595 float minFlow = m_pLeave->flow; in findNewSolution()
600 if(pE->iDir) pE->flow += minFlow; // outward in findNewSolution()
[all …]
/external/opencv3/modules/cudaoptflow/test/
Dtest_optflow.cpp78 cv::cuda::GpuMat flow; in CUDA_TEST_P() local
79 brox->calc(loadMat(frame0), loadMat(frame1), flow); in CUDA_TEST_P()
82 cv::cuda::split(flow, flows); in CUDA_TEST_P()
146 cv::cuda::GpuMat flow; in CUDA_TEST_P() local
147 brox->calc(loadMat(frame0), loadMat(frame1), flow); in CUDA_TEST_P()
150 cv::cuda::split(flow, flows); in CUDA_TEST_P()
311 cv::Mat flow; in CUDA_TEST_P() local
314 d_flow.download(flow); in CUDA_TEST_P()
321 frame0, frame1, flow, farn->getPyrScale(), farn->getNumLevels(), farn->getWinSize(), in CUDA_TEST_P()
324 EXPECT_MAT_SIMILAR(flow, d_flow, 0.1); in CUDA_TEST_P()
[all …]
/external/opencv3/modules/video/test/ocl/
Dtest_optflow_tvl1flow.cpp82 cv::Mat flow; cv::UMat uflow; in OCL_TEST_P() local
95 uflow.copyTo(flow); in OCL_TEST_P()
101 OCL_OFF(alg->calc(frame0, frame1, flow)); in OCL_TEST_P()
104 EXPECT_MAT_SIMILAR(flow, uflow, 1e-2); in OCL_TEST_P()
Dtest_optflow_farneback.cpp94 cv::Mat flow; cv::UMat uflow; in OCL_TEST_P() local
98 uflow.copyTo(flow); in OCL_TEST_P()
101 …OCL_OFF(cv::calcOpticalFlowFarneback(frame0, frame1, flow, pyrScale, numLevels, winSize, numIters,… in OCL_TEST_P()
104 EXPECT_MAT_SIMILAR(flow, uflow, 0.1); in OCL_TEST_P()
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dold_run.py50 def run(flow, storage, http=None): argument
119 flow.redirect_uri = oauth_callback
120 authorize_url = flow.step1_get_authorize_url()
153 credential = flow.step2_exchange(code, http=http)
Dappengine.py221 flow = super(FlowProperty,
223 return db.Blob(pickle.dumps(flow))
605 def set_flow(self, flow): argument
606 self._tls.flow = flow
618 flow = property(get_flow, set_flow) variable in OAuth2Decorator
674 self.flow = None
723 self.flow.params['state'] = _build_state_value(request_handler, user)
750 if self.flow is None:
753 self.flow = OAuth2WebServerFlow(self._client_id, self._client_secret,
789 self.flow.params['state'] = _build_state_value(request_handler, user)
[all …]
Dtools.py111 def run_flow(flow, storage, flags, http=None): argument
190 flow.redirect_uri = oauth_callback
191 authorize_url = flow.step1_get_authorize_url()
225 credential = flow.step2_exchange(code, http=http)
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/samples/
Doauth2_for_devices.py14 flow = OAuth2WebServerFlow(CLIENT_ID, CLIENT_SECRET, " ".join(SCOPES)) variable
18 flow_info = flow.step1_get_device_and_user_codes()
26 credentials = flow.step2_exchange(device_flow_info=flow_info)
/external/opencv3/modules/video/perf/
Dperf_tvl1optflow.cpp23 Mat flow; variable
27 TEST_CYCLE_N(10) tvl1->calc(frame1, frame2, flow);
29 SANITY_CHECK(flow, 0.8);
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_appengine.py248 flow = FlowProperty() variable in TestFlowModel
263 flow=flow_from_clientsecrets(datafile('client_secrets.json'), 'foo',
270 self.assertEqual('foo_client_id', retrieved.flow.client_id)
274 flow = FlowNDBProperty() variable in TestFlowNDBModel
290 flow=flow_from_clientsecrets(datafile('client_secrets.json'), 'foo',
297 self.assertEqual('foo_client_id', retrieved.flow.client_id)
549 self.assertEqual(self.decorator.flow, None)
578 self.assertEqual(self.decorator.flow, self.decorator._tls.flow)
718 decorator.flow.redirect_uri)
719 self.assertEqual('offline', decorator.flow.params['access_type'])
[all …]

12345678910>>...14