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/Zend/
H A Dzend_constants.h48 #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)
49 #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)
50 #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)
51 #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...]
H A Dzend_compile.c2115 zval **ns; local
2137 if (zend_hash_find(current_import_sub, lookup_name, len, (void**)&ns) == SUCCESS) {
2139 element_name->u.constant = **ns;
2153 if (zend_hash_find(CG(current_import), lookup_name, len+1, (void**)&ns) == SUCCESS) {
2156 tmp.u.constant = **ns;
2246 zval **ns; local
2269 if (zend_hash_find(CG(current_import), lcname, len+1, (void**)&ns) == SUCCESS) {
2272 tmp.u.constant = **ns;
2298 zend_hash_find(CG(current_import), lcname, Z_STRLEN(class_name->u.constant)+1, (void**)&ns) == SUCCESS) {
2301 class_name->u.constant = **ns;
7104 zval *name, *ns, tmp; local
7187 zval *name, *ns, tmp; local
[all...]
/PHP_TRUNK/ext/dom/
H A Ddom_iterators.c226 curnode = dom_get_elements_by_tag_name_ns_raw(basenode, objmap->ns, objmap->local, &previndex, iter->index);
306 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.c1114 void dom_namednode_iter(dom_object *basenode, int ntype, dom_object *intern, xmlHashTablePtr ht, xmlChar *local, xmlChar *ns TSRMLS_DC) /* {{{ */
1133 mapptr->ns = ns;
1255 if (objmap->ns) {
1256 xmlFree(objmap->ns);
1296 objmap->ns = NULL;
1480 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) /* {{{ */ argument
1487 if (ns == NULL || (nodep->ns != NULL && (xmlStrEqual(nodep->ns
1554 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;
397 xmlNsPtr *ns = NULL; local
435 ns = xmlGetNsList(docp, nodep);
437 if (ns != NULL) {
438 while (ns[nsnbr] != NULL)
444 ctxp->namespaces = ns;
450 if (ns != NULL) {
451 xmlFree(ns);
500 node->ns = curns;
H A Ddocument.c1208 if ((retnodep->type == XML_ATTRIBUTE_NODE) && (nodep->ns != NULL)) {
1212 nsptr = xmlSearchNsByHref (nodep->doc, root, nodep->ns->href);
1215 nsptr = dom_get_ns(root, (char *) nodep->ns->href, &errorcode, (char *) nodep->ns->prefix);
1282 nodep->ns = nsptr;
/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) {
260 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
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
1085 xmlAttrPtr ns = get_attribute(groupType->properties, "targetNamespace"); local
1360 xmlAttrPtr attrs, name, ns; local
1489 xmlAttrPtr attrs, attr, ns, name, type, ref = NULL; local
1512 char *type, *ns; local
1521 xmlAttrPtr ns = get_attribute(attrs, "targetNamespace"); local
1746 char *attr_name, *ns; local
1755 xmlAttrPtr ns = get_attribute(attrType->properties, "targetNamespace"); local
1770 xmlAttrPtr ns; local
1860 char *value, *ns; local
1957 xmlAttrPtr ns; local
1982 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.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 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);
308 xmlSetNs(node, (*node_ptr)->ns);
312 if (attr == NULL || attr->ns == NULL) {
507 if (encode->details.ns) {
508 smart_str_appends(&nscat, encode->details.ns);
542 if (encode->details.ns) {
543 smart_str_appends(&nscat, encode->details.ns);
558 char *ns, *cptyp local
2199 add_xml_array_elements(xmlNodePtr xmlParam, sdlTypePtr type, encodePtr enc, xmlNsPtr ns, int dimension , int* dims, zval* data, int style TSRMLS_DC) argument
2576 char *type, *end, *ns; local
2597 char *type, *ns; local
2950 char *ns, *cptype; local
3458 set_ns_and_type_ex(xmlNodePtr node, char *ns, char *type) argument
3503 encode_add_ns(xmlNodePtr node, const char* ns) argument
3545 set_ns_prop(xmlNodePtr node, char *ns, char *name, char *val) argument
3695 xmlNsPtr ns = encode_add_ns(node, cur_ns); local
3718 get_type_str(xmlNodePtr node, const char* ns, const char* type, smart_str* ret) argument
[all...]
H A Dsoap.c545 /* If has a ns and a str_type then index it */
547 if (defaultEncoding[i].details.ns != NULL) {
549 spprintf(&ns_type, 0, "%s:%s", defaultEncoding[i].details.ns, defaultEncoding[i].details.type_str);
810 char *name, *ns; local
814 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|zbz", &ns, &ns_len, &name, &name_len, &data, &must_understand, &actor) == FAILURE) {
826 add_property_stringl(this_ptr, "namespace", ns, ns_len, 1);
948 char *stype = NULL, *ns = NULL, *name = NULL, *namens = NULL; local
951 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) {
973 if (ns && ns_len > 0) {
974 add_property_stringl(this_ptr, "enc_ns", ns, ns_le
3745 xmlNsPtr ns = NULL; local
3849 xmlNsPtr ns = NULL; local
4076 xmlNsPtr ns = encode_add_ns(x, fb->ns); local
4211 xmlNsPtr ns = NULL; local
4335 zval **name, **ns, **tmp; local
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c212 if (node->ns) {
213 xmlFreeNs(node->ns);
214 node->ns = NULL;
/PHP_TRUNK/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
1252 xmlNsPtr *ns = NULL; local
1442 sxe_add_namespace_name(zval *return_value, xmlNsPtr ns) argument
1508 xmlNsPtr ns; local
2167 char *ns = NULL; local
2205 char *ns = NULL; local
2240 char *data, *ns = NULL; local
[all...]
/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/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;
736 int n, qd, an, ns = 0, ar = 0; local
872 ns = ntohs(hp->nscount);
901 while (ns
[all...]

Completed in 58 milliseconds

12