Home
last modified time | relevance | path

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

/php-src/ext/dom/
H A Delement.c492 size_t worklist_capacity = 128; in dom_deep_ns_redef() local
493 dom_deep_ns_redef_item *worklist = emalloc(sizeof(dom_deep_ns_redef_item) * worklist_capacity); in dom_deep_ns_redef()
524 if (worklist_size == worklist_capacity) { in dom_deep_ns_redef()
525 if (UNEXPECTED(worklist_capacity >= SIZE_MAX / 3 * 2 / sizeof(dom_deep_ns_redef_item))) { in dom_deep_ns_redef()
529 worklist_capacity = worklist_capacity * 3 / 2; in dom_deep_ns_redef()
530 worklist = erealloc(worklist, sizeof(dom_deep_ns_redef_item) * worklist_capacity); in dom_deep_ns_redef()

Completed in 12 milliseconds