Home
last modified time | relevance | path

Searched refs:sects (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/modules/canvaskit/tests/
Dfont.spec.js330 let sects = font.getGlyphIntercepts(ids, [0, 0], -60, -40); variable
331 expect(sects.length).toEqual(2, "expected one pair of intercepts");
332 expect(sects[0]).toBeCloseTo(25.39063, 5);
333 expect(sects[1]).toBeCloseTo(34.52148, 5);
336 sects = font.getGlyphIntercepts(ids, [0, 0], 20, 30);
337 expect(sects.length).toEqual(0, "expected no intercepts");
348 const sects = font.getGlyphIntercepts(Array.of(glyphID), Float32Array.of(0, 0), -60, -40);
349 expect(sects.length).toEqual(2);
350 expect(sects[0]).toBeLessThan(sects[1]);
352 expect(sects[0]).toBeCloseTo(25.39063, 5);
[all …]
/third_party/e2fsprogs/lib/ext2fs/
Ddosio.c97 chs->cyl = abss / (part->sects * part->heads); in lba2chs()
98 chs->head = (abss / part->sects) % part->heads; in lba2chs()
99 chs->sector = (abss % part->sects) + 1; in lba2chs()
296 part->sects = sec[0] & 0x3F; in dos_open()
332 part->start = fsec + fhead * part->sects + fcyl * in dos_open()
333 (part->heads * part->sects) - 1; in dos_open()
Ddosio.h51 unsigned short sects; member
/third_party/skia/modules/skparagraph/gm/
Dsimple_gm.cpp127 auto sects = info->font.getIntercepts(info->glyphs, info->count, pos.data(), in drawFromVisitor() local
131 for (size_t i = 0; i < sects.size(); i += 2) { in drawFromVisitor()
132 SkScalar x1 = sects[i] - GAP; in drawFromVisitor()
136 x0 = sects[i+1] + GAP; in drawFromVisitor()
/third_party/libwebsockets/lib/core-net/
Dnetwork.c661 int sects = 0, ipv6 = !!strchr(ads, ':'), skip_point = -1, dm = 0; in lws_parse_numeric_address() local
718 sects++; in lws_parse_numeric_address()
742 sects = 0; in lws_parse_numeric_address()
752 if (!ipv6 && sects == 4) in lws_parse_numeric_address()
754 if (ipv6 && sects == 8) in lws_parse_numeric_address()
/third_party/skia/modules/canvaskit/npm_build/
Dtextapi_utils.js514 const sects = f.getGlyphIntercepts(gly, pos, Y+2, Y+4);
517 for (let i = 0; i < sects.length; i += 2) {
518 const end = sects[i] - gap;
522 x = sects[i+1] + gap;
/third_party/skia/src/pathops/
DSkPathOpsTSect.cpp1020 int sects = this->linesIntersect(span, opp, oppSpan, &i); in intersects() local
1021 if (sects == 2) { in intersects()
1024 if (!sects) { in intersects()
1495 int oppSects, sects = this->intersects(span, opp, test, &oppSects); in trim() local
1496 if (sects >= 1) { in trim()
1501 if (sects == 2) { in trim()
/third_party/flutter/skia/src/pathops/
DSkPathOpsTSect.cpp1019 int sects = this->linesIntersect(span, opp, oppSpan, &i); in intersects() local
1020 if (sects == 2) { in intersects()
1023 if (!sects) { in intersects()
1494 int oppSects, sects = this->intersects(span, opp, test, &oppSects); in trim() local
1495 if (sects >= 1) { in trim()
1500 if (sects == 2) { in trim()
/third_party/skia/modules/canvaskit/
Dcanvaskit_bindings.cpp1283 auto sects = self.getIntercepts(glyphs.data(), SkToInt(glyphs.size()), in EMSCRIPTEN_BINDINGS() local
1285 return MakeTypedArray(sects.size(), (const float*)sects.data()); in EMSCRIPTEN_BINDINGS()
/third_party/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts343 const sects = font.getGlyphIntercepts(ids, [10, 20], -60, -40); constant