Lines Matching refs:offset

3056 static void php_splice(HashTable *in_hash, zend_long offset, zend_long length, HashTable *replace, …  argument
3070 if (offset > num_in) {
3071 offset = num_in;
3072 } else if (offset < 0 && (offset = (num_in + offset)) < 0) {
3073 offset = 0;
3078 length = num_in - offset + length;
3079 } else if (((unsigned)offset + (unsigned)length) > (unsigned)num_in) {
3080 length = num_in - offset;
3087 for (pos = 0, idx = 0; pos < offset && idx < in_hash->nNumUsed; idx++) {
3110 for ( ; pos < offset + length && idx < in_hash->nNumUsed; idx++) {
3131 for ( ; pos2 < offset + length && idx < in_hash->nNumUsed; idx++) {
3444 zend_long offset, local
3450 Z_PARAM_LONG(offset)
3473 if (offset > num_in) {
3474 offset = num_in;
3475 } else if (offset < 0 && (offset = (num_in + offset)) < 0) {
3476 offset = 0;
3481 size = num_in - offset + length;
3482 } else if (((zend_ulong) offset + (zend_ulong) length) > (uint32_t) num_in) {
3483 size = num_in - offset;
3492 …php_splice(Z_ARRVAL_P(array), offset, length, repl_array ? Z_ARRVAL_P(repl_array) : NULL, rem_hash…
3503 zend_long offset, /* Offset to get elements from */ local
3513 Z_PARAM_LONG(offset)
3530 if (offset > num_in) {
3532 } else if (offset < 0 && (offset = (num_in + offset)) < 0) {
3533 offset = 0;
3538 length = num_in - offset + length;
3539 } else if (((zend_ulong) offset + (zend_ulong) length) > (unsigned) num_in) {
3540 length = num_in - offset;
3554 (offset == 0 && HT_IS_WITHOUT_HOLES(Z_ARRVAL_P(input))))) {
3559 if (pos <= offset) {
3562 if (pos > offset + length) {
3576 if (pos <= offset) {
3579 if (pos > offset + length) {