Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 25 of 25) sorted by relevance

/PHP-8.3/sapi/fpm/fpm/
H A Dfpm_arrays.h13 size_t sz; member
18 static inline struct fpm_array_s *fpm_array_init(struct fpm_array_s *a, unsigned int sz, unsigned i… in fpm_array_init() argument
32 a->sz = sz; in fpm_array_init()
34 a->data = calloc(sz, initial_num); in fpm_array_init()
52 ret = (char *) a->data + a->sz * n; in fpm_array_item()
72 memcpy(to_remove, last, a->sz); in fpm_array_item_remove()
89 void *new_ptr = safe_perealloc(a->data, a->sz, new_allocated, 0, true); in fpm_array_push()
111 a->sz = 0; in fpm_array_free()
H A Dfpm_trace.c9 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ in fpm_trace_get_strz() argument
22 --sz; in fpm_trace_get_strz()
23 if (sz && lc[i]) { in fpm_trace_get_strz()
H A Dfpm_trace.h12 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
H A Dfpm_cleanup.c16 static struct fpm_array_s cleanups = { .sz = sizeof(struct cleanup_s) };
/PHP-8.3/ext/opcache/jit/dynasm/
H A Ddasm_proto.h29 #define DASM_M_GROW(ctx, t, p, sz, need) \ argument
31 size_t _sz = (sz), _need = (need); \
37 (sz) = _sz; \
43 #define DASM_M_FREE(ctx, p, sz) free(p) argument
H A Ddasm_x86.lua308 if sz == addrsize or sz == "d" then
321 if sz == addrsize or sz == "d" then
332 if sz == "o" or sz == "y" then name = format("%s%d", cl, i)
334 else name = format("r%d%s", i, sz == addrsize and "" or sz) end
341 if sz == addrsize or sz == "d" then
505 if not sz or sz == "d" or sz == "q" then wputdarg(n)
1885 local szov = sz
2066 if sz and sz ~= nsz then szmix = true else sz = nsz end
2096 local szp = sz
2141 sz = a.opsize
[all …]
H A Ddasm_arm64.lua1074 local sz = params.op == ".long" and 4 or 8
1081 if sz == 8 then
1084 elseif sz == 4 then
1092 if sz == 4 then
H A Dminilua.c166 typedef const char*(*lua_Reader)(lua_State*L,void*ud,size_t*sz);
/PHP-8.3/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c120 size_t sz; in mbfl_strcut() local
179 sz = end - start; in mbfl_strcut()
180 w = ecalloc(sz + 8, sizeof(unsigned char)); in mbfl_strcut()
182 memcpy(w, start, sz); in mbfl_strcut()
183 w[sz] = '\0'; in mbfl_strcut()
184 w[sz + 1] = '\0'; in mbfl_strcut()
185 w[sz + 2] = '\0'; in mbfl_strcut()
186 w[sz + 3] = '\0'; in mbfl_strcut()
189 result->len = sz; in mbfl_strcut()
/PHP-8.3/ext/hash/
H A Dhash.c146 *sz = 2; in parse_serialize_spec()
149 *sz = 4; in parse_serialize_spec()
152 *sz = 8; in parse_serialize_spec()
155 *sz = sizeof(int); in parse_serialize_spec()
159 *sz = 1; in parse_serialize_spec()
181 if (sz == 2) { in one_from_buffer()
197 if (sz == 2) { in one_to_buffer()
257 pos += sz; in php_hash_serialize_spec()
260 if (sz == 8) { in php_hash_serialize_spec()
314 if (sz == 8) { in php_hash_unserialize_spec()
[all …]
/PHP-8.3/ext/gd/libgd/
H A Dgdtest.c25 int sz; in main() local
78 iptr = gdImagePngPtr (im, &sz); in main()
79 ctx = gdNewDynamicCtx (sz, iptr); in main()
110 iptr = gdImageGd2Ptr (im, 128, 2, &sz); in main()
112 ctx = gdNewDynamicCtx (sz, iptr); in main()
145 iptr = gdImageGdPtr (im, &sz); in main()
147 ctx = gdNewDynamicCtx (sz, iptr); in main()
H A Dgdtestft.c44 double sz = 40.; in main()
60 err = gdImageStringFT ((gdImagePtr) NULL, &brect[0], 0, f, sz, angle, 0, 0, s); in main()
87 err = gdImageStringFT (im, NULL, black, f, sz, angle, x, y, s); in main()
/PHP-8.3/ext/dba/libcdb/
H A Dcdb_make.c39 static int cdb_make_write(struct cdb_make *c, char *buf, uint32 sz) { in cdb_make_write() argument
40 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; in cdb_make_write()
/PHP-8.3/ext/opcache/
H A Dshared_alloc_mmap.c133 size_t sz = entry->kve_structsize; in find_prefered_mmap_base() local
134 if (sz == 0) { in find_prefered_mmap_base()
170 start += sz; in find_prefered_mmap_base()
H A DZendAccelerator.c3064 size_t sz = entry->kve_structsize; in accel_move_code_to_huge_pages()
3065 if (sz == 0) { in accel_move_code_to_huge_pages()
3080 start += sz; in accel_move_code_to_huge_pages()
/PHP-8.3/ext/session/
H A Dmod_files.c89 #define SESS_FILE_BUF_SIZE(sz) ((unsigned int)(sz > INT_MAX ? INT_MAX : (unsigned int)sz)) argument
/PHP-8.3/main/streams/
H A Dxp_socket.c40 # define XP_SOCK_BUF_SIZE(sz) (((sz) > INT_MAX) ? INT_MAX : (int)(sz)) argument
42 # define XP_SOCK_BUF_SIZE(sz) (sz) argument
H A Dplain_wrapper.c953 LARGE_INTEGER sz, old_sz; in php_stdiop_set_option() local
954 sz.QuadPart = 0; in php_stdiop_set_option()
956 if (!SetFilePointerEx(h, sz, &old_sz, FILE_CURRENT)) { in php_stdiop_set_option()
961 sz.QuadPart = new_size; in php_stdiop_set_option()
963 sz.HighPart = 0; in php_stdiop_set_option()
964 sz.LowPart = new_size; in php_stdiop_set_option()
966 if (!SetFilePointerEx(h, sz, NULL, FILE_BEGIN)) { in php_stdiop_set_option()
/PHP-8.3/Zend/
H A Dzend_language_scanner.l903 size_t sz = 0; \
905 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \
906 ZVAL_STRINGL(zendlval, s, sz); \
1126 size_t sz = 0; in zend_scan_escape_string() local
1130 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval)); in zend_scan_escape_string()
1132 ZVAL_STRINGL(zendlval, (char *) str, sz); in zend_scan_escape_string()
2298 size_t sz = 0;
2300 …readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng);
2301 ZVAL_STRINGL(zendlval, s, sz);
2539 size_t sz = 0;
[all …]
H A Dzend_virtual_cwd.c965 size_t sz; in tsrm_realpath_r() local
966 char *tmp_path = php_win32_ioutil_conv_w_to_any(dataw.cFileName, PHP_WIN32_CP_IGNORE_LEN, &sz); in tsrm_realpath_r()
972 i = sz; in tsrm_realpath_r()
/PHP-8.3/ext/fileinfo/libmagic/
H A Dsoftmagic.c1199 size_t len, sz = file_pstring_length_size(ms, m); in mconvert() local
1200 if (sz == FILE_BADSIZE) in mconvert()
1203 ptr2 = ptr1 + sz; in mconvert()
1207 sz = sizeof(p->s) - sz; /* maximum length of string */ in mconvert()
1208 if (len >= sz) { in mconvert()
1217 len = sz; in mconvert()
/PHP-8.3/ext/xml/
H A Dxml.c227 static void *php_xml_malloc_wrapper(size_t sz) in php_xml_malloc_wrapper() argument
229 return emalloc(sz); in php_xml_malloc_wrapper()
232 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) in php_xml_realloc_wrapper() argument
234 return erealloc(ptr, sz); in php_xml_realloc_wrapper()
/PHP-8.3/ext/opcache/jit/
H A Dzend_jit.c77 #define DASM_M_GROW(ctx, t, p, sz, need) \ argument
79 size_t _sz = (sz), _need = (need); \
84 (sz) = _sz; \
88 #define DASM_M_FREE(ctx, p, sz) efree(p) argument
/PHP-8.3/ext/fileinfo/tests/
H A Dmagic3413 !:mime application/x-ms-compress-sz
H A Dmagic私はガラスを食べられます3413 !:mime application/x-ms-compress-sz

Completed in 368 milliseconds