/php-src/ext/bcmath/libbcmath/src/ |
H A D | convert.c | 41 __m128i bytes = _mm_loadu_si128((const __m128i *) source); in bc_copy_and_shift_numbers() local 42 bytes = _mm_add_epi8(bytes, shift_vector); in bc_copy_and_shift_numbers() 43 _mm_storeu_si128((__m128i *) dest, bytes); in bc_copy_and_shift_numbers() 55 size_t bytes; in bc_copy_and_shift_numbers() local 56 memcpy(&bytes, source, sizeof(bytes)); in bc_copy_and_shift_numbers() 58 bytes += bulk_shift; in bc_copy_and_shift_numbers() 59 memcpy(dest, &bytes, sizeof(bytes)); in bc_copy_and_shift_numbers()
|
/php-src/ |
H A D | NEWS | 248 . Fixed bug GH-12592 (strcspn() odd behaviour with NUL bytes and empty mask).
|
H A D | UPGRADING | 59 contain any null bytes. If it does, a ValueError is now thrown. 164 contain null bytes. This never actually worked correctly in the first place,
|
H A D | UPGRADING.INTERNALS | 183 - The CSPRNG API (php_random_(bytes|int)_*) is now provided by the new
|
H A D | php.ini-development | 223 ; as it gets it. On production servers, 4096 bytes is a good setting for performance 230 ; Integer = Enables the buffer and sets its maximum size in bytes. 274 ; outputs chunks that are few hundreds bytes each as a result of 1137 ; Handling of LONG fields. Returns number of bytes to variables. 0 means 1223 ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes. 1227 ; bytes. 1502 ; Given either in percentages (per-file), or in bytes
|
H A D | php.ini-production | 223 ; as it gets it. On production servers, 4096 bytes is a good setting for performance 230 ; Integer = Enables the buffer and sets its maximum size in bytes. 274 ; outputs chunks that are few hundreds bytes each as a result of 1139 ; Handling of LONG fields. Returns number of bytes to variables. 0 means 1225 ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes. 1229 ; bytes. 1504 ; Given either in percentages (per-file), or in bytes
|
/php-src/ext/dom/ |
H A D | node.c | 2236 int bytes; in dom_canonicalization() local 2238 bytes = xmlOutputBufferClose(buf); in dom_canonicalization() 2240 RETURN_LONG(bytes); in dom_canonicalization()
|
H A D | document.c | 1533 int bytes, format, saveempty = 0; in PHP_METHOD() local 1558 bytes = xmlSaveFormatFileEnc(file, docp, NULL, format); in PHP_METHOD() 1562 if (bytes == -1) { in PHP_METHOD() 1565 RETURN_LONG(bytes); in PHP_METHOD() 2106 int bytes, format; in PHP_METHOD() local 2128 bytes = htmlSaveFileFormat(file, docp, encoding, format); in PHP_METHOD() 2130 if (bytes == -1) { in PHP_METHOD() 2133 RETURN_LONG(bytes); in PHP_METHOD()
|
H A D | html_document.c | 1301 zend_long bytes = php_stream_tell(stream); in PHP_METHOD() local 1304 RETURN_LONG(bytes); in PHP_METHOD()
|
/php-src/ext/random/ |
H A D | engine_mt19937.c | 295 zend_string *bytes; in PHP_METHOD() local 304 bytes = zend_string_alloc(generated.size, false); in PHP_METHOD() 308 ZSTR_VAL(bytes)[i] = (generated.result >> (i * 8)) & 0xff; in PHP_METHOD() local 310 ZSTR_VAL(bytes)[generated.size] = '\0'; in PHP_METHOD() local 312 RETURN_STR(bytes); in PHP_METHOD()
|
H A D | csprng.c | 64 PHPAPI zend_result php_random_bytes(void *bytes, size_t size, bool should_throw) in php_random_bytes() argument 68 if (php_win32_get_random_bytes(bytes, size) == FAILURE) { in php_random_bytes() 81 if (CCRandomGenerateBytes(bytes, size) != kCCSuccess) { in php_random_bytes() 98 arc4random_buf(bytes, size); in php_random_bytes() 121 n = syscall(SYS_getrandom, bytes + read_bytes, amount_to_read, 0); in php_random_bytes() 123 n = getrandom(bytes + read_bytes, amount_to_read, 0); in php_random_bytes() 144 __msan_unpoison(bytes + read_bytes, n); in php_random_bytes() 192 ssize_t n = read(fd, bytes + read_bytes, size - read_bytes); in php_random_bytes()
|
/php-src/ext/zend_test/ |
H A D | test.stub.php | 217 function zend_leak_bytes(int $bytes = 3): void {} argument
|
H A D | test_arginfo.h | 43 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bytes, IS_LONG, 0, "3")
|
/php-src/Zend/ |
H A D | zend_alloc.c | 294 char bytes[ZEND_MM_PAGE_SIZE]; member 302 char bytes[ZEND_MM_PAGE_SIZE * 8]; member
|
/php-src/build/ |
H A D | libtool.m4 | 451 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... 815 # (any single argument exceeding 2000 bytes causes a buffer overrun
|
/php-src/ext/dom/tests/ |
H A D | gh13960.phpt | 2 GH-13960 (NULL bytes in XPath query) 17 DOMXPath::quote(): Argument #1 ($str) must not contain any null bytes
|
/php-src/ext/standard/tests/file/ |
H A D | file_get_contents_file_put_contents_5gb.phpt | 25 return $matches[1] * 1024; // Convert to bytes 54 echo "Could only write $result bytes of $large_string_len bytes."; 63 echo "Could only read " . strlen($result_large_string) . " bytes of $large_string_len bytes.";
|
/php-src/ext/zend_test/tests/ |
H A D | observer_fiber_functions_03.phpt | 78 Fatal error: Allowed memory size of 104857600 bytes exhausted %s on line %d
|
H A D | observer_error_01.phpt | 34 Fatal error: Allowed memory size of 2097152 bytes exhausted%s(tried to allocate %d bytes) in %s on …
|
H A D | observer_bug81435.phpt | 53 Fatal error: Allowed memory size of 20971520 bytes exhausted %s in %s on line %d
|
H A D | observer_bug81430_2.phpt | 48 Fatal error: Allowed memory size of %d bytes exhausted %s in %s on line %d
|
/php-src/Zend/tests/fibers/ |
H A D | get-return-after-bailout.phpt | 25 Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) %sget-return-a…
|
/php-src/ext/mbstring/tests/ |
H A D | mb_encode_mimeheader_basic4.phpt | 14 // Regression test for QPrint-encoding of strings with embedded NUL (zero) bytes 56 // take a vastly larger number of bytes; make sure we don't overrun max line length 68 // 'Line feed' string is truncated to no more than 8 bytes long 78 // Make sure we maintain legacy behavior when linefeed string contains NUL (zero) bytes 81 // null-terminated C string, so including NUL bytes would have the side effect of 105 // transfer-encode it, it takes too many bytes to fit on a single line 132 // wchars for CR (0x0D) bytes
|
/php-src/ext/fileinfo/tests/ |
H A D | finfo_open_001.phpt | 41 finfo_open(): Argument #2 ($magic_database) must not contain any null bytes
|
/php-src/main/streams/ |
H A D | streams.c | 1290 ssize_t bytes; in _php_stream_write() local 1303 bytes = _php_stream_write_filtered(stream, buf, count, PSFS_FLAG_NORMAL); in _php_stream_write() 1305 bytes = _php_stream_write_buffer(stream, buf, count); in _php_stream_write() 1308 if (bytes) { in _php_stream_write() 1312 return bytes; in _php_stream_write()
|