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

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dbtree.c584 int sz; /* The size of a Cell in bytes */ local
605 sz = cellSize(pBt, pCell);
606 if( idx+sz > SQLITE_USABLE_SIZE ) goto page_format_error;
607 freeSpace -= sz;
2024 ** "sz" must be the number of bytes in the cell.
2031 static void dropCell(Btree *pBt, MemPage *pPage, int idx, int sz){ argument
2034 assert( sz==cellSize(pBt, pPage->apCell[idx]) );
2036 freeSpace(pBt, pPage, Addr(pPage->apCell[idx]) - Addr(pPage), sz);
2057 static void insertCell(Btree *pBt, MemPage *pPage, int i, Cell *pCell, int sz){ argument
2060 assert( sz
3051 int sz = cellSize(pBt, pCell); local
3334 int sz; local
[all...]
H A Dbtree.h104 #define sqliteBtreeSetCacheSize(pBt, sz) (btOps(pBt)->SetCacheSize(pBt, sz))
H A Dbtree_rb.c1255 static int memRbtreeSetCacheSize(Rbtree* tree, int sz) argument
H A Dvdbe.c3516 int sz; local
3518 sqliteBtreeKeySize(pCrsr, &sz);
3519 if( sz<sizeof(u32) ){
3522 sqliteBtreeKey(pCrsr, sz - sizeof(u32), sizeof(u32), (char*)&v);
/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c1876 ** drawn, the size of each scratch allocation (sz),
1877 ** and the maximum number of scratch allocations (N). The sz
1880 ** of at least sz*N bytes of memory.
1894 ** memory, the size of each page buffer (sz), and the number of pages (N).
1895 ** The sz argument should be the size of the largest database page
1899 ** to make sz a little too large. The first
1900 ** argument should point to an allocation of at least sz*N bytes of memory.
2009 #define SQLITE_CONFIG_SCRATCH 6 /* void*, int sz, int N */
2010 #define SQLITE_CONFIG_PAGECACHE 7 /* void*, int sz, int N */
6204 ** where too large (they were larger than the "sz" paramete
9359 u16 sz; /* Size of each buffer in bytes */ member in struct:Lookaside
18175 int i, n, sz; local
21693 int i, sz; local
22910 sqlite3_int64 sz = *(sqlite3_int64*)pArg; local
25068 robust_ftruncate(int h, sqlite3_int64 sz) argument
32715 sqlite3_int64 sz = *(sqlite3_int64*)pArg; local
33288 sqlite3_int64 sz; /* Current size of wal-index file */ local
34606 sqlite3BitvecBuiltinTest(int sz, int *aOp) argument
35458 sqlite3PCacheBufferSetup(void *pBuf, int sz, int n) argument
35509 int sz = sqlite3MallocSize(p); local
35605 sqlite3PageMalloc(int sz) argument
35828 int sz; /* Bytes of memory required to allocate the new cache */ local
38108 i64 sz; local
45968 int sz; local
46187 i64 sz; local
48944 int sz; /* Size of a cell */ local
52909 dropCell(MemPage *pPage, int idx, int sz, int *pRC) argument
52966 insertCell( MemPage *pPage, int i, u8 *pCell, int sz, u8 *pTemp, Pgno iChild, int *pRC ) argument
53083 u16 sz = aSize[i]; local
53560 u16 sz = (u16)szNew[i]; local
53771 int sz; local
55164 u32 sz; local
76476 static const int sz = sizeof(IndexSample)*SQLITE_INDEX_SAMPLES; local
108376 setupLookaside(sqlite3 *db, void *pBuf, int sz, int cnt) argument
108446 int sz = va_arg(ap, int); /* IMP: R-47871-25994 */ local
110658 int sz = va_arg(ap, int); local
110819 int sz; local
[all...]
/PHP_5_3/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_5_3/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);
/PHP_5_3/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.c1379 unsigned int sz; local
1438 sz = end - start;
1439 if ((w = (unsigned char*)mbfl_calloc(sz + 8,
1444 memcpy(w, start, sz);
1445 w[sz] = '\0';
1446 w[sz + 1] = '\0';
1447 w[sz + 2] = '\0';
1448 w[sz + 3] = '\0';
1451 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_5_3/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_5_3/ext/mbstring/
H A Dmbstring.c596 static void *_php_mb_allocators_malloc(unsigned int sz) argument
598 return emalloc(sz);
601 static void *_php_mb_allocators_realloc(void *ptr, unsigned int sz) argument
603 return erealloc(ptr, sz);
616 static void *_php_mb_allocators_pmalloc(unsigned int sz) argument
618 return pemalloc(sz, 1);
621 static void *_php_mb_allocators_prealloc(void *ptr, unsigned int sz) argument
623 return perealloc(ptr, sz, 1);
/PHP_5_3/Zend/
H A Dzend_language_scanner.c726 size_t sz = 0; \
727 SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC); \
728 zendlval->value.str.len = sz; \
843 size_t sz = 0; local
845 SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)s, (size_t)zendlval->value.str.len TSRMLS_CC);
846 zendlval->value.str.len = sz;
1007 size_t sz = 0; local
1008 readsize = SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC);
1009 zendlval->value.str.len = sz;
2956 size_t sz local
[all...]
H A Dzend_language_scanner.l724 size_t sz = 0; \
725 SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC); \
726 zendlval->value.str.len = sz; \
841 size_t sz = 0;
843 SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)s, (size_t)zendlval->value.str.len TSRMLS_CC);
844 zendlval->value.str.len = sz;
1636 size_t sz = 0;
1637 readsize = SCNG(output_filter)((unsigned char **)&(zendlval->value.str.val), &sz, (unsigned char *)yytext, (size_t)yyleng TSRMLS_CC);
1638 zendlval->value.str.len = sz;
1858 size_t sz
[all...]
/PHP_5_3/ext/gd/
H A Dgd.c4358 long sz = 0, sp = 0, wd = 0; local
4373 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "srl|lld", &str, &str_len, &fnt, &sz, &sp, &wd, &angle) == FAILURE) {
4445 add_next_index_long(return_value, (int) ceil(((double) str_bbox.llx)*sz/1000));
4446 add_next_index_long(return_value, (int) ceil(((double) str_bbox.lly)*sz/1000));
4447 add_next_index_long(return_value, (int) ceil(((double) str_bbox.urx)*sz/1000));
4448 add_next_index_long(return_value, (int) ceil(((double) str_bbox.ury)*sz/1000));
/PHP_5_3/ext/xml/
H A Dxml.c295 static void *php_xml_malloc_wrapper(size_t sz) argument
297 return emalloc(sz);
300 static void *php_xml_realloc_wrapper(void *ptr, size_t sz) argument
302 return erealloc(ptr, sz);
/PHP_5_3/ext/fileinfo/libmagic/
H A Dsoftmagic.c780 size_t sz = file_pstring_length_size(m); local
781 char *ptr1 = p->s, *ptr2 = ptr1 + sz;
785 * The size of the pascal string length (sz)
788 * string by p->s, so we need to deduct sz.
790 len = sizeof(p->s) - sz;

Completed in 147 milliseconds