Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 215) sorted by relevance

123456789

/PHP-5.5/ext/intl/resourcebundle/
H A Dresourcebundle.c38 restype = ures_getType( source->child ); in resourcebundle_extract_value()
42 ufield = ures_getString( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
43 INTL_METHOD_CHECK_STATUS(source, "Failed to retrieve string value"); in resourcebundle_extract_value()
44 INTL_METHOD_RETVAL_UTF8(source, (UChar *)ufield, ilen, 0); in resourcebundle_extract_value()
48 bfield = ures_getBinary( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
49 INTL_METHOD_CHECK_STATUS(source, "Failed to retrieve binary value"); in resourcebundle_extract_value()
54 lfield = ures_getInt( source->child, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
60 vfield = ures_getIntVector( source->child, &ilen, &INTL_DATA_ERROR_CODE(source) ); in resourcebundle_extract_value()
72 newrb->me = source->child; in resourcebundle_extract_value()
73 source->child = NULL; in resourcebundle_extract_value()
[all …]
/PHP-5.5/ext/intl/tests/
H A Dcollator_get_sort_key_variant4.phpt59 source: abc
61 source: abd
65 source: аа
67 source: а
69 source: z
71 source:
73 source:
75 source: 3
77 source: y
79 source: i
[all …]
H A Dcollator_get_sort_key.phpt61 source: abc
63 source: abd
67 source: аа
69 source: а
71 source: z
73 source:
75 source:
77 source: 3
79 source: y
81 source: i
[all …]
H A Dcollator_get_sort_key_variant2.phpt60 source: abc
62 source: abd
66 source: аа
68 source: а
70 source: z
72 source:
74 source:
76 source: 3
78 source: y
80 source: i
[all …]
H A Dcollator_get_sort_key_variant3.phpt60 source: abc
62 source: abd
66 source: аа
68 source: а
70 source: z
72 source:
74 source:
76 source: 3
78 source: y
80 source: i
[all …]
/PHP-5.5/ext/tokenizer/tests/
H A Dtoken_get_all_basic.phpt7 /* Prototype : array token_get_all(string $source)
8 * Description : splits the given source into an array of PHP languange tokens
15 $source = '<?php echo "Hello World"; ?>';
16 echo "-- source string with PHP open and close tags --\n";
17 var_dump( token_get_all($source) );
20 $source = "echo 'Hello World';";
21 echo "-- source string without PHP open and close tags --\n";
22 var_dump( token_get_all($source) );
28 -- source string with PHP open and close tags --
87 -- source string without PHP open and close tags --
H A Dtoken_get_all_variation18.phpt7 /* Prototype : array token_get_all(string $source)
8 * Description: splits the given source into an array of PHP languange tokens
13 * Testing token_get_all() with source string containing HTML code with PHP
17 echo "*** Testing token_get_all() : 'source' string with HTML tags ***\n";
19 $source = '
29 var_dump( token_get_all($source));
34 *** Testing token_get_all() : 'source' string with HTML tags ***
H A Dtoken_get_all_variation14.phpt7 /* Prototype : array token_get_all(string $source)
8 * Description: splits the given source into an array of PHP languange tokens
13 * Testing token_get_all() with 'source' string containing invalid/unknown token value
21 $source = '<?php
27 var_dump( token_get_all($source));
29 // with invalid open tag for testing entire source to be unknown token
31 $source = '<pli
33 var_dump( token_get_all($source));
37 $source = '<PDP display $a; <';
38 var_dump( token_get_all($source));
/PHP-5.5/ext/zip/lib/
H A Dzip_replace.c41 zip_replace(struct zip *za, zip_uint64_t idx, struct zip_source *source) in zip_replace() argument
43 if (idx >= za->nentry || source == NULL) { in zip_replace()
48 if (_zip_replace(za, idx, NULL, source) == -1) in zip_replace()
61 struct zip_source *source) in _zip_replace() argument
82 za->entry[idx].source = source; in _zip_replace()
H A Dzip_unchange_data.c45 if (ze->source) { in _zip_unchange_data()
46 zip_source_free(ze->source); in _zip_unchange_data()
47 ze->source = NULL; in _zip_unchange_data()
H A Dzip_add.c48 zip_add(struct zip *za, const char *name, struct zip_source *source) in zip_add() argument
50 if (name == NULL || source == NULL) { in zip_add()
55 return _zip_replace(za, ZIP_UINT64_MAX, name, source); in zip_add()
/PHP-5.5/ext/standard/tests/file/
H A Dcopy_variation14.phpt5 /* Prototype: bool copy ( string $source, string $dest );
6 Description: Makes a copy of the file source to dest.
10 /* Test copy(): Trying to create a copy of non-existing source in an existing destination
11 and an existing source in non-existing destiantion */
15 echo "*** Test copy() function: Trying to create a copy of non-existing source in existing destinat…
21 …opy($file_path."/nosuchfile.tmp", $file_path."/copy_nosuchfile.tmp") ); //With non-existing source
24 echo "\n*** Test copy() function: Trying to create copy of an existing source in non-existing desti…
27 var_dump( filesize($file) ); //size of the source
38 *** Test copy() function: Trying to create a copy of non-existing source in existing destination ***
43 *** Test copy() function: Trying to create copy of an existing source in non-existing destination *…
H A Dcopy_variation2.phpt72 echo "Size of source file => ";
102 Size of source file => int(1500)
109 Size of source file => int(1500)
116 Size of source file => int(1500)
123 Size of source file => int(1500)
130 Size of source file => int(1500)
137 Size of source file => int(1500)
144 Size of source file => int(1500)
151 Size of source file => int(1500)
158 Size of source file => int(1500)
[all …]
H A Dcopy_variation6.phpt31 echo "Size of source file => ";
61 echo "Size of source file => ";
84 Size of source file => int(0)
91 Size of source file => int(0)
98 Size of source file => int(0)
105 Size of source file => int(0)
112 Size of source file => int(0)
119 Size of source file => int(0)
126 Size of source file => int(0)
133 Size of source file => int(0)
[all …]
H A Dcopy_variation16-win32.phpt33 echo "- Size of source file => ";
53 echo "Size of source file => ";
86 - Size of source file => int(3500)
90 Size of source file => int(3500)
97 Size of source file => int(3500)
104 Size of source file => int(3500)
111 Size of source file => int(3500)
118 Size of source file => int(3500)
125 Size of source file => int(3500)
132 Size of source file => int(3500)
[all …]
H A Dcopy_variation16.phpt33 echo "- Size of source file => ";
53 echo "Size of source file => ";
85 - Size of source file => int(3500)
89 Size of source file => int(3500)
96 Size of source file => int(3500)
103 Size of source file => int(3500)
110 Size of source file => int(3500)
117 Size of source file => int(3500)
124 Size of source file => int(3500)
131 Size of source file => int(3500)
[all …]
H A Dcopy_variation2-win32.phpt101 Size of source file => int(1500)
108 Size of source file => int(1500)
115 Size of source file => int(1500)
122 Size of source file => int(1500)
141 Size of source file => int(1500)
148 Size of source file => int(1500)
155 Size of source file => int(1500)
168 Size of source file => int(1500)
175 Size of source file => int(1500)
182 Size of source file => int(1500)
[all …]
H A Dcopy_variation1.phpt5 /* Prototype: bool copy ( string $source, string $dest );
57 echo "Size of source file => ";
87 Size of source file => int(1500)
94 Size of source file => int(1500)
101 Size of source file => int(1500)
108 Size of source file => int(1500)
115 Size of source file => int(1500)
122 Size of source file => int(1500)
129 Size of source file => int(1500)
136 Size of source file => int(1500)
[all …]
H A Dcopy_variation6-win32.phpt11 Description: Makes a copy of the file source to dest.
31 echo "Size of source file => ";
62 echo "Size of source file => ";
86 Size of source file => int(0)
93 Size of source file => int(0)
100 Size of source file => int(0)
107 Size of source file => int(0)
114 Size of source file => int(0)
121 Size of source file => int(0)
128 Size of source file => int(0)
[all …]
H A Dcopy_variation10.phpt5 /* Prototype: bool copy ( string $source, string $dest );
6 Description: Makes a copy of the file source to dest.
10 /* Test copy(): Try copying source file to desntination file, where destination file name is identi…
14 echo "*** Test copy(): Trying to create a copy of file with the same source name ***\n";
33 *** Test copy(): Trying to create a copy of file with the same source name ***
H A Dcopy_variation3.phpt10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
36 echo "Size of the source file before copy operation => ";
40 echo "\n-- Now applying copy() on source file to create copies --";
57 echo "Size of source file => ";
80 Size of the source file before copy operation => int(1500)
82 -- Now applying copy() on source file to create copies --
87 Size of source file => int(1500)
94 Size of source file => int(1500)
101 Size of source file => int(1500)
[all …]
H A Dcopy_variation5.phpt10 /* Prototype: bool copy ( string $source, string $dest );
11 Description: Makes a copy of the file source to dest.
35 echo "Size of the source file before copy operation => ";
39 echo "\n-- Now applying copy() on source file to create copies --";
56 echo "Size of source file => ";
83 Size of the source file before copy operation => int(1500)
85 -- Now applying copy() on source file to create copies --
90 Size of source file => int(1500)
97 Size of source file => int(1500)
104 Size of source file => int(1500)
/PHP-5.5/ext/intl/msgformat/
H A Dmsgformat_parse.c31 static void msgfmt_do_parse(MessageFormatter_object *mfo, char *source, int src_len, zval *return_v… in msgfmt_do_parse() argument
39 intl_convert_utf8_to_utf16(&usource, &usrc_len, source, src_len, &INTL_DATA_ERROR_CODE(mfo)); in msgfmt_do_parse()
63 char *source; in PHP_FUNCTION() local
70 &object, MessageFormatter_ce_ptr, &source, &source_len ) == FAILURE ) in PHP_FUNCTION()
81 msgfmt_do_parse(mfo, source, source_len, return_value TSRMLS_CC); in PHP_FUNCTION()
98 char *source = NULL; in PHP_FUNCTION() local
105 &slocale, &slocale_len, &pattern, &pattern_len, &source, &src_len ) == FAILURE ) in PHP_FUNCTION()
147 msgfmt_do_parse(mfo, source, src_len, return_value TSRMLS_CC); in PHP_FUNCTION()
/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.c196 void simplestring_addn(simplestring* target, const char* source, size_t add_len) { in simplestring_addn() argument
198 if(target && source) { in simplestring_addn()
228 memcpy(target->str + target->len, source, add_len); in simplestring_addn()
254 void simplestring_add(simplestring* target, const char* source) { in simplestring_add() argument
255 if(target && source) { in simplestring_add()
256 simplestring_addn(target, source, strlen(source)); in simplestring_add()
/PHP-5.5/ext/sockets/tests/
H A Dmcast_ipv6_recv.phpt111 echo "blocking source\n";
115 "source" => $sblock,
124 echo "unblocking source\n";
128 "source" => $sblock,
151 "source" => $sblock,
162 "source" => $sblock,
175 "source" => $sblock,
204 blocking source
209 unblocking source
218 joining source group
[all …]

Completed in 102 milliseconds

123456789