Lines Matching refs:encode
72 enc = emalloc(sizeof(encode)); in create_encoder()
74 memset(enc, 0, sizeof(encode)); in create_encoder()
337 cur_type->encode = emalloc(sizeof(encode)); in schema_simpleType()
338 memset(cur_type->encode, 0, sizeof(encode)); in schema_simpleType()
339 cur_type->encode->details.ns = estrdup(newType->namens); in schema_simpleType()
340 cur_type->encode->details.type_str = estrdup(newType->name); in schema_simpleType()
341 cur_type->encode->details.sdl_type = *ptr; in schema_simpleType()
342 cur_type->encode->to_xml = sdl_guess_convert_xml; in schema_simpleType()
343 cur_type->encode->to_zval = sdl_guess_convert_zval; in schema_simpleType()
344 zend_hash_next_index_insert(sdl->encoders, &cur_type->encode, sizeof(encodePtr), NULL); in schema_simpleType()
432 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_list()
527 newType->encode = get_create_encoder(sdl, newType, nsptr->href, BAD_CAST(type)); in schema_union()
649 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_simpleContent()
754 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_restriction_complexContent()
879 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_simpleContent()
934 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(type)); in schema_extension_complexContent()
1390 cur_type->encode = emalloc(sizeof(encode)); in schema_complexType()
1391 memset(cur_type->encode, 0, sizeof(encode)); in schema_complexType()
1392 cur_type->encode->details.ns = estrdup(newType->namens); in schema_complexType()
1393 cur_type->encode->details.type_str = estrdup(newType->name); in schema_complexType()
1394 cur_type->encode->details.sdl_type = *ptr; in schema_complexType()
1395 cur_type->encode->to_xml = sdl_guess_convert_xml; in schema_complexType()
1396 cur_type->encode->to_zval = sdl_guess_convert_zval; in schema_complexType()
1397 zend_hash_next_index_insert(sdl->encoders, &cur_type->encode, sizeof(encodePtr), NULL); in schema_complexType()
1668 cur_type->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_element()
1815 newAttr->encode = get_create_encoder(sdl, cur_type, nsptr->href, BAD_CAST(cptype)); in schema_attribute()
1934 newAttr->encode = dummy_type->encode; in schema_attribute()
2114 attr->encode = (*tmp)->encode; in schema_attribute_fixup()
2242 type->encode = (*tmp)->encode; in schema_type_fixup()
2254 type->encode = get_conversion(XSD_ANYXML); in schema_type_fixup()