/macosx-10.9.5/CPANInternal-140/Pod-WSDL/t/ |
H A D | 11WSDL03operations.t | 16 my $xp = XML::XPath->new(xml => $xmlOutput); 19 ok($xp->exists('/wsdl:definitions/wsdl:message[@name = "testGeneralRequest"]'), 'Found message element "testGeneralRequest" in xml output.'); 20 ok($xp->exists('/wsdl:definitions/wsdl:message[@name = "testGeneralRequest"]/wsdl:part[@name = "in" and @type = "xsd:string"]'), 'Found part element "in" for message "testGeneralRequest" in xml output.'); 22 ok($xp->exists('/wsdl:definitions/wsdl:message[@name = "testGeneralResponse"]'), 'Found message element "testGeneralResponse" in xml output.'); 23 ok($xp->exists('/wsdl:definitions/wsdl:message[@name = "testGeneralResponse"]/wsdl:part[@name = "testGeneralReturn" and @type = "xsd:string"]'), 'Found part element "testGeneralReturn" for message "testGeneralResponse" in xml output.'); 25 ok($xp->exists('/wsdl:definitions/wsdl:portType[@name = "MyOperationTestHandler"]'), 'Found portType element "MyOperationTestHandler" in xml output.'); 26 ok($xp->exists('/wsdl:definitions/wsdl:portType[@name = "MyOperationTestHandler"]/wsdl:operation[@name = "testGeneral" and @parameterOrder = "in"]'), 'Found operation element "testGeneral" in portType in xml output.'); 27 ok($xp->exists('/wsdl:definitions/wsdl:portType[@name = "MyOperationTestHandler"]/wsdl:operation[@name = "testGeneral" and @parameterOrder = "in"]/wsdl:documentation[text() = "bla bla"]'), 'Found documentation for operation element "testGeneral".'); 28 ok($xp->exists('/wsdl:definitions/wsdl:portType[@name = "MyOperationTestHandler"]/wsdl:operation[@name = "testGeneral" and @parameterOrder = "in"]/wsdl:input[@message = "impl:testGeneralRequest" and @name="testGeneralRequest"]'), 'Found input message for operation element "testGeneral".'); 29 ok($xp [all...] |
H A D | 11WSDL04binding.t | 16 my $xp = XML::XPath->new(xml => $xmlOutput); 19 #print XML::XPath::XMLParser::as_string(($xp->find('/wsdl:definitions/wsdl:binding')->get_nodelist())[0]); 23 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]'), 'Found wsdl:binding element in xml output.'); 26 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdlsoap:binding[@style="rpc" and @transport="http://schemas.xmlsoap.org/soap/http"]'), 'Found wsdlsoap:binding element in wsdl:binding.'); 29 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdl:operation[@name="testGeneral"]'), 'Found operation "testGeneral" element in wsdl:binding.'); 32 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdlsoap:operation[@soapAction = ""]'), 'Found wsdlsoap:operation in operation "testGeneral" element.'); 35 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdl:input[@name = "testGeneralRequest"]'), 'Found wsdl:input in operation "testGeneral" element.'); 36 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdl:input[@name = "testGeneralRequest"]/wsdlsoap:body[@encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" and @namespace="http://localhost/My/BindingTest" and @use="encoded"]'), 'Found wsdlsoap:body in wsdl:input element.'); 39 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdl:output[@name = "testGeneralResponse"]'), 'Found wsdl:output in operation "testGeneral" element.'); 40 ok($xp [all...] |
H A D | 11WSDL05service.t | 16 my $xp = XML::XPath->new(xml => $xmlOutput); 19 #print XML::XPath::XMLParser::as_string(($xp->find('/wsdl:definitions/wsdl:service')->get_nodelist())[0]) 21 ok($xp->exists('/wsdl:definitions/wsdl:service[@name="MyServiceTestHandlerService"]'), 'Found wsdl:service element in xml output.'); 22 ok($xp->exists('/wsdl:definitions/wsdl:service[@name="MyServiceTestHandlerService"]/wsdl:port[@binding="impl:MyServiceTestSoapBinding" and @name="MyServiceTest"]'), 'Found wsdl:port in wsdl:service element.'); 23 ok($xp->exists('/wsdl:definitions/wsdl:service[@name="MyServiceTestHandlerService"]/wsdl:port[@binding="impl:MyServiceTestSoapBinding" and @name="MyServiceTest"]/wsdlsoap:address[@location="http://localhost/My/Test"]'), 'Found wsdlsoap:address in wsdl:port element.');
|
H A D | 11WSDL02types.t | 59 my $xp = XML::XPath->new(xml => $xmlOutput); 85 ok($xp->exists('/wsdl:definitions/wsdl:types/schema[@targetNamespace = "http://localhost/My/TypeTest"]'), 'Found schema with targetNamespace "http://localhost/My/TypeTest" in xml output.'); 86 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/import[@namespace = "http://schemas.xmlsoap.org/soap/encoding/"]'), 'Found import of namespace "http://schemas.xmlsoap.org/soap/encoding/" in schema in xml output.'); 87 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name = "MyFoo"]'), 'Found complex type MyFoo in xml output.'); 88 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType/sequence/element[@name = "_bar" and @type = "xsd:negativeInteger"]'), 'Found element with name "_bar" and type xsd:negativeInteger in complex type MyFoo in xml output.'); 89 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType/sequence/element/annotation/documentation[text() = "a bar"]'), 'Found documentation for element with name "_bar" in complex type MyFoo in xml output.'); 92 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name = "ArrayOfString"]'), 'Found array type ArrayOfString in xml output.'); 93 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name = "ArrayOfString"]/complexContent'), 'ArrayOfString has complexContent child.'); 94 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name = "ArrayOfString"]/complexContent/restriction[@base = "soapenc:Array"]'), 'complexContent has restriction child with base="soapenc:Array".'); 95 ok($xp [all...] |
H A D | 11WSDL01basic.t | 57 my $xp = XML::XPath->new(xml => $p->WSDL); 58 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name="MyFoo"]/annotation/documentation'), 'Found documentation in schema part (complexType).'); 59 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name="MyFoo"]/sequence/element[@name="_bar"]/annotation/documentation'), 'Found documentation in schema part (element).'); 60 ok($xp->exists('/wsdl:definitions/wsdl:portType[@name="MyOperationTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdl:documentation'), 'Found documentation in operation part.'); 64 $xp = XML::XPath->new(xml => $p->WSDL(withDocumentation => 0)); 65 ok(!$xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name="MyFoo"]/annotation/documentation'), 'Switched off documentation -> did not find documentation in schema part (complexType).'); 66 ok(!$xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name="MyFoo"]/sequence/element[@name="_bar"]/annotation/documentation'), 'Switched off documentation -> did not find documentation in schema part (element).'); 67 ok(!$xp->exists('/wsdl:definitions/wsdl:portType[@name="MyOperationTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdl:documentation'), 'Switched off documentation -> did not find documentation in operation part.'); 69 $xp = XML::XPath->new(xml => $p->WSDL(withDocumentation => 1)); 70 ok($xp [all...] |
/macosx-10.9.5/CPANInternal-140/Pod-WSDL-0.061/t/ |
H A D | 11WSDL03operations.t | 16 my $xp = XML::XPath->new(xml => $xmlOutput); 19 ok($xp->exists('/wsdl:definitions/wsdl:message[@name = "testGeneralRequest"]'), 'Found message element "testGeneralRequest" in xml output.'); 20 ok($xp->exists('/wsdl:definitions/wsdl:message[@name = "testGeneralRequest"]/wsdl:part[@name = "in" and @type = "xsd:string"]'), 'Found part element "in" for message "testGeneralRequest" in xml output.'); 22 ok($xp->exists('/wsdl:definitions/wsdl:message[@name = "testGeneralResponse"]'), 'Found message element "testGeneralResponse" in xml output.'); 23 ok($xp->exists('/wsdl:definitions/wsdl:message[@name = "testGeneralResponse"]/wsdl:part[@name = "testGeneralReturn" and @type = "xsd:string"]'), 'Found part element "testGeneralReturn" for message "testGeneralResponse" in xml output.'); 25 ok($xp->exists('/wsdl:definitions/wsdl:portType[@name = "MyOperationTestHandler"]'), 'Found portType element "MyOperationTestHandler" in xml output.'); 26 ok($xp->exists('/wsdl:definitions/wsdl:portType[@name = "MyOperationTestHandler"]/wsdl:operation[@name = "testGeneral" and @parameterOrder = "in"]'), 'Found operation element "testGeneral" in portType in xml output.'); 27 ok($xp->exists('/wsdl:definitions/wsdl:portType[@name = "MyOperationTestHandler"]/wsdl:operation[@name = "testGeneral" and @parameterOrder = "in"]/wsdl:documentation[text() = "bla bla"]'), 'Found documentation for operation element "testGeneral".'); 28 ok($xp->exists('/wsdl:definitions/wsdl:portType[@name = "MyOperationTestHandler"]/wsdl:operation[@name = "testGeneral" and @parameterOrder = "in"]/wsdl:input[@message = "impl:testGeneralRequest" and @name="testGeneralRequest"]'), 'Found input message for operation element "testGeneral".'); 29 ok($xp [all...] |
H A D | 11WSDL04binding.t | 16 my $xp = XML::XPath->new(xml => $xmlOutput); 19 #print XML::XPath::XMLParser::as_string(($xp->find('/wsdl:definitions/wsdl:binding')->get_nodelist())[0]); 23 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]'), 'Found wsdl:binding element in xml output.'); 26 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdlsoap:binding[@style="rpc" and @transport="http://schemas.xmlsoap.org/soap/http"]'), 'Found wsdlsoap:binding element in wsdl:binding.'); 29 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdl:operation[@name="testGeneral"]'), 'Found operation "testGeneral" element in wsdl:binding.'); 32 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdlsoap:operation[@soapAction = ""]'), 'Found wsdlsoap:operation in operation "testGeneral" element.'); 35 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdl:input[@name = "testGeneralRequest"]'), 'Found wsdl:input in operation "testGeneral" element.'); 36 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdl:input[@name = "testGeneralRequest"]/wsdlsoap:body[@encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" and @namespace="http://localhost/My/BindingTest" and @use="encoded"]'), 'Found wsdlsoap:body in wsdl:input element.'); 39 ok($xp->exists('/wsdl:definitions/wsdl:binding[@name="MyBindingTestSoapBinding" and @type="impl:MyBindingTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdl:output[@name = "testGeneralResponse"]'), 'Found wsdl:output in operation "testGeneral" element.'); 40 ok($xp [all...] |
H A D | 11WSDL05service.t | 16 my $xp = XML::XPath->new(xml => $xmlOutput); 19 #print XML::XPath::XMLParser::as_string(($xp->find('/wsdl:definitions/wsdl:service')->get_nodelist())[0]) 21 ok($xp->exists('/wsdl:definitions/wsdl:service[@name="MyServiceTestHandlerService"]'), 'Found wsdl:service element in xml output.'); 22 ok($xp->exists('/wsdl:definitions/wsdl:service[@name="MyServiceTestHandlerService"]/wsdl:port[@binding="impl:MyServiceTestSoapBinding" and @name="MyServiceTest"]'), 'Found wsdl:port in wsdl:service element.'); 23 ok($xp->exists('/wsdl:definitions/wsdl:service[@name="MyServiceTestHandlerService"]/wsdl:port[@binding="impl:MyServiceTestSoapBinding" and @name="MyServiceTest"]/wsdlsoap:address[@location="http://localhost/My/Test"]'), 'Found wsdlsoap:address in wsdl:port element.');
|
H A D | 11WSDL02types.t | 59 my $xp = XML::XPath->new(xml => $xmlOutput); 85 ok($xp->exists('/wsdl:definitions/wsdl:types/schema[@targetNamespace = "http://localhost/My/TypeTest"]'), 'Found schema with targetNamespace "http://localhost/My/TypeTest" in xml output.'); 86 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/import[@namespace = "http://schemas.xmlsoap.org/soap/encoding/"]'), 'Found import of namespace "http://schemas.xmlsoap.org/soap/encoding/" in schema in xml output.'); 87 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name = "MyFoo"]'), 'Found complex type MyFoo in xml output.'); 88 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType/sequence/element[@name = "_bar" and @type = "xsd:negativeInteger"]'), 'Found element with name "_bar" and type xsd:negativeInteger in complex type MyFoo in xml output.'); 89 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType/sequence/element/annotation/documentation[text() = "a bar"]'), 'Found documentation for element with name "_bar" in complex type MyFoo in xml output.'); 92 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name = "ArrayOfString"]'), 'Found array type ArrayOfString in xml output.'); 93 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name = "ArrayOfString"]/complexContent'), 'ArrayOfString has complexContent child.'); 94 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name = "ArrayOfString"]/complexContent/restriction[@base = "soapenc:Array"]'), 'complexContent has restriction child with base="soapenc:Array".'); 95 ok($xp [all...] |
H A D | 11WSDL01basic.t | 57 my $xp = XML::XPath->new(xml => $p->WSDL); 58 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name="MyFoo"]/annotation/documentation'), 'Found documentation in schema part (complexType).'); 59 ok($xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name="MyFoo"]/sequence/element[@name="_bar"]/annotation/documentation'), 'Found documentation in schema part (element).'); 60 ok($xp->exists('/wsdl:definitions/wsdl:portType[@name="MyOperationTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdl:documentation'), 'Found documentation in operation part.'); 64 $xp = XML::XPath->new(xml => $p->WSDL(withDocumentation => 0)); 65 ok(!$xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name="MyFoo"]/annotation/documentation'), 'Switched off documentation -> did not find documentation in schema part (complexType).'); 66 ok(!$xp->exists('/wsdl:definitions/wsdl:types/schema/complexType[@name="MyFoo"]/sequence/element[@name="_bar"]/annotation/documentation'), 'Switched off documentation -> did not find documentation in schema part (element).'); 67 ok(!$xp->exists('/wsdl:definitions/wsdl:portType[@name="MyOperationTestHandler"]/wsdl:operation[@name="testGeneral"]/wsdl:documentation'), 'Switched off documentation -> did not find documentation in operation part.'); 69 $xp = XML::XPath->new(xml => $p->WSDL(withDocumentation => 1)); 70 ok($xp [all...] |
/macosx-10.9.5/postfix-252/postfix/src/xsasl/ |
H A D | xsasl_client.c | 221 const XSASL_CLIENT_IMPL_INFO *xp; local 223 for (xp = client_impl_info; xp->client_type; xp++) 224 if (strcmp(client_type, xp->client_type) == 0) 225 return (xp->client_init(client_type, path_info)); 234 const XSASL_CLIENT_IMPL_INFO *xp; local 237 for (xp = client_impl_info; xp->client_type; xp [all...] |
H A D | xsasl_server.c | 240 const XSASL_SERVER_IMPL_INFO *xp; local 242 for (xp = server_impl_info; xp->server_type; xp++) 243 if (strcmp(server_type, xp->server_type) == 0) 244 return (xp->server_init(server_type, path_info)); 253 const XSASL_SERVER_IMPL_INFO *xp; local 256 for (xp = server_impl_info; xp->server_type; xp [all...] |
H A D | xsasl_dovecot_server.c | 250 static int xsasl_dovecot_server_connect(XSASL_DOVECOT_SERVER_IMPL *xp) argument 267 path = xp->socket_path; 276 msg_warn("SASL: Connect to %s failed: %m", xp->socket_path); 281 VSTREAM_CTL_PATH, xp->socket_path, 332 xsasl_dovecot_server_mech_append(&xp->mechanism_list, mech_name, 349 xp->sasl_stream = sasl_stream; 355 static void xsasl_dovecot_server_disconnect(XSASL_DOVECOT_SERVER_IMPL *xp) argument 357 if (xp->sasl_stream) { 358 (void) vstream_fclose(xp->sasl_stream); 359 xp 372 XSASL_DOVECOT_SERVER_IMPL *xp; local 388 XSASL_DOVECOT_SERVER_IMPL *xp = (XSASL_DOVECOT_SERVER_IMPL *) impl; local 455 xsasl_dovecot_server_get_mechanism_list(XSASL_SERVER *xp) argument 475 xsasl_dovecot_server_free(XSASL_SERVER *xp) argument 606 xsasl_dovecot_server_first(XSASL_SERVER *xp, const char *sasl_method, const char *init_response, VSTRING *reply) argument 685 xsasl_dovecot_server_next(XSASL_SERVER *xp, const char *request, VSTRING *reply) argument 706 xsasl_dovecot_server_get_username(XSASL_SERVER *xp) argument [all...] |
/macosx-10.9.5/CPANInternal-140/XML-Parser/Parser/ |
H A D | LWPExternEnt.pl | 22 my ($xp, $base, $sys) = @_; # We don't use public id 43 my $ua = $xp->{_lwpagent}; 45 $ua = $xp->{_lwpagent} = new LWP::UserAgent(); 53 $xp->{ErrorMessage} .= "\n" . $res->status_line . " $uri"; 57 $xp->{_BaseStack} ||= []; 58 push(@{$xp->{_BaseStack}}, $base); 60 $xp->base($uri); 66 my ($xp) = @_; 68 $xp->base(pop(@{$xp [all...] |
/macosx-10.9.5/libarchive-29/libarchive/libarchive/ |
H A D | archive_entry_xattr.c | 75 struct ae_xattr *xp; local 78 xp = entry->xattr_head->next; 82 entry->xattr_head = xp; 92 struct ae_xattr *xp; local 94 for (xp = entry->xattr_head; xp != NULL; xp = xp->next) 97 if ((xp = (struct ae_xattr *)malloc(sizeof(struct ae_xattr))) == NULL) 101 xp 119 struct ae_xattr *xp; local [all...] |
/macosx-10.9.5/Libc-997.90.3/locale/FreeBSD/ |
H A D | lmessages.c | 55 struct __xlocale_st_messages *xp; local 76 if ((xp = (struct __xlocale_st_messages *)malloc(sizeof(*xp))) == NULL) 78 xp->__refcount = 1; 79 xp->__free_extra = (__free_extra_t)__ldpart_free_extra; 80 xp->_messages_locale_buf = NULL; 83 &xp->_messages_locale_buf, "LC_MESSAGES/LC_MESSAGES", 85 (const char **)&xp->_messages_locale); 87 if (xp->_messages_locale.yesstr == NULL) 88 xp [all...] |
H A D | lnumeric.c | 52 struct __xlocale_st_numeric *xp; local 79 if ((xp = (struct __xlocale_st_numeric *)malloc(sizeof(*xp))) == NULL) 81 xp->__refcount = 1; 82 xp->__free_extra = (__free_extra_t)__ldpart_free_extra; 83 xp->_numeric_locale_buf = NULL; 86 &xp->_numeric_locale_buf, "LC_NUMERIC", 88 (const char **)&xp->_numeric_locale); 92 free(xp); 95 if (*xp [all...] |
H A D | lmonetary.c | 88 struct __xlocale_st_monetary *xp; local 115 if ((xp = (struct __xlocale_st_monetary *)malloc(sizeof(*xp))) == NULL) 117 xp->__refcount = 1; 118 xp->__free_extra = (__free_extra_t)__ldpart_free_extra; 119 xp->_monetary_locale_buf = NULL; 122 &xp->_monetary_locale_buf, "LC_MONETARY", 124 (const char **)&xp->_monetary_locale); 128 free(xp); 130 xp [all...] |
/macosx-10.9.5/Libc-997.90.3/stdtime/FreeBSD/ |
H A D | timelocal.c | 113 struct __xlocale_st_time *xp; local 134 if ((xp = (struct __xlocale_st_time *)malloc(sizeof(*xp))) == NULL) 136 xp->__refcount = 1; 137 xp->__free_extra = (__free_extra_t)__ldpart_free_extra; 138 xp->_time_locale_buf = NULL; 141 &xp->_time_locale_buf, "LC_TIME", 143 (const char **)&xp->_time_locale); 146 loc->__lc_time = xp; 148 cache = xp; [all...] |
/macosx-10.9.5/CPANInternal-140/XML-XPath/t/ |
H A D | remove.t | 11 my $xp = XML::XPath->new(ioref => *DATA); 12 ok($xp); 14 my ($root) = $xp->findnodes('/'); 19 my @nodes = $xp->findnodes('//Cart',$root); 25 @nodes = $xp->findnodes('//Cart', $root); 30 @nodes = $xp->findnodes('//Cart/@*', $root); 34 @nodes = $xp->findnodes('//Cart/@*', $root);
|
H A D | insert.t | 11 my $xp = XML::XPath->new(ioref => *DATA); 12 ok($xp); 14 my ($root) = $xp->findnodes('/'); 31 @nodes = $xp->findnodes('/Shop/node()'); 40 my ($before) = $xp->findnodes('/Shop/comment()[contains( string() , "Before")]'); 43 my ($after) = $xp->findnodes('/Shop/comment()[contains( string() , "After")]');
|
/macosx-10.9.5/CPANInternal-140/XML-Parser/samples/ |
H A D | canonical | 55 my $xp = shift; 61 my $elns = $xp->namespace($el); 73 my $ns = $xp->namespace($nm); 81 my $val = $xp->xml_escape($atts{$id}, '"', "\x9", "\xA", "\xD"); 96 my ($xp, $el) = @_; 98 my $nm = $xp->namespace($el) ? "n1:$el" : $el; 100 if ($xp->depth == 0) { 107 my ($xp, $data) = @_; 109 print $xp->xml_escape($data, '>', "\xD"); 113 my ($xp, [all...] |
/macosx-10.9.5/remote_cmds-41.90.1/timed.tproj/timed.tproj/ |
H A D | networkdelta.c | 77 long *xp; local 86 xp = &x[0]; 87 *xp = 0; /* account for ourself */ 94 *++xp = htp->delta; 110 med = median(med, &eps, &x[0], xp+1, VALID_RANGE); 119 xp = &x[0]; 128 *xp++ = htp->delta; 132 if (xp == &x[0]) { 138 if (xp == &x[1]) { 146 (intptr_t)xp 167 float xp; /* closet point above the guess */ local [all...] |
/macosx-10.9.5/libclosure-63/objectTests/ |
H A D | objectRRGC.c | 47 MyStruct_t xp = (MyStruct_t)&X; local 48 xp->field = 10; 49 void (^myBlock)(void) = ^{ printf("field is %ld\n", xp->field); };
|
H A D | objectassign.c | 47 MyStruct_t xp = (MyStruct_t)&X; local 48 xp->field = 10; 49 void (^myBlock)(void) = ^{ printf("field is %ld\n", xp->field); };
|