Home
last modified time | relevance | path

Searched refs:bytes (Results 1 – 25 of 402) sorted by last modified time

12345678910>>...17

/php-src/ext/bcmath/libbcmath/src/
H A Dconvert.c41 __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 DNEWS248 . Fixed bug GH-12592 (strcspn() odd behaviour with NUL bytes and empty mask).
H A DUPGRADING59 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 DUPGRADING.INTERNALS183 - The CSPRNG API (php_random_(bytes|int)_*) is now provided by the new
H A Dphp.ini-development223 ; 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 Dphp.ini-production223 ; 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 Dnode.c2236 int bytes; in dom_canonicalization() local
2238 bytes = xmlOutputBufferClose(buf); in dom_canonicalization()
2240 RETURN_LONG(bytes); in dom_canonicalization()
H A Ddocument.c1533 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 Dhtml_document.c1301 zend_long bytes = php_stream_tell(stream); in PHP_METHOD() local
1304 RETURN_LONG(bytes); in PHP_METHOD()
/php-src/ext/random/
H A Dengine_mt19937.c295 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 Dcsprng.c64 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 Dtest.stub.php217 function zend_leak_bytes(int $bytes = 3): void {} argument
H A Dtest_arginfo.h43 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, bytes, IS_LONG, 0, "3")
/php-src/Zend/
H A Dzend_alloc.c294 char bytes[ZEND_MM_PAGE_SIZE]; member
302 char bytes[ZEND_MM_PAGE_SIZE * 8]; member
/php-src/build/
H A Dlibtool.m4451 # 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 Dgh13960.phpt2 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 Dfile_get_contents_file_put_contents_5gb.phpt25 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 Dobserver_fiber_functions_03.phpt78 Fatal error: Allowed memory size of 104857600 bytes exhausted %s on line %d
H A Dobserver_error_01.phpt34 Fatal error: Allowed memory size of 2097152 bytes exhausted%s(tried to allocate %d bytes) in %s on …
H A Dobserver_bug81435.phpt53 Fatal error: Allowed memory size of 20971520 bytes exhausted %s in %s on line %d
H A Dobserver_bug81430_2.phpt48 Fatal error: Allowed memory size of %d bytes exhausted %s in %s on line %d
/php-src/Zend/tests/fibers/
H A Dget-return-after-bailout.phpt25 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 Dmb_encode_mimeheader_basic4.phpt14 // 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 Dfinfo_open_001.phpt41 finfo_open(): Argument #2 ($magic_database) must not contain any null bytes
/php-src/main/streams/
H A Dstreams.c1290 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()

Completed in 106 milliseconds

12345678910>>...17