/aosp_15_r20/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
H A 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 …]
|
/aosp_15_r20/external/cronet/third_party/icu/source/test/intltest/ |
H A 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()
|
H A 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()
|
/aosp_15_r20/external/icu/icu4c/source/test/intltest/ |
H A 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()
|
H A 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()
|
/aosp_15_r20/external/cronet/third_party/icu/source/tools/gendict/ |
H A 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()
|
/aosp_15_r20/external/icu/icu4c/source/tools/gendict/ |
H A 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()
|
/aosp_15_r20/external/oboe/samples/RhythmGame/third_party/glm/gtx/ |
H A 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;
|
/aosp_15_r20/hardware/google/gfxstream/third-party/glm/include/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;
|
/aosp_15_r20/libcore/benchmarks/src/benchmarks/regression/ |
H A D | ScannerBenchmark.java | 31 enum LineLength { enum in ScannerBenchmark 40 LineLength(int from, int to) { in LineLength() method in ScannerBenchmark.LineLength 55 private LineLength lineLength; field in ScannerBenchmark 65 data = new byte[lineLength.getMax() * linesCount]; in setUp() 69 append(makeString(lineLength.get())); in setUp()
|
/aosp_15_r20/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
H A D | CustomVirtualView.kt | 62 private val lineLength = textHeight + verticalGap constant 120 var y = (topMargin + lineLength).toFloat() in onDraw() 133 it.bounds.set(x.toInt(), (y - lineLength).toInt(), in onDraw() 137 y += lineLength.toFloat() in onDraw() 143 Log.d(TAG, "Touched: y=$y, range=$lineLength, top=$topMargin") in onTouchEvent() 147 upperY = lowerY + lineLength in onTouchEvent() 157 lowerY += lineLength in onTouchEvent()
|
/aosp_15_r20/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
D | CustomVirtualView.kt | 62 private val lineLength = textHeight + verticalGap constant 120 var y = (topMargin + lineLength).toFloat() in onDraw() 133 it.bounds.set(x.toInt(), (y - lineLength).toInt(), in onDraw() 137 y += lineLength.toFloat() in onDraw() 143 Log.d(TAG, "Touched: y=$y, range=$lineLength, top=$topMargin") in onTouchEvent() 147 upperY = lowerY + lineLength in onTouchEvent() 157 lowerY += lineLength in onTouchEvent()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/pygments/formatters/ |
D | img.py | 431 def _get_char_x(self, linelength): argument 435 return linelength + self.image_pad + self.line_number_width 437 def _get_text_pos(self, linelength, lineno): argument 441 return self._get_char_x(linelength), self._get_line_y(lineno) 506 maxlinelength = linelength = 0 521 self._get_text_pos(linelength, lineno), 528 linelength += temp_width 529 maxlinelength = max(maxlinelength, linelength) 534 linelength = 0
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/pygments/formatters/ |
D | img.py | 431 def _get_char_x(self, linelength): argument 435 return linelength + self.image_pad + self.line_number_width 437 def _get_text_pos(self, linelength, lineno): argument 441 return self._get_char_x(linelength), self._get_line_y(lineno) 506 maxlinelength = linelength = 0 521 self._get_text_pos(linelength, lineno), 528 linelength += temp_width 529 maxlinelength = max(maxlinelength, linelength) 534 linelength = 0
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/pygments/formatters/ |
D | img.py | 431 def _get_char_x(self, linelength): argument 435 return linelength + self.image_pad + self.line_number_width 437 def _get_text_pos(self, linelength, lineno): argument 441 return self._get_char_x(linelength), self._get_line_y(lineno) 506 maxlinelength = linelength = 0 521 self._get_text_pos(linelength, lineno), 528 linelength += temp_width 529 maxlinelength = max(maxlinelength, linelength) 534 linelength = 0
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/pygments/formatters/ |
D | img.py | 431 def _get_char_x(self, linelength): argument 435 return linelength + self.image_pad + self.line_number_width 437 def _get_text_pos(self, linelength, lineno): argument 441 return self._get_char_x(linelength), self._get_line_y(lineno) 506 maxlinelength = linelength = 0 521 self._get_text_pos(linelength, lineno), 528 linelength += temp_width 529 maxlinelength = max(maxlinelength, linelength) 534 linelength = 0
|
/aosp_15_r20/system/tools/hidl/host_utils/ |
D | Formatter.cpp | 162 void Formatter::printBlock(const WrappedOutput::Block& block, size_t lineLength) { in printBlock() argument 170 if (blockSize + lineStart < lineLength) { in printBlock() 177 if ((blockSize + getIndentation() + mSpacesPerIndent + prefixSize) < lineLength) { in printBlock() 201 printBlock(subBlock, lineLength); in printBlock() 296 WrappedOutput::WrappedOutput(size_t lineLength) in WrappedOutput() argument 297 : mLineLength(lineLength), mRootBlock(Block("", nullptr)) { in WrappedOutput()
|
/aosp_15_r20/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/shadows/ |
H A 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()
|
/aosp_15_r20/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/ |
H A D | PatternBouncer.kt | 333 val lineLength = in <lambda>() constant 339 alpha = lineAlpha(spacing, lineLength), in <lambda>() 413 * other on the dot grid and the line ends [lineLength] away from the origin dot. 415 * The reason [lineLength] can be different from [gridSpacing] is that all lines originate in dots 418 private fun lineAlpha(gridSpacing: Float, lineLength: Float = gridSpacing): Float { in lineAlpha() 421 return ((lineLength / gridSpacing - 0.3f) * 4f).coerceIn(0f, 1f) in lineAlpha()
|
/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/cts/ |
H A D | DiscretePathEffectTest.java | 102 int lineLength = END_X - START_X; in testDiscretePathEffect() local 104 assertTrue(numGreenPixels >= lineLength); in testDiscretePathEffect() 110 assertTrue(intersect < lineLength); in testDiscretePathEffect() 112 assertTrue(intersect >= lineLength / SEGMENT_LENGTH); in testDiscretePathEffect()
|
/aosp_15_r20/frameworks/ex/common/tools/ |
H A D | make-iana-tld-pattern.py | 36 self.lineLength = len(TAB) 40 self.lineLength += len(other) 44 if self.lineLength > 90: 48 self.lineLength = len(TAB)
|
/aosp_15_r20/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
|
/aosp_15_r20/external/jsoncpp/src/lib_json/ |
H A 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()
|
/aosp_15_r20/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/components/ |
H A 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()
|
/aosp_15_r20/external/fonttools/Lib/fontTools/misc/ |
H A 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])
|