Home
last modified time | relevance | path

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

/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_arrays.h11 size_t sz; member
16 static inline struct fpm_array_s *fpm_array_init(struct fpm_array_s *a, unsigned int sz, unsigned i… in fpm_array_init() argument
30 a->sz = sz; in fpm_array_init()
32 a->data = calloc(sz, initial_num); in fpm_array_init()
50 ret = (char *) a->data + a->sz * n; in fpm_array_item()
70 memcpy(to_remove, last, a->sz); in fpm_array_item_remove()
87 void *new_ptr = realloc(a->data, a->sz * new_allocated); in fpm_array_push()
109 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.1/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)
1883 local szov = sz
2064 if sz and sz ~= nsz then szmix = true else sz = nsz end
2094 local szp = sz
2139 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.1/ext/hash/
H A Dhash.c145 *sz = 2; in parse_serialize_spec()
148 *sz = 4; in parse_serialize_spec()
151 *sz = 8; in parse_serialize_spec()
154 *sz = sizeof(int); in parse_serialize_spec()
158 *sz = 1; in parse_serialize_spec()
180 if (sz == 2) { in one_from_buffer()
196 if (sz == 2) { in one_to_buffer()
256 pos += sz; in php_hash_serialize_spec()
259 if (sz == 8) { in php_hash_serialize_spec()
313 if (sz == 8) { in php_hash_unserialize_spec()
[all …]
/PHP-8.1/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.1/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.1/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.c949 LARGE_INTEGER sz, old_sz; in php_stdiop_set_option() local
950 sz.QuadPart = 0; in php_stdiop_set_option()
952 if (!SetFilePointerEx(h, sz, &old_sz, FILE_CURRENT)) { in php_stdiop_set_option()
957 sz.QuadPart = new_size; in php_stdiop_set_option()
959 sz.HighPart = 0; in php_stdiop_set_option()
960 sz.LowPart = new_size; in php_stdiop_set_option()
962 if (!SetFilePointerEx(h, sz, NULL, FILE_BEGIN)) { in php_stdiop_set_option()
/PHP-8.1/Zend/
H A Dzend_language_scanner.l892 size_t sz = 0; \
894 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \
895 ZVAL_STRINGL(zendlval, s, sz); \
1115 size_t sz = 0; in zend_scan_escape_string() local
1119 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval)); in zend_scan_escape_string()
1121 ZVAL_STRINGL(zendlval, (char *) str, sz); in zend_scan_escape_string()
2289 size_t sz = 0;
2291 …readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng);
2292 ZVAL_STRINGL(zendlval, s, sz);
2524 size_t sz = 0;
[all …]
H A Dzend_virtual_cwd.c964 size_t sz; in tsrm_realpath_r() local
965 char *tmp_path = php_win32_ioutil_conv_w_to_any(dataw.cFileName, PHP_WIN32_CP_IGNORE_LEN, &sz); in tsrm_realpath_r()
971 i = sz; in tsrm_realpath_r()
/PHP-8.1/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c1036 size_t sz; in mbfl_strcut() local
1095 sz = end - start; in mbfl_strcut()
1096 w = ecalloc(sz + 8, sizeof(unsigned char)); in mbfl_strcut()
1098 memcpy(w, start, sz); in mbfl_strcut()
1099 w[sz] = '\0'; in mbfl_strcut()
1100 w[sz + 1] = '\0'; in mbfl_strcut()
1101 w[sz + 2] = '\0'; in mbfl_strcut()
1102 w[sz + 3] = '\0'; in mbfl_strcut()
1105 result->len = sz; in mbfl_strcut()
/PHP-8.1/ext/fileinfo/libmagic/
H A Dsoftmagic.c1180 size_t len, sz = file_pstring_length_size(ms, m); in mconvert() local
1181 if (sz == FILE_BADSIZE) in mconvert()
1184 ptr2 = ptr1 + sz; in mconvert()
1188 sz = sizeof(p->s) - sz; /* maximum length of string */ in mconvert()
1189 if (len >= sz) { in mconvert()
1198 len = sz; in mconvert()
/PHP-8.1/ext/xml/
H A Dxml.c236 static void *php_xml_malloc_wrapper(size_t sz) in php_xml_malloc_wrapper() argument
238 return emalloc(sz); in php_xml_malloc_wrapper()
241 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) in php_xml_realloc_wrapper() argument
243 return erealloc(ptr, sz); in php_xml_realloc_wrapper()
/PHP-8.1/ext/opcache/jit/
H A Dzend_jit.c73 #define DASM_M_GROW(ctx, t, p, sz, need) \ argument
75 size_t _sz = (sz), _need = (need); \
80 (sz) = _sz; \
84 #define DASM_M_FREE(ctx, p, sz) efree(p) argument
/PHP-8.1/ext/opcache/
H A DZendAccelerator.c3081 size_t sz = entry->kve_structsize; in accel_move_code_to_huge_pages()
3082 if (sz == 0) { in accel_move_code_to_huge_pages()
3097 start += sz; in accel_move_code_to_huge_pages()
/PHP-8.1/ext/fileinfo/tests/
H A Dmagic3190 !:mime application/x-ms-compress-sz
H A Dmagic私はガラスを食べられます3190 !:mime application/x-ms-compress-sz

Completed in 276 milliseconds