Home
last modified time | relevance | path

Searched refs:size (Results 151 – 175 of 697) sorted by last modified time

12345678910>>...28

/PHP-8.1/ext/standard/tests/filters/
H A Dbug22538.phpt11 $size = 65536;
21 $cnt = $size;
25 $cnt = $size - ($str_len + $cnt);
/PHP-8.1/ext/standard/tests/file/
H A Dfopencookie.phpt77 return array('size' => strlen($this->data));
H A Duserstreams.phpt56 * the default cache chunk size and that we have something
H A Duserstreams_005.phpt39 test("stream_truncate size 0", $fd, 0);
40 test("stream_truncate size 10", $fd, 10);
42 test("stream_truncate negative size", $fd, -1);
56 ------ stream_truncate size 0: -------
59 ------ stream_truncate size 10: -------
62 ------ stream_truncate negative size: -------
63 ftruncate(): Argument #2 ($size) must be greater than or equal to 0
H A Duserstreams_006.phpt13 echo "size: ", strlen($data), "\n";
36 size: 70
H A Duserwrapper.phpt28 'uid'=>100, 'gid'=>1000, 'rdev'=>-1, 'size'=>31337,
74 [size] => 31337
/PHP-8.1/ext/standard/
H A Drandom.c108 if (CCRandomGenerateBytes(bytes, size) != kCCSuccess) { in php_random_bytes()
115 arc4random_buf(bytes, size); in php_random_bytes()
122 while (read_bytes < size) { in php_random_bytes()
132 size_t amount_to_read = size - read_bytes; in php_random_bytes()
162 if (read_bytes < size) { in php_random_bytes()
200 if (read_bytes < size) { in php_random_bytes()
216 zend_long size; in PHP_FUNCTION() local
220 Z_PARAM_LONG(size) in PHP_FUNCTION()
223 if (size < 1) { in PHP_FUNCTION()
228 bytes = zend_string_alloc(size, 0); in PHP_FUNCTION()
[all …]
/PHP-8.1/ext/sqlite3/tests/
H A Dstream_test.inc29 return array('size' => self::$string_length);
/PHP-8.1/ext/spl/tests/
H A DSplFileObject_fstat_with_basic_fstat_disabled.phpt52 ["size"]=>
/PHP-8.1/ext/sockets/
H A Dsendrecvmsg.c103 entry.size = sizev; \ in init_ancillary_registry()
308 size_t _rem_size = ZEND_LONG_MAX - entry->size; in PHP_FUNCTION()
310 size_t size = entry->size + n * entry->var_el_size; in PHP_FUNCTION() local
311 size_t total_size = CMSG_SPACE(size); in PHP_FUNCTION()
314 || total_size < size /* align overflow */) { in PHP_FUNCTION()
320 RETURN_LONG((zend_long)CMSG_SPACE(entry->size + n * entry->var_el_size)); in PHP_FUNCTION()
379 socklen_t size; in php_do_getsockopt_ipv6_rfc3542() local
388 size = sizeof(struct in6_pktinfo); in php_do_getsockopt_ipv6_rfc3542()
396 buffer = ecalloc(1, size); in php_do_getsockopt_ipv6_rfc3542()
397 res = getsockopt(php_sock->bsd_socket, level, optname, buffer, &size); in php_do_getsockopt_ipv6_rfc3542()
H A Dsendrecvmsg.h27 socklen_t size; /* size of native structure */ member
/PHP-8.1/ext/phar/phar/
H A Dpharcommand.inc1522 $infos['Uncompressed-size'] = $usize;
1523 $infos['Compressed-size'] = $csize;
1527 $infos['Stub-size'] = strlen($phar->getStub());
/PHP-8.1/ext/pdo/
H A Dpdo_stmt.c625 fci->size = sizeof(zend_fcall_info); in do_fetch_class_prepare()
694 if (stmt->fetch.cls.fci.size && stmt->fetch.cls.fci.params) { in do_fetch_opt_finish()
704 stmt->fetch.cls.fci.size = 0; in do_fetch_opt_finish()
847 if (!stmt->fetch.cls.fci.size) { in do_fetch()
893 if (!stmt->fetch.func.fci.size) { in do_fetch()
/PHP-8.1/ext/opcache/
H A Dshared_alloc_mmap.c122 shared_segment->size = requested_size; in create_segments()
129 munmap(shared_segment->p, shared_segment->size); in detach_segment()
H A Dzend_accelerator_blacklist.c55 blacklist->size = ZEND_BLACKLIST_BLOCK_SIZE; in zend_accel_blacklist_init()
61 …blacklist->entries = (zend_blacklist_entry *) calloc(sizeof(zend_blacklist_entry), blacklist->size in zend_accel_blacklist_init()
234 if (blacklist->pos == blacklist->size) { in zend_accel_blacklist_allocate()
235 blacklist->size += ZEND_BLACKLIST_BLOCK_SIZE; in zend_accel_blacklist_allocate()
236 …(zend_blacklist_entry *) realloc(blacklist->entries, sizeof(zend_blacklist_entry)*blacklist->size); in zend_accel_blacklist_allocate()
H A Dzend_accelerator_util_funcs.c346 size_t size = persistent_script->size; in zend_accel_script_checksum() local
352 size -= (unsigned char*)persistent_script - mem; in zend_accel_script_checksum()
358 size -= sizeof(*persistent_script); in zend_accel_script_checksum()
360 if (size > 0) { in zend_accel_script_checksum()
361 checksum = zend_adler32(checksum, mem, size); in zend_accel_script_checksum()
H A Dzend_persist_calc.c31 #define ADD_SIZE(m) ZCG(current_persistent_script)->size += ZEND_ALIGNED_SIZE(m)
99 uint32_t size; in zend_persist_zval_calc() local
113 size = zend_shared_memdup_size(Z_ARR_P(z), sizeof(zend_array)); in zend_persist_zval_calc()
114 if (size) { in zend_persist_zval_calc()
117 ADD_SIZE(size); in zend_persist_zval_calc()
130 size = zend_shared_memdup_size(Z_AST_P(z), sizeof(zend_ast_ref)); in zend_persist_zval_calc()
131 if (size) { in zend_persist_zval_calc()
132 ADD_SIZE(size); in zend_persist_zval_calc()
576 new_persistent_script->size = 0; in zend_accel_script_persist_calc()
590 new_persistent_script->size = (new_persistent_script->size + 63) & ~63; in zend_accel_script_persist_calc()
[all …]
H A DZendAccelerator.h124 size_t size; /* size of used shared memory */ member
310 accel_time_t zend_get_file_handle_timestamp(zend_file_handle *file_handle, size_t *size);
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit_perf_dump.c74 #define ALIGN8(size) (((size) + 7) & ~7) argument
75 #define PADDING8(size) (ALIGN8(size) - (size)) argument
80 uint32_t size; member
90 uint32_t size; member
188 jit_hdr.size = sizeof(jit_hdr); in zend_jit_perf_jitdump_open()
202 rec.size = sizeof(rec); in zend_jit_perf_jitdump_close()
242 rec.hdr.size = sizeof(rec) + len + 1 + size; in zend_jit_perf_jitdump_register()
248 rec.code_size = (uint64_t)size; in zend_jit_perf_jitdump_register()
253 zend_quiet_write(jitdump_fd, start, size); in zend_jit_perf_jitdump_register()
257 static void zend_jit_perf_map_register(const char *name, void *start, size_t size) in zend_jit_perf_map_register() argument
[all …]
H A Dzend_jit.h151 ZEND_EXT_API int zend_jit_startup(void *jit_buffer, size_t size, bool reattached);
/PHP-8.1/ext/opcache/jit/vtune/
H A Djitprofiling.h617 unsigned int size; /**<\brief The update size */ member
/PHP-8.1/ext/oci8/
H A Doci8.stub.php609 public function size(): int|false {} function in OCILob
713 public function size(): int|false {} function in OCICollection
H A Doci8_arginfo.h766 ZEND_ME_MAPPING(size, oci_lob_size, arginfo_class_OCILob_size, ZEND_ACC_PUBLIC)
789 ZEND_ME_MAPPING(size, oci_collection_size, arginfo_class_OCICollection_size, ZEND_ACC_PUBLIC)
H A Doci8_interface.c1615 zend_long size; in PHP_FUNCTION() local
1619 Z_PARAM_LONG(size) in PHP_FUNCTION()
1624 if (size < 0) { in PHP_FUNCTION()
1629 if (php_oci_statement_set_prefetch(statement, (ub4)size)) { in PHP_FUNCTION()
2214 sb4 size = 0; in PHP_FUNCTION() local
2227 if (php_oci_collection_size(collection, &size)) { in PHP_FUNCTION()
2230 RETURN_LONG(size); in PHP_FUNCTION()
/PHP-8.1/ext/oci8/tests/
H A Dbind_char_1_11gR1.phpt8 // The bind buffer size edge cases seem to change each DB version.

Completed in 67 milliseconds

12345678910>>...28