Searched refs:ns (Results 1 - 25 of 26) sorted by relevance

12

/PHP_5_3/
H A Dconfig.sub150 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
560 basic_machine=ns32k-ns
1528 *-ns)
1613 vendor=ns
/PHP_5_3/ext/dom/
H A Ddocument.c1207 if ((retnodep->type == XML_ATTRIBUTE_NODE) && (nodep->ns != NULL)) {
1211 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href);
1214 nsptr = dom_get_ns(root, nodep->ns->href, &errorcode, nodep->ns->prefix);
1281 nodep->ns = nsptr;
H A Ddom_iterators.c239 curnode = dom_get_elements_by_tag_name_ns_raw(basenode, objmap->ns, objmap->local, &previndex, iter->index);
319 curnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &curindex, 0);
H A Delement.c241 xmlNsPtr ns; local
252 ns = nodep->ns;
253 if (ns != NULL && ns->prefix) {
254 qname = xmlStrdup(ns->prefix);
289 xmlNsPtr ns; local
292 ns = elem->nsDef;
293 while (ns) {
294 if (xmlStrEqual(ns
698 _dom_new_reconNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) argument
[all...]
H A Dnode.c202 xmlNsPtr ns; local
216 ns = nodep->ns;
217 if (ns != NULL && ns->prefix) {
218 qname = xmlStrdup(ns->prefix);
227 ns = nodep->ns;
228 if (ns != NULL && ns
737 xmlNsPtr ns; local
776 xmlNsPtr ns = NULL, curns; local
1455 xmlNsPtr ns; local
[all...]
H A Dnodelist.c87 curnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &count, -1);
158 itemnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &count, index);
H A Dphp_dom.c1111 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC) /* {{{ */
1130 mapptr->ns = ns;
1253 if (objmap->ns) {
1254 xmlFree(objmap->ns);
1294 objmap->ns = NULL;
1478 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) /* {{{ */ argument
1485 if (ns == NULL || (nodep->ns != NULL && (xmlStrEqual(nodep->ns
1552 dom_set_old_ns(xmlDoc *doc, xmlNs *ns) argument
[all...]
H A Dphp_dom.h86 xmlChar *ns; member in struct:_dom_nnodemap_object
110 void dom_set_old_ns(xmlDoc *doc, xmlNs *ns);
113 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
120 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC);
H A Dxpath.c165 node->ns = curns;
396 xmlNsPtr *ns = NULL; local
434 ns = xmlGetNsList(docp, nodep);
436 if (ns != NULL) {
437 while (ns[nsnbr] != NULL)
443 ctxp->namespaces = ns;
449 if (ns != NULL) {
450 xmlFree(ns);
499 node->ns = curns;
/PHP_5_3/ext/simplexml/
H A Dsimplexml.c131 if (name == NULL && (node->ns == NULL || node->ns->prefix == NULL)) {
135 if (node->ns && !xmlStrcmp(prefix ? node->ns->prefix : node->ns->href, name)) {
356 node = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, NULL);
525 node = xmlNewChild(mynode, mynode->ns, sxe->iter.name, NULL);
644 newnode = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, value ? (xmlChar *)Z_STRVAL_P(value) : NULL);
646 newnode = xmlNewTextChild(mynode, mynode->ns, (xmlChar *)Z_STRVAL_P(member), value ? (xmlChar *)Z_STRVAL_P(value) : NULL);
653 newnode = xmlNewTextChild(mynode->parent, mynode->ns, mynod
1218 xmlNsPtr *ns = NULL; local
1405 sxe_add_namespace_name(zval *return_value, xmlNsPtr ns) argument
1471 xmlNsPtr ns; local
2119 char *ns = NULL; local
2157 char *ns = NULL; local
2192 char *data, *ns = NULL; local
[all...]
/PHP_5_3/ext/soap/
H A Dphp_encoding.c92 static void set_ns_prop(xmlNodePtr node, char *ns, char *name, char *val);
96 static void get_type_str(xmlNodePtr node, const char* ns, const char* type, smart_str* ret);
97 static void set_ns_and_type_ex(xmlNodePtr node, char *ns, char *type);
310 xmlSetNs(node, (*node_ptr)->ns);
314 if (attr == NULL || attr->ns == NULL) {
510 if (encode->details.ns) {
511 smart_str_appends(&nscat, encode->details.ns);
546 if (encode->details.ns) {
547 smart_str_appends(&nscat, encode->details.ns);
562 char *ns, *cptyp local
2218 add_xml_array_elements(xmlNodePtr xmlParam, sdlTypePtr type, encodePtr enc, xmlNsPtr ns, int dimension , int* dims, zval* data, int style) argument
2606 char *type, *end, *ns; local
2627 char *type, *ns; local
2981 char *ns, *cptype; local
3492 set_ns_and_type_ex(xmlNodePtr node, char *ns, char *type) argument
3537 encode_add_ns(xmlNodePtr node, const char* ns) argument
3579 set_ns_prop(xmlNodePtr node, char *ns, char *name, char *val) argument
3729 xmlNsPtr ns = encode_add_ns(node,cur_ns); local
3752 get_type_str(xmlNodePtr node, const char* ns, const char* type, smart_str* ret) argument
[all...]
H A Dphp_encoding.h179 char *ns; member in struct:_encodeType
206 xmlNsPtr encode_add_ns(xmlNodePtr node, const char* ns);
H A Dphp_packet_soap.c84 if (attr->ns == NULL) {
132 if (attr->ns == NULL) {
160 if (attr->ns == NULL) {
262 char *name, *ns = NULL; local
277 ns = param->element->namens;
280 ns = param->encode->details.ns;
287 /* ns = ? */
291 cur = get_node_ex(resp, name, ns);
294 /* TODO: produce warning invalid ns */
[all...]
H A Dphp_schema.c49 static encodePtr create_encoder(sdlPtr sdl, sdlTypePtr cur_type, const xmlChar *ns, const xmlChar *type) argument
58 smart_str_appends(&nscat, (char*)ns);
64 if (enc->details.ns) {
65 efree(enc->details.ns);
76 enc->details.ns = estrdup((char*)ns);
89 static encodePtr get_create_encoder(sdlPtr sdl, sdlTypePtr cur_type, const xmlChar *ns, const xmlChar *type) argument
91 encodePtr enc = get_encoder(sdl, (char*)ns, (char*)type);
93 enc = create_encoder(sdl, cur_type, ns, type);
98 static void schema_load_file(sdlCtx *ctx, xmlAttrPtr ns, xmlCha argument
231 xmlAttrPtr ns, location; local
308 xmlAttrPtr name, ns; local
418 char *type, *ns; local
501 char *type, *ns; local
516 parse_namespace(BAD_CAST(start), &type, &ns); local
643 char *type, *ns; local
748 char *type, *ns; local
873 char *type, *ns; local
928 char *type, *ns; local
1060 xmlAttrPtr ns, name, ref = NULL; local
1077 char *type, *ns; local
1352 xmlAttrPtr attrs, name, ns; local
1481 xmlAttrPtr attrs, attr, ns, name, type, ref = NULL; local
1504 char *type, *ns; local
1730 char *attr_name, *ns; local
1746 xmlAttrPtr ns; local
1836 char *value, *ns; local
1933 xmlAttrPtr ns; local
1958 char *group_name, *ns; local
[all...]
H A Dphp_sdl.c53 char *ns, *cptype; local
55 parse_namespace(type, &cptype, &ns);
56 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns));
66 if (ns) {efree(ns);}
76 char *ns, *cptype; local
79 parse_namespace(type, &cptype, &ns);
80 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns));
105 if (ns) {efree(ns);}
110 get_encoder(sdlPtr sdl, const char *ns, const char *type) argument
198 get_binding_from_name(sdlPtr sdl, char *name, char *ns) argument
[all...]
H A Dphp_sdl.h98 char *ns; member in struct:_sdlSoapBindingFunctionHeader
107 char *ns; member in struct:_sdlSoapBindingFunctionFault
113 char *ns; member in struct:_sdlSoapBindingFunctionBody
240 char *ns; member in struct:_sdlExtraAttribute
260 encodePtr get_encoder(sdlPtr sdl, const char *ns, const char *type);
264 sdlBindingPtr get_binding_from_name(sdlPtr sdl, char *name, char *ns);
H A Dphp_xml.h38 int attr_is_equal_ex(xmlAttrPtr node, char *name, char *ns);
39 int node_is_equal_ex(xmlNodePtr node, char *name, char *ns);
40 xmlAttrPtr get_attribute_ex(xmlAttrPtr node,char *name, char *ns);
41 xmlNodePtr get_node_ex(xmlNodePtr node,char *name, char *ns);
42 xmlNodePtr get_node_recursive_ex(xmlNodePtr node,char *name, char *ns);
55 #define FOREACHATTRNODEEX(n,c,ns,i) \
61 i = get_attribute_ex(n,c,ns); \
69 #define FOREACHNODEEX(n,c,ns,i) \
H A Dphp_xml.c211 if (node->ns) {
212 return node->ns;
213 } else if (node->parent->ns) {
214 return node->parent->ns;
222 if (node->ns) {
223 return node->ns;
229 int attr_is_equal_ex(xmlAttrPtr node, char *name, char *ns) argument
232 if (ns) {
235 return (strcmp((char*)nsPtr->href, ns) == 0);
245 int node_is_equal_ex(xmlNodePtr node, char *name, char *ns) argument
262 get_attribute_ex(xmlAttrPtr node, char *name, char *ns) argument
273 get_node_ex(xmlNodePtr node, char *name, char *ns) argument
284 get_node_recurisve_ex(xmlNodePtr node, char *name, char *ns) argument
[all...]
H A Dsoap.c633 /* If has a ns and a str_type then index it */
635 if (defaultEncoding[i].details.ns != NULL) {
637 spprintf(&ns_type, 0, "%s:%s", defaultEncoding[i].details.ns, defaultEncoding[i].details.type_str);
913 char *name, *ns; local
917 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|zbz", &ns, &ns_len, &name, &name_len, &data, &must_understand, &actor) == FAILURE) {
929 add_property_stringl(this_ptr, "namespace", ns, ns_len, 1);
1056 char *stype = NULL, *ns = NULL, *name = NULL, *namens = NULL; local
1059 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z!z|ssss", &data, &type, &stype, &stype_len, &ns, &ns_len, &name, &name_len, &namens, &namens_len) == FAILURE) {
1084 if (ns && ns_len > 0) {
1085 add_property_stringl(this_ptr, "enc_ns", ns, ns_le
3900 xmlNsPtr ns = NULL; local
4001 xmlNsPtr ns = NULL; local
4228 xmlNsPtr ns = encode_add_ns(x, fb->ns); local
4355 xmlNsPtr ns = NULL; local
4479 zval **name, **ns, **tmp; local
[all...]
/PHP_5_3/Zend/
H A Dzend_constants.h46 #define REGISTER_NS_LONG_CONSTANT(ns, name, lval, flags) zend_register_long_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (lval), (flags), module_number TSRMLS_CC)
47 #define REGISTER_NS_DOUBLE_CONSTANT(ns, name, dval, flags) zend_register_double_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (dval), (flags), module_number TSRMLS_CC)
48 #define REGISTER_NS_STRING_CONSTANT(ns, name, str, flags) zend_register_string_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (str), (flags), module_number TSRMLS_CC)
49 #define REGISTER_NS_STRINGL_CONSTANT(ns, nam
[all...]
H A Dzend_API.h63 #define ZEND_NS_NAME(ns, name) ns"\\"name
88 #define ZEND_NS_FENTRY(ns, zend_name, name, arg_info, flags) ZEND_RAW_FENTRY(ZEND_NS_NAME(ns, #zend_name), name, arg_info, flags)
90 #define ZEND_NS_RAW_FENTRY(ns, zend_name, name, arg_info, flags) ZEND_RAW_FENTRY(ZEND_NS_NAME(ns, zend_name), name, arg_info, flags)
91 #define ZEND_NS_RAW_NAMED_FE(ns, zend_name, name, arg_info) ZEND_NS_RAW_FENTRY(ns, #zend_name, name, arg_info, 0)
93 #define ZEND_NS_NAMED_FE(ns, zend_name, name, arg_info) ZEND_NS_FENTRY(ns, zend_nam
[all...]
H A Dzend_compile.c1701 zval **ns; local
1719 if (zend_hash_find(CG(current_import), lcname, len+1, (void**)&ns) == SUCCESS) {
1722 tmp.u.constant = **ns;
1752 zval **ns; local
1775 if (zend_hash_find(CG(current_import), lcname, len+1, (void**)&ns) == SUCCESS) {
1778 tmp.u.constant = **ns;
1804 zend_hash_find(CG(current_import), lcname, Z_STRLEN(class_name->u.constant)+1, (void**)&ns) == SUCCESS) {
1807 class_name->u.constant = **ns;
5206 zval *name, *ns, tmp; local
5215 ALLOC_ZVAL(ns);
[all...]
/PHP_5_3/ext/libxml/
H A Dlibxml.c203 if (node->ns) {
204 xmlFreeNs(node->ns);
205 node->ns = NULL;
/PHP_5_3/ext/fileinfo/libmagic/
H A Dcdf.c601 size_t ss = CDF_SEC_SIZE(h), ns, nd; local
605 ns = cdf_count_chain(sat, sid, ss);
606 if (ns == (size_t)-1)
611 dir->dir_len = ns * nd;
622 for (j = i = 0; i < ns; i++, j++) {
/PHP_5_3/ext/standard/
H A Ddns.c328 int ns; local
329 for (ns = 0; ns < MAXNS; ns++) {
330 if (res._u._ext.nsaddrs[ns] != NULL) {
331 free (res._u._ext.nsaddrs[ns]);
332 res._u._ext.nsaddrs[ns] = NULL;
726 int n, qd, an, ns = 0, ar = 0; local
836 ns = ntohs(hp->nscount);
865 while (ns
[all...]

Completed in 81 milliseconds

12