Home
last modified time | relevance | path

Searched refs:verbs (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/tools/lua/
Dbbh_filter.lua24 verbs = {},
67 currentInfo.verbs[t.verb] = (currentInfo.verbs[t.verb] or 0) + 1
102 function calculate_weight(verbs)
104 for name, count in pairs(verbs) do
124 for verb,count in pairs(globalInfo[t.fileName].verbs) do
138 function(a, b) return calculate_weight(a.verbs) > calculate_weight(b.verbs); end,
/external/skia/experimental/SimpleCocoaApp/
DSimpleApp.mm162 int verbs = path.countVerbs();
165 if (rectVerbsMin > verbs) {
166 rectVerbsMin = verbs;
168 if (rectVerbsMax < verbs) {
169 rectVerbsMax = verbs;
180 if (verbsMin > verbs) {
181 verbsMin = verbs;
183 if (verbsMax < verbs) {
184 verbsMax = verbs;
273 SkDebugf("points min=%d max=%d verbs min=%d max=%d\n", canvas.pointsMin, canvas.pointsMax,
[all …]
/external/skia/src/core/
DSkPathPriv.h63 auto verbs = path.fPathRef->verbs(); in IsClosedSingleContour() local
65 switch (verbs[~i]) { // verbs are stored backwards; we use [~i] to get the i'th verb in IsClosedSingleContour()
DSkPath.cpp655 copy_verbs_reverse(dst, fPathRef->verbs(), count); in getVerbs()
1174 const uint8_t* verbs = const_cast<const SkPathRef*>(fPathRef.get())->verbsMemBegin(); in hasOnlyMoveTos() local
1176 if (*verbs == kLine_Verb || in hasOnlyMoveTos()
1177 *verbs == kQuad_Verb || in hasOnlyMoveTos()
1178 *verbs == kConic_Verb || in hasOnlyMoveTos()
1179 *verbs == kCubic_Verb) { in hasOnlyMoveTos()
1182 ++verbs; in hasOnlyMoveTos()
1552 const uint8_t* verbs = path.fPathRef->verbs(); in reversePathTo() local
1556 SkASSERT(verbs[~0] == kMove_Verb); in reversePathTo()
1558 unsigned v = verbs[~i]; in reversePathTo()
[all …]
DSkPathRef.cpp548 fVerbs = path.verbs(); in setPathRef()
/external/skia/tools/
Dcreate_test_font.cpp131 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, in output_path_data() argument
144 *verbs->append() = verb; in output_path_data()
165 *verbs->append() = SkPath::kDone_Verb; in output_path_data()
225 SkTDArray<SkPath::Verb> verbs; in output_font() local
229 output_path_data(paint, emSize, &ptsOut, &verbs, &charCodes, &widths); in output_font()
239 int verbCount = verbs.count(); in output_font()
242 SkPath::Verb verb = verbs[index]; in output_font()
/external/skia/gm/
Daarectmodes.cpp30 char verbs[] = { in test4() local
38 for (size_t i = 0; i < sizeof(verbs); ++i) { in test4()
39 switch ((SkPath::Verb) verbs[i]) { in test4()
/external/skia/src/pathops/
DSkOpBuilder.cpp17 uint8_t* verbs = (uint8_t*) allocator.alloc(sizeof(uint8_t) * verbCount, in one_contour() local
19 (void) path.getVerbs(verbs, verbCount); in one_contour()
21 if (verbs[index] == SkPath::kMove_Verb) { in one_contour()
DSkPathOpsDebug.cpp327 const char* verbs[] = { "", "line", "quad", "conic", "cubic" }; in dump_curve() local
328 SkDebugf("%s: {{", verbs[verb]); in dump_curve()
/external/skia/include/core/
DSkPathRef.h230 const uint8_t* verbs() const { SkDEBUGCODE(this->validate();) return fVerbs; } in verbs() function
235 const uint8_t* verbsMemBegin() const { return this->verbs() - fVerbCnt; } in verbsMemBegin()
255 return this->verbs()[~index]; in atVerb()
DSkPath.h306 int getVerbs(uint8_t verbs[], int max) const;
/external/skia/tools/json/
DSkJSONCanvas.cpp84 Json::Value verbs(Json::arrayValue); in makePath() local
93 verbs.append(line); in makePath()
102 verbs.append(quad); in makePath()
112 verbs.append(cubic); in makePath()
122 verbs.append(conic); in makePath()
128 verbs.append(move); in makePath()
132 verbs.append(Json::Value(SKJSONCANVAS_VERB_CLOSE)); in makePath()
138 result[SKJSONCANVAS_ATTRIBUTE_VERBS] = verbs; in makePath()
DSkJSONRenderer.cpp566 Json::Value verbs = path[SKJSONCANVAS_ATTRIBUTE_VERBS]; in getPath() local
567 for (Json::ArrayIndex i = 0; i < verbs.size(); i++) { in getPath()
568 Json::Value verb = verbs[i]; in getPath()
/external/skia/samplecode/
DSamplePathFuzz.cpp604 SkTDArray<uint8_t> verbs; in contains_only_moveTo() local
605 verbs.setCount(verbCount); in contains_only_moveTo()
606 SkDEBUGCODE(int getVerbResult = ) path.getVerbs(verbs.begin(), verbCount); in contains_only_moveTo()
609 if (verbs[index] != SkPath::kMove_Verb) { in contains_only_moveTo()
/external/fio/engines/
Drdma.c317 rd->pd = ibv_alloc_pd(rd->child_cm_id->verbs); in fio_rdmaio_setup_qp()
319 rd->pd = ibv_alloc_pd(rd->cm_id->verbs); in fio_rdmaio_setup_qp()
327 rd->channel = ibv_create_comp_channel(rd->child_cm_id->verbs); in fio_rdmaio_setup_qp()
329 rd->channel = ibv_create_comp_channel(rd->cm_id->verbs); in fio_rdmaio_setup_qp()
339 rd->cq = ibv_create_cq(rd->child_cm_id->verbs, in fio_rdmaio_setup_qp()
342 rd->cq = ibv_create_cq(rd->cm_id->verbs, in fio_rdmaio_setup_qp()
/external/skia/tests/
DPathTest.cpp2384 uint8_t verbs[32]; in test_zero_length_paths() local
2446 …(reporter, gZeroLengthTests[i].numResultVerbs == (size_t)p.getVerbs(verbs, SK_ARRAY_COUNT(verbs))); in test_zero_length_paths()
2448 REPORTER_ASSERT(reporter, gZeroLengthTests[i].resultVerbs[j] == verbs[j]); in test_zero_length_paths()
3451 uint8_t verbs[4]; in test_addPathMode() local
3452 int verbcount = p.getVerbs(verbs, 4); in test_addPathMode()
3454 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb); in test_addPathMode()
3455 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb); in test_addPathMode()
3456 REPORTER_ASSERT(reporter, verbs[2] == (extend ? SkPath::kLine_Verb : SkPath::kMove_Verb)); in test_addPathMode()
3457 REPORTER_ASSERT(reporter, verbs[3] == SkPath::kLine_Verb); in test_addPathMode()
3469 uint8_t verbs[7]; in test_extendClosedPath() local
[all …]
/external/skia/src/fonts/
DSkTestScalerContext.cpp80 void SkTestFont::init(const SkScalar* pts, const unsigned char* verbs) { in init() argument
85 while ((verb = (SkPath::Verb) *verbs++) != SkPath::kDone_Verb) { in init()
DSkTestScalerContext.h38 void init(const SkScalar* pts, const unsigned char* verbs);
/external/skia/tools/debugger/
DSkDrawCommand.cpp514 Json::Value verbs(Json::arrayValue); in make_json_path() local
523 verbs.append(line); in make_json_path()
532 verbs.append(quad); in make_json_path()
542 verbs.append(cubic); in make_json_path()
552 verbs.append(conic); in make_json_path()
558 verbs.append(move); in make_json_path()
562 verbs.append(Json::Value(SKDEBUGCANVAS_VERB_CLOSE)); in make_json_path()
568 result[SKDEBUGCANVAS_ATTRIBUTE_VERBS] = verbs; in make_json_path()
1483 Json::Value verbs = path[SKDEBUGCANVAS_ATTRIBUTE_VERBS]; in extract_json_path() local
1484 for (Json::ArrayIndex i = 0; i < verbs.size(); i++) { in extract_json_path()
[all …]
/external/pcre/dist/
Dpcre_compile.c254 static const verbitem verbs[] = { variable
266 static const int verbcount = sizeof(verbs)/sizeof(verbitem);
6588 if (namelen == verbs[i].len && in compile_branch()
6596 if (verbs[i].op == OP_ACCEPT) in compile_branch()
6621 if (verbs[i].op < 0) /* Argument is mandatory */ in compile_branch()
6626 setverb = *code++ = verbs[i].op; in compile_branch()
6631 if (verbs[i].op_arg < 0) /* Argument is forbidden */ in compile_branch()
6636 setverb = *code++ = verbs[i].op_arg; in compile_branch()
6669 vn += verbs[i].len + 1; in compile_branch()
DNEWS91 . The behaviour of the backtracking verbs has been rationalized and
94 . JIT now supports callouts and all of the backtracking verbs.
155 (*COMMIT) verbs.
346 verbs" such as (*PRUNE).
DHACKING200 OP_COMMIT ) verbs". If OP_ACCEPT is inside capturing
210 Backtracking control verbs with optional data
DChangeLog114 control verbs. This issue was found by Karl Skomski with a custom LLVM
882 31. The way PCRE handles backtracking verbs has been changed in two ways.
889 (2) Previously, backtracking verbs were confined within assertions. This is
897 32. Backtracking control verbs are now handled in the same way in JIT and
1758 to be part of the NAME in (*MARK:NAME) and other backtracking verbs. PCRE
2137 of the verbs SKIP, PRUNE, or COMMIT, did not work correctly. When the
2957 After changing table of "verbs" 36
/external/pcre/dist/doc/
Dpcre.txt1526 8. Except for (*FAIL), the backtracking control verbs such as (*PRUNE)
3223 tracking control verbs such as (*MARK:NAME), and the execution ends up
3229 field is set to NULL. For details of the backtracking control verbs,
4617 10. If any of the backtracking control verbs are used in a subpattern
4632 12. Most backtracking verbs in assertions have their normal actions.
6366 trol verbs (*PRUNE) and (*SKIP) also disable this optimization.
7280 The new verbs make use of what was previously invalid syntax: an open-
7288 the colon were not there. Any number of these verbs may occur in a
7291 Since these verbs are specifically related to backtracking, most of
7295 negative assertion, the backtracking control verbs cause an error if
[all …]
/external/opencv3/doc/tutorials/introduction/clojure_dev_intro/
Dclojure_dev_intro.markdown484 irritate your preference for verbs. Even if the CLJ interop syntax is very handy and complete, there

12