Home
last modified time | relevance | path

Searched refs:address (Results 1 – 25 of 116) sorted by relevance

12345

/PHP-5.5/win32/
H A Dsockets.c33 struct sockaddr_in address; in socketpair() local
35 int size = sizeof(address); in socketpair()
50 address.sin_addr.s_addr = INADDR_ANY; in socketpair()
51 address.sin_family = AF_INET; in socketpair()
52 address.sin_port = 0; in socketpair()
54 if (bind(sock[0], (struct sockaddr*)&address, sizeof(address)) != 0) { in socketpair()
58 if(getsockname(sock[0], (struct sockaddr *)&address, &size) != 0) { in socketpair()
71 address.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in socketpair()
72 if(connect(sock[1], (struct sockaddr*)&address, sizeof(address)) != 0) { in socketpair()
76 redirect = accept(sock[0],(struct sockaddr*)&address, &size); in socketpair()
/PHP-5.5/ext/imap/tests/
H A Dbug45705_1.phpt2 Bug #45705 test #1 (imap rfc822_parse_adrlist() modifies passed address parameter)
12 $address = 'John Doe <john@example.com>';
13 var_dump($address);
14 imap_rfc822_parse_adrlist($address, null);
15 var_dump($address);
/PHP-5.5/ext/standard/tests/file/
H A Dstream_002.phpt24 Warning: stream_socket_client(): unable to connect to (Failed to parse address "") in %s on line %d
27 string(26) "Failed to parse address """
29 Warning: stream_socket_client(): unable to connect to [ (Failed to parse address "[") in %s on line…
32 string(27) "Failed to parse address "[""
39 Warning: stream_socket_client(): unable to connect to . (Failed to parse address ".") in %s on line…
42 string(27) "Failed to parse address ".""
44 Warning: stream_socket_client(): unable to connect to 1 (Failed to parse address "1") in %s on line…
47 string(27) "Failed to parse address "1""
52 string(27) "Failed to parse address "1""
/PHP-5.5/ext/soap/tests/bugs/
H A Dbug38536.phpt24 <address href="#i2"/>
27 <xsd:address id="i2" xsi:type="ns1:ClientAddressType" SOAP-ENC:root="0">
29 <address href="#i3"/>
30 </xsd:address>
31 <address xsi:type="xsd:string" id="i3" SOAP-ENC:root="0">Test</address>
46 [address] => stdClass Object
49 [address] => Test
/PHP-5.5/tests/classes/
H A Dclass_example.phpt10 public $first_name,$family_name,$address,$phone_num;
17 echo "Address:\t ".$this->address."\n";
21 function initialize($first_name,$family_name,$address,$phone_num)
25 $this->address = $address;
35 $t->address = "New address...";
84 Address: New address...
H A Dclone_006.phpt18 $this->address = "New York";
26 $original->address = "Tel-Aviv";
34 echo $clone->address . "\n";
/PHP-5.5/ext/sockets/tests/
H A Dsocket_sentto_recvfrom_unix.phpt22 $address = sprintf("/tmp/%s.sock", uniqid());
23 if (!socket_bind($socket, $address)) {
24 die("Unable to bind to $address");
30 $bytes_sent = socket_sendto($socket, $msg, $len, 0, $address);
32 @unlink($address);
35 @unlink($address);
43 @unlink($address);
46 @unlink($address);
52 @unlink($address);
H A Dsocket_sentto_recvfrom_ipv4_udp.phpt18 $address = '127.0.0.1';
19 socket_sendto($socket, '', 1, 0, $address); // cause warning
20 if (!socket_bind($socket, $address, 1223)) {
21 die("Unable to bind to $address:1223");
28 $bytes_sent = socket_sendto($socket, $msg, $len, 0, $address, 1223);
45 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL;
56 Received Ping! from remote address 127.0.0.1 and remote port 1223
H A Dsocket_sentto_recvfrom_ipv6_udp.phpt22 $address = '::1';
23 socket_sendto($socket, '', 1, 0, $address); // cause warning
24 if (!socket_bind($socket, $address, 1223)) {
25 die("Unable to bind to $address:1223");
30 $bytes_sent = socket_sendto($socket, $msg, $len, 0, $address, 1223);
47 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL;
58 Received Ping! from remote address ::1 and remote port 1223
H A Dsocket_sentto_recvfrom_ipv6_udp-win32.phpt22 $address = '::1';
23 socket_sendto($socket, '', 1, 0, $address); // cause warning
24 if (!socket_bind($socket, $address, 1223)) {
25 die("Unable to bind to $address:1223");
30 $bytes_sent = socket_sendto($socket, $msg, $len, 0, $address, 1223);
47 echo "Received $buf from remote address $from and remote port $port" . PHP_EOL;
59 Received Ping! from remote address ::1 and remote port 1223
H A Dsocket_getpeername_ipv4loop.phpt17 /* Hold the port associated to address */
48 if (!socket_getpeername($client, $address, $port)) {
51 var_dump($address, $port);
H A Dsocket_getpeername_ipv6loop.phpt18 /* Hold the port associated to address */
49 if (!socket_getpeername($client, $address, $port)) {
52 var_dump($address, $port);
/PHP-5.5/ext/filter/tests/
H A Dbug52929.phpt7 var_dump(filter_var('valid@email.address', FILTER_VALIDATE_EMAIL));
9 // Beyond the allowable limit for an e-mail address.
12 // An invalid address likely to crash PHP due to stack exhaustion if it goes to
16 string(19) "valid@email.address"
H A Dbug48762.phpt2 Bug #48762 (IPv6 address filter still rejects valid address)
H A Dbug46973.phpt2 Bug #46973 (IPv6 address filter rejects valid address)
/PHP-5.5/main/
H A Dalloca.c343 i00afunc (long *address) in i00afunc() argument
378 if ((block <= address) && (address < (block + size))) in i00afunc()
385 result = address - block; in i00afunc()
417 i00afunc (long address) in i00afunc() argument
452 while (!(this_segment <= address && address <= stkl)) in i00afunc()
455 fprintf (stderr, "%011o %011o %011o\n", this_segment, address, stkl); in i00afunc()
466 result = address - this_segment; in i00afunc()
/PHP-5.5/ext/oci8/tests/
H A Dbind_rowid.phpt12 $s = oci_parse($c, 'select address from rid_tab order by id');
22 "create table rid_tab (id number, address varchar2(40))",
23 "insert into rid_tab (id, address) values (1, 'original text #1')",
24 "insert into rid_tab (id, address) values (2, 'original text #2')"
32 $s = oci_parse($c, 'select rowid, address from rid_tab where id = :l_bv for update');
44 $s = oci_parse($c,'update rid_tab set address = :a_bv where rowid = :r_bv');
/PHP-5.5/ext/standard/tests/network/
H A Dfsockopen_variation1.phpt22 echo "\nCalling fsockopen() with address and port in same string, without a protocol:\n";
23 $address = $hostname . ':' . $port;
24 $second_client = fsockopen($address);
36 Calling fsockopen() with address and port in same string, without a protocol:
H A Dfsockopen_basic.phpt25 $hostname = 'tcp://127.0.0.1'; // loopback address
40 echo "\nCalling fsockopen() with address and port in same string:\n";
41 $address = $hostname . ':' . $port;
42 $third_client = fsockopen($address);
58 Calling fsockopen() with address and port in same string:
H A Dfsockopen_variation2.phpt21 echo "\nCalling fsockopen() with address and port in same string:\n";
22 $address = $hostname . ':' . $port;
23 $second_client = fsockopen($address);
43 Calling fsockopen() with address and port in same string:
H A Dinet_ipv6.phpt29 foreach ($a as $address) {
30 $packed = inet_pton($address);
43 Warning: inet_pton(): Unrecognized address in %s on line %d
H A Dgethostbyaddr_error.phpt6 * Description: Get the Internet host name corresponding to a given IP address
52 Warning: gethostbyaddr\(\): Address is not (in a.b.c.d form|a valid IPv4 or IPv6 address) in .* on …
55 Warning: gethostbyaddr\(\): Address is not (in a.b.c.d form|a valid IPv4 or IPv6 address) in .* on …
58 Warning: gethostbyaddr\(\): Address is not (in a.b.c.d form|a valid IPv4 or IPv6 address) in .* on …
H A Dip2long_variation2.phpt8 …ion: Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address
/PHP-5.5/ext/mbstring/oniguruma/doc/
H A DAPI454 Return previous character head address.
458 2 start: string address
459 3 s: target address of string
469 2 start: string address
470 3 s: target address of string
480 2 start: string address
481 3 s: target address of string
508 1 to: destination address.
509 2 from: source address.
534 1 to: destination address.
[all …]
/PHP-5.5/win32/build/
H A Dprojectgen.js296 path = address.slice(0, address.lastIndexOf("\\")+1);
297 ext = address.slice(address.lastIndexOf("\\")+1, address.length-4);
327 if (address.match("sapi")) {
334 address = "win32\\php.dsp";
342 address = "win32\\php-cgi.dsp";
350 address = address.replace(ext + ".dsp", newext + ".dsp");
359 dsp = FSO.CreateTextFile(address, true);
360 STDOUT.WriteLine("\tGenerating " + address);
373 dsp = FSO.CreateTextFile(address, true);
374 STDOUT.WriteLine("\tGenerating " + address);
[all …]

Completed in 76 milliseconds

12345