Home
last modified time | relevance | path

Searched refs:startpos (Results 1 – 25 of 39) sorted by relevance

12

/external/pdfium/fxbarcode/pdf417/
DBC_PDF417HighLevelEncoder.cpp142 size_t startpos, in EncodeText() argument
151 wchar_t ch = msg[startpos + idx]; in EncodeText()
214 if (startpos + idx + 1 < count) { in EncodeText()
215 wchar_t next = msg[startpos + idx + 1]; in EncodeText()
255 size_t startpos, in EncodeBinary() argument
262 size_t idx = startpos; in EncodeBinary()
266 while ((startpos + count - idx) >= 6) { in EncodeBinary()
281 if (idx < startpos + count) in EncodeBinary()
283 for (size_t i = idx; i < startpos + count; i++) { in EncodeBinary()
290 size_t startpos, in EncodeNumeric() argument
[all …]
DBC_PDF417HighLevelEncoder.h30 size_t startpos,
35 size_t startpos,
40 size_t startpos,
43 static size_t DetermineConsecutiveDigitCount(WideString msg, size_t startpos);
44 static size_t DetermineConsecutiveTextCount(WideString msg, size_t startpos);
48 size_t startpos);
/external/python/cpython3/Objects/stringlib/
Dcodecs.h315 Py_ssize_t startpos, endpos, newpos; in STRINGLIB() local
321 startpos = i-1; in STRINGLIB()
322 endpos = startpos+1; in STRINGLIB()
333 memset(p, '?', endpos - startpos); in STRINGLIB()
334 p += (endpos - startpos); in STRINGLIB()
337 i += (endpos - startpos - 1); in STRINGLIB()
341 for (k=startpos; k<endpos; k++) { in STRINGLIB()
347 i += (endpos - startpos - 1); in STRINGLIB()
352 writer->min_size -= max_char_size * (endpos - startpos); in STRINGLIB()
354 unicode, startpos, endpos); in STRINGLIB()
[all …]
/external/python/cpython3/Modules/
D_heapqmodule.c19 siftdown(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown() argument
36 while (pos > startpos) { in siftdown()
66 Py_ssize_t startpos, endpos, childpos, limit; in siftup() local
72 startpos = pos; in siftup()
110 return siftdown(heap, startpos, pos); in siftup()
413 siftdown_max(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown_max() argument
430 while (pos > startpos) { in siftdown_max()
460 Py_ssize_t startpos, endpos, childpos, limit; in siftup_max() local
466 startpos = pos; in siftup_max()
504 return siftdown_max(heap, startpos, pos); in siftup_max()
/external/python/cpython2/Lib/
Dheapq.py242 def _siftdown(heap, startpos, pos): argument
246 while pos > startpos:
297 startpos = pos
313 _siftdown(heap, startpos, pos)
315 def _siftdown_max(heap, startpos, pos): argument
320 while pos > startpos:
333 startpos = pos
349 _siftdown_max(heap, startpos, pos)
Ddoctest.py286 startpos, endpos = 0, len(got)
290 startpos = len(w)
302 if startpos > endpos:
314 startpos = got.find(w, startpos, endpos)
315 if startpos < 0:
317 startpos += len(w)
/external/python/cpython2/Modules/
D_heapqmodule.c36 _siftdown(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in _siftdown() argument
52 while (pos > startpos) { in _siftdown()
77 Py_ssize_t startpos, endpos, childpos, rightpos, limit; in _siftup() local
83 startpos = pos; in _siftup()
117 return _siftdown(heap, startpos, pos); in _siftup()
379 _siftdownmax(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in _siftdownmax() argument
395 while (pos > startpos){ in _siftdownmax()
418 Py_ssize_t startpos, endpos, childpos, rightpos, limit; in _siftupmax() local
424 startpos = pos; in _siftupmax()
461 return _siftdownmax(heap, startpos, pos); in _siftupmax()
/external/python/cpython3/Lib/
Dheapq.py205 def _siftdown(heap, startpos, pos): argument
209 while pos > startpos:
260 startpos = pos
276 _siftdown(heap, startpos, pos)
278 def _siftdown_max(heap, startpos, pos): argument
283 while pos > startpos:
296 startpos = pos
312 _siftdown_max(heap, startpos, pos)
Ddoctest.py284 startpos, endpos = 0, len(got)
288 startpos = len(w)
300 if startpos > endpos:
312 startpos = got.find(w, startpos, endpos)
313 if startpos < 0:
315 startpos += len(w)
/external/pdfium/core/fxcodec/fax/
Dfaxmodule.cpp113 void FaxFillBits(uint8_t* dest_buf, int columns, int startpos, int endpos) { in FaxFillBits() argument
114 startpos = std::max(startpos, 0); in FaxFillBits()
116 if (startpos >= endpos) in FaxFillBits()
119 int first_byte = startpos / 8; in FaxFillBits()
122 for (int i = startpos % 8; i <= (endpos - 1) % 8; ++i) in FaxFillBits()
127 for (int i = startpos % 8; i < 8; ++i) in FaxFillBits()
426 int startpos = 0; in FaxGet1DLine() local
447 FaxFillBits(dest_buf, columns, startpos, startpos + run_len); in FaxGet1DLine()
449 startpos += run_len; in FaxGet1DLine()
450 if (startpos >= columns) in FaxGet1DLine()
/external/pdfium/fxbarcode/datamatrix/
DBC_HighLevelEncoder.cpp187 size_t startpos, in LookAheadTest() argument
189 if (startpos >= msg.GetLength()) in LookAheadTest()
202 if ((startpos + charsProcessed) == msg.GetLength()) { in LookAheadTest()
222 wchar_t c = msg[startpos + charsProcessed]; in LookAheadTest()
312 size_t p = startpos + charsProcessed + 1; in LookAheadTest()
DBC_ASCIIEncoder.cpp43 size_t DetermineConsecutiveDigitCount(const WideString& msg, size_t startpos) { in DetermineConsecutiveDigitCount() argument
49 for (size_t i = startpos; i < size; ++i) { in DetermineConsecutiveDigitCount()
DBC_HighLevelEncoder.h34 size_t startpos,
/external/python/cpython2/Demo/turtle/
Dtdemo_penrose.py135 def test(l=200, n=4, fun=sun, startpos=(0,0), th=2): argument
137 goto(startpos)
176 test(600, 8, startpos=(70, 117))
/external/python/cpython3/Lib/turtledemo/
Dpenrose.py135 def test(l=200, n=4, fun=sun, startpos=(0,0), th=2): argument
137 goto(startpos)
170 test(600, 8, startpos=(70, 117))
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/
DNeuQuant.java184 int previouscol, startpos; in inxbuild() local
187 startpos = 0; in inxbuild()
218 netindex[previouscol] = (startpos + i) >> 1; in inxbuild()
222 startpos = i; in inxbuild()
225 netindex[previouscol] = (startpos + maxnetpos) >> 1; in inxbuild()
/external/icu/android_icu4j/src/main/java/android/icu/impl/data/
DTokenIterator.java118 int startpos = position; in nextToken() local
161 startpos); in nextToken()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/
DTokenIterator.java116 int startpos = position; in nextToken() local
159 startpos); in nextToken()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.cpp742 bool CPDF_SyntaxParser::IsWholeWord(FX_FILESIZE startpos, in IsWholeWord() argument
753 if (bCheckRight && startpos + (int32_t)taglen <= limit && in IsWholeWord()
754 GetCharAt(startpos + (int32_t)taglen, ch)) { in IsWholeWord()
761 if (bCheckLeft && startpos > 0 && GetCharAt(startpos - 1, ch)) { in IsWholeWord()
805 const FX_FILESIZE startpos = GetPos(); in FindTag() local
818 return GetPos() - startpos - taglen; in FindTag()
Dcpdf_syntax_parser.h88 bool IsWholeWord(FX_FILESIZE startpos,
/external/python/cpython3/Lib/idlelib/
Dpyparse.py515 startpos = i
519 endpos = code.find('\n', startpos) + 1
553 i = startpos
/external/python/cpython2/Lib/idlelib/
DPyParse.py513 startpos = i
517 endpos = str.find('\n', startpos) + 1
549 i = startpos
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/
Dre2.cc615 size_t startpos, in GlobalReplace() argument
626 if (startpos > endpos || endpos > text.size()) { in GlobalReplace()
629 << "startpos: " << startpos << ", " in GlobalReplace()
636 subtext.remove_prefix(startpos); in GlobalReplace()
653 if (prog_->anchor_start() && startpos != 0) in GlobalReplace()
668 if (startpos != 0) in GlobalReplace()
/external/lz4/lib/
Dlz4hc.c242 const BYTE** startpos, in LZ4HC_InsertAndGetWiderMatch() argument
292 *startpos = ip + back; in LZ4HC_InsertAndGetWiderMatch()
309 *startpos = ip + back; in LZ4HC_InsertAndGetWiderMatch()
397 *startpos = ip; in LZ4HC_InsertAndGetWiderMatch()
433 *startpos = ip + back; in LZ4HC_InsertAndGetWiderMatch()
/external/python/cpython2/Objects/
Dunicodeobject.c3529 Py_ssize_t startpos, Py_ssize_t endpos, in make_encode_exception() argument
3534 encoding, unicode, size, startpos, endpos, reason); in make_encode_exception()
3537 if (PyUnicodeEncodeError_SetStart(*exceptionObject, startpos)) in make_encode_exception()
3553 Py_ssize_t startpos, Py_ssize_t endpos, in raise_encode_exception() argument
3557 encoding, unicode, size, startpos, endpos, reason); in raise_encode_exception()
3570 Py_ssize_t startpos, Py_ssize_t endpos, in unicode_encode_call_errorhandler() argument
3585 encoding, unicode, size, startpos, endpos, reason); in unicode_encode_call_errorhandler()
4850 Py_ssize_t startpos, Py_ssize_t endpos, in make_translate_exception() argument
4855 unicode, size, startpos, endpos, reason); in make_translate_exception()
4858 if (PyUnicodeTranslateError_SetStart(*exceptionObject, startpos)) in make_translate_exception()
[all …]

12