/PHP-5.6/sapi/fpm/fpm/ |
H A D | fpm_arrays.h | 13 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 = realloc(a->data, a->sz * new_allocated); in fpm_array_push() 111 a->sz = 0; in fpm_array_free()
|
H A D | fpm_trace.c | 11 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ in fpm_trace_get_strz() argument 28 --sz; in fpm_trace_get_strz() 29 if (sz && lc[i]) { in fpm_trace_get_strz()
|
H A D | fpm_trace.h | 14 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
|
H A D | fpm_cleanup.c | 18 static struct fpm_array_s cleanups = { .sz = sizeof(struct cleanup_s) };
|
/PHP-5.6/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_allocators.c | 74 static void *__mbfl__malloc(unsigned int sz) in __mbfl__malloc() argument 76 return malloc(sz); in __mbfl__malloc() 79 static void *__mbfl__realloc(void *ptr, unsigned int sz) in __mbfl__realloc() argument 81 return realloc(ptr, sz); in __mbfl__realloc()
|
H A D | mbfilter.c | 1499 unsigned int sz; in mbfl_strcut() local 1558 sz = end - start; in mbfl_strcut() 1559 if ((w = (unsigned char*)mbfl_calloc(sz + 8, in mbfl_strcut() 1564 memcpy(w, start, sz); in mbfl_strcut() 1565 w[sz] = '\0'; in mbfl_strcut() 1566 w[sz + 1] = '\0'; in mbfl_strcut() 1567 w[sz + 2] = '\0'; in mbfl_strcut() 1568 w[sz + 3] = '\0'; in mbfl_strcut() 1571 result->len = sz; in mbfl_strcut()
|
/PHP-5.6/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()
|
H A D | webpimg.c | 724 *p_out = (unsigned char*)(calloc(container_size + pkt->data.frame.sz, in VPXEncode() 729 pkt->data.frame.sz); in VPXEncode() 730 *p_out_size_bytes = container_size + pkt->data.frame.sz; in VPXEncode()
|
/PHP-5.6/ext/dba/libcdb/ |
H A D | cdb_make.c | 41 static int cdb_make_write(struct cdb_make *c, char *buf, uint32 sz TSRMLS_DC) { in cdb_make_write() 42 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1; in cdb_make_write()
|
/PHP-5.6/Zend/ |
H A D | zend_language_scanner.l | 862 size_t sz = 0; \ 863 …SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)yytext, (size_t… 864 Z_STRLEN_P(zendlval) = sz; \ 981 size_t sz = 0; in zend_scan_escape_string() local 983 …SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)s, (size_t)Z_ST… in zend_scan_escape_string() 984 Z_STRLEN_P(zendlval) = sz; in zend_scan_escape_string() 1794 size_t sz = 0; 1796 Z_STRLEN_P(zendlval) = sz; 2005 size_t sz = 0; 2007 …SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)s, (size_t)Z_ST… [all …]
|
H A D | zend_language_scanner.c | 864 size_t sz = 0; \ 865 …SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)yytext, (size_t… 866 Z_STRLEN_P(zendlval) = sz; \ 983 size_t sz = 0; in zend_scan_escape_string() local 985 …SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)s, (size_t)Z_ST… in zend_scan_escape_string() 986 Z_STRLEN_P(zendlval) = sz; in zend_scan_escape_string() 1145 size_t sz = 0; in lex_scan() local 1147 Z_STRLEN_P(zendlval) = sz; in lex_scan() 3091 size_t sz = 0; in lex_scan() local 3093 …SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)s, (size_t)Z_ST… in lex_scan() [all …]
|
/PHP-5.6/sapi/thttpd/ |
H A D | thttpd_patch | 522 sz = sizeof(sa); 1810 + ftruncate(tmp, sz); 1811 + p = mmap(NULL, sz, 1817 + hc->read_size = sz; 1858 int sz; 1876 - if ( sz == 0 || ( sz < 0 && ( errno != EWOULDBLOCK ) ) ) 1880 + if ( sz == 0 ) { 1904 + if (sz > 0) hc->read_idx += sz; 1920 - hc->read_idx += sz; 2034 if ( sz == 0 || [all …]
|
/PHP-5.6/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 918 size_t sz = file_pstring_length_size(m); in mconvert() local 919 char *ptr1 = p->s, *ptr2 = ptr1 + sz; in mconvert() 921 sz = sizeof(p->s) - sz; /* maximum length of string */ in mconvert() 922 if (len >= sz) { in mconvert() 931 len = sz; in mconvert()
|
/PHP-5.6/ext/xml/ |
H A D | xml.c | 300 static void *php_xml_malloc_wrapper(size_t sz) in php_xml_malloc_wrapper() argument 302 return emalloc(sz); in php_xml_malloc_wrapper() 305 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) in php_xml_realloc_wrapper() argument 307 return erealloc(ptr, sz); in php_xml_realloc_wrapper()
|
/PHP-5.6/ext/mbstring/ |
H A D | mbstring.c | 633 static void *_php_mb_allocators_malloc(unsigned int sz) in _php_mb_allocators_malloc() argument 635 return emalloc(sz); in _php_mb_allocators_malloc() 638 static void *_php_mb_allocators_realloc(void *ptr, unsigned int sz) in _php_mb_allocators_realloc() argument 640 return erealloc(ptr, sz); in _php_mb_allocators_realloc() 653 static void *_php_mb_allocators_pmalloc(unsigned int sz) in _php_mb_allocators_pmalloc() argument 655 return pemalloc(sz, 1); in _php_mb_allocators_pmalloc() 658 static void *_php_mb_allocators_prealloc(void *ptr, unsigned int sz) in _php_mb_allocators_prealloc() argument 660 return perealloc(ptr, sz, 1); in _php_mb_allocators_prealloc()
|
/PHP-5.6/ext/fileinfo/ |
H A D | libmagic.patch | 3142 + size_t sz = file_pstring_length_size(m); 3143 + char *ptr1 = p->s, *ptr2 = ptr1 + sz; 3147 + sz = sizeof(p->s) - sz; /* maximum length of string */ 3148 + if (len >= sz) { 3150 + * The size of the pascal string length (sz) 3153 + * string by p->s, so we need to deduct sz. 3157 + len = sz;
|
/PHP-5.6/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 40094 sz = ROUNDDOWN8(sz); 50772 i64 sz; 51370 int sz; 51373 sz = (sz&0xfe00) + ((sz&0x0001)<<16); 60199 int sz; 104344 if( sz<0 ) sz = sqlite3GlobalConfig.szMmap; 106408 for(sz=0; sz<nBytes && (z[sz]!=0 || z[sz+1]!=0); sz += 2){} 128650 sz = ROUNDDOWN8(sz); /* IMP: R-33038-09382 */ 128651 if( sz<=(int)sizeof(LookasideSlot*) ) sz = 0; 128666 db->lookaside.sz = (u16)sz; [all …]
|
/PHP-5.6/ext/gd/ |
H A D | gd.c | 4305 long sz = 0, sp = 0, wd = 0; in PHP_FUNCTION() local 4320 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "srl|lld", &str, &str_len, &fnt, &sz, &sp, &w… in PHP_FUNCTION() 4392 add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000)); in PHP_FUNCTION() 4393 add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000)); in PHP_FUNCTION() 4394 add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000)); in PHP_FUNCTION() 4395 add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000)); in PHP_FUNCTION()
|