Home
last modified time | relevance | path

Searched full:linelength (Results 1 – 25 of 57) sorted by relevance

123

/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dclosest_point.inl14 T LineLength = distance(a, b); local
16 tvec3<T, P> LineDirection = (b - a) / LineLength;
22 if(Distance >= LineLength) return b;
34 T LineLength = distance(a, b); local
36 tvec2<T, P> LineDirection = (b - a) / LineLength;
42 if(Distance >= LineLength) return b;
/third_party/ffmpeg/libavcodec/
Dcpia.c60 uint16_t linelength; in cpia_decode_frame() local
110 i++, src += linelength, src_size -= linelength in cpia_decode_frame()
113 linelength = AV_RL16(src); in cpia_decode_frame()
117 if (src_size < linelength) { in cpia_decode_frame()
122 if (src[linelength - 1] != EOL) { in cpia_decode_frame()
124 …ine length %d or line not terminated properly (found 0x%02x)!\n", linelength, src[linelength - 1]); in cpia_decode_frame()
142 for (j = 0; j < linelength - 1; j++) { in cpia_decode_frame()
162 for (j = 0; j < linelength - 4; ) { in cpia_decode_frame()
/third_party/icu/icu4c/source/test/intltest/
Ddatadrivennumberformattestsuite.cpp189 int32_t lineLength; in readLine() local
190 const UChar *line = ucbuf_readline(f, &lineLength, &status); in readLine()
200 while(lineLength > 0 && isCROrLF(line[lineLength - 1])) { --lineLength; } in readLine()
201 fFileLine.setTo(false, line, lineLength); in readLine()
202 while(lineLength > 0 && isSpace(line[lineLength - 1])) { --lineLength; } in readLine()
203 if (lineLength == 0) { in readLine()
Dnumbertest_permutation.cpp172 int32_t lineLength; in testPermutations() local
174 const UChar* lineBuf = ucbuf_readline(f.getAlias(), &lineLength, status); in testPermutations()
179 UnicodeString expectedLine(lineBuf, lineLength - 1); in testPermutations()
185 if (!quick && ucbuf_readline(f.getAlias(), &lineLength, status) != nullptr) { in testPermutations()
Dcollationtest.cpp974 int32_t lineLength; in readNonEmptyLine() local
975 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readNonEmptyLine()
982 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readNonEmptyLine()
984 lineLength = (int32_t)(comment - line); in readNonEmptyLine()
986 while(lineLength > 0 && isCROrLF(line[lineLength - 1])) { --lineLength; } in readNonEmptyLine()
988 while(lineLength > 0 && isSpace(line[lineLength - 1])) { --lineLength; } in readNonEmptyLine()
989 if(lineLength != 0) { in readNonEmptyLine()
990 fileLine.setTo(false, line, lineLength); in readNonEmptyLine()
Dlocalematchertest.cpp653 int32_t lineLength; in testDataDriven() local
658 while ((p = ucbuf_readline(f.getAlias(), &lineLength, errorCode)) != nullptr && in testDataDriven()
660 line.setTo(false, p, lineLength); in testDataDriven()
/third_party/icu/icu4c/source/tools/gendict/
Dgendict.cpp224 int32_t lineLength; in readLine() local
225 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readLine()
228 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readLine()
230 lineLength = (int32_t)(comment - line); in readLine()
232 …while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1]… in readLine()
234 while(lineLength > 0 && u_isspace(line[lineLength - 1])) { --lineLength; } in readLine()
235 fileLine.setTo(false, line, lineLength); in readLine()
/third_party/skia/third_party/externals/icu/source/tools/gendict/
Dgendict.cpp224 int32_t lineLength; in readLine() local
225 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readLine()
228 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readLine()
230 lineLength = (int32_t)(comment - line); in readLine()
232 …while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1]… in readLine()
234 while(lineLength > 0 && u_isspace(line[lineLength - 1])) { --lineLength; } in readLine()
235 fileLine.setTo(FALSE, line, lineLength); in readLine()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/testutils/
DDebuggingOutputStream.java27 private int lineLength; field in DebuggingOutputStream
51 if (++lineLength == LINE_LENGTH) { in write()
53 lineLength = 0; in write()
/third_party/ltp/testcases/kernel/syscalls/mount/
Dmount06.c43 #define LINELENGTH 256 macro
100 char line[LINELENGTH]; in ismount()
106 while (fgets(line, LINELENGTH, file) != NULL) { in ismount()
/third_party/python/Lib/idlelib/idle_test/
Dmock_tk.py157 linelength = len(self.data[line]) -1 # position before/at \n
159 return line, linelength
162 return line, linelength - int(m.group(1))
168 elif char > linelength:
169 char = linelength
Dtest_format.py65 linelength = int(text.index("%d.end" % line).split('.')[1])
66 for col in (0, linelength//2, linelength):
/third_party/backends/doc/plustek/
DPlustek-USB.txt404 Tint = PixelPeriod X LineLength
406 MCLK_DIV x 8 x CM X LineLength
415 HostIORate x 8 x LineLength HDPI_ADJ x PP
419 BytesPerSecond x 8 x LineLength HDPI_ADJ x PP CM
423 8 x LineLength CM
427 1000 x 8 x LineLength CM
/third_party/popt/src/
Dpopthelp.c200 * @param lineLength display positions remaining
206 singleOptionDefaultValue(size_t lineLength, in singleOptionDefaultValue() argument
212 char * le = malloc(4*lineLength + 1); in singleOptionDefaultValue()
255 size_t limit = 4*lineLength - (le - l) - sizeof("\"\")"); in singleOptionDefaultValue()
290 size_t lineLength = columns->max - indentLength; in singleOptionHelp() local
350 defs = singleOptionDefaultValue(lineLength, opt, translation_domain); in singleOptionHelp()
443 while (helpLength > lineLength) { in singleOptionHelp()
447 ch = help + lineLength - 1; in singleOptionHelp()
/third_party/backends/backend/
Dhp5400_internal.c504 p->linelength = iBytesPerLine + 3; /* NUL at end of each row */ in CircBufferInit()
511 p->goff += p->linelength * iMisAlignment; in CircBufferInit()
512 p->boff += p->linelength * iMisAlignment * 2; in CircBufferInit()
517 p->roff -= p->linelength * iMisAlignment * 2; in CircBufferInit()
518 p->goff -= p->linelength * iMisAlignment; in CircBufferInit()
531 p->linelength, p->linelength, p->pixels, p->pixels, p->roff, p->roff, in CircBufferInit()
555 if (maxoff < p->linelength) in CircBufferGetLine()
556 maxoff = p->linelength; in CircBufferGetLine()
652 p->bufstart += p->linelength; in CircBufferGetLine()
Dhp5400.h85 int linelength, pixels; /* Bytes per line from scanner */ member
/third_party/skia/samplecode/
DSampleChineseFling.cpp216 void createRandomLine(SkUnichar glyphs[45], int lineLength) { in createRandomLine() argument
217 for (auto i = 0; i < lineLength; ++i) { in createRandomLine()
/third_party/vixl/
DCPPLINT.cfg38 linelength=80
/third_party/cJSON/tests/unity/test/
D.rubocop.yml49 Metrics/LineLength:
/third_party/unity/test/
D.rubocop.yml45 Layout/LineLength:
/third_party/pcre2/pcre2/src/
Dpcre2grep.c2662 PCRE2_SIZE length, linelength; in pcre2grep() local
2686 linelength = t - ptr - endlinelength; in pcre2grep()
2687 length = multiline? (PCRE2_SIZE)(endptr - ptr) : linelength; in pcre2grep()
2903 while (startoffset > linelength) in pcre2grep()
2905 ptr += linelength + endlinelength; in pcre2grep()
2906 filepos += (int)(linelength + endlinelength); in pcre2grep()
2908 startoffset -= (int)(linelength + endlinelength); in pcre2grep()
2910 linelength = t - ptr - endlinelength; in pcre2grep()
3059 while (startoffset > linelength + endlinelength) in pcre2grep()
3061 ptr += linelength + endlinelength; in pcre2grep()
[all …]
/third_party/icu/tools/unicode/c/genuca/
Dgenuca.cpp686 int32_t lineLength = (int32_t)uprv_strlen(line); in readAnElement() local
687 while(lineLength>0 && (line[lineLength-1] == '\r' || line[lineLength-1] == '\n')) { in readAnElement()
688 line[--lineLength] = 0; in readAnElement()
691 if(lineLength >= 3 && line[0] == (char)0xef && in readAnElement()
696 lineLength -= 3; in readAnElement()
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_parse_utils.cpp1854 uint32 lineLength = 0; in DumpXMP() local
1865 if (lineLength == 0) in DumpXMP()
1870 lineLength = 5; in DumpXMP()
1880 lineLength = 0; in DumpXMP()
1887 if (lineLength >= 128) in DumpXMP()
1892 lineLength = 5; in DumpXMP()
1901 lineLength += 1; in DumpXMP()
1910 lineLength += 4; in DumpXMP()
1918 if (lineLength != 0) in DumpXMP()
/third_party/skia/gm/
Ddashing.cpp199 SkScalar lineLength, in drawDashedLines() argument
221 pts[1].set(lineLength, SkIntToScalar(y)); in drawDashedLines()
230 pts[1].set(SkIntToScalar(x), lineLength); in drawDashedLines()
/third_party/mindspore/mindspore-src/source/scripts/pre_commit/githooks/
Dpre-push218 …local CMAKELINT_FILTER="+convention/filename,+linelength,+package/consistency,+readability/logic,-…
228 …ts.txt' | xargs -r cmakelint --filter=${CMAKELINT_FILTER} --spaces=2 --linelength=120 --quiet >"${…
346 …,-build/c++11 --quiet --repository="${workspace}"/${REPOSITORY_NAME} --linelength=120 --recursive …

123