Home
last modified time | relevance | path

Searched refs:bits (Results 1 – 25 of 108) sorted by last modified time

12345

/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.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/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]);
H A Dzend_portability.h452 #define ZEND_BIT_TEST(bits, bit) \ argument
453 (((bits)[(bit) / (sizeof((bits)[0])*8)] >> ((bit) & (sizeof((bits)[0])*8-1))) & 1)
/php-src/
H A DNEWS14 . Fixed zend fiber build for solaris default mode (32 bits). (David Carlier)
H A Dphp.ini-development1459 ; Define how many bits are stored in each character when converting
1462 ; 4 (4 bits: 0-9, a-f)
1463 ; 5 (5 bits: 0-9, a-v)
1464 ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
1468 ; https://php.net/session.hash-bits-per-character
H A Dphp.ini-production1461 ; Define how many bits are stored in each character when converting
1464 ; 4 (4 bits: 0-9, a-f)
1465 ; 5 (5 bits: 0-9, a-v)
1466 ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
1470 ; https://php.net/session.hash-bits-per-character
/php-src/scripts/gdb/
H A Dphp_gdb.py307 bits = {}
315 bits[int(bit)] = name.lower()
320 if not int(bit) in bits:
321 bits[int(bit)] = name.lower()
324 for bit in bits:
325 types[bits[bit]] = bit
327 type_bit_to_name = bits
/php-src/ext/ffi/
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 …]
/php-src/ext/openssl/tests/
H A Dstream_security_level.phpt14 // Security level 2 refuses certs signed by keys with length of less than 2048 bits
/php-src/ext/mysqli/tests/
H A Dmysqli_stmt_get_result_bit.phpt21 function dec32bin($dec, $bits) {
23 $maxval = pow(2, $bits);
40 for ($bits = 1; $bits <= 46; $bits++) {
41 if (1 == $bits)
44 $max_value = pow(2, $bits) - 1;
47 …, bit_value BIT(%d) NOT NULL, bit_null BIT(%d) DEFAULT NULL) ENGINE="%s"', $bits, $bits, $engine)))
48 printf("[002 - %d] [%d] %s\n",$bits, mysqli_errno($link), mysqli_error($link));
51 printf("[003 - %d] [%d] %s\n", $bits, mysqli_errno($link), mysqli_error($link));
74 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
99 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
[all …]
/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/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/build/
H A Dconfig.guess718 long bits = sysconf(_SC_KERNEL_BITS);
728 switch (bits)
/php-src/docs-old/
H A Doutput-api.md112 remove the CLEANABLE and REMOVABLE bits when the first output has passed through it;
134 Many bits of the manual (and very first implementation) do not comply with the
H A Dparameter-parsing-api.md188 * than a 'size_t', the upper bits might not be initialized
/php-src/ext/pcre/pcre2lib/sljit/
H A DsljitNativeS390X.c392 sljit_uw bits[4]; in have_facility_dynamic() member
402 if (SLJIT_UNLIKELY(cpu_features.bits[0] == 0)) { in have_facility_dynamic()
410 SLJIT_ASSERT(cpu_features.bits[0] != 0); in have_facility_dynamic()
412 return (cpu_features.bits[word_index] & bit_index) != 0; in have_facility_dynamic()
H A DsljitNativeARM_T2_32.c68 #define COPY_BITS(src, from, to, bits) \ argument
69 …((sljit_ins)(src) >> (from - to)) : ((sljit_ins)(src) << (to - from))) & (((1 << bits) - 1) << to))
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_jit_compile.c6569 static BOOL optimize_class(compiler_common *common, const sljit_u8 *bits, BOOL nclass, BOOL invert,…
6934 static BOOL optimize_class_ranges(compiler_common *common, const sljit_u8 *bits, BOOL nclass, BOOL … in optimize_class_ranges() argument
6942 bit = bits[0] & 0x1; in optimize_class_ranges()
6949 if ((i & 0x7) == 0 && bits[byte] == all) in optimize_class_ranges()
6953 cbit = (bits[byte] >> (i & 0x7)) & 0x1; in optimize_class_ranges()
6978 bit = bits[0] & 0x1; in optimize_class_ranges()
7086 static BOOL optimize_class_chars(compiler_common *common, const sljit_u8 *bits, BOOL nclass, BOOL i… in optimize_class_chars() argument
7102 byte = bits[i]; in optimize_class_chars()
7187 static BOOL optimize_class(compiler_common *common, const sljit_u8 *bits, BOOL nclass, BOOL invert,… in optimize_class() argument
7190 if (optimize_class_ranges(common, bits, nclass, invert, backtracks)) in optimize_class()
[all …]
/php-src/ext/sodium/
H A Dconfig.m414 dnl Add -Wno-type-limits and -Wno-logical-op as this may arise on 32bits platforms
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_mips.lua858 local function parse_imm(imm, bits, shift, scale, signed, action)
864 local s = sar(m, bits-1)
866 elseif s == -1 then return shl(m + shl(1, bits), shift) end
868 if sar(m, bits) == 0 then return shl(m, shift) end
877 (signed and 32768 or 0)+shl(scale, 10)+shl(bits, 5)+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)
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)

Completed in 163 milliseconds

12345