Home
last modified time | relevance | path

Searched refs:lineLength (Results 1 – 25 of 1549) sorted by relevance

12345678910>>...62

/dports/graphics/netpbm/netpbm-10.91.01/converter/other/
H A Dpngtxt.c19 unsigned int const lineLength, in readToken() argument
36 MALLOCARRAY(tokenBuffer, lineLength + 1); in readToken()
47 if (cursor >= lineLength) in readToken()
59 while ((cursor < lineLength) && in readToken()
81 unsigned int const lineLength, in skipWhiteSpace() argument
91 while (cursor < lineLength && in skipWhiteSpace()
103 unsigned int const lineLength, in readTextString() argument
122 *textStringLengthP = lineLength - startPos; in readTextString()
273 lineLength - cursor); in continueTextString()
444 unsigned int lineLength; in pngtxt_addChunk() local
[all …]
/dports/editors/hexedit/hexedit-1.5/
H A Ddisplay.c35 else if (!move_base(myfloor(loc - base % lineLength, lineLength) + base % lineLength - base)) in set_cursor()
39 …if (!move_base(myfloor(loc - base % lineLength, lineLength) + base % lineLength - page + lineLengt… in set_cursor()
73 base -= myfloor(page - nbBytes - lineLength, lineLength); in set_base()
88 int x = cursor % lineLength; in computeCursorXPos()
110 lineLength = 0; in handleSigWinch()
149 lineLength = modes[bySector].lineLength; in initDisplay()
159 if (lineLength == 0) { in initDisplay()
161 for (lineLength = blocSize; computeLineSize() <= COLS; lineLength += blocSize); in initDisplay()
188 move(i / lineLength, 0); in display()
193 move(i / lineLength, 0); in display()
[all …]
/dports/devel/gitlist/gitlist/vendor/phpdocumentor/reflection-docblock/src/phpDocumentor/Reflection/DocBlock/
H A DSerializer.php37 protected $lineLength = null; variable in phpDocumentor\\Reflection\\DocBlock\\Serializer
46 * @param int|null $lineLength The max length of a line or NULL to
53 $lineLength = null argument
58 $this->setLineLength($lineLength);
139 * @param int|null $lineLength The length of each line. NULL to disable line
144 public function setLineLength($lineLength) argument
146 $this->lineLength = null === $lineLength ? null : (int)$lineLength;
158 return $this->lineLength;
174 if ($this->lineLength) {
176 $wrapLength = $this->lineLength - strlen($indent) - 3;
[all …]
/dports/www/elgg/elgg-3.3.23/vendor/zendframework/zend-mime/src/
H A DMime.php107 * @param int $lineLength Defaults to {@link LINELENGTH}
113 $lineLength = self::LINELENGTH, argument
122 if ($ptr > $lineLength) {
123 $ptr = $lineLength;
183 * @param int $lineLength Defaults to {@link LINELENGTH}
190 $lineLength = self::LINELENGTH, argument
195 $lineLength = $lineLength - strlen($prefix) - 3;
264 * @param int $lineLength Defaults to {@link LINELENGTH}
271 $lineLength = self::LINELENGTH, argument
295 $lineLength = self::LINELENGTH, argument
[all …]
/dports/www/tikiwiki/tiki-21.2/vendor_bundled/vendor/laminas/laminas-mime/src/
H A DMime.php108 * @param int $lineLength Defaults to {@link LINELENGTH}
114 $lineLength = self::LINELENGTH, argument
126 if ($continueAt > $lineLength) {
127 $continueAt = $lineLength;
187 * @param int $lineLength Defaults to {@link LINELENGTH}
194 $lineLength = self::LINELENGTH, argument
199 $lineLength = $lineLength - strlen($prefix) - 3;
268 * @param int $lineLength Defaults to {@link LINELENGTH}
275 $lineLength = self::LINELENGTH, argument
299 $lineLength = self::LINELENGTH, argument
[all …]
/dports/devel/upp/upp/uppsrc/CodeEditor/
H A DDiffSyntax.cpp25 const int lineLength = FindTheNumberOfCharsToLineEnd(ln, end); in Do() local
32 Put(INK_DIFF_HEADER, lineLength); in Do()
37 Put(INK_DIFF_FILE_INFO, lineLength); in Do()
41 Put(INK_DIFF_FILE_INFO, lineLength); in Do()
44 Put(INK_DIFF_HEADER, lineLength); in Do()
47 Put(INK_DIFF_HEADER, lineLength); in Do()
50 Put(INK_DIFF_HEADER, lineLength); in Do()
53 Put(INK_DIFF_ADDED, lineLength); in Do()
56 Put(INK_DIFF_REMOVED, lineLength); in Do()
59 Put(INK_NORMAL, lineLength); in Do()
[all …]
/dports/net-mgmt/icingaweb2/icingaweb2-2.8.2/library/vendor/Zend/
H A DMime.php419 * @param int $lineLength Line length; defaults to {@link LINELENGTH}
425 $lineLength = self::LINELENGTH, argument
435 if ($ptr > $lineLength) {
436 $ptr = $lineLength;
484 * @param int $lineLength Line length; defaults to {@link LINELENGTH}
494 $lineLength = $lineLength - strlen($prefix) - 3;
517 if (strlen($lines[$currentLine] . $tmp) > $lineLength) {
561 * @param int $lineLength Line length; defaults to {@link LINELENGTH}
571 $remainingLength = $lineLength - strlen($prefix) - strlen($suffix);
587 * @param int $lineLength Line length; defaults to {@link LINELENGTH}
[all …]
/dports/www/zend-framework/ZendFramework-2.4.13/library/Zend/Mime/
H A DMime.php105 * @param int $lineLength Defaults to {@link LINELENGTH}
110 $lineLength = self::LINELENGTH, argument
119 if ($ptr > $lineLength) {
120 $ptr = $lineLength;
166 * @param int $lineLength Defaults to {@link LINELENGTH}
171 $lineLength = self::LINELENGTH, argument
176 $lineLength = $lineLength-strlen($prefix)-3;
240 * @param int $lineLength Defaults to {@link LINELENGTH}
246 $lineLength = self::LINELENGTH, argument
264 * @param int $lineLength Defaults to {@link LINELENGTH}
[all …]
/dports/net/norm/norm-1.5r6/protolib/src/common/
H A DprotoBase64.cpp50 if (++lineLength == maxLineLength) in SetOutputValue()
52 lineLength = 0; in SetOutputValue()
82 unsigned int lineLength = 0; in Encode() local
87 … if (!SetOutputValue(BASE64_ENCODE[morsel], buffer, buflen, outdex, lineLength, maxLineLength)) in Encode()
95 … if (!SetOutputValue(BASE64_ENCODE[morsel], buffer, buflen, outdex, lineLength, maxLineLength)) in Encode()
100 if (!SetOutputValue(PAD64, buffer, buflen, outdex, lineLength, maxLineLength)) in Encode()
102 if (!SetOutputValue(PAD64, buffer, buflen, outdex, lineLength, maxLineLength)) in Encode()
112 … if (!SetOutputValue(BASE64_ENCODE[morsel], buffer, buflen, outdex, lineLength, maxLineLength)) in Encode()
115 … if (!SetOutputValue(BASE64_ENCODE[morsel], buffer, buflen, outdex, lineLength, maxLineLength)) in Encode()
120 if (!SetOutputValue(PAD64, buffer, buflen, outdex, lineLength, maxLineLength)) in Encode()
[all …]
/dports/devel/kf5-ktexteditor/ktexteditor-5.89.0/src/utils/
H A Ddocumentcursor.cpp51 } else if (col > m_document->lineLength(line)) { in makeValid()
52 m_cursor.setColumn(m_document->lineLength(line)); in makeValid()
86 return isValidTextPosition() && column() == document()->lineLength(line()); in atEndOfLine()
99 return line() == lastLine && column() == document()->lineLength(lastLine); in atEndOfDocument()
140 int lineLength = document()->lineLength(c.line()); in move() local
145 if (wrapBehavior == Wrap && c.column() > lineLength) { in move()
146 c.setColumn(lineLength); in move()
151 const int advance = qMin(lineLength - c.column(), chars); in move()
162 lineLength = document()->lineLength(c.line()); in move()
183 c.setPosition(c.line() - 1, document()->lineLength(c.line() - 1)); in move()
/dports/lang/ghc/ghc-8.10.7/libraries/pretty/tests/
H A DBugSep.hs19 print $ renderStyle style{lineLength=1} $ sep test1
21 print $ renderStyle style{lineLength=1} $ foldr (<+>) empty test1
23 print $ renderStyle style{lineLength=1} $ foldr ($+$) empty test1
25 print $ renderStyle style{lineLength=1} $ foldr ($$) empty test1
29 print $ renderStyle style{lineLength=1} $ sep test2
31 print $ renderStyle style{lineLength=1} $ foldr (<+>) empty test2
33 print $ renderStyle style{lineLength=1} $ foldr ($+$) empty test2
35 print $ renderStyle style{lineLength=1} $ foldr ($$) empty test2
/dports/lang/fpc-utils/fpc-3.2.2/utils/unicode/
H A Dcldrtxt.pas186 lineLength,
200 historyItems[historyItemIndex].lineLength := lineLength;
213 lineLength := historyItems[historyItemIndex].lineLength;
249 lineLength := 0;
273 if (ALength > lineLength) then
284 if (linePos > lineLength) then
349 if (linePos > lineLength) then
409 if (linePos > lineLength) then
426 if (linePos <= lineLength) and
787 if (linePos > lineLength) then
[all …]
/dports/lang/fpc-source/fpc-3.2.2/utils/unicode/
H A Dcldrtxt.pas186 lineLength,
200 historyItems[historyItemIndex].lineLength := lineLength;
213 lineLength := historyItems[historyItemIndex].lineLength;
249 lineLength := 0;
273 if (ALength > lineLength) then
284 if (linePos > lineLength) then
349 if (linePos > lineLength) then
409 if (linePos > lineLength) then
426 if (linePos <= lineLength) and
787 if (linePos > lineLength) then
[all …]
/dports/devel/pear-PHP_CodeSniffer/PHP_CodeSniffer-3.6.1/src/Standards/Generic/Sniffs/Files/
H A DLineLengthSniff.php130 $lineLength = ($tokens[$stackPtr]['column'] + $tokens[$stackPtr]['length'] - 1);
141 $lineLength -= $tokens[$stackPtr]['length'];
145 if ($lineLength <= 80) {
147 } else if ($lineLength <= 120) {
149 } else if ($lineLength <= 150) {
160 if ($lineLength > $this->lineLimit) {
179 && $lineLength > $this->absoluteLineLimit
183 $lineLength,
188 } else if ($lineLength > $this->lineLimit) {
191 $lineLength,
/dports/devel/py-twisted/Twisted-22.1.0/docs/core/benchmarks/
H A Dlinereceiver.py17 def benchmark(chunkSize, lineLength, numLines): argument
18 bytes = (b"x" * lineLength + b"\r\n") * numLines
33 print("lineLength:", lineLength, end=" ")
40 for lineLength in (10, 100, 1000):
42 benchmark(chunkSize, lineLength, numLines)
45 for lineLength in (1000, 2000):
47 benchmark(chunkSize, lineLength, numLines)
/dports/editors/ted/Ted-2.23/utilPs/
H A DpsPpd.c117 int lineLength= strlen( s ); in psGetInputLine() local
119 if ( lineLength > 0 && in psGetInputLine()
120 s[lineLength-1] == '\n' ) in psGetInputLine()
121 { s[--lineLength]= '\0'; } in psGetInputLine()
123 if ( lineLength > 0 && in psGetInputLine()
125 { s[--lineLength]= '\0'; } in psGetInputLine()
128 if ( lineLength > 0 && in psGetInputLine()
130 { s[--lineLength]= '\0'; } in psGetInputLine()
132 while( lineLength > 0 && isspace( s[lineLength-1] ) ) in psGetInputLine()
133 { s[--lineLength]= '\0'; } in psGetInputLine()
[all …]
/dports/security/libzrtpcppcore/ZRTPCPP-4.6.6/zrtp/
H A DzrtpB64Encode.c12 void base64_init_encodestate(base64_encodestate* state_in, int lineLength) in base64_init_encodestate() argument
17 if (lineLength < 0) in base64_init_encodestate()
18 state_in->lineLength = CHARS_PER_LINE / 4; in base64_init_encodestate()
20 state_in->lineLength = (lineLength+3) / 4; in base64_init_encodestate()
79 if (state_in->lineLength > 0) { in base64_encode_block()
81 if (state_in->stepcount == state_in->lineLength) in base64_encode_block()
111 if (state_in->lineLength > 0) in base64_encode_blockend()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/
H A DTest_org_eclipse_swt_custom_BidiSegmentListener.java122 int lineLength = line.length(); in test_lineGetSegmentsLorg_eclipse_swt_custom_BidiSegmentEvent() local
127 testListener(":b:", new int[] {0, lineLength / 2, lineLength}, false); in test_lineGetSegmentsLorg_eclipse_swt_custom_BidiSegmentEvent()
128 testListener(":c:", new int[] {0, lineLength / 2}, false); in test_lineGetSegmentsLorg_eclipse_swt_custom_BidiSegmentEvent()
132 testListener(":d:", new int[] {lineLength / 2}, true); in test_lineGetSegmentsLorg_eclipse_swt_custom_BidiSegmentEvent()
133 testListener(":e:", new int[] {0, 1, 1, lineLength / 2}, true); in test_lineGetSegmentsLorg_eclipse_swt_custom_BidiSegmentEvent()
134 testListener(":f:", new int[] {0, 1, 2, lineLength + 1}, true); in test_lineGetSegmentsLorg_eclipse_swt_custom_BidiSegmentEvent()
135 testListener(":g:", new int[] {0, 1, lineLength + 1, lineLength + 1}, true); in test_lineGetSegmentsLorg_eclipse_swt_custom_BidiSegmentEvent()
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/gui/
H A Dui_text.cpp144 int32_t lineLength = 0; in getMultiRowInfo() local
153 if ( lineLength > 0 ) { in getMultiRowInfo()
156 lineLength = 0; in getMultiRowInfo()
167 ++lineLength; in getMultiRowInfo()
188 lineLength = 0; in getMultiRowInfo()
254 int32_t lineLength = 0; in render() local
274 if ( lineLength > 0 ) { in render()
276 lineLength = 0; in render()
297 ++lineLength; in render()
319 lineLength = 0; in render()
[all …]
/dports/sysutils/plasma5-libksysguard/libksysguard-5.23.5/lsofui/
H A Dlsof.cpp63 qint64 lineLength = d->process->readLine(buf, sizeof(buf)); in finished() local
65 if (lineLength <= 0) in finished()
67 if (buf[lineLength - 1] == '\n') in finished()
68 lineLength--; in finished()
74 process->setText(0, QString::fromUtf8(buf + 1, lineLength - 1)); in finished()
78 process->setText(1, QString::fromUtf8(buf + 1, lineLength - 1)); in finished()
83 process->setText(2, QString::fromUtf8(buf + 1, lineLength - 1)); in finished()
/dports/astro/kosmindoormap/kosmindoormap-21.12.3/src/map/scene/
H A Dscenegeometry.cpp24 double lineLength = 0.0; in polylineLength() local
27 lineLength += QLineF(p1, *it).length(); in polylineLength()
30 return lineLength; in polylineLength()
35 const auto lineLength = polylineLength(poly); in polylineMidPoint() local
36 if (lineLength <= 0.0) { in polylineMidPoint()
46 if (length + l < lineLength / 2.0) { in polylineMidPoint()
49 const auto r = ((length + l) - lineLength / 2.0) / l; in polylineMidPoint()
61 const auto lineLength = polylineLength(path); in polylineMidPointAngle() local
62 if (lineLength <= 0.0) { in polylineMidPointAngle()
72 if (length + l < lineLength / 2.0) { in polylineMidPointAngle()
/dports/textproc/markdownfmt/markdownfmt-1.1-67-g3438a10/vendor/github.com/shurcooL/go/reflectsource/
H A Dindicies.go14 lineLength := bytes.IndexByte(b[index:], '\n')
16 if lineLength == -1 {
19 return index, index + lineLength
22 if lineLength == -1 {
25 index += lineLength + 1
/dports/audio/py-music21/music21-7.1.0/music21/braille/
H A Dtext.py39 def __init__(self, lineLength=40, showHand=None): argument
40 self.lineLength = lineLength
297 self.currentLine = BrailleTextLine(self.lineLength)
341 lineLength = self.allLines[i].textLocation
342 if lineLength > maxLineLength:
343 maxLineLength = lineLength
363 def __init__(self, lineLength=40): argument
364 super().__init__(lineLength=lineLength)
466 def __init__(self, lineLength=40): argument
469 self.lineLength = lineLength
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/wintermute/video/
H A Dvideo_subtitler.cpp98 int lineLength = 0; in loadSubtitles() local
103 while (pos + lineLength < fileSize && in loadSubtitles()
104 buffer[pos + lineLength] != '\n' && in loadSubtitles()
105 buffer[pos + lineLength] != '\0') { in loadSubtitles()
107 lineLength++; in loadSubtitles()
112 if (pos + lineLength >= fileSize) { in loadSubtitles()
113 realLength = lineLength - 0; in loadSubtitles()
116 realLength = lineLength - 1; in loadSubtitles()
173 pos += lineLength + 1; in loadSubtitles()
/dports/games/scummvm/scummvm-2.5.1/engines/wintermute/video/
H A Dvideo_subtitler.cpp98 int lineLength = 0; in loadSubtitles() local
103 while (pos + lineLength < fileSize && in loadSubtitles()
104 buffer[pos + lineLength] != '\n' && in loadSubtitles()
105 buffer[pos + lineLength] != '\0') { in loadSubtitles()
107 lineLength++; in loadSubtitles()
112 if (pos + lineLength >= fileSize) { in loadSubtitles()
113 realLength = lineLength - 0; in loadSubtitles()
116 realLength = lineLength - 1; in loadSubtitles()
173 pos += lineLength + 1; in loadSubtitles()

12345678910>>...62