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 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;
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);
/PHP_TRUNK/ext/dba/libcdb/
H A Dcdb_make.c41 static int cdb_make_write(struct cdb_make *c, char *buf, uint32 sz) { argument
42 return php_stream_write(c->fp, buf, sz) == sz ? 0 : -1;
/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/ext/xml/
H A Dxml.c302 static void *php_xml_malloc_wrapper(size_t sz) argument
304 return emalloc(sz);
307 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) argument
309 return erealloc(ptr, sz);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c1716 ** drawn, the size of each scratch allocation (sz),
1719 ** of at least sz*N bytes of memory.
1742 ** memory, the size of each page buffer (sz), and the number of pages (N).
1743 ** The sz argument should be the size of the largest database page
1749 ** for the sz parameter to be larger than necessary. The first
1751 ** is at least sz*N bytes of memory, otherwise subsequent behavior is
1942 #define SQLITE_CONFIG_SCRATCH 6 /* void*, int sz, int N */
1943 #define SQLITE_CONFIG_PAGECACHE 7 /* void*, int sz, int N */
6514 ** where too large (they were larger than the "sz" parameter to
6538 ** "sz" paramete
10744 u16 sz; /* Size of each buffer in bytes */ member in struct:Lookaside
20399 int i, n, sz; local
24421 int i, sz; local
25881 robust_ftruncate(int h, sqlite3_int64 sz) argument
36736 sqlite3_int64 sz; /* Current size of wal-index file */ local
38793 sqlite3BitvecBuiltinTest(int sz, int *aOp) argument
39699 sqlite3PCacheBufferSetup(void *pBuf, int sz, int n) argument
39751 int sz = sqlite3MallocSize(p); local
39874 sqlite3PageMalloc(int sz) argument
40096 int sz; /* Bytes of memory required to allocate the new cache */ local
42579 i64 sz; local
44625 sqlite3_int64 sz; local
50364 i64 sz; local
50962 int sz; local
51398 i64 sz = pWal->mxWalSize; local
54244 int sz; /* Size of a cell */ local
58608 dropCell(MemPage *pPage, int idx, int sz, int *pRC) argument
58662 insertCell( MemPage *pPage, int i, u8 *pCell, int sz, u8 *pTemp, Pgno iChild, int *pRC ) argument
58835 int sz = szCell[i]; local
58877 int sz = szCell[i]; local
59482 u16 sz = (u16)szNew[i]; local
59761 int sz; local
61208 u32 sz; local
77930 int sz; /* Size of pSorter in bytes */ local
93185 int sz = (n==0) ? 1 : 2*n; local
103198 sqlite3_int64 sz; local
105233 int sz; local
127033 setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt) argument
127134 int sz = va_arg(ap, int); /* IMP: R-47871-25994 */ local
129759 int sz = va_arg(ap, int); local
129948 int sz; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c628 static void *_php_mb_allocators_malloc(unsigned int sz) argument
630 return emalloc(sz);
633 static void *_php_mb_allocators_realloc(void *ptr, unsigned int sz) argument
635 return erealloc(ptr, sz);
648 static void *_php_mb_allocators_pmalloc(unsigned int sz) argument
650 return pemalloc(sz, 1);
653 static void *_php_mb_allocators_prealloc(void *ptr, unsigned int sz) argument
655 return perealloc(ptr, sz, 1);
3568 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz+", &to_enc, &to_enc_len, &zfrom_enc, &args, &argc) == FAILURE) {
3793 if (zend_parse_parameters(argc, "sz|s
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd.c4386 zend_long sz = 0, sp = 0, wd = 0; local
4401 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Srl|lld", &str, &fnt, &sz, &sp, &wd, &angle) == FAILURE) {
4475 add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000));
4476 add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000));
4477 add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000));
4478 add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000));
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dsoftmagic.c946 size_t sz = file_pstring_length_size(m); local
947 char *ptr1 = p->s, *ptr2 = ptr1 + sz;
949 sz = sizeof(p->s) - sz; /* maximum length of string */
950 if (len >= sz) {
952 * The size of the pascal string length (sz)
955 * string by p->s, so we need to deduct sz.
959 len = sz;
/PHP_TRUNK/Zend/
H A Dzend_language_scanner.c861 size_t sz = 0; \
863 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \
864 ZVAL_STRINGL(zendlval, s, sz); \
1066 size_t sz = 0; local
1070 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval));
1072 ZVAL_STRINGL(zendlval, (char *) str, sz);
1170 size_t sz = 0; local
1172 readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng);
1173 ZVAL_STRINGL(zendlval, s, sz);
2868 size_t sz local
[all...]
H A Dzend_language_scanner.l859 size_t sz = 0; \
861 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \
862 ZVAL_STRINGL(zendlval, s, sz); \
1064 size_t sz = 0;
1068 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval));
1070 ZVAL_STRINGL(zendlval, (char *) str, sz);
1804 size_t sz = 0;
1806 readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng);
1807 ZVAL_STRINGL(zendlval, s, sz);
1994 size_t sz
[all...]

Completed in 152 milliseconds