Lines Matching refs:elements

380 			if (cur_type->elements == NULL) {  in schema_simpleType()
381 cur_type->elements = emalloc(sizeof(HashTable)); in schema_simpleType()
382 zend_hash_init(cur_type->elements, 0, NULL, delete_type, 0); in schema_simpleType()
384 … ptr = zend_hash_str_update_ptr(cur_type->elements, newType->name, strlen(newType->name), newType); in schema_simpleType()
455 if (cur_type->elements == NULL) { in schema_list()
456 cur_type->elements = emalloc(sizeof(HashTable)); in schema_list()
457 zend_hash_init(cur_type->elements, 0, NULL, delete_type, 0); in schema_list()
459 zend_hash_next_index_insert_ptr(cur_type->elements, newType); in schema_list()
490 if (cur_type->elements == NULL) { in schema_list()
491 cur_type->elements = emalloc(sizeof(HashTable)); in schema_list()
492 zend_hash_init(cur_type->elements, 0, NULL, delete_type, 0); in schema_list()
494 zend_hash_next_index_insert_ptr(cur_type->elements, newType); in schema_list()
551 if (cur_type->elements == NULL) { in schema_union()
552 cur_type->elements = emalloc(sizeof(HashTable)); in schema_union()
553 zend_hash_init(cur_type->elements, 0, NULL, delete_type, 0); in schema_union()
555 zend_hash_next_index_insert_ptr(cur_type->elements, newType); in schema_union()
587 if (cur_type->elements == NULL) { in schema_union()
588 cur_type->elements = emalloc(sizeof(HashTable)); in schema_union()
589 zend_hash_init(cur_type->elements, 0, NULL, delete_type, 0); in schema_union()
591 zend_hash_next_index_insert_ptr(cur_type->elements, newType); in schema_union()
1570 if (sdl->elements == NULL) { in schema_element()
1571 sdl->elements = emalloc(sizeof(HashTable)); in schema_element()
1572 zend_hash_init(sdl->elements, 0, NULL, delete_type, 0); in schema_element()
1574 addHash = sdl->elements; in schema_element()
1579 if (cur_type->elements == NULL) { in schema_element()
1580 cur_type->elements = emalloc(sizeof(HashTable)); in schema_element()
1581 zend_hash_init(cur_type->elements, 0, NULL, delete_type, 0); in schema_element()
1583 addHash = cur_type->elements; in schema_element()
2257 if (ctx->sdl->elements != NULL) { in schema_type_fixup()
2258 tmp = (sdlTypePtr)schema_find_by_ref(ctx->sdl->elements, type->ref); in schema_type_fixup()
2281 if (type->elements) { in schema_type_fixup()
2282 ZEND_HASH_FOREACH_PTR(type->elements, tmp) { in schema_type_fixup()
2326 if (sdl->elements) { in schema_pass2()
2327 ZEND_HASH_MAP_FOREACH_PTR(sdl->elements, type) { in schema_pass2()
2415 if (type->elements) { in delete_type()
2416 zend_hash_destroy(type->elements); in delete_type()
2417 efree(type->elements); in delete_type()
2464 if (type->elements) { in delete_type_persistent()
2465 zend_hash_destroy(type->elements); in delete_type_persistent()
2466 free(type->elements); in delete_type_persistent()