Home
last modified time | relevance | path

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

/php-src/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-src/ext/opcache/jit/ir/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)
1889 local szov = sz
2070 if sz and sz ~= nsz then szmix = true else sz = nsz end
2100 local szp = sz
2145 sz = a.opsize
[all …]
H A Ddasm_arm64.lua1081 local sz = params.op == ".long" and 4 or 8
1088 if sz == 8 then
1091 elseif sz == 4 then
1099 if sz == 4 then
H A Dminilua.c166 typedef const char*(*lua_Reader)(lua_State*L,void*ud,size_t*sz);
/php-src/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-src/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-src/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-src/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-src/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.c3091 size_t sz = entry->kve_structsize; in accel_move_code_to_huge_pages()
3092 if (sz == 0) { in accel_move_code_to_huge_pages()
3107 start += sz; in accel_move_code_to_huge_pages()
/php-src/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-src/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-src/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()
2314 size_t sz = 0;
2316 …readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng);
2317 ZVAL_STRINGL(zendlval, s, sz);
2555 size_t sz = 0;
[all …]
H A Dzend_virtual_cwd.c963 size_t sz; in tsrm_realpath_r() local
964 char *tmp_path = php_win32_ioutil_conv_w_to_any(dataw.cFileName, PHP_WIN32_CP_IGNORE_LEN, &sz); in tsrm_realpath_r()
970 i = sz; in tsrm_realpath_r()
/php-src/ext/opcache/jit/ir/
H A Dir_emit.c31 #define DASM_M_GROW(ctx, t, p, sz, need) \ argument
33 size_t _sz = (sz), _need = (need); \
38 (sz) = _sz; \
42 #define DASM_M_FREE(ctx, p, sz) ir_mem_free(p) argument
/php-src/ext/fileinfo/libmagic/
H A Dsoftmagic.c1202 size_t len, sz = file_pstring_length_size(ms, m); in mconvert() local
1203 if (sz == FILE_BADSIZE) in mconvert()
1206 ptr2 = ptr1 + sz; in mconvert()
1210 sz = sizeof(p->s) - sz; /* maximum length of string */ in mconvert()
1211 if (len >= sz) { in mconvert()
1220 len = sz; in mconvert()
/php-src/ext/xml/
H A Dxml.c209 static void *php_xml_malloc_wrapper(size_t sz) in php_xml_malloc_wrapper() argument
211 return emalloc(sz); in php_xml_malloc_wrapper()
214 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) in php_xml_realloc_wrapper() argument
216 return erealloc(ptr, sz); in php_xml_realloc_wrapper()
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます3413 !:mime application/x-ms-compress-sz
H A Dmagic3413 !:mime application/x-ms-compress-sz

Completed in 269 milliseconds