/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 | 972 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()
|
/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/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | ShadowNativeDiscretePathEffectTest.java | 84 int lineLength = END_X - START_X; in testDiscretePathEffect() local 86 assertTrue(numGreenPixels >= lineLength); in testDiscretePathEffect() 92 assertTrue(intersect < lineLength); in testDiscretePathEffect() 94 assertTrue(intersect >= lineLength / SEGMENT_LENGTH); in testDiscretePathEffect()
|
/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 | 157 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
|
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 | 566 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local 572 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray() 575 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray() 787 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local 793 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray() 796 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray() 1067 ArrayIndex lineLength = 4 + (size - 1) * 2; // '[ ' + ', '*n + ' ]' in isMultilineArray() local 1073 lineLength += static_cast<ArrayIndex>(childValues_[index].length()); in isMultilineArray() 1076 isMultiLine = isMultiLine || lineLength >= rightMargin_; in isMultilineArray()
|
/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/conscrypt/ |
D | CPPLINT.cfg | 4 linelength=100
|
/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/cldr/tools/cldr-code/src/main/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/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() 2823 while (startoffset > linelength) in pcre2grep() 2825 ptr += linelength + endlinelength; in pcre2grep() 2826 filepos += (int)(linelength + endlinelength); in pcre2grep() 2828 startoffset -= (int)(linelength + endlinelength); in pcre2grep() 2830 linelength = t - ptr - endlinelength; in pcre2grep() 2974 while (startoffset > linelength + endlinelength) in pcre2grep() 2976 ptr += linelength + endlinelength; in pcre2grep() [all …]
|
/external/apache-commons-bcel/src/conf/ |
D | checkstyle-suppressions.xml | 24 <suppress checks="LineLength" files="InstructionFinder.java"/> <!-- TODO later -->
|
/external/dng_sdk/source/ |
D | dng_parse_utils.cpp | 1854 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()
|
/external/zucchini/ |
D | disassembler_ztf.cc | 433 static_cast<offset_t>(lc.col) <= LineLength(lc.line); in IsValid() 471 DCHECK_LE(static_cast<offset_t>(lc.col), LineLength(lc.line)); in OffsetToLineCol() 484 offset_t ZtfTranslator::LineLength(uint16_t line) const { in LineLength() function in zucchini::ZtfTranslator
|