/PHP-5.3/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.3/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 | 1379 unsigned int sz; in mbfl_strcut() local 1438 sz = end - start; in mbfl_strcut() 1439 if ((w = (unsigned char*)mbfl_calloc(sz + 8, in mbfl_strcut() 1444 memcpy(w, start, sz); in mbfl_strcut() 1445 w[sz] = '\0'; in mbfl_strcut() 1446 w[sz + 1] = '\0'; in mbfl_strcut() 1447 w[sz + 2] = '\0'; in mbfl_strcut() 1448 w[sz + 3] = '\0'; in mbfl_strcut() 1451 result->len = sz; in mbfl_strcut()
|
/PHP-5.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-5.3/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.3/Zend/ |
H A D | zend_language_scanner.l | 724 size_t sz = 0; \ 725 …SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (s… 726 zendlval->value.str.len = sz; \ 841 size_t sz = 0; in zend_scan_escape_string() local 843 …SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)s, (size_t… in zend_scan_escape_string() 844 zendlval->value.str.len = sz; in zend_scan_escape_string() 1636 size_t sz = 0; in lex_scan() local 1637 …readsize = SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *… in lex_scan() 1638 zendlval->value.str.len = sz; in lex_scan() 1858 size_t sz = 0; [all …]
|
H A D | zend_language_scanner.c | 726 size_t sz = 0; \ 727 …SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (s… 728 zendlval->value.str.len = sz; \ 843 size_t sz = 0; in zend_scan_escape_string() local 845 …SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)s, (size_t… in zend_scan_escape_string() 846 zendlval->value.str.len = sz; in zend_scan_escape_string() 1007 size_t sz = 0; in lex_scan() local 1008 …readsize = SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *… in lex_scan() 1009 zendlval->value.str.len = sz; in lex_scan() 2956 size_t sz = 0; in lex_scan() local [all …]
|
/PHP-5.3/ext/sqlite/libsqlite/src/ |
H A D | btree.c | 605 sz = cellSize(pBt, pCell); in initPage() 607 freeSpace -= sz; in initPage() 2060 assert( sz==cellSize(pBt, pCell) ); in insertCell() 2062 idx = allocateSpace(pBt, pPage, sz); in insertCell() 3051 int sz = cellSize(pBt, pCell); in fileBtreePageDump() local 3054 if( sz>sizeof(payload)-1 ) sz = sizeof(payload)-1; in fileBtreePageDump() 3056 for(j=0; j<sz; j++){ in fileBtreePageDump() 3059 payload[sz] = 0; in fileBtreePageDump() 3334 int sz; in checkTreePage() local 3339 sz = nKey2 + NDATA(pBt, pCell->h); in checkTreePage() [all …]
|
H A D | btree.h | 104 #define sqliteBtreeSetCacheSize(pBt, sz) (btOps(pBt)->SetCacheSize(pBt, sz)) argument
|
H A D | vdbe.c | 3516 int sz; in sqliteVdbeExec() local 3518 sqliteBtreeKeySize(pCrsr, &sz); in sqliteVdbeExec() 3519 if( sz<sizeof(u32) ){ in sqliteVdbeExec() 3522 sqliteBtreeKey(pCrsr, sz - sizeof(u32), sizeof(u32), (char*)&v); in sqliteVdbeExec()
|
H A D | btree_rb.c | 1255 static int memRbtreeSetCacheSize(Rbtree* tree, int sz) in memRbtreeSetCacheSize() argument
|
/PHP-5.3/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.3/ext/xml/ |
H A D | xml.c | 295 static void *php_xml_malloc_wrapper(size_t sz) in php_xml_malloc_wrapper() argument 297 return emalloc(sz); in php_xml_malloc_wrapper() 300 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) in php_xml_realloc_wrapper() argument 302 return erealloc(ptr, sz); in php_xml_realloc_wrapper()
|
/PHP-5.3/ext/mbstring/ |
H A D | mbstring.c | 596 static void *_php_mb_allocators_malloc(unsigned int sz) in ZEND_GET_MODULE() 598 return emalloc(sz); in ZEND_GET_MODULE() 601 static void *_php_mb_allocators_realloc(void *ptr, unsigned int sz) in _php_mb_allocators_realloc() argument 603 return erealloc(ptr, sz); in _php_mb_allocators_realloc() 616 static void *_php_mb_allocators_pmalloc(unsigned int sz) in _php_mb_allocators_pmalloc() argument 618 return pemalloc(sz, 1); in _php_mb_allocators_pmalloc() 621 static void *_php_mb_allocators_prealloc(void *ptr, unsigned int sz) in _php_mb_allocators_prealloc() argument 623 return perealloc(ptr, sz, 1); in _php_mb_allocators_prealloc()
|
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 780 size_t sz = file_pstring_length_size(m); in mconvert() local 781 char *ptr1 = p->s, *ptr2 = ptr1 + sz; in mconvert() 790 len = sizeof(p->s) - sz; in mconvert()
|
/PHP-5.3/ext/gd/ |
H A D | gd.c | 4358 long sz = 0, sp = 0, wd = 0; in PHP_FUNCTION() local 4373 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "srl|lld", &str, &str_len, &fnt, &sz, &sp, &w… in PHP_FUNCTION() 4445 add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000)); in PHP_FUNCTION() 4446 add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000)); in PHP_FUNCTION() 4447 add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000)); in PHP_FUNCTION() 4448 add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000)); in PHP_FUNCTION()
|
/PHP-5.3/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 35461 sz = ROUNDDOWN8(sz); 38108 i64 sz; 45968 int sz; 53771 int sz; 55164 u32 sz; 108391 if( sz<=(int)sizeof(LookasideSlot*) ) sz = 0; 108394 sz = 0; 108397 sz = ROUNDDOWN8(sz); /* IMP: R-33038-09382 */ 108402 sz = ROUNDDOWN8(sz); /* IMP: R-33038-09382 */ 108407 db->lookaside.sz = (u16)sz; [all …]
|