Home
last modified time | relevance | path

Searched refs:alloc (Results 1 – 8 of 8) sorted by relevance

/PHP-7.0/ext/mbstring/oniguruma/
H A Dregint.h350 unsigned int alloc; member
356 (buf)->alloc += (inc);\
357 (buf)->p = (UChar* )xrealloc((buf)->p, (buf)->alloc);\
362 do { (buf)->alloc *= 2; } while ((buf)->alloc < (unsigned int )low);\
363 (buf)->p = (UChar* )xrealloc((buf)->p, (buf)->alloc);\
368 unsigned int new_alloc = (buf)->alloc;\
370 if ((buf)->alloc != new_alloc) {\
373 (buf)->alloc = new_alloc;\
379 if ((buf)->alloc < (unsigned int )used) BBUF_EXPAND((buf),used);\
386 if ((buf)->alloc < (unsigned int )used) BBUF_EXPAND((buf),used);\
[all …]
H A Dst.c54 #define alloc(type) (type*)xmalloc((unsigned)sizeof(type)) macro
157 tbl = alloc(st_table);
268 entry = alloc(st_table_entry);\
347 new_table = alloc(st_table);
365 entry = alloc(st_table_entry);
H A Dregparse.c587 int alloc; member
721 int alloc; in name_add() local
757 t->alloc = 0; in name_add()
765 t->alloc = alloc; in name_add()
772 alloc = t->alloc * 2; in name_add()
775 t->alloc = alloc; in name_add()
810 e->back_alloc = alloc; in name_add()
816 alloc = e->back_alloc * 2; in name_add()
819 e->back_alloc = alloc; in name_add()
956 int i, need, alloc; in scan_env_add_mem_entry() local
[all …]
H A Dregparse.h209 int alloc; member
H A Dregcomp.c150 buf->alloc = size; in onig_bbuf_init()
166 uslist->alloc = size; in unset_addr_list_init()
184 if (uslist->num >= uslist->alloc) { in unset_addr_list_add()
185 size = uslist->alloc * 2; in unset_addr_list_add()
188 uslist->alloc = size; in unset_addr_list_add()
5282 if (reg->alloc == 0) { in onig_compile()
5510 (reg)->alloc = 0; in onig_reg_init()
H A Doniguruma.h660 unsigned int alloc; /* allocated space for p */ member
/PHP-7.0/ext/sockets/
H A Dconversions.c829 zend_llist_element *alloc, in from_zval_write_control() argument
893 memcpy(&alloc->data, control_buf, sizeof *control_buf); in from_zval_write_control()
914 zend_llist_element *alloc; in from_zval_write_control_array() local
931 alloc = ctx->allocations.tail; in from_zval_write_control_array()
945 from_zval_write_control(elem, &control_buf, alloc, &control_len, &cur_offset, ctx); in from_zval_write_control_array()
/PHP-7.0/ext/sqlite3/libsqlite/
H A Dsqlite3.c70210 struct ValueNewStat4Ctx alloc;
70212 alloc.pParse = pParse;
70213 alloc.pIdx = pIdx;
70214 alloc.ppRec = ppRec;
70215 alloc.iVal = iVal;
70217 rc = stat4ValueFromExpr(pParse, pExpr, affinity, &alloc, &pVal);

Completed in 519 milliseconds