Home
last modified time | relevance | path

Searched full:linelength (Results 1 – 25 of 73) 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.c59 uint16_t linelength; in cpia_decode_frame() local
109 i++, src += linelength, src_size -= linelength in cpia_decode_frame()
112 linelength = AV_RL16(src); in cpia_decode_frame()
116 if (src_size < linelength) { in cpia_decode_frame()
121 if (src[linelength - 1] != EOL) { in cpia_decode_frame()
123 …ine length %d or line not terminated properly (found 0x%02x)!\n", linelength, src[linelength - 1]); in cpia_decode_frame()
141 for (j = 0; j < linelength - 1; j++) { in cpia_decode_frame()
161 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.cpp972 int32_t lineLength; in readNonEmptyLine() local
973 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readNonEmptyLine()
980 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readNonEmptyLine()
982 lineLength = (int32_t)(comment - line); in readNonEmptyLine()
984 while(lineLength > 0 && isCROrLF(line[lineLength - 1])) { --lineLength; } in readNonEmptyLine()
986 while(lineLength > 0 && isSpace(line[lineLength - 1])) { --lineLength; } in readNonEmptyLine()
987 if(lineLength != 0) { in readNonEmptyLine()
988 fileLine.setTo(FALSE, line, lineLength); in readNonEmptyLine()
/third_party/node/deps/npm/node_modules/cli-table3/src/
Dutils.js248 let lineLength = 0;
252 let newLength = lineLength + strlen(word);
253 if (lineLength > 0 && whitespace) {
257 if (lineLength !== 0) {
261 lineLength = strlen(word);
264 lineLength = newLength;
268 if (lineLength) {
/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/flutter/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/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/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/flutter/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/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/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()
442 while (helpLength > lineLength) { in singleOptionHelp()
446 ch = help + lineLength - 1; in singleOptionHelp()
/third_party/node/
D.cpplint3 linelength=80
/third_party/jsoncpp/src/lib_json/
Djson_writer.cpp561 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local
567 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray()
570 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray()
783 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local
789 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray()
792 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray()
1064 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local
1070 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray()
1073 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray()
/third_party/cJSON/tests/unity/test/
D.rubocop.yml49 Metrics/LineLength:
/third_party/flutter/skia/samplecode/
DSampleChineseFling.cpp212 void createRandomLine(SkUnichar glyphs[45], int lineLength) { in createRandomLine() argument
213 for (auto i = 0; i < lineLength; ++i) { in createRandomLine()
/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/unity/test/
D.rubocop.yml67 Metrics/LineLength:
/third_party/pcre2/pcre2/src/
Dpcre2grep.c2588 PCRE2_SIZE length, linelength; in pcre2grep() local
2612 linelength = t - ptr - endlinelength; in pcre2grep()
2613 length = multiline? (PCRE2_SIZE)(endptr - ptr) : linelength; in pcre2grep()
2875 while (startoffset > linelength) in pcre2grep()
2877 ptr += linelength + endlinelength; in pcre2grep()
2878 filepos += (int)(linelength + endlinelength); in pcre2grep()
2880 startoffset -= (int)(linelength + endlinelength); in pcre2grep()
2882 linelength = t - ptr - endlinelength; in pcre2grep()
2989 FWRITE_IGNORE(ptr + offsets[last], 1, linelength - offsets[last], stdout); in pcre2grep()
3042 while (startoffset > 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/flutter/skia/gm/
Ddashing.cpp203 SkScalar lineLength, in drawDashedLines() argument
225 pts[1].set(lineLength, SkIntToScalar(y)); in drawDashedLines()
234 pts[1].set(SkIntToScalar(x), lineLength); in drawDashedLines()

123