Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 24 of 24) sorted by relevance

/PHP-5.6/ext/standard/tests/array/
H A D005.phpt107 Output after shift is :
124 Output after shift is :
137 Output after shift is :
153 Output after shift is :
166 Output after shift is :
179 Output after shift is :
192 Output after shift is :
212 Output after shift is :
224 Output after shift is :
252 Output after shift is :
[all …]
H A Darray_shift_basic.phpt17 echo "\n-- Before shift: --\n";
20 echo "\n-- After shift: --\n";
31 -- Before shift: --
43 -- After shift: --
H A Darray_shift_variation4.phpt18 echo "\n-- Before shift: --\n";
24 echo "\n-- After shift: --\n";
42 -- Before shift: --
76 -- After shift: --
/PHP-5.6/ext/spl/tests/
H A DsplDoublyLinkedList_shift_noParams.phpt2 Checks that the shift() method of DoublyLinkedList does not accept args.
11 var_dump($ll->shift(1));
14 Warning: SplDoublyLinkedList::shift() expects exactly 0 parameters, 1 given in %s on line %d
H A Ddllist_005.phpt13 $queue->shift();
50 Exception: Can't shift from an empty datastructure
51 Exception: Can't shift from an empty datastructure
H A Ddllist_001.phpt13 $dll->shift();
25 echo $dll->shift()."\n";
53 Exception: Can't shift from an empty datastructure
H A Ddllist_004.phpt13 $stack->shift();
51 Exception: Can't shift from an empty datastructure
/PHP-5.6/ext/opcache/Optimizer/
H A Dnop_removal.c8 zend_uint new_count, i, shift; in nop_removal() local
14 i = new_count = shift = 0; in nop_removal()
42 shiftlist[i++] = shift; in nop_removal()
44 shift++; in nop_removal()
46 if (shift) { in nop_removal()
53 if (shift) { in nop_removal()
/PHP-5.6/ext/pcre/pcrelib/sljit/
H A DsljitNativePPC_64.c41 #define PUSH_RLDICR(reg, shift) \ argument
42 push_inst(compiler, RLDI(reg, reg, 63 - shift, shift, 1))
47 sljit_uw shift; in load_immediate() local
64 ASM_SLJIT_CLZ(tmp, shift); in load_immediate()
65 SLJIT_ASSERT(shift > 0); in load_immediate()
66 shift--; in load_immediate()
67 tmp = (imm << shift); in load_immediate()
71 shift += 15; in load_immediate()
78 shift += 31; in load_immediate()
83 shift += 15; in load_immediate()
[all …]
H A DsljitNativeMIPS_64.c31 sljit_si shift = 32; in load_immediate() local
56 shift -= 8; in load_immediate()
61 shift -= 4; in load_immediate()
66 shift -= 2; in load_immediate()
72 shift += 1; in load_immediate()
74 …SLJIT_ASSERT(((uimm & 0xc000000000000000l) == 0x4000000000000000l) && (shift > 0) && (shift <= 32)… in load_immediate()
83 imm &= (1l << shift) - 1; in load_immediate()
85 ins = (shift == 32) ? DSLL32 : DSLL; in load_immediate()
86 if (shift < 32) in load_immediate()
87 ins |= SH_IMM(shift); in load_immediate()
[all …]
H A DsljitNativeARM_64.c830 sljit_ui shift = MEM_SIZE_SHIFT(flags); in getput_arg_fast() local
842 | (shift << 30) | RT(reg) | RN(arg) | (argw << 12))); in getput_arg_fast()
850 if (argw && argw != shift) in getput_arg_fast()
862 if (argw >= 0 && (argw >> shift) <= 0xfff && (argw & ((1 << shift) - 1)) == 0) { in getput_arg_fast()
867 | RT(reg) | RN(arg) | (argw << (10 - shift)))); in getput_arg_fast()
912 sljit_ui shift = MEM_SIZE_SHIFT(flags); in getput_arg() local
970 if (!argw || argw == shift) { in getput_arg()
1552 sljit_ui shift = MEM_SIZE_SHIFT(flags); in emit_fop_mem() local
1553 sljit_ins ins_bits = (shift << 30); in emit_fop_mem()
1564 if (!argw || argw == shift) in emit_fop_mem()
[all …]
H A DsljitNativeARM_T2_32.c799 #define OFFSET_CHECK(imm, shift) (!(argw & ~(imm << shift))) argument
893 sljit_si other_r, shift; in getput_arg_fast() local
940 shift = 3; in getput_arg_fast()
943 shift = 2; in getput_arg_fast()
948 shift = 0; in getput_arg_fast()
953 shift = 1; in getput_arg_fast()
956 if (shift != 3) { in getput_arg_fast()
957 …L_IF(push_inst16(compiler, sljit_mem16_imm5[flags] | RD3(reg) | RN3(arg) | (argw << (6 - shift)))); in getput_arg_fast()
H A DsljitNativeTILEGX-encoder.c1611 int shift = (int)(sizeof(int) * 8 - num_bits); in sign_extend() local
1612 return (n << shift) >> shift; in sign_extend()
9563 int shift = (int)((sizeof(int) * 8) - op->num_bits); in parse_insn_tilegx() local
9564 raw_opval = (raw_opval << shift) >> shift; in parse_insn_tilegx()
/PHP-5.6/ext/spl/internal/
H A Dsplqueue.inc18 * - dequeue() is an alias of shift()
57 return parent::shift();
62 * @note enqueue is an alias of shift()
63 * @see splDoublyLinkedList::shift()
H A Dsplstack.inc14 * extends SplDoublyLinkedList, shift() and unshift() are still available even
H A Dspldoublylinkedlist.inc62 public function shift()
65 throw new RuntimeException("Can't shift from an empty datastructure");
186 $this->shift();
/PHP-5.6/ext/bcmath/libbcmath/src/
H A Drecmul.c116 _bc_shift_addsub (bc_num accum, bc_num val, int shift, int sub) in _bc_shift_addsub() argument
124 assert (accum->n_len+accum->n_scale >= shift+count); in _bc_shift_addsub()
128 accum->n_len + accum->n_scale - shift - 1); in _bc_shift_addsub()
/PHP-5.6/ext/mbstring/oniguruma/enc/
H A Dutf8.c142 #define UTF8_TRAILS(code, shift) (UChar )((((code) >> (shift)) & 0x3f) | 0x80) in code_to_mbc() argument
/PHP-5.6/ext/standard/
H A Dstring.c2850 SHIFT_TAB *shift; /* table mapping hash to allowed shift */ member
2878 shift->entries[i] = max_shift;
2882 HASH h = php_strtr_hash(&S(&patterns[i].pat)[j], B) & shift->table_mask;
2884 shift->entries[h] = MIN(shift->entries[h], m - j - B);
3004 res->shift = safe_emalloc(SHIFT_TAB_SIZE, sizeof(*res->shift->entries), sizeof(*res->shift));
3005 res->shift->table_mask = SHIFT_TAB_SIZE - 1;
3006 php_strtr_populate_shift(patterns, patnum, B, res->m, res->shift);
3059 efree(d->shift);
3077 STRLEN shift = d->shift->entries[h]; local
3079 if (shift > 0) {
[all …]
/PHP-5.6/ext/spl/
H A Dspl_dllist.c622 SPL_METHOD(SplDoublyLinkedList, shift) in SPL_METHOD() argument
1362 SPL_MA(SplQueue, dequeue, SplDoublyLinkedList, shift, arginfo_dllist_void, ZEND_ACC_PUBLIC)
1368 SPL_ME(SplDoublyLinkedList, shift, arginfo_dllist_void, ZEND_ACC_PUBLIC)
/PHP-5.6/ext/pcre/tests/
H A D005.phpt45 conflicts: 2 shift/reduce
/PHP-5.6/
H A Dacinclude.m41891 dnl autoconf undefines the builtin "shift" :-(
1892 dnl If possible, we use the builtin shift anyway, otherwise we use
1894 ifdef([builtin],[builtin(define, phpshift, [builtin(shift, $@)])],[
/PHP-5.6/build/
H A Dlibtool.m4422 shift
436 shift
/PHP-5.6/ext/sqlite3/libsqlite/
H A Dsqlite3.c133333 #define GETVARINT_STEP(v, ptr, shift, mask1, mask2, var, ret) \
133334 v = (v & mask1) | ( (*ptr++) << shift ); \
133336 #define GETVARINT_INIT(v, ptr, shift, mask1, mask2, var, ret) \
133349 int shift;
133357 for(shift=28; shift<=63; shift+=7){
133359 b += (c&0x7F) << shift;

Completed in 401 milliseconds