/PHP-5.5/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.5/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.5/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.5/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.5/Zend/ |
H A D | zend_language_scanner.l | 871 size_t sz = 0; \ 872 …SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (s… 873 zendlval->value.str.len = sz; \ 990 size_t sz = 0; in zend_scan_escape_string() local 992 …SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)s, (size_t… in zend_scan_escape_string() 993 zendlval->value.str.len = sz; in zend_scan_escape_string() 1852 size_t sz = 0; 1853 …readsize = SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *… 1854 zendlval->value.str.len = sz; 2069 size_t sz = 0; [all …]
|
H A D | zend_language_scanner.c | 873 size_t sz = 0; \ 874 …SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (s… 875 zendlval->value.str.len = sz; \ 992 size_t sz = 0; in zend_scan_escape_string() local 994 …SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)s, (size_t… in zend_scan_escape_string() 995 zendlval->value.str.len = sz; in zend_scan_escape_string() 1154 size_t sz = 0; in lex_scan() local 1155 …readsize = SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *… in lex_scan() 1156 zendlval->value.str.len = sz; in lex_scan() 3110 size_t sz = 0; in lex_scan() local [all …]
|
/PHP-5.5/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.5/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 884 size_t sz = file_pstring_length_size(m); in mconvert() local 885 char *ptr1 = p->s, *ptr2 = ptr1 + sz; in mconvert() 887 sz = sizeof(p->s) - sz; /* maximum length of string */ in mconvert() 888 if (len >= sz) { in mconvert() 897 len = sz; in mconvert()
|
/PHP-5.5/ext/xml/ |
H A D | xml.c | 296 static void *php_xml_malloc_wrapper(size_t sz) in php_xml_malloc_wrapper() argument 298 return emalloc(sz); in php_xml_malloc_wrapper() 301 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) in php_xml_realloc_wrapper() argument 303 return erealloc(ptr, sz); in php_xml_realloc_wrapper()
|
/PHP-5.5/ext/mbstring/ |
H A D | mbstring.c | 605 static void *_php_mb_allocators_malloc(unsigned int sz) in ZEND_GET_MODULE() 607 return emalloc(sz); in ZEND_GET_MODULE() 610 static void *_php_mb_allocators_realloc(void *ptr, unsigned int sz) in _php_mb_allocators_realloc() argument 612 return erealloc(ptr, sz); in _php_mb_allocators_realloc() 625 static void *_php_mb_allocators_pmalloc(unsigned int sz) in _php_mb_allocators_pmalloc() argument 627 return pemalloc(sz, 1); in _php_mb_allocators_pmalloc() 630 static void *_php_mb_allocators_prealloc(void *ptr, unsigned int sz) in _php_mb_allocators_prealloc() argument 632 return perealloc(ptr, sz, 1); in _php_mb_allocators_prealloc()
|
/PHP-5.5/ext/fileinfo/ |
H A D | libmagic.patch | 3047 + size_t sz = file_pstring_length_size(m); 3048 + char *ptr1 = p->s, *ptr2 = ptr1 + sz; 3052 + sz = sizeof(p->s) - sz; /* maximum length of string */ 3053 + if (len >= sz) { 3055 + * The size of the pascal string length (sz) 3058 + * string by p->s, so we need to deduct sz. 3062 + len = sz;
|
/PHP-5.5/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.5/ext/gd/ |
H A D | gd.c | 4254 long sz = 0, sp = 0, wd = 0; in PHP_FUNCTION() local 4269 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "srl|lld", &str, &str_len, &fnt, &sz, &sp, &w… in PHP_FUNCTION() 4341 add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000)); in PHP_FUNCTION() 4342 add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000)); in PHP_FUNCTION() 4343 add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000)); in PHP_FUNCTION() 4344 add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000)); in PHP_FUNCTION()
|