Home
last modified time | relevance | path

Searched refs:size (Results 76 – 100 of 697) sorted by relevance

12345678910>>...28

/PHP-8.1/ext/opcache/jit/libudis86/
H A Dsyn-intel.c43 switch(op->size) { in opr_cast()
101 switch (op->size) { in gen_operand()
174 (u->operand[0].size != u->operand[1].size)) { in ud_translate_intel()
199 u->operand[0].size != u->operand[1].size && in ud_translate_intel()
210 u->operand[2].size != u->operand[1].size) { in ud_translate_intel()
H A Ddecode.h148 Mx_mem_size(ud_operand_size_t size) in Mx_mem_size() argument
150 return (size >> 8) & 0xff; in Mx_mem_size()
154 Mx_reg_size(ud_operand_size_t size) in Mx_reg_size() argument
156 return size & 0xff; in Mx_reg_size()
165 ud_operand_size_t size; member
H A Dsyn-att.c40 switch(op->size) { in opr_cast()
102 switch (op->size) { in gen_operand()
125 int size = 0; in ud_translate_att() local
195 if (size == 8) { in ud_translate_att()
197 } else if (size == 16) { in ud_translate_att()
199 } else if (size == 64) { in ud_translate_att()
/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2_error.c297 pcre2_get_error_message(int enumber, PCRE2_UCHAR *buffer, PCRE2_SIZE size) in pcre2_get_error_message() argument
303 if (size == 0) return PCRE2_ERROR_NOMEMORY; in pcre2_get_error_message()
329 if (i >= size - 1) in pcre2_get_error_message()
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_shm.h6 void *fpm_shm_alloc(size_t size);
7 int fpm_shm_free(void *mem, size_t size);
H A Dfpm_str.h6 static inline char *str_purify_filename(char *dst, char *src, size_t size) /* {{{ */ in str_purify_filename() argument
11 end = dst + size - 1; in str_purify_filename()
/PHP-8.1/ext/standard/tests/file/
H A Dfilesize_variation4.phpt20 echo "-- opening the file in 'w' mode and get the size --\n";
25 var_dump( filesize($filename) ); //size of the file = strlen of string
28 echo "-- opening the file in 'wt' mode and get the size --\n";
33 var_dump( filesize($filename) ); //size of the file = strlen of string = 191 bytes
50 echo "-- creating a hole and checking the size --\n";
57 echo "-- writing data after hole and checking the size --\n";
86 -- opening the file in 'w' mode and get the size --
89 -- opening the file in 'wt' mode and get the size --
96 -- creating a hole and checking the size --
99 -- writing data after hole and checking the size --
H A Dfile.inc122 $size = $file_size;
124 if ( $size > $chunk_size ) {
129 $chunk_size = $size;
136 $size -= $chunk_size;
137 } while ( $size > 0 );
219 $size = size of the fill in terms of kilobyte, i.e size of the file.
237 $size = 1,
252 // check for proper size
253 if ( $size == 0 )
257 $file_size = $size;
[all …]
/PHP-8.1/TSRM/
H A DTSRM.h52 # define TSRM_ALIGNED_SIZE(size) \ argument
53 (((size) + INT32_C(15)) & ~INT32_C(15))
55 # define TSRM_ALIGNED_SIZE(size) \ argument
56 (((size) + INT64_C(15)) & ~INT64_C(15))
90 TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allo…
93 TSRM_API void tsrm_reserve(size_t size);
94 TSRM_API ts_rsrc_id ts_allocate_fast_id(ts_rsrc_id *rsrc_id, size_t *offset, size_t size, ts_alloca…
H A DTSRM.c41 size_t size; member
304 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].size = size; in ts_allocate_id()
319 TSRM_API void tsrm_reserve(size_t size) in tsrm_reserve() argument
322 tsrm_reserved_size = TSRM_ALIGNED_SIZE(size); in tsrm_reserve()
337 size = TSRM_ALIGNED_SIZE(size); in ts_allocate_fast_id()
338 if (tsrm_reserved_size - tsrm_reserved_pos < size) { in ts_allocate_fast_id()
347 tsrm_reserved_pos += size; in ts_allocate_fast_id()
362 resource_types_table[TSRM_UNSHUFFLE_RSRC_ID(*rsrc_id)].size = size; in ts_allocate_fast_id()
718 int size; in tsrm_error() local
722 size = vfprintf(tsrm_error_file, format, args); in tsrm_error()
[all …]
/PHP-8.1/ext/mbstring/tests/
H A Dmb_str_split_ru.phpt49 $size = 25000;
50 $long = str_repeat($string, $size); /* 25k x 12 chars = 3e5 chars */
55 /* check array size */
56 if($size !== $count) printf("Long string splitting error: actual array size: %d expected: %d\n", $c…
/PHP-8.1/ext/opcache/jit/
H A Dzend_elf.c35 void *s = emalloc(sect->size); in zend_elf_read_sect()
41 if (read(fd, s, sect->size) != (ssize_t)sect->size) { in zend_elf_read_sect()
92 uint32_t n, count = sect.size / sizeof(zend_elf_symbol); in zend_elf_load_symbols()
106 zend_jit_disasm_add_symbol(str_tbl + syms[n].name, syms[n].value, syms[n].size); in zend_elf_load_symbols()
H A Dzend_jit_oprofile.c27 size_t size) in zend_jit_oprofile_register() argument
30 op_write_native_code(op_agent, name, (uint64_t)(zend_uintptr_t)start, start, size); in zend_jit_oprofile_register()
/PHP-8.1/ext/oci8/tests/
H A Dlob_007.phpt2 oci_lob_write()/size()/load()
30 var_dump($blob->size());
32 var_dump($blob->size());
41 var_dump($row[0]->size());
/PHP-8.1/ext/ffi/tests/
H A D031.phpt11 $size = FFI::sizeof(FFI::new($type));
12 if ($size !== $expected_size) {
13 echo "FAIL: sizeof($type) != $expected_size ($size)\n";
/PHP-8.1/ext/pcre/pcre2lib/sljit/
H A DsljitNativeX86_64.c159 INC_SIZE(size); in sljit_emit_enter()
169 INC_SIZE(size); in sljit_emit_enter()
178 size = args * 3; in sljit_emit_enter()
182 INC_SIZE(size); in sljit_emit_enter()
305 sljit_s32 i, tmp, size; in sljit_emit_return() local
350 INC_SIZE(size); in sljit_emit_return()
361 INC_SIZE(size); in sljit_emit_return()
419 size &= 0xf; in emit_x86_instruction()
420 inst_size = size; in emit_x86_instruction()
526 buf_ptr = inst + size; in emit_x86_instruction()
[all …]
/PHP-8.1/ext/standard/tests/array/
H A Darray_chunk_variation6.phpt28 $size = 2;
36 var_dump( array_chunk($input_array, $size) );
37 var_dump( array_chunk($input_array, $size, true) );
38 var_dump( array_chunk($input_array, $size, false) );
H A Darray_map_variation7.phpt2 Test array_map() function : usage variations - arrays of different size
6 * Test array_map() by passing array having different size
14 echo "*** Testing array_map() : arrays with diff. size ***\n";
31 *** Testing array_map() : arrays with diff. size ***
/PHP-8.1/ext/gd/libgd/
H A Dgd_io_file.c77 static int filePutbuf (gdIOCtx * ctx, const void *buf, int size) in filePutbuf() argument
82 return fwrite(buf, 1, size, fctx->f); in filePutbuf()
86 static int fileGetbuf (gdIOCtx * ctx, void *buf, int size) in fileGetbuf() argument
91 return fread(buf, 1, size, fctx->f); in fileGetbuf()
/PHP-8.1/ext/ffi/
H A Dffi.stub.php48 public static function memcpy(FFI\CData $to, $from, int $size): void {} argument
56 public static function memcmp($ptr1, $ptr2, int $size): int {} argument
59 public static function memset(FFI\CData $ptr, int $value, int $size): void {} argument
62 public static function string(FFI\CData $ptr, ?int $size = null): string {} argument
/PHP-8.1/ext/imap/tests/
H A Dimap_fetch_overview_variation5.phpt68 size is %d
81 size is %d
92 size is %d
108 size is %d
119 size is %d
130 size is %d
/PHP-8.1/ext/dba/
H A Ddba_db2.c36 gkey.size = keylen
104 if (newlen) *newlen = gval.size; in DBA_FETCH_FUNC()
105 return estrndup(gval.data, gval.size); in DBA_FETCH_FUNC()
115 gval.size = vallen; in DBA_UPDATE_FUNC()
174 if (newlen) *newlen = gkey.size;
175 return estrndup(gkey.data, gkey.size);
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.c253 header->size = uint3korr(buffer); in mysqlnd_read_header()
301 if (buf_size < packet_header->size) { in mysqlnd_read_packet_header_and_body()
303 buf_size, packet_header->size, packet_header->size - buf_size); in mysqlnd_read_packet_header_and_body()
352 buf[packet->header.size] = '\0'; in php_mysqlnd_greet_read()
676 buf[packet->header.size] = '\0'; in php_mysqlnd_auth_response_read()
946 if (packet->header.size > 1) { in php_mysqlnd_eof_read()
1085 len = packet->header.size - 1; in php_mysqlnd_rset_header_read()
1397 *data_size += header.size; in php_mysqlnd_read_row_ex()
1418 *data_size += header.size; in php_mysqlnd_read_row_ex()
1701 packet->header.size = data_size; in php_mysqlnd_rowp_read()
[all …]
/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()
/PHP-8.1/ext/zip/tests/
H A Dpecl12414.phpt17 $file_size=$finfo['size'];
22 echo "ZIP contents size: " . strlen($contents) . "\n";
24 … echo "zip_readfile recorded data does not match unpacked size: " . $zipname . " : " . $filename;

Completed in 44 milliseconds

12345678910>>...28