/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_arrays.h | 11 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 D | fpm_trace.c | 9 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 D | fpm_trace.h | 12 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
|
H A D | fpm_cleanup.c | 16 static struct fpm_array_s cleanups = { .sz = sizeof(struct cleanup_s) };
|
/PHP-7.3/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_allocators.c | 74 static void *__mbfl__malloc(size_t sz) in __mbfl__malloc() argument 76 return malloc(sz); in __mbfl__malloc() 79 static void *__mbfl__realloc(void *ptr, size_t sz) in __mbfl__realloc() argument 81 return realloc(ptr, sz); in __mbfl__realloc()
|
H A D | mbfilter.c | 1312 size_t sz; in mbfl_strcut() local 1371 sz = end - start; in mbfl_strcut() 1372 if ((w = (unsigned char*)mbfl_calloc(sz + 8, in mbfl_strcut() 1377 memcpy(w, start, sz); in mbfl_strcut() 1378 w[sz] = '\0'; in mbfl_strcut() 1379 w[sz + 1] = '\0'; in mbfl_strcut() 1380 w[sz + 2] = '\0'; in mbfl_strcut() 1381 w[sz + 3] = '\0'; in mbfl_strcut() 1384 result->len = sz; in mbfl_strcut()
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gdtest.c | 25 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 D | gdtestft.c | 44 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.3/ext/dba/libcdb/ |
H A D | cdb_make.c | 41 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.3/main/streams/ |
H A D | xp_socket.c | 42 # define XP_SOCK_BUF_SIZE(sz) (((sz) > INT_MAX) ? INT_MAX : (int)(sz)) argument 44 # define XP_SOCK_BUF_SIZE(sz) (sz) argument
|
H A D | plain_wrapper.c | 870 LARGE_INTEGER sz, old_sz; in php_stdiop_set_option() local 871 sz.QuadPart = 0; in php_stdiop_set_option() 873 if (!SetFilePointerEx(h, sz, &old_sz, FILE_CURRENT)) { in php_stdiop_set_option() 878 sz.QuadPart = new_size; in php_stdiop_set_option() 880 sz.HighPart = 0; in php_stdiop_set_option() 881 sz.LowPart = new_size; in php_stdiop_set_option() 883 if (!SetFilePointerEx(h, sz, NULL, FILE_BEGIN)) { in php_stdiop_set_option()
|
/PHP-7.3/Zend/ |
H A D | zend_language_scanner.l | 873 size_t sz = 0; \ 875 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \ 876 ZVAL_STRINGL(zendlval, s, sz); \ 1095 size_t sz = 0; in zend_scan_escape_string() local 1099 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval)); in zend_scan_escape_string() 1101 ZVAL_STRINGL(zendlval, (char *) str, sz); in zend_scan_escape_string() 1989 size_t sz = 0; 1991 …readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); 1992 ZVAL_STRINGL(zendlval, s, sz); 2213 size_t sz = 0; [all …]
|
H A D | zend_language_scanner.c | 876 size_t sz = 0; \ 878 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \ 879 ZVAL_STRINGL(zendlval, s, sz); \ 1098 size_t sz = 0; in zend_scan_escape_string() local 1102 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval)); in zend_scan_escape_string() 1104 ZVAL_STRINGL(zendlval, (char *) str, sz); in zend_scan_escape_string() 1696 size_t sz = 0; in lex_scan() local 1700 …SCNG(output_filter)((unsigned char **)&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval)); in lex_scan() 1701 ZVAL_STRINGL(zendlval, str, sz); in lex_scan() 7927 size_t sz = 0; in lex_scan() local [all …]
|
H A D | zend_virtual_cwd.c | 1214 size_t sz; in tsrm_realpath_r() local 1215 char *tmp_path = php_win32_ioutil_conv_w_to_any(dataw.cFileName, PHP_WIN32_CP_IGNORE_LEN, &sz); in tsrm_realpath_r() 1221 i = sz; in tsrm_realpath_r()
|
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 1114 size_t sz = file_pstring_length_size(m); in mconvert() local 1115 char *ptr1 = p->s, *ptr2 = ptr1 + sz; in mconvert() 1117 sz = sizeof(p->s) - sz; /* maximum length of string */ in mconvert() 1118 if (len >= sz) { in mconvert() 1127 len = sz; in mconvert()
|
/PHP-7.3/ext/xml/ |
H A D | xml.c | 294 static void *php_xml_malloc_wrapper(size_t sz) in php_xml_malloc_wrapper() argument 296 return emalloc(sz); in php_xml_malloc_wrapper() 299 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) in php_xml_realloc_wrapper() argument 301 return erealloc(ptr, sz); in php_xml_realloc_wrapper()
|
/PHP-7.3/ext/mbstring/ |
H A D | mbstring.c | 644 static void *_php_mb_allocators_malloc(size_t sz) in _php_mb_allocators_malloc() argument 646 return emalloc(sz); in _php_mb_allocators_malloc() 649 static void *_php_mb_allocators_realloc(void *ptr, size_t sz) in _php_mb_allocators_realloc() argument 651 return erealloc(ptr, sz); in _php_mb_allocators_realloc() 664 static void *_php_mb_allocators_pmalloc(size_t sz) in _php_mb_allocators_pmalloc() argument 666 return pemalloc(sz, 1); in _php_mb_allocators_pmalloc() 669 static void *_php_mb_allocators_prealloc(void *ptr, size_t sz) in _php_mb_allocators_prealloc() argument 671 return perealloc(ptr, sz, 1); in _php_mb_allocators_prealloc()
|
/PHP-7.3/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 46913 if( iOfst>p->sz ) memset(p->aData+p->sz, 0, iOfst-p->sz); 48911 sz = ROUNDDOWN8(sz); 60281 i64 sz; 61271 int sz; 61274 sz = (sz&0xfe00) + ((sz&0x0001)<<16); 64644 memmove(&data[iFree+sz+sz2], &data[iFree+sz], iFree2-(iFree+sz)); 70238 sz = pCArray->szCell[i]; assert( sz>0 ); 124546 for(sz=0; sz<nBytes && (z[sz]!=0 || z[sz+1]!=0); sz += 2){} 155316 if( sz<=(int)sizeof(LookasideSlot*) ) sz = 0; 155332 db->lookaside.sz = (u16)sz; [all …]
|
/PHP-7.3/ext/fileinfo/ |
H A D | libmagic.patch | 4029 * string by p->s, so we need to deduct sz. 4034 len = sz;
|
/PHP-7.3/ |
H A D | NEWS | 308 posix_getgrgid and others). (Böszörményi Zoltán)
|
/PHP-7.3/ext/fileinfo/tests/ |
H A D | magic | 2703 !:mime application/x-ms-compress-sz
|
H A D | magic私はガラスを食べられます | 2703 !:mime application/x-ms-compress-sz
|