Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 20 of 20) sorted by path

/PHP-7.4/
H A DNEWS864 posix_getgrgid and others). (Böszörményi Zoltán)
/PHP-7.4/Zend/
H A Dzend_language_scanner.l879 size_t sz = 0; \
881 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \
882 ZVAL_STRINGL(zendlval, s, sz); \
1101 size_t sz = 0; in zend_scan_escape_string() local
1105 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval)); in zend_scan_escape_string()
1107 ZVAL_STRINGL(zendlval, (char *) str, sz); in zend_scan_escape_string()
2087 size_t sz = 0;
2089 …readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng);
2090 ZVAL_STRINGL(zendlval, s, sz);
2301 size_t sz = 0;
[all …]
H A Dzend_virtual_cwd.c970 size_t sz; in tsrm_realpath_r() local
971 char *tmp_path = php_win32_ioutil_conv_w_to_any(dataw.cFileName, PHP_WIN32_CP_IGNORE_LEN, &sz); in tsrm_realpath_r()
977 i = sz; in tsrm_realpath_r()
/PHP-7.4/ext/dba/libcdb/
H A Dcdb_make.c41 static int cdb_make_write(struct cdb_make *c, char *buf, uint32 sz) { in cdb_make_write() argument
42 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; in cdb_make_write()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c1167 size_t sz = file_pstring_length_size(m); in mconvert() local
1168 char *ptr1 = p->s, *ptr2 = ptr1 + sz; in mconvert()
1170 sz = sizeof(p->s) - sz; /* maximum length of string */ in mconvert()
1171 if (len >= sz) { in mconvert()
1180 len = sz; in mconvert()
/PHP-7.4/ext/fileinfo/tests/
H A Dmagic2889 !:mime application/x-ms-compress-sz
H A Dmagic私はガラスを食べられます2889 !:mime application/x-ms-compress-sz
/PHP-7.4/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-7.4/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c1302 size_t sz; in mbfl_strcut() local
1361 sz = end - start; in mbfl_strcut()
1362 if ((w = (unsigned char*)mbfl_calloc(sz + 8, in mbfl_strcut()
1367 memcpy(w, start, sz); in mbfl_strcut()
1368 w[sz] = '\0'; in mbfl_strcut()
1369 w[sz + 1] = '\0'; in mbfl_strcut()
1370 w[sz + 2] = '\0'; in mbfl_strcut()
1371 w[sz + 3] = '\0'; in mbfl_strcut()
1374 result->len = sz; in mbfl_strcut()
H A Dmbfl_allocators.c58 static void *__mbfl__malloc(size_t sz) in __mbfl__malloc() argument
60 return malloc(sz); in __mbfl__malloc()
63 static void *__mbfl__realloc(void *ptr, size_t sz) in __mbfl__realloc() argument
65 return realloc(ptr, sz); in __mbfl__realloc()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c623 static void *_php_mb_allocators_malloc(size_t sz) in ZEND_GET_MODULE()
625 return emalloc(sz); in ZEND_GET_MODULE()
628 static void *_php_mb_allocators_realloc(void *ptr, size_t sz) in _php_mb_allocators_realloc() argument
630 return erealloc(ptr, sz); in _php_mb_allocators_realloc()
643 static void *_php_mb_allocators_pmalloc(size_t sz) in _php_mb_allocators_pmalloc() argument
645 return pemalloc(sz, 1); in _php_mb_allocators_pmalloc()
648 static void *_php_mb_allocators_prealloc(void *ptr, size_t sz) in _php_mb_allocators_prealloc() argument
650 return perealloc(ptr, sz, 1); in _php_mb_allocators_prealloc()
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c2832 size_t sz = entry->kve_structsize; in accel_move_code_to_huge_pages()
2833 if (sz == 0) { in accel_move_code_to_huge_pages()
2848 start += sz; in accel_move_code_to_huge_pages()
/PHP-7.4/ext/xml/
H A Dxml.c383 static void *php_xml_malloc_wrapper(size_t sz) in php_xml_malloc_wrapper() argument
385 return emalloc(sz); in php_xml_malloc_wrapper()
388 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) in php_xml_realloc_wrapper() argument
390 return erealloc(ptr, sz); in php_xml_realloc_wrapper()
/PHP-7.4/main/streams/
H A Dplain_wrapper.c900 LARGE_INTEGER sz, old_sz; in php_stdiop_set_option() local
901 sz.QuadPart = 0; in php_stdiop_set_option()
903 if (!SetFilePointerEx(h, sz, &old_sz, FILE_CURRENT)) { in php_stdiop_set_option()
908 sz.QuadPart = new_size; in php_stdiop_set_option()
910 sz.HighPart = 0; in php_stdiop_set_option()
911 sz.LowPart = new_size; in php_stdiop_set_option()
913 if (!SetFilePointerEx(h, sz, NULL, FILE_BEGIN)) { in php_stdiop_set_option()
H A Dxp_socket.c42 # define XP_SOCK_BUF_SIZE(sz) (((sz) > INT_MAX) ? INT_MAX : (int)(sz)) argument
44 # define XP_SOCK_BUF_SIZE(sz) (sz) argument
/PHP-7.4/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_cleanup.c16 static struct fpm_array_s cleanups = { .sz = sizeof(struct cleanup_s) };
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);

Completed in 203 milliseconds