Home
last modified time | relevance | path

Searched refs:bits (Results 76 – 100 of 108) sorted by relevance

12345

/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_arm.lua600 local function parse_imm(imm, bits, shift, scale, signed)
608 local s = sar(m, bits-1)
610 elseif s == -1 then return shl(m + shl(1, bits), shift) end
612 if sar(m, bits) == 0 then return shl(m, shift) end
617 waction("IMM", (signed and 32768 or 0)+scale*1024+bits*32+shift, imm)
H A Ddasm_arm64.lua320 local function parse_imm(imm, bits, shift, scale, signed)
328 local s = sar(m, bits-1)
330 elseif s == -1 then return shl(m + shl(1, bits), shift) end
332 if sar(m, bits) == 0 then return shl(m, shift) end
337 waction("IMM", (signed and 32768 or 0)+scale*1024+bits*32+shift, imm)
H A Ddasm_ppc.lua1538 local function parse_imm(imm, bits, shift, scale, signed)
1544 local s = sar(m, bits-1)
1546 elseif s == -1 then return shl(m + shl(1, bits), shift) end
1548 if sar(m, bits) == 0 then return shl(m, shift) end
1557 waction("IMM", (signed and 32768 or 0)+scale*1024+bits*32+shift, imm)
/php-src/ext/ffi/
H A Dffi.g278 {zend_ffi_val bits;}
281 constant_expression(&bits)
283 {zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits);}
289 constant_expression(&bits)
290 {zend_ffi_add_bit_field(struct_dcl, NULL, 0, field_dcl, &bits);}
H A Dffi.c143 uint8_t bits; member
2098 if (!f->bits) { in zend_ffi_cdata_get_debug_info()
3117 || old_field->bits != field->bits in zend_ffi_same_types()
6113 field->bits = 0;
6166 new_field->bits = field->bits;
6211 if (bits->kind == ZEND_FFI_VAL_INT32 || bits->kind == ZEND_FFI_VAL_INT64) {
6212 if (bits->i64 < 0) {
6226 if (bits->u64 == 0) {
6248 field->bits = bits->u64;
6265 field->bits = bits->u64;
[all …]
H A Dphp_ffi.h223 …i_dcl *struct_dcl, const char *name, size_t name_len, zend_ffi_dcl *field_dcl, zend_ffi_val *bits);
H A Dffi_parser.c2434 zend_ffi_val bits; in parse_struct_declarator() local
2439 sym = parse_constant_expression(sym, &bits); in parse_struct_declarator()
2443 zend_ffi_add_bit_field(struct_dcl, name, name_len, field_dcl, &bits); in parse_struct_declarator()
2454 sym = parse_constant_expression(sym, &bits); in parse_struct_declarator()
2455 zend_ffi_add_bit_field(struct_dcl, NULL, 0, field_dcl, &bits); in parse_struct_declarator()
/php-src/ext/openssl/tests/
H A Decc.phpt31 var_dump($d1["bits"]);
/php-src/ext/standard/
H A Durl.c475 uint32_t bits; in php_url_encode_impl() local
513 if (((bits = _mm_movemask_epi8(mask)) & 0xffff) == 0xffff) { in php_url_encode_impl()
521 if ((bits & (0x1 << i))) { in php_url_encode_impl()
/php-src/ext/mysqlnd/
H A Dmysqlnd_commands.c231 zend_uchar bits[1]; in MYSQLND_METHOD() local
235 int1store(bits, options); in MYSQLND_METHOD()
237 ret = send_command(conn->payload_decoder_factory, COM_REFRESH, bits, 1, FALSE, in MYSQLND_METHOD()
/php-src/ext/mbstring/tests/
H A Dmb_encode_numericentity.phpt42 // Try using mask to remove some bits
H A Dutf7imap_encoding.phpt237 // (which decodes to only zero bits)
/php-src/ext/mbstring/
H A Dmbstring.c6088 base64_table[(bits >> 6) & 0x3F], in transfer_encode_mime_bytes()
6089 base64_table[bits & 0x3F]); in transfer_encode_mime_bytes()
6093 uint32_t bits = *p++; in transfer_encode_mime_bytes() local
6098 uint32_t bits = (a << 8) | b; in transfer_encode_mime_bytes() local
6099 … mb_convert_buf_add4(out, base64_table[(bits >> 10) & 0x3F], base64_table[(bits >> 4) & 0x3F], bas… in transfer_encode_mime_bytes()
6566 unsigned int bits = 0, cache = 0; in mime_header_decode_encoded_word() local
6577 bits += 6; in mime_header_decode_encoded_word()
6579 if (bits == 24) { in mime_header_decode_encoded_word()
6583 bits = cache = 0; in mime_header_decode_encoded_word()
6586 if (bits == 18) { in mime_header_decode_encoded_word()
[all …]
/php-src/ext/gmp/
H A Dgmp.stub.php158 function gmp_random_bits(int $bits): GMP {} argument
H A Dgmp.c1783 zend_long bits; in ZEND_FUNCTION() local
1786 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &bits) == FAILURE) { in ZEND_FUNCTION()
1790 if (bits <= 0) { in ZEND_FUNCTION()
1798 mpz_urandomb(gmpnum_result, GMPG(rand_state), bits); in ZEND_FUNCTION()
H A Dgmp_arginfo.h137 ZEND_ARG_TYPE_INFO(0, bits, IS_LONG, 0)
/php-src/sapi/litespeed/
H A Dlsapilib.c99 uint32 bits[2]; member
4152 ctx->bits[0] = 0; in lsapi_MD5Init()
4153 ctx->bits[1] = 0; in lsapi_MD5Init()
4166 t = ctx->bits[0]; in lsapi_MD5Update()
4167 if ((ctx->bits[0] = t + ((uint32) len << 3)) < t) in lsapi_MD5Update()
4168 ctx->bits[1]++; /* Carry from low to high */ in lsapi_MD5Update()
4169 ctx->bits[1] += len >> 29; in lsapi_MD5Update()
4215 count = (ctx->bits[0] >> 3) & 0x3F; in lsapi_MD5Final()
4241 ((uint32 *) ctx->in)[14] = ctx->bits[0]; in lsapi_MD5Final()
4242 ((uint32 *) ctx->in)[15] = ctx->bits[1]; in lsapi_MD5Final()
/php-src/Zend/tests/zend_ini/
H A Dzend_ini_parse_quantity_binary_prefixes.phpt12 // Ignore G due to overflow on 32bits
H A Dzend_ini_parse_quantity_hex_prefixes.phpt12 // Ignore G due to overflow on 32bits
H A Dzend_ini_parse_quantity_octal_prefixes.phpt12 // Ignore G due to overflow on 32bits
/php-src/Zend/
H A Dzend_strtod.c1308 (d, e, bits) U *d; int *e, *bits; in d2b() argument
1310 (U *d, int *e, int *bits)
1418 *bits = 4*P + 8 - k - hi0bits(word0(d) & Frac_mask);
1421 *bits = P - k;
1428 *bits = 32*i - hi0bits(x[i-1]);
1430 *bits = (i+2)*16 - hi0bits(x[i]);
/php-src/docs-old/
H A Dparameter-parsing-api.md188 * than a 'size_t', the upper bits might not be initialized
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます5343 >14 beshort x %d bits
6301 # NOTE: the spec incorrectly uses "bits per sample" instead of "bits per byte"
8430 >2 byte&0x1f x %d bits
18521 # Image descriptor: bits 3-0 give the alpha channel depth, bits 5-4 give direction
24817 # # finder flags, bits 0-7
26536 # maximal 7 0-bits for pixel sequences or 11 0-bits for EOL in G3
26562 # maximal 7 0-bits for pixel sequences or 11 0-bits for EOL in G3
32425 # CTB. Old-style CTBs have only four bits of type information; bits
32649 >>&0 ubeshort x \b %d bits)
32651 >>&0 ubeshort x \b %d bits)
[all …]
H A Dmagic5343 >14 beshort x %d bits
6301 # NOTE: the spec incorrectly uses "bits per sample" instead of "bits per byte"
8430 >2 byte&0x1f x %d bits
18521 # Image descriptor: bits 3-0 give the alpha channel depth, bits 5-4 give direction
24817 # # finder flags, bits 0-7
26536 # maximal 7 0-bits for pixel sequences or 11 0-bits for EOL in G3
26562 # maximal 7 0-bits for pixel sequences or 11 0-bits for EOL in G3
32425 # CTB. Old-style CTBs have only four bits of type information; bits
32649 >>&0 ubeshort x \b %d bits)
32651 >>&0 ubeshort x \b %d bits)
[all …]
/php-src/
H A DNEWS14 . Fixed zend fiber build for solaris default mode (32 bits). (David Carlier)

Completed in 273 milliseconds

12345