Home
last modified time | relevance | path

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

123456789

/PHP-5.3/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, 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.3/ext/intl/tests/
H A Dcollator_get_sort_key.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 …]
/PHP-5.3/ext/tokenizer/tests/
H A Dtoken_get_all_basic.phpt5 /* Prototype : array token_get_all(string $source)
6 * Description : splits the given source into an array of PHP languange tokens
13 $source = '<?php echo "Hello World"; ?>';
14 echo "-- source string with PHP open and close tags --\n";
15 var_dump( token_get_all($source) );
18 $source = "echo 'Hello World';";
19 echo "-- source string without PHP open and close tags --\n";
20 var_dump( token_get_all($source) );
26 -- source string with PHP open and close tags --
85 -- source string without PHP open and close tags --
H A Dtoken_get_all_variation18.phpt5 /* Prototype : array token_get_all(string $source)
6 * Description: splits the given source into an array of PHP languange tokens
11 * Testing token_get_all() with source string containing HTML code with PHP
15 echo "*** Testing token_get_all() : 'source' string with HTML tags ***\n";
17 $source = '
27 var_dump( token_get_all($source));
32 *** Testing token_get_all() : 'source' string with HTML tags ***
H A Dtoken_get_all_variation14.phpt5 /* Prototype : array token_get_all(string $source)
6 * Description: splits the given source into an array of PHP languange tokens
11 * Testing token_get_all() with 'source' string containing invalid/unknown token value
19 $source = '<?php
25 var_dump( token_get_all($source));
27 // with invalid open tag for testing entire source to be unkown token
29 $source = '<pli
31 var_dump( token_get_all($source));
35 $source = '<PDP display $a; <';
36 var_dump( token_get_all($source));
H A Dtoken_get_all_variation7.phpt5 /* Prototype : array token_get_all(string $source)
6 * Description: splits the given source into an array of PHP languange tokens
11 * Passing 'source' argument with different increment/decrement operators to test them for token
16 echo "*** Testing token_get_all() : 'source' string with different increment/decrement operators **…
19 $source = '<?php
25 var_dump( token_get_all($source));
30 *** Testing token_get_all() : 'source' string with different increment/decrement operators ***
/PHP-5.3/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()
H A Dzip_add_dir.c51 struct zip_source *source; in zip_add_dir() local
76 if ((source=zip_source_buffer(za, NULL, 0, 0)) == NULL) { in zip_add_dir()
81 ret = _zip_replace(za, -1, s ? s : name, source); in zip_add_dir()
85 zip_source_free(source); in zip_add_dir()
/PHP-5.3/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_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_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_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.3/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.c193 void simplestring_addn(simplestring* target, const char* source, int add_len) { in simplestring_addn() argument
194 if(target && source) { in simplestring_addn()
212 memcpy(target->str + target->len, source, add_len); in simplestring_addn()
238 void simplestring_add(simplestring* target, const char* source) { in simplestring_add() argument
239 if(target && source) { in simplestring_add()
240 simplestring_addn(target, source, strlen(source)); in simplestring_add()
/PHP-5.3/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.3/ext/xml/tests/
H A Dxml_parser_create_ns_variation1.phpt110 Warning: xml_parser_create_ns(): unsupported source encoding "0" in %s on line %d
115 Warning: xml_parser_create_ns(): unsupported source encoding "1" in %s on line %d
120 Warning: xml_parser_create_ns(): unsupported source encoding "12345" in %s on line %d
125 Warning: xml_parser_create_ns(): unsupported source encoding "-2345" in %s on line %d
130 Warning: xml_parser_create_ns(): unsupported source encoding "10.5" in %s on line %d
135 Warning: xml_parser_create_ns(): unsupported source encoding "-10.5" in %s on line %d
150 Warning: xml_parser_create_ns(): unsupported source encoding "0.5" in %s on line %d
186 Warning: xml_parser_create_ns(): unsupported source encoding "1" in %s on line %d
194 Warning: xml_parser_create_ns(): unsupported source encoding "1" in %s on line %d
208 Warning: xml_parser_create_ns(): unsupported source encoding "string" in %s on line %d
[all …]
H A Dxml_parser_create_variation1.phpt110 Warning: xml_parser_create(): unsupported source encoding "0" in %s on line %d
115 Warning: xml_parser_create(): unsupported source encoding "1" in %s on line %d
120 Warning: xml_parser_create(): unsupported source encoding "12345" in %s on line %d
125 Warning: xml_parser_create(): unsupported source encoding "-2345" in %s on line %d
130 Warning: xml_parser_create(): unsupported source encoding "10.5" in %s on line %d
135 Warning: xml_parser_create(): unsupported source encoding "-10.5" in %s on line %d
150 Warning: xml_parser_create(): unsupported source encoding "0.5" in %s on line %d
186 Warning: xml_parser_create(): unsupported source encoding "1" in %s on line %d
194 Warning: xml_parser_create(): unsupported source encoding "1" in %s on line %d
208 Warning: xml_parser_create(): unsupported source encoding "string" in %s on line %d
[all …]

Completed in 35 milliseconds

123456789