Lines Matching refs:offset

28 /* The cache element 0 is the Unicode offset;
29 * the cache element 1 is the byte offset of the element 0;
1556 Remove any string offset. You should normally use the C<SvOOK_off> macro
1607 else if (SvOOK(sv)) { /* pv is offset? */
4947 Inserts a string at the specified offset/length within the SV. Similar to
4954 Perl_sv_insert(pTHX_ SV *bigstr, STRLEN offset, STRLEN len, char *little, STRLEN littlelen)
4968 if (offset + len > curlen) {
4969 SvGROW(bigstr, offset+len+1);
4970 Zero(SvPVX(bigstr)+curlen, offset+len-curlen, char);
4971 SvCUR_set(bigstr, offset+len);
4978 mid = big + offset + len;
4984 Move(little,big+offset,littlelen,char);
4990 Move(little,SvPVX(bigstr)+offset,len,char);
4996 mid = big + offset;
5445 * between UTF-8 and byte offsets. There are two (substr offset and substr
5446 * length, the i offset, PERL_MAGIC_UTF8_CACHESIZE) times two (UTF-8 offset
5447 * and byte offset) cache positions.
5518 /* Try this only for the substr offset (i == 0),
5603 the offset, rather than from the start of the string. Handles magic and
5703 Perl_croak(aTHX_ "panic: sv_pos_b2u: bad byte offset");
6168 Off_t offset = PerlIO_tell(fp);
6169 if (offset != (Off_t) -1 && st.st_size + append > offset) {
6170 (void) SvGROW(sv, (STRLEN)((st.st_size - offset) + append + 1));
11514 from the position which (PV + *offset) pointed to. The dsv will be
11517 the PV of the ssv. The value which the offset points will be modified
11526 SV *ssv, int *offset, char *tstr, int tlen)
11529 if (SvPOK(ssv) && SvPOK(dsv) && SvROK(encoding) && offset) {
11540 XPUSHs(offsv = sv_2mortal(newSViv(*offset)));
11546 *offset = SvIV(offsv);