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

12

/PHP_TRUNK/
H A Dconfig.sub158 -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
653 basic_machine=ns32k-ns
1663 *-ns)
1748 vendor=ns
/PHP_TRUNK/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_TRUNK/Zend/
H A Dzend_constants.h47 #define REGISTER_NS_NULL_CONSTANT(ns, name, flags) zend_register_null_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (flags), module_number TSRMLS_CC)
48 #define REGISTER_NS_BOOL_CONSTANT(ns, name, bval, flags) zend_register_bool_constant(ZEND_NS_NAME(ns, name), sizeof(ZEND_NS_NAME(ns, name)), (bval), (flags), module_number TSRMLS_CC)
49 #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)
50 #define REGISTER_NS_DOUBLE_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...]
/PHP_TRUNK/ext/dom/
H A Ddocument.c1007 if ((retnodep->type == XML_ATTRIBUTE_NODE) && (nodep->ns != NULL)) {
1011 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href);
1014 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix);
1082 nodep->ns = nsptr;
H A Ddom_iterators.c222 basenode, (char *) objmap->ns, (char *) objmap->local, &previndex, iter->index);
299 nodep, (char *) objmap->ns, (char *) objmap->local, &curindex, 0);
H A Delement.c240 xmlNsPtr ns; local
250 ns = nodep->ns;
251 if (ns != NULL && ns->prefix) {
252 qname = xmlStrdup(ns->prefix);
286 xmlNsPtr ns; local
289 ns = elem->nsDef;
290 while (ns) {
291 if (xmlStrEqual(ns
697 _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
667 xmlNsPtr ns; local
702 xmlNsPtr ns = NULL, curns; local
1373 xmlNsPtr ns; local
[all...]
H A Dnodelist.c88 nodep, (char *) objmap->ns, (char *) objmap->local, &count, -1);
157 nodep, (char *) objmap->ns, (char *) objmap->local, &count, index);
H A Dphp_dom.c1064 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC) /* {{{ */
1076 mapptr->ns = ns;
1141 if (objmap->ns) {
1142 xmlFree(objmap->ns);
1176 objmap->ns = NULL;
1348 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) /* {{{ */ argument
1355 if (ns == NULL || (nodep->ns != NULL && (xmlStrEqual(nodep->ns
1422 dom_set_old_ns(xmlDoc *doc, xmlNs *ns) argument
[all...]
H A Dphp_dom.h90 xmlChar *ns; member in struct:_dom_nnodemap_object
113 void dom_set_old_ns(xmlDoc *doc, xmlNs *ns);
116 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
123 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC);
H A Dxpath.c160 node->ns = curns;
365 xmlNsPtr *ns = NULL; local
403 ns = xmlGetNsList(docp, nodep);
405 if (ns != NULL) {
406 while (ns[nsnbr] != NULL)
412 ctxp->namespaces = ns;
418 if (ns != NULL) {
419 xmlFree(ns);
465 node->ns = curns;
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c213 if (node->ns) {
214 xmlFreeNs(node->ns);
215 node->ns = NULL;
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c129 if (name == NULL && (node->ns == NULL || node->ns->prefix == NULL)) {
133 if (node->ns && !xmlStrcmp(prefix ? node->ns->prefix : node->ns->href, name)) {
352 node = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, NULL);
519 node = xmlNewChild(mynode, mynode->ns, sxe->iter.name, NULL);
640 newnode = xmlNewTextChild(mynode->parent, mynode->ns, mynode->name, value ? (xmlChar *)Z_STRVAL_P(value) : NULL);
642 newnode = xmlNewTextChild(mynode, mynode->ns, (xmlChar *)Z_STRVAL_P(member), value ? (xmlChar *)Z_STRVAL_P(value) : NULL);
649 newnode = xmlNewTextChild(mynode->parent, mynode->ns, mynod
1237 xmlNsPtr *ns = NULL; local
1426 sxe_add_namespace_name(zval *return_value, xmlNsPtr ns) argument
1492 xmlNsPtr ns; local
2119 char *ns = NULL; local
2156 char *ns = NULL; local
2190 char *data, *ns = NULL; local
[all...]
/PHP_TRUNK/ext/soap/
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
275 ns = param->element->namens;
278 ns = param->encode->details.ns;
285 /* ns = ? */
289 cur = get_node_ex(resp, name, ns);
292 /* 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
503 char *type, *ns; local
518 parse_namespace(BAD_CAST(start), &type, &ns); local
647 char *type, *ns; local
752 char *type, *ns; local
877 char *type, *ns; local
932 char *type, *ns; local
1064 xmlAttrPtr ns, name, ref = NULL; local
1081 char *type, *ns; local
1089 xmlAttrPtr ns = get_attribute(groupType->properties, "targetNamespace"); local
1364 xmlAttrPtr attrs, name, ns; local
1493 xmlAttrPtr attrs, attr, ns, name, type, ref = NULL; local
1516 char *type, *ns; local
1525 xmlAttrPtr ns = get_attribute(attrs, "targetNamespace"); local
1750 char *attr_name, *ns; local
1759 xmlAttrPtr ns = get_attribute(attrType->properties, "targetNamespace"); local
1774 xmlAttrPtr ns; local
1864 char *value, *ns; local
1966 xmlAttrPtr ns; local
1991 char *group_name, *ns; local
[all...]
H A Dphp_sdl.c54 char *ns, *cptype; local
56 parse_namespace(type, &cptype, &ns);
57 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns));
67 if (ns) {efree(ns);}
77 char *ns, *cptype; local
80 parse_namespace(type, &cptype, &ns);
81 nsptr = xmlSearchNs(node->doc, node, BAD_CAST(ns));
106 if (ns) {efree(ns);}
111 get_encoder(sdlPtr sdl, const char *ns, const char *type) argument
197 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.c185 if (node->ns) {
186 return node->ns;
187 } else if (node->parent->ns) {
188 return node->parent->ns;
196 if (node->ns) {
197 return node->ns;
203 int attr_is_equal_ex(xmlAttrPtr node, char *name, char *ns) argument
206 if (ns) {
209 return (strcmp((char*)nsPtr->href, ns) == 0);
219 int node_is_equal_ex(xmlNodePtr node, char *name, char *ns) argument
236 get_attribute_ex(xmlAttrPtr node, char *name, char *ns) argument
247 get_node_ex(xmlNodePtr node, char *name, char *ns) argument
258 get_node_recurisve_ex(xmlNodePtr node, char *name, char *ns) argument
[all...]
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);
48 #define FOREACHATTRNODEEX(n,c,ns,i) \
54 i = get_attribute_ex(n,c,ns); \
62 #define FOREACHNODEEX(n,c,ns,i) \
H A Dsoap.c546 /* If has a ns and a str_type then index it */
548 if (defaultEncoding[i].details.ns != NULL) {
550 spprintf(&ns_type, 0, "%s:%s", defaultEncoding[i].details.ns, defaultEncoding[i].details.type_str);
833 char *name, *ns; local
838 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|zbz", &ns, &ns_len, &name, &name_len, &data, &must_understand, &actor) == FAILURE) {
851 add_property_stringl(this_ptr, "namespace", ns, ns_len);
974 char *stype = NULL, *ns = NULL, *name = NULL, *namens = NULL; local
977 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) {
1000 if (ns && ns_len > 0) {
1001 add_property_stringl(this_ptr, "enc_ns", ns, ns_le
3739 xmlNsPtr ns = NULL; local
3839 xmlNsPtr ns = NULL; local
4061 xmlNsPtr ns = encode_add_ns(x, fb->ns); local
4196 xmlNsPtr ns = NULL; local
4319 zval *name, *ns, *tmp; local
[all...]
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);
302 xmlSetNs(node, node_ptr->ns);
306 if (attr == NULL || attr->ns == NULL) {
482 if (encode->details.ns) {
483 smart_str_appends(&nscat, encode->details.ns);
515 if (encode->details.ns) {
516 smart_str_appends(&nscat, encode->details.ns);
531 char *ns, *cptyp local
2116 add_xml_array_elements(xmlNodePtr xmlParam, sdlTypePtr type, encodePtr enc, xmlNsPtr ns, int dimension , int* dims, zval* data, int style TSRMLS_DC) argument
2497 char *type, *end, *ns; local
2518 char *type, *ns; local
2859 char *ns, *cptype; local
3357 set_ns_and_type_ex(xmlNodePtr node, char *ns, char *type) argument
3402 encode_add_ns(xmlNodePtr node, const char* ns) argument
3443 set_ns_prop(xmlNodePtr node, char *ns, char *name, char *val) argument
3587 xmlNsPtr ns = encode_add_ns(node, cur_ns); local
3611 get_type_str(xmlNodePtr node, const char* ns, const char* type, smart_str* ret) argument
[all...]
/PHP_TRUNK/ext/xsl/
H A Dxsltprocessor.c274 node->ns = curns;
449 if (nodep->type == XML_ELEMENT_NODE && xmlStrEqual(nodep->name, "key") && xmlStrEqual(nodep->ns->href, XSLT_NAMESPACE)) {
/PHP_TRUNK/ext/standard/
H A Ddns.c327 int ns; local
328 for (ns = 0; ns < MAXNS; ns++) {
329 if (res._u._ext.nsaddrs[ns] != NULL) {
330 free (res._u._ext.nsaddrs[ns]);
331 res._u._ext.nsaddrs[ns] = NULL;
771 int n, qd, an, ns = 0, ar = 0; local
907 ns = ntohs(hp->nscount);
936 while (ns
[all...]

Completed in 46 milliseconds

12