| /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/cronet/third_party/icu/source/test/intltest/ |
| D | datadrivennumberformattestsuite.cpp | 189 int32_t lineLength; in readLine() local 190 const char16_t *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 char16_t* 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 | 974 int32_t lineLength; in readNonEmptyLine() local 975 const char16_t *line = ucbuf_readline(f, &lineLength, errorCode); in readNonEmptyLine() 982 const char16_t *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()
|
| /external/icu/icu4c/source/test/intltest/ |
| D | datadrivennumberformattestsuite.cpp | 189 int32_t lineLength; in readLine() local 190 const char16_t *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 char16_t* 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()
|
| /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/cronet/third_party/icu/source/tools/gendict/ |
| D | gendict.cpp | 224 int32_t lineLength; in readLine() local 225 const char16_t *line = ucbuf_readline(f, &lineLength, errorCode); in readLine() 228 const char16_t *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/icu/icu4c/source/tools/gendict/ |
| D | gendict.cpp | 228 int32_t lineLength; in readLine() local 229 const char16_t *line = ucbuf_readline(f, &lineLength, errorCode); in readLine() 232 const char16_t *comment = u_memchr(line, 0x23, lineLength); // '#' in readLine() 234 lineLength = (int32_t)(comment - line); in readLine() 236 …while(lineLength > 0 && (line[lineLength - 1] == CARRIAGE_RETURN_CHARACTER || line[lineLength - 1]… in readLine() 238 while(lineLength > 0 && u_isspace(line[lineLength - 1])) { --lineLength; } in readLine() 239 fileLine.setTo(false, line, lineLength); in readLine()
|
| /external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/shadows/ |
| 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/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/data/ |
| D | LineScatterCandleRadarDataSet.java | 81 * @param lineLength the length of the line pieces 85 public void enableDashedHighlightLine(float lineLength, float spaceLength, float phase) { in enableDashedHighlightLine() argument 87 lineLength, spaceLength in enableDashedHighlightLine()
|
| D | LineDataSet.java | 217 * @param lineLength the length of the line pieces 221 public void enableDashedLine(float lineLength, float spaceLength, float phase) { in enableDashedLine() argument 223 lineLength, spaceLength in enableDashedLine()
|
| /external/fonttools/Lib/fontTools/misc/ |
| D | xmlWriter.py | 133 linelength = 16 134 hexlinelength = linelength * 2 136 for i in range(0, len(data), linelength): 137 hexline = hexStr(data[i : i + linelength])
|
| /external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
| D | TouchCatcherView.java | 36 private double lineLength = 0.6; // Fraction of view width field in TouchCatcherView 99 int lineStart = (int) (w * (1 - lineLength) / 2); in onDraw() 100 int lineEnd = (int) (w * (1 + lineLength) / 2); in onDraw()
|
| /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
|
| /external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/components/ |
| D | LimitLine.java | 123 * @param lineLength the length of the line pieces 127 public void enableDashedLine(float lineLength, float spaceLength, float phase) { in enableDashedLine() argument 129 lineLength, spaceLength in enableDashedLine()
|
| D | AxisBase.java | 562 * @param lineLength the length of the line pieces 566 public void enableGridDashedLine(float lineLength, float spaceLength, float phase) { in enableGridDashedLine() argument 568 lineLength, spaceLength in enableGridDashedLine() 614 * @param lineLength the length of the line pieces 618 public void enableAxisLineDashedLine(float lineLength, float spaceLength, float phase) { in enableAxisLineDashedLine() argument 620 lineLength, spaceLength in enableAxisLineDashedLine()
|
| /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/ |
| D | CPPLINT.cfg | 4 linelength=100
|
| /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/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/skia/tools/viewer/ |
| D | ChineseFlingSlide.cpp | 217 void createRandomLine(SkUnichar glyphs[45], int lineLength) { in createRandomLine() argument 218 for (auto i = 0; i < lineLength; ++i) { in createRandomLine()
|
| /external/vixl/ |
| D | CPPLINT.cfg | 38 linelength=80
|