Searched refs:shift (Results 1 - 25 of 418) sorted by relevance

1234567891011>>

/macosx-10.10/dtrace-147/test/tst/common/aggs/
H A Dtst.quantmany.d31 int64_t val, shift;
36 val = -(1 << shift);
37 shift++;
41 /shift == 32/
49 val = (1 << shift);
54 @[shift] = quantize(val, val);
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/js1_2/Array/
H A Dgeneral1.js33 var TITLE = 'String:push,unshift,shift';
50 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),123);
55 array1.shift(); //array1 = [dog,-99,mouse]
56 array1.shift(); //array1 = [-99,mouse]
57 array1.shift(); //array1 = [mouse]
58 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),"mouse");
59 testcases[count++] = new TestCase( SECTION, "array1.shift()", "undefined", String(array1.shift()));
[all...]
/macosx-10.10/Libc-1044.1.2/stdlib/
H A Da64l.c17 int value, digit, shift; local
26 shift = 0;
41 value |= digit << shift;
42 shift += 6;
/macosx-10.10/ruby-106/ruby/win32/
H A Drm.bat3 if "%1" == "-f" shift
4 if "%1" == "-r" (shift & set recursive=1 & goto :optloop)
10 shift
16 shift
H A Drmdirs.bat3 if "%1" == "-p" shift
7 shift
27 shift
H A Dconfigure.bat51 shift
56 shift
57 shift
62 shift
63 shift
68 shift
69 shift
74 shift
75 shift
80 shift
[all...]
/macosx-10.10/dtrace-147/libdwarf/
H A Ddwarf_leb.c52 Dwarf_Sword shift; local
57 word_number is assumed big enough that the shift has a defined
91 the shift for the shift to have a defined result. */
93 shift = 0;
97 number |= ((Dwarf_Unsigned) (byte & 0x7f)) << shift;
104 shift += 7;
122 Dwarf_Sword shift = 0; local
131 number |= ((Dwarf_Signed) ((byte & 0x7f))) << shift;
132 shift
[all...]
/macosx-10.10/postfix-255/postfix/src/global/
H A Dmynetworks.c94 unsigned shift; local
156 shift = IN_CLASSA_NSHIFT;
159 shift = IN_CLASSB_NSHIFT;
162 shift = IN_CLASSC_NSHIFT;
165 shift = IN_CLASSD_NSHIFT;
177 for (junk = mask, shift = MAI_V4ADDR_BITS; junk != 0;
178 shift--, junk <<= 1)
187 shift = 0;
196 inet_ntoa(net), MAI_V4ADDR_BITS - shift);
224 shift
[all...]
/macosx-10.10/IOFireWireFamily-456/IOFireWireFamily.kmodproj/
H A DIOFWUtils.cpp49 SInt32 shift; local
52 for (shift = 28; shift >= 0; shift -= 4) {
53 sum = ((crc >> 12) ^ (host_quad >> shift)) & 0x0F;
67 SInt32 shift; local
77 for (shift = 28; shift >= 0; shift -= 4) {
78 sum = ((crc16 >> 12) ^ (quad >> shift))
[all...]
/macosx-10.10/apr-32/apr-util/apr-util/strmatch/
H A Dapr_strmatch.c39 apr_size_t *shift = (apr_size_t *)(this_pattern->context); local
53 s_next += shift[(int)*((const unsigned char *)s_next)];
63 apr_size_t *shift = (apr_size_t *)(this_pattern->context); local
77 s_next += shift[(unsigned char)apr_tolower(*s_next)];
88 apr_size_t *shift; local
99 shift = (apr_size_t *)apr_palloc(p, sizeof(apr_size_t) * NUM_CHARS);
101 shift[i] = pattern->length;
106 shift[(unsigned char)s[i]] = pattern->length - i - 1;
112 shift[(unsigned char)apr_tolower(s[i])] = pattern->length - i - 1;
115 pattern->context = shift;
[all...]
/macosx-10.10/ksh-23/ksh/src/lib/libast/string/
H A Dwc2utf8.c39 unsigned short shift; member in struct:Utf8_s
62 *s++ = ops[i].prefix | (w >> ops[i].shift);
63 switch (ops[i].shift)
H A Dstrtoi.h234 register int shift; local
398 shift = base < 4 ? 1 : 2;
400 shift = base < 16 ? 3 : 4;
402 shift = base < 64 ? 5 : 6;
409 n <<= shift;
487 shift = 9;
492 shift = 10;
496 shift = 20;
500 shift = 30;
504 shift
[all...]
/macosx-10.10/ncurses-44/ncurses/ncurses/tty/
H A Dhardscroll.c189 int start, end, shift; local
222 shift = OLDNUM(i) - i; /* shift > 0 */
227 == shift)
229 end = i - 1 + shift;
231 TR(TRACE_UPDATE | TRACE_MOVE, ("scroll [%d, %d] by %d", start, end, shift));
233 if (_nc_scrolln(shift, start, end, screen_lines - 1) == ERR) {
247 shift = OLDNUM(i) - i; /* shift < 0 */
251 while (i >= 0 && OLDNUM(i) != _NEWINDEX && OLDNUM(i) - i == shift)
[all...]
H A Dhashmap.c189 int start, end, shift; local
207 shift = OLDNUM(i) - i;
212 == shift)
226 if (shift < 0)
227 back_limit = back_ref_limit + (-shift);
229 if (newhash[i] == oldhash[i + shift]
230 || cost_effective(i + shift, i, shift < 0)) {
231 OLDNUM(i) = i + shift;
234 i, i + shift));
275 int start, shift, size; local
[all...]
/macosx-10.10/ruby-106/ruby/bcc32/
H A Dconfigure.bat39 shift
44 shift
45 shift
50 shift
51 shift
58 shift
59 shift
66 shift
67 shift
74 shift
[all...]
/macosx-10.10/cxxfilt-11/cxxfilt/opcodes/
H A Dcgen-ibld.in89 int shift;
96 shift = (start + 1) - length;
98 shift = (word_length - (start + length));
99 x = (x & ~(mask << shift)) | ((value & mask) << shift);
211 int shift;
214 shift = (word_offset + start + 1) - length;
216 shift = total_length - (word_offset + start + length);
217 *buffer = (*buffer & ~(mask << shift)) | ((value & mask) << shift);
[all...]
/macosx-10.10/llvmCore-3425.0.34/lib/Support/
H A DDataExtractor.cpp136 unsigned shift = 0; local
142 result |= uint64_t(byte & 0x7f) << shift;
143 shift += 7;
157 unsigned shift = 0; local
163 result |= uint64_t(byte & 0x7f) << shift;
164 shift += 7;
170 if (shift < 64 && (byte & 0x40))
171 result |= -(1ULL << shift);
/macosx-10.10/xnu-2782.1.97/osfmk/i386/vmx/
H A Dvmx_cpu.h73 #define VMX_CAP(msr, shift, mask) (rdmsr64(msr) & ((mask) << (shift)))
/macosx-10.10/Heimdal-398.1.2/lib/hcrypto/libtommath/
H A Dbn_mp_div_2d.c18 /* shift right by a certain bit count (store quotient in c, optional remainder in d) */
26 /* if the shift count is <= 0 then we do no work */
53 /* shift by as many digits in the bit count */
58 /* shift any bit count < DIGIT_BIT */
61 register mp_digit *tmpc, mask, shift; local
66 /* shift for lsb */
67 shift = DIGIT_BIT - D;
78 /* shift the current word and mix in the carry bits from the previous word */
79 *tmpc = (*tmpc >> D) | (r << shift);
H A Dbn_mp_mul_2d.c18 /* shift left by a certain bit count */
37 /* shift by as many digits in the bit count */
44 /* shift any bit count < DIGIT_BIT */
47 register mp_digit *tmpc, shift, mask, r, rr; local
53 /* shift for msbs */
54 shift = DIGIT_BIT - d;
63 rr = (*tmpc >> shift) & mask;
65 /* shift the current word and OR in the carry */
/macosx-10.10/tcl-105/tcl/tcl/libtommath/
H A Dbn_mp_div_2d.c18 /* shift right by a certain bit count (store quotient in c, optional remainder in d) */
26 /* if the shift count is <= 0 then we do no work */
53 /* shift by as many digits in the bit count */
58 /* shift any bit count < DIGIT_BIT */
61 register mp_digit *tmpc, mask, shift; local
66 /* shift for lsb */
67 shift = DIGIT_BIT - D;
78 /* shift the current word and mix in the carry bits from the previous word */
79 *tmpc = (*tmpc >> D) | (r << shift);
H A Dbn_mp_mul_2d.c18 /* shift left by a certain bit count */
37 /* shift by as many digits in the bit count */
44 /* shift any bit count < DIGIT_BIT */
47 register mp_digit *tmpc, shift, mask, r, rr; local
53 /* shift for msbs */
54 shift = DIGIT_BIT - d;
63 rr = (*tmpc >> shift) & mask;
65 /* shift the current word and OR in the carry */
/macosx-10.10/tcl-105/tcl_ext/tcllib/tcllib/modules/term/ansi/code/
H A Dmacros.tcl32 set shift 0
35 set shift 1
42 if {$shift || ($pos < 0)} {
/macosx-10.10/tcl-105/tcl/tcl/generic/
H A DtclStrToD.c323 int shift = 0; /* Amount to shift when accumulating binary */
459 shift = 3 * (numTrailZeros + 1);
473 && (((size_t)shift >=
476 (~(Tcl_WideUInt)0 >> shift)))) {
484 (octalSignificandWide << shift) + (c - '0');
486 mp_mul_2d(&octalSignificandBig, shift,
583 shift = 4 * (numTrailZeros + 1);
592 ((size_t)shift >= CHAR_BIT*sizeof(Tcl_WideUInt) ||
593 significandWide > (~(Tcl_WideUInt)0 >> shift))) {
322 int shift = 0; /* Amount to shift when accumulating binary */ local
969 significandWide <<= shift; local
990 significandWide <<= shift; local
1012 octalSignificandWide <<= shift; local
2344 int shift = expt - mantBits; local
2376 int bits, shift, i; local
2449 int i, exact = 1, shift = mantBits - bits; local
2492 int i, shift = mantBits - bits; local
2538 int shift; local
[all...]
/macosx-10.10/Libc-1044.1.2/gdtoa/
H A D_ldbl_util.c41 int bit, shift, highbit, dexp; local
106 shift = LDBL_MANL_SIZE - bit - 1;
107 if (shift >= 0)
108 t64 |= (u.bits.manl >> shift);
110 t64 |= (u.bits.manl << (-shift));

Completed in 389 milliseconds

1234567891011>>