/external/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | closest_point.inl | 14 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;
|
/external/icu/icu4c/source/test/intltest/ |
D | datadrivennumberformattestsuite.cpp | 189 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()
|
D | numbertest_permutation.cpp | 172 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()
|
D | collationtest.cpp | 970 int32_t lineLength; in readNonEmptyLine() local 971 const UChar *line = ucbuf_readline(f, &lineLength, errorCode); in readNonEmptyLine() 978 const UChar *comment = u_memchr(line, 0x23, lineLength); // '#' in readNonEmptyLine() 980 lineLength = (int32_t)(comment - line); in readNonEmptyLine() 982 while(lineLength > 0 && isCROrLF(line[lineLength - 1])) { --lineLength; } in readNonEmptyLine() 984 while(lineLength > 0 && isSpace(line[lineLength - 1])) { --lineLength; } in readNonEmptyLine() 985 if(lineLength != 0) { in readNonEmptyLine() 986 fileLine.setTo(FALSE, line, lineLength); in readNonEmptyLine()
|
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | Base64Codec.java | 155 private final int lineLength; field in Base64Codec 158 * Line separator for encoding. Not used when decoding. Only used if lineLength > 0. 191 * make sure each encoded line never goes beyond lineLength (if lineLength > 0). 259 * @param lineLength 261 …* If lineLength <= 0, then the output will not be divided into lines (chunks). Ignored … 264 public Base64Codec(int lineLength) { in Base64Codec() argument 265 this(lineLength, CHUNK_SEPARATOR); in Base64Codec() 281 * @param lineLength 283 …* If lineLength <= 0, then the output will not be divided into lines (chunks). Ignored … 290 public Base64Codec(int lineLength, byte[] lineSeparator) { in Base64Codec() argument [all …]
|
/external/icu/icu4c/source/tools/gendict/ |
D | gendict.cpp | 224 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()
|
/external/fonttools/Lib/fontTools/misc/ |
D | xmlWriter.py | 128 linelength = 16 129 hexlinelength = linelength * 2 131 for i in range(0, len(data), linelength): 132 hexline = hexStr(data[i:i+linelength])
|
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
D | TouchCatcherView.java | 35 private double lineLength = 0.6; // Fraction of view width field in TouchCatcherView 94 int lineStart = (int) (w * (1 - lineLength) / 2); in onDraw() 95 int lineEnd = (int) (w * (1 + lineLength) / 2); in onDraw()
|
/external/ltp/testcases/kernel/syscalls/mount/ |
D | mount06.c | 43 #define LINELENGTH 256 macro 100 char line[LINELENGTH]; in ismount() 106 while (fgets(line, LINELENGTH, file) != NULL) { in ismount()
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | mock_tk.py | 158 linelength = len(self.data[line]) -1 # position before/at \n 160 return line, linelength 163 return line, linelength - int(m.group(1)) 169 elif char > linelength: 170 char = linelength
|
D | test_format.py | 65 linelength = int(text.index("%d.end" % line).split('.')[1]) 66 for col in (0, linelength//2, linelength):
|
/external/python/cpython2/Lib/idlelib/idle_test/ |
D | mock_tk.py | 153 linelength = len(self.data[line]) -1 # position before/at \n 155 return line, linelength 162 elif char > linelength: 163 char = linelength
|
D | test_formatparagraph.py | 62 linelength = int(text.index("%d.end" % line).split('.')[1]) 63 for col in (0, linelength//2, linelength):
|
/external/jsoncpp/src/lib_json/ |
D | json_writer.cpp | 565 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local 571 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray() 574 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray() 786 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local 792 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray() 795 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray() 1066 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local 1072 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray() 1075 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray()
|
/external/conscrypt/ |
D | CPPLINT.cfg | 4 linelength=100
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 467 int lineLength = 1; in test_generateCertificate_AnyLineLength_Success() local 473 while (lineLength < (maxLineLength - 4)) { in test_generateCertificate_AnyLineLength_Success() 474 int end = offset + lineLength; in test_generateCertificate_AnyLineLength_Success() 480 offset += lineLength; in test_generateCertificate_AnyLineLength_Success() 488 throw new Exception("Fail at line length " + lineLength, e); in test_generateCertificate_AnyLineLength_Success() 494 lineLength++; in test_generateCertificate_AnyLineLength_Success()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 473 int lineLength = 1; in test_generateCertificate_AnyLineLength_Success() local 479 while (lineLength < (maxLineLength - 4)) { in test_generateCertificate_AnyLineLength_Success() 480 int end = offset + lineLength; in test_generateCertificate_AnyLineLength_Success() 486 offset += lineLength; in test_generateCertificate_AnyLineLength_Success() 494 throw new Exception("Fail at line length " + lineLength, e); in test_generateCertificate_AnyLineLength_Success() 500 lineLength++; in test_generateCertificate_AnyLineLength_Success()
|
/external/skqp/tools/bookmaker/ |
D | textParser.cpp | 46 size_t lineLen = this->lineLength(); in reportWarning() 52 lineLen = err.lineLength(); in reportWarning()
|
/external/skia/samplecode/ |
D | SampleChineseFling.cpp | 216 void createRandomLine(SkUnichar glyphs[45], int lineLength) { in createRandomLine() argument 217 for (auto i = 0; i < lineLength; ++i) { in createRandomLine()
|
/external/vixl/ |
D | CPPLINT.cfg | 38 linelength=80
|
/external/skqp/samplecode/ |
D | SampleChineseFling.cpp | 232 void createRandomLine(SkUnichar glyphs[45], int lineLength) { in createRandomLine() argument 233 for (auto i = 0; i < lineLength; ++i) { in createRandomLine()
|
/external/apache-commons-bcel/src/conf/ |
D | checkstyle-suppressions.xml | 24 <suppress checks="LineLength" files="InstructionFinder.java"/> <!-- TODO later -->
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateEnums.java | 126 int lineLength = " /** Belgian Franc */ BEF," in showCurrencies() local 130 lineLength); in showCurrencies() local 847 String type, Map<String, String> code_replacements, int lineLength) { in printRow() argument 875 if (prefix.length() > lineLength - (printedCodeName.length() + 1)) { in printRow() 877 int lastFit = prefix.lastIndexOf(' ', lineLength in printRow() 883 out.print(Utility.repeat(" ", (lineLength in printRow()
|
/external/pcre/dist2/src/ |
D | pcre2grep.c | 2586 PCRE2_SIZE length, linelength; in pcre2grep() local 2610 linelength = t - ptr - endlinelength; in pcre2grep() 2611 length = multiline? (PCRE2_SIZE)(endptr - ptr) : linelength; in pcre2grep() 2873 while (startoffset > linelength) in pcre2grep() 2875 ptr += linelength + endlinelength; in pcre2grep() 2876 filepos += (int)(linelength + endlinelength); in pcre2grep() 2878 startoffset -= (int)(linelength + endlinelength); in pcre2grep() 2880 linelength = t - ptr - endlinelength; in pcre2grep() 2987 FWRITE_IGNORE(ptr + offsets[last], 1, linelength - offsets[last], stdout); in pcre2grep() 3040 while (startoffset > linelength + endlinelength) in pcre2grep() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LowerMatrixIntrinsics.cpp | 1510 unsigned LineLength = 0; member 1540 LineLength += N; in indent() 1547 LineLength = 0; in lineBreak() 1551 if (LineLength >= LengthToBreak) in maybeIndent() 1554 if (LineLength == 0) in maybeIndent() 1559 LineLength += S.size(); in write() 1658 LineLength += StringRef("stack addr").size(); in write() 1661 LineLength += StringRef("addr").size(); in write() 1665 LineLength += V->getName().size() + 2; in write() 1685 LineLength += Tmp.size(); in write()
|