Searched defs:sz (Results 1 - 11 of 11) 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/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/Zend/
H A Dzend_language_scanner.c864 size_t sz = 0; \
865 SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC); \
866 Z_STRLEN_P(zendlval) = sz; \
983 size_t sz = 0; local
985 SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)s, (size_t)Z_STRLEN_P(zendlval) TSRMLS_CC);
986 Z_STRLEN_P(zendlval) = sz;
1145 size_t sz = 0; local
1146 readsize = SCNG(output_filter)((unsigned char **)&Z_STRVAL_P(zendlval), &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC);
1147 Z_STRLEN_P(zendlval) = sz;
3091 size_t sz local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c633 static void *_php_mb_allocators_malloc(unsigned int sz) argument
635 return emalloc(sz);
638 static void *_php_mb_allocators_realloc(void *ptr, unsigned int sz) argument
640 return erealloc(ptr, sz);
653 static void *_php_mb_allocators_pmalloc(unsigned int sz) argument
655 return pemalloc(sz, 1);
658 static void *_php_mb_allocators_prealloc(void *ptr, unsigned int sz) argument
660 return perealloc(ptr, sz, 1);
3743 if (zend_parse_parameters(argc TSRMLS_CC, "sz|sb", &str, &str_len, &zconvmap, &encoding, &encoding_len, &is_hex) == FAILURE) {
/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/gd/
H A Dgd.c4261 long sz = 0, sp = 0, wd = 0; local
4276 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "srl|lld", &str, &str_len, &fnt, &sz, &sp, &wd, &angle) == FAILURE) {
4348 add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000));
4349 add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000));
4350 add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000));
4351 add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000));
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dsoftmagic.c918 size_t sz = file_pstring_length_size(m); local
919 char *ptr1 = p->s, *ptr2 = ptr1 + sz;
923 * The size of the pascal string length (sz)
926 * string by p->s, so we need to deduct sz.
928 len = sizeof(p->s) - sz;

Completed in 168 milliseconds