Searched refs:sz (Results 1 - 18 of 18) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_arrays.h13 size_t sz; member in struct:fpm_array_s
18 static inline struct fpm_array_s *fpm_array_init(struct fpm_array_s *a, unsigned int sz, unsigned int initial_num) /* {{{ */ argument
32 a->sz = sz;
34 a->data = calloc(sz, initial_num);
52 ret = (char *) a->data + a->sz * n;
72 memcpy(to_remove, last, a->sz);
89 void *new_ptr = realloc(a->data, a->sz * new_allocated);
111 a->sz = 0;
H A Dfpm_cleanup.c18 static struct fpm_array_s cleanups = { .sz = sizeof(struct cleanup_s) };
H A Dfpm_trace.c11 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ argument
28 --sz;
29 if (sz && lc[i]) {
H A Dfpm_trace.h14 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
/PHP_TRUNK/ext/gd/libgd/
H A Dgdtest.c25 int sz; local
78 iptr = gdImagePngPtr (im, &sz);
79 ctx = gdNewDynamicCtx (sz, iptr);
110 iptr = gdImageGd2Ptr (im, 128, 2, &sz);
111 /*printf("Got ptr %d (size %d)\n",iptr, sz); */
112 ctx = gdNewDynamicCtx (sz, iptr);
145 iptr = gdImageGdPtr (im, &sz);
146 /*printf("Got ptr %d (size %d)\n",iptr, sz); */
147 ctx = gdNewDynamicCtx (sz, iptr);
H A Dgdtestft.c44 double sz = 40.;
60 err = gdImageStringFT ((gdImagePtr) NULL, &brect[0], 0, f, sz, angle, 0, 0, s);
87 err = gdImageStringFT (im, NULL, black, f, sz, angle, x, y, s);
H A Dwebpimg.c724 *p_out = (unsigned char*)(calloc(container_size + pkt->data.frame.sz,
729 pkt->data.frame.sz);
730 *p_out_size_bytes = container_size + pkt->data.frame.sz;
/PHP_TRUNK/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_allocators.c74 static void *__mbfl__malloc(unsigned int sz) argument
76 return malloc(sz);
79 static void *__mbfl__realloc(void *ptr, unsigned int sz) argument
81 return realloc(ptr, sz);
H A Dmbfilter.c1499 unsigned int sz; local
1558 sz = end - start;
1559 if ((w = (unsigned char*)mbfl_calloc(sz + 8,
1564 memcpy(w, start, sz);
1565 w[sz] = '\0';
1566 w[sz + 1] = '\0';
1567 w[sz + 2] = '\0';
1568 w[sz + 3] = '\0';
1571 result->len = sz;
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c1653 ** drawn, the size of each scratch allocation (sz),
1654 ** and the maximum number of scratch allocations (N). The sz
1657 ** of at least sz*N bytes of memory.
1671 ** memory, the size of each page buffer (sz), and the number of pages (N).
1672 ** The sz argument should be the size of the largest database page
1676 ** to make sz a little too large. The first
1677 ** argument should point to an allocation of at least sz*N bytes of memory.
1844 #define SQLITE_CONFIG_SCRATCH 6 /* void*, int sz, int N */
1845 #define SQLITE_CONFIG_PAGECACHE 7 /* void*, int sz, int N */
6316 ** where too large (they were larger than the "sz" paramete
10287 u16 sz; /* Size of each buffer in bytes */ member in struct:Lookaside
19408 int i, n, sz; local
22938 int i, sz; local
24394 robust_ftruncate(int h, sqlite3_int64 sz) argument
35082 sqlite3_int64 sz; /* Current size of wal-index file */ local
37139 sqlite3BitvecBuiltinTest(int sz, int *aOp) argument
38020 sqlite3PCacheBufferSetup(void *pBuf, int sz, int n) argument
38072 int sz = sqlite3MallocSize(p); local
38195 sqlite3PageMalloc(int sz) argument
38416 int sz; /* Bytes of memory required to allocate the new cache */ local
40884 i64 sz; local
42929 sqlite3_int64 sz; local
48568 i64 sz; local
49166 int sz; local
49616 i64 sz = pWal->mxWalSize; local
52288 int sz; /* Size of a cell */ local
56455 dropCell(MemPage *pPage, int idx, int sz, int *pRC) argument
56506 insertCell( MemPage *pPage, int i, u8 *pCell, int sz, u8 *pTemp, Pgno iChild, int *pRC ) argument
56615 u16 sz = aSize[i]; local
57099 u16 sz = (u16)szNew[i]; local
57318 int sz; local
58764 u32 sz; local
88156 int sz = (n==0) ? 1 : 2*n; local
98018 sqlite3_int64 sz; local
99982 int sz; local
120575 setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt) argument
120666 int sz = va_arg(ap, int); /* IMP: R-47871-25994 */ local
123147 int sz = va_arg(ap, int); local
123298 int sz; local
[all...]
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dsoftmagic.c921 size_t sz = file_pstring_length_size(m); local
922 char *ptr1 = p->s, *ptr2 = ptr1 + sz;
926 * The size of the pascal string length (sz)
929 * string by p->s, so we need to deduct sz.
931 len = sizeof(p->s) - sz;
/PHP_TRUNK/ext/dba/libcdb/
H A Dcdb_make.c41 static int cdb_make_write(struct cdb_make *c, char *buf, uint32 sz TSRMLS_DC) {
42 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1;
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c632 static void *_php_mb_allocators_malloc(unsigned int sz) argument
634 return emalloc(sz);
637 static void *_php_mb_allocators_realloc(void *ptr, unsigned int sz) argument
639 return erealloc(ptr, sz);
652 static void *_php_mb_allocators_pmalloc(unsigned int sz) argument
654 return pemalloc(sz, 1);
657 static void *_php_mb_allocators_prealloc(void *ptr, unsigned int sz) argument
659 return perealloc(ptr, sz, 1);
3558 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz+", &to_enc, &to_enc_len, &zfrom_enc, &args, &argc) == FAILURE) {
3783 if (zend_parse_parameters(argc TSRMLS_CC, "sz|s
[all...]
/PHP_TRUNK/ext/xml/
H A Dxml.c296 static void *php_xml_malloc_wrapper(size_t sz) argument
298 return emalloc(sz);
301 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) argument
303 return erealloc(ptr, sz);
/PHP_TRUNK/main/streams/
H A Dxp_socket.c44 # define XP_SOCK_BUF_SIZE(sz) (((sz) > INT_MAX) ? INT_MAX : (int)(sz))
46 # define XP_SOCK_BUF_SIZE(sz) (sz)
/PHP_TRUNK/Zend/
H A Dzend_language_scanner.c857 size_t sz = 0; \
859 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC); \
860 ZVAL_STRINGL(zendlval, s, sz); \
977 size_t sz = 0; local
981 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval) TSRMLS_CC);
983 ZVAL_STRINGL(zendlval, (char *) str, sz);
1080 size_t sz = 0; local
1082 readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC);
1083 ZVAL_STRINGL(zendlval, s, sz);
2748 size_t sz local
[all...]
H A Dzend_language_scanner.l855 size_t sz = 0; \
857 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC); \
858 ZVAL_STRINGL(zendlval, s, sz); \
975 size_t sz = 0;
979 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval) TSRMLS_CC);
981 ZVAL_STRINGL(zendlval, (char *) str, sz);
1661 size_t sz = 0;
1663 readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC);
1664 ZVAL_STRINGL(zendlval, s, sz);
1851 size_t sz
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd.c4227 zend_long sz = 0, sp = 0, wd = 0; local
4242 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "srl|lld", &str, &str_len, &fnt, &sz, &sp, &wd, &angle) == FAILURE) {
4314 add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000));
4315 add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000));
4316 add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000));
4317 add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000));

Completed in 174 milliseconds