Searched defs:sz (Results 1 - 12 of 12) 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_trace.c11 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ argument
28 --sz;
29 if (sz && lc[i]) {
/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);
/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.c1666 ** drawn, the size of each scratch allocation (sz),
1667 ** and the maximum number of scratch allocations (N). The sz
1670 ** of at least sz*N bytes of memory.
1684 ** memory, the size of each page buffer (sz), and the number of pages (N).
1685 ** The sz argument should be the size of the largest database page
1689 ** to make sz a little too large. The first
1690 ** argument should point to an allocation of at least sz*N bytes of memory.
1857 #define SQLITE_CONFIG_SCRATCH 6 /* void*, int sz, int N */
1858 #define SQLITE_CONFIG_PAGECACHE 7 /* void*, int sz, int N */
6416 ** where too large (they were larger than the "sz" paramete
10506 u16 sz; /* Size of each buffer in bytes */ member in struct:Lookaside
20085 int i, n, sz; local
24070 int i, sz; local
25530 robust_ftruncate(int h, sqlite3_int64 sz) argument
36374 sqlite3_int64 sz; /* Current size of wal-index file */ local
38431 sqlite3BitvecBuiltinTest(int sz, int *aOp) argument
39341 sqlite3PCacheBufferSetup(void *pBuf, int sz, int n) argument
39393 int sz = sqlite3MallocSize(p); local
39516 sqlite3PageMalloc(int sz) argument
39738 int sz; /* Bytes of memory required to allocate the new cache */ local
42214 i64 sz; local
44251 sqlite3_int64 sz; local
49922 i64 sz; local
50520 int sz; local
50969 i64 sz = pWal->mxWalSize; local
53721 int sz; /* Size of a cell */ local
58036 dropCell(MemPage *pPage, int idx, int sz, int *pRC) argument
58082 insertCell( MemPage *pPage, int i, u8 *pCell, int sz, u8 *pTemp, Pgno iChild, int *pRC ) argument
58191 u16 sz = aSize[i]; local
58675 u16 sz = (u16)szNew[i]; local
58894 int sz; local
60351 u32 sz; local
76786 int sz; /* Size of pSorter in bytes */ local
91984 int sz = (n==0) ? 1 : 2*n; local
101961 sqlite3_int64 sz; local
104001 int sz; local
125501 setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt) argument
125592 int sz = va_arg(ap, int); /* IMP: R-47871-25994 */ local
128089 int sz = va_arg(ap, int); local
128278 int sz; local
[all...]
/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/ext/fileinfo/libmagic/
H A Dsoftmagic.c920 size_t sz = file_pstring_length_size(m); local
921 char *ptr1 = p->s, *ptr2 = ptr1 + sz;
925 * The size of the pascal string length (sz)
928 * string by p->s, so we need to deduct sz.
930 len = sizeof(p->s) - sz;
/PHP_TRUNK/ext/gd/
H A Dgd.c4226 zend_long sz = 0, sp = 0, wd = 0; local
4241 if (zend_parse_parameters(ZEND_NUM_ARGS(), "srl|lld", &str, &str_len, &fnt, &sz, &sp, &wd, &angle) == FAILURE) {
4313 add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000));
4314 add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000));
4315 add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000));
4316 add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000));
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c635 static void *_php_mb_allocators_malloc(unsigned int sz) argument
637 return emalloc(sz);
640 static void *_php_mb_allocators_realloc(void *ptr, unsigned int sz) argument
642 return erealloc(ptr, sz);
655 static void *_php_mb_allocators_pmalloc(unsigned int sz) argument
657 return pemalloc(sz, 1);
660 static void *_php_mb_allocators_prealloc(void *ptr, unsigned int sz) argument
662 return perealloc(ptr, sz, 1);
3565 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz+", &to_enc, &to_enc_len, &zfrom_enc, &args, &argc) == FAILURE) {
3790 if (zend_parse_parameters(argc, "sz|s
[all...]
/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/Zend/
H A Dzend_language_scanner.c859 size_t sz = 0; \
861 SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng); \
862 ZVAL_STRINGL(zendlval, s, sz); \
1058 size_t sz = 0; local
1062 SCNG(output_filter)(&str, &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval));
1064 ZVAL_STRINGL(zendlval, (char *) str, sz);
1161 size_t sz = 0; local
1163 readsize = SCNG(output_filter)((unsigned char **)&s, &sz, (unsigned char *)yytext, (size_t)yyleng);
1164 ZVAL_STRINGL(zendlval, s, sz);
2829 size_t sz local
[all...]

Completed in 131 milliseconds