Searched defs:new_size (Results 1 - 9 of 9) sorted by relevance
| /PHP_TRUNK/ext/mbstring/oniguruma/ |
| H A D | regenc.c | 842 resize_property_list(int new_size, const OnigCodePoint*** plist, int* psize) argument 847 size = sizeof(OnigCodePoint*) * new_size; 858 *psize = new_size; 873 int new_size = (*psize == 0 ? PROP_INIT_SIZE : *psize * 2); local 874 r = resize_property_list(new_size, plist, psize);
|
| H A D | st.c | 104 new_size(size) function 155 size = new_size(size); /* round up to prime number */ 321 new_num_bins = new_size(old_num_bins+1);
|
| /PHP_TRUNK/ext/exif/ |
| H A D | exif.c | 2446 size_t new_size, new_move, new_value; local 2470 new_size = 8 + 2 + info_list->count * 12 + 4; 2472 exif_error_docref(NULL EXIFERR_CC, ImageInfo, E_NOTICE, "Thumbnail: size of signature + directory(%d): 0x%02X", info_list->count, new_size); 2474 new_value= new_size; /* offset for ifd values outside ifd directory */ 2479 new_size += byte_count; 2482 new_move = new_size; 2483 new_data = safe_erealloc(ImageInfo->Thumbnail.data, 1, ImageInfo->Thumbnail.size, new_size); 2486 ImageInfo->Thumbnail.size += new_size;
|
| /PHP_TRUNK/main/streams/ |
| H A D | plain_wrapper.c | 789 ptrdiff_t new_size = *(ptrdiff_t*)ptrparam; local 790 if (new_size < 0) { 793 return ftruncate(fd, new_size) == 0 ? PHP_STREAM_OPTION_RETURN_OK : PHP_STREAM_OPTION_RETURN_ERR;
|
| H A D | userspace.c | 277 function stream_truncate($new_size) 1039 ptrdiff_t new_size = *(ptrdiff_t*) ptrparam; local 1040 if (new_size >= 0 && new_size <= (ptrdiff_t)LONG_MAX) { 1042 ZVAL_LONG(zvalue, (long)new_size);
|
| /PHP_TRUNK/ext/standard/ |
| H A D | html.c | 1092 size_t new_size = TRAVERSE_FOR_ENTITIES_EXPAND_SIZE(oldlen); local 1102 if (oldlen > new_size) { 1108 ret = emalloc(new_size);
|
| /PHP_TRUNK/ext/mysqlnd/ |
| H A D | mysqlnd_alloc.c | 243 void * _mysqlnd_erealloc(void *ptr, size_t new_size MYSQLND_MEM_D) 259 TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu, new_size=%lu", ptr, old_size, new_size); 265 ret = _erealloc(REAL_PTR(ptr), REAL_SIZE(new_size), 0 ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC); 275 *(size_t *) ret = new_size; 276 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(STAT_MEM_EREALLOC_COUNT, 1, STAT_MEM_EREALLOC_AMOUNT, new_size); 284 void * _mysqlnd_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D) argument 300 TRACE_ALLOC_INF_FMT("ptr=%p old_size=%lu new_size=%lu persistent=%u", ptr, old_size, new_size, persistent); 306 ret = perealloc(REAL_PTR(ptr), REAL_SIZE(new_size), persisten 687 mysqlnd_zend_mm_perealloc(void *ptr, size_t new_size, zend_bool persistent MYSQLND_MEM_D) argument [all...] |
| /PHP_TRUNK/ext/sqlite3/libsqlite/ |
| H A D | sqlite3.c | 21797 /* Resize the hash table so that it cantains "new_size" buckets. 21803 static int rehash(Hash *pH, unsigned int new_size){ argument 21808 if( new_size*sizeof(struct _ht)>SQLITE_MALLOC_SOFT_LIMIT ){ 21809 new_size = SQLITE_MALLOC_SOFT_LIMIT/sizeof(struct _ht); 21811 if( new_size==pH->htsize ) return 0; 21819 new_ht = (struct _ht *)sqlite3Malloc( new_size*sizeof(struct _ht) ); 21825 pH->htsize = new_size = sqlite3MallocSize(new_ht)/sizeof(struct _ht); 21826 memset(new_ht, 0, new_size*sizeof(struct _ht)); 21828 unsigned int h = strHash(elem->pKey, elem->nKey) % new_size; 118068 fts3Rehash(Fts3Hash *pH, int new_size) argument [all...] |
| /PHP_TRUNK/ext/gmp/ |
| H A D | gmp.c | 461 static void *gmp_erealloc(void *ptr, size_t old_size, size_t new_size) argument 463 return erealloc(ptr, new_size);
|
Completed in 185 milliseconds