Home
last modified time | relevance | path

Searched refs:startpos (Results 1 – 25 of 33) 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.h313 Py_ssize_t startpos, endpos, newpos; in STRINGLIB() local
319 startpos = i-1; in STRINGLIB()
320 endpos = startpos+1; in STRINGLIB()
331 memset(p, '?', endpos - startpos); in STRINGLIB()
332 p += (endpos - startpos); in STRINGLIB()
335 i += (endpos - startpos - 1); in STRINGLIB()
339 for (k=startpos; k<endpos; k++) { in STRINGLIB()
345 i += (endpos - startpos - 1); in STRINGLIB()
350 writer.min_size -= max_char_size * (endpos - startpos); in STRINGLIB()
352 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()
62 Py_ssize_t startpos, endpos, childpos, limit; in siftup() local
68 startpos = pos; in siftup()
103 return siftdown(heap, startpos, pos); in siftup()
403 siftdown_max(PyListObject *heap, Py_ssize_t startpos, Py_ssize_t pos) in siftdown_max() argument
420 while (pos > startpos) { in siftdown_max()
446 Py_ssize_t startpos, endpos, childpos, limit; in siftup_max() local
452 startpos = pos; in siftup_max()
487 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.py277 startpos, endpos = 0, len(got)
281 startpos = len(w)
293 if startpos > endpos:
305 startpos = got.find(w, startpos, endpos)
306 if startpos < 0:
308 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/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/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/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.py520 startpos = i
524 endpos = code.find('\n', startpos) + 1
558 i = startpos
/external/python/cpython2/Lib/idlelib/
DPyParse.py513 startpos = i
517 endpos = str.find('\n', startpos) + 1
549 i = startpos
/external/lz4/lib/
Dlz4hc.c213 const BYTE** startpos, in LZ4HC_InsertAndGetWiderMatch() argument
264 *startpos = ip + back; in LZ4HC_InsertAndGetWiderMatch()
281 *startpos = ip + back; in LZ4HC_InsertAndGetWiderMatch()
335 *startpos = ip; in LZ4HC_InsertAndGetWiderMatch()
369 *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 …]
/external/python/cpython3/Objects/
Dunicodeobject.c331 Py_ssize_t startpos, Py_ssize_t endpos, Py_ssize_t *newpos);
337 Py_ssize_t startpos, Py_ssize_t endpos,
4115 Py_ssize_t startpos, Py_ssize_t endpos, in make_decode_exception() argument
4120 encoding, input, length, startpos, endpos, reason); in make_decode_exception()
4123 if (PyUnicodeDecodeError_SetStart(*exceptionObject, startpos)) in make_decode_exception()
6671 Py_ssize_t startpos, Py_ssize_t endpos, in make_encode_exception() argument
6677 encoding, unicode, startpos, endpos, reason); in make_encode_exception()
6680 if (PyUnicodeEncodeError_SetStart(*exceptionObject, startpos)) in make_encode_exception()
6697 Py_ssize_t startpos, Py_ssize_t endpos, in raise_encode_exception() argument
6701 encoding, unicode, startpos, endpos, reason); in raise_encode_exception()
[all …]

12