Home
last modified time | relevance | path

Searched refs:from_start (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Lib/test/test_capi/
H A Dtest_unicode.py430 for from_start in range(5):
432 unicode_copycharacters(from_, 0, from_, from_start, 5),
433 (from_[from_start:from_start+5].ljust(5, '\0'),
434 5-from_start)
/third_party/node/deps/v8/src/objects/
H A Delements.cc196 ElementsKind from_kind, uint32_t from_start, in CopyObjectToObjectElements()
206 std::min(from_base.length() - from_start, to_base.length() - to_start); in CopyObjectToObjectElements()
215 (copy_size + static_cast<int>(from_start)) <= from_base.length()); in CopyObjectToObjectElements()
226 to.CopyElements(isolate, to_start, from, from_start, copy_size, in CopyObjectToObjectElements()
231 uint32_t from_start, FixedArrayBase to_base, in CopyDictionaryToObjectElements()
239 copy_size = from.max_number_key() + 1 - from_start; in CopyDictionaryToObjectElements()
257 InternalIndex entry = from.FindEntry(isolate, i + from_start); in CopyDictionaryToObjectElements()
272 uint32_t from_start, FixedArrayBase to_base, in CopyDoubleToObjectElements()
279 std::min(from_base.length() - from_start, to_base.length() - to_start); in CopyDoubleToObjectElements()
292 (copy_size + static_cast<int>(from_start)) < in CopyDoubleToObjectElements()
195 CopyObjectToObjectElements(Isolate* isolate, FixedArrayBase from_base, ElementsKind from_kind, uint32_t from_start, FixedArrayBase to_base, ElementsKind to_kind, uint32_t to_start, int raw_copy_size) CopyObjectToObjectElements() argument
230 CopyDictionaryToObjectElements(Isolate* isolate, FixedArrayBase from_base, uint32_t from_start, FixedArrayBase to_base, ElementsKind to_kind, uint32_t to_start, int raw_copy_size) CopyDictionaryToObjectElements() argument
271 CopyDoubleToObjectElements(Isolate* isolate, FixedArrayBase from_base, uint32_t from_start, FixedArrayBase to_base, uint32_t to_start, int raw_copy_size) CopyDoubleToObjectElements() argument
315 CopyDoubleToDoubleElements(FixedArrayBase from_base, uint32_t from_start, FixedArrayBase to_base, uint32_t to_start, int raw_copy_size) CopyDoubleToDoubleElements() argument
351 CopySmiToDoubleElements(FixedArrayBase from_base, uint32_t from_start, FixedArrayBase to_base, uint32_t to_start, int raw_copy_size) CopySmiToDoubleElements() argument
380 CopyPackedSmiToDoubleElements(FixedArrayBase from_base, uint32_t from_start, FixedArrayBase to_base, uint32_t to_start, int packed_size, int raw_copy_size) CopyPackedSmiToDoubleElements() argument
412 CopyObjectToDoubleElements(FixedArrayBase from_base, uint32_t from_start, FixedArrayBase to_base, uint32_t to_start, int raw_copy_size) CopyObjectToDoubleElements() argument
441 CopyDictionaryToDoubleElements(Isolate* isolate, FixedArrayBase from_base, uint32_t from_start, FixedArrayBase to_base, uint32_t to_start, int raw_copy_size) CopyDictionaryToDoubleElements() argument
975 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
1469 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
2508 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
2925 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
4886 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
5078 CopyElementsImpl(Isolate* isolate, FixedArrayBase from, uint32_t from_start, FixedArrayBase to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size) CopyElementsImpl() argument
[all...]
/third_party/python/Include/cpython/
H A Dunicodeobject.h512 len(from)-from_start), or if kind(from[from_start:from_start+how_many]) >
520 how_many = min(how_many, len(from) - from_start)
521 to[to_start:to_start+how_many] = from[from_start:from_start+how_many]
530 Py_ssize_t from_start,
541 Py_ssize_t from_start,
/third_party/python/Objects/
H A Dunicodeobject.c1530 PyObject *from, Py_ssize_t from_start, in _copy_characters()
1538 assert(0 <= from_start); in _copy_characters()
1542 assert(from_start + how_many <= PyUnicode_GET_LENGTH(from)); in _copy_characters()
1564 ch = PyUnicode_READ(from_kind, from_data, from_start + i); in _copy_characters()
1583 (const char*)from_data + from_kind * from_start, in _copy_characters()
1591 PyUnicode_1BYTE_DATA(from) + from_start, in _copy_characters()
1592 PyUnicode_1BYTE_DATA(from) + from_start + how_many, in _copy_characters()
1601 PyUnicode_1BYTE_DATA(from) + from_start, in _copy_characters()
1602 PyUnicode_1BYTE_DATA(from) + from_start + how_many, in _copy_characters()
1611 PyUnicode_2BYTE_DATA(from) + from_start, in _copy_characters()
1529 _copy_characters(PyObject *to, Py_ssize_t to_start, PyObject *from, Py_ssize_t from_start, Py_ssize_t how_many, int check_maxchar) _copy_characters() argument
1671 _PyUnicode_FastCopyCharacters( PyObject *to, Py_ssize_t to_start, PyObject *from, Py_ssize_t from_start, Py_ssize_t how_many) _PyUnicode_FastCopyCharacters() argument
1679 PyUnicode_CopyCharacters(PyObject *to, Py_ssize_t to_start, PyObject *from, Py_ssize_t from_start, Py_ssize_t how_many) PyUnicode_CopyCharacters() argument
[all...]
/third_party/python/Modules/
H A D_testcapimodule.c2335 Py_ssize_t from_start, to_start, how_many, copied; in unicode_copycharacters() local
2338 &from, &from_start, &how_many)) { in unicode_copycharacters()
2352 from_start, how_many)) < 0) { in unicode_copycharacters()

Completed in 30 milliseconds