/PHP-5.3/ext/iconv/tests/ |
H A D | iconv_mime_encode.phpt | 35 -------- line length=0 39 -------- line length=1 43 -------- line length=2 47 -------- line length=3 51 -------- line length=4 55 -------- line length=5 59 -------- line length=6 63 -------- line length=7 67 -------- line length=8 71 -------- line length=9 [all …]
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_slice_variation6.phpt | 35 -- $length is -6 -- 39 -- $length is -5 -- 43 -- $length is -4 -- 47 -- $length is -3 -- 53 -- $length is -2 -- 71 -- $length is 0 -- 75 -- $length is 1 -- 81 -- $length is 2 -- 89 -- $length is 3 -- 99 -- $length is 4 -- [all …]
|
H A D | array_splice_variation3.phpt | 13 function test_splice ($offset, $length) 17 var_dump (array_splice ($input_array,$offset,$length)); 118 absolute offset - absolute length - cut from middle 159 absolute offset - absolute length - cut from end 241 absolute offset - absolute length - cut everything 282 absolute offset - absolute length - cut nothing 446 absolute offset - relative length - cut nothing 569 relative offset - absolute length - cut from end 651 relative offset - absolute length - cut everything 692 relative offset - absolute length - cut nothing [all …]
|
/PHP-5.3/ext/mbstring/libmbfl/tests/strcut.tests/ |
H A D | iso2022jp.exp | 3 global spawn_id from length 5 set length $_length 17 set test "asciish characters ($from, $length)" 23 set test "non-asciish characters ($from, $length)" 33 set test "asciish characters ($from, $length)" 39 set test "non-asciish characters ($from, $length)" 49 set test "asciish characters ($from, $length)" 55 set test "non-asciish characters ($from, $length)" 65 set test "asciish characters ($from, $length)" 71 set test "non-asciish characters ($from, $length)" [all …]
|
H A D | ujis.exp | 3 global spawn_id from length 5 set length $_length 17 set test "asciish characters ($from, $length)" 23 set test "non-asciish characters ($from, $length)" 32 set test "asciish characters ($from, $length)" 38 set test "non-asciish characters ($from, $length)" 47 set test "asciish characters ($from, $length)" 53 set test "non-asciish characters ($from, $length)" 62 set test "asciish characters ($from, $length)" 68 set test "non-asciish characters ($from, $length)" [all …]
|
H A D | utf8.exp | 3 global spawn_id from length 5 set length $_length 17 set test "asciish characters ($from, $length)" 23 set test "non-asciish characters ($from, $length)" 32 set test "asciish characters ($from, $length)" 38 set test "non-asciish characters ($from, $length)" 47 set test "asciish characters ($from, $length)" 53 set test "non-asciish characters ($from, $length)" 62 set test "asciish characters ($from, $length)" 68 set test "non-asciish characters ($from, $length)" [all …]
|
/PHP-5.3/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.c | 50 device->length = 0; in mbfl_memory_device_init() 55 device->length = initsz; in mbfl_memory_device_init() 96 device->length = 0; in mbfl_memory_device_clear() 125 device->length = 0; in mbfl_memory_device_result() 153 device->length = newlen; in mbfl_memory_device_output() 176 device->length = newlen; in mbfl_memory_device_output2() 201 device->length = newlen; in mbfl_memory_device_output4() 234 device->length = newlen; in mbfl_memory_device_strcat() 288 dest->length = newlen; in mbfl_memory_device_devcat() 309 device->length = 0; in mbfl_wchar_device_init() [all …]
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | bug26938.phpt | 11 . 'foreach($lengths as $length) {' 12 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);' 18 . 'foreach($lengths as $length) {' 19 . ' for($i=0;$i<$length;$i++) print chr(65+$i % 27);' 24 print "md5(line $i)= " . md5($out[$i]) . " (length " . 28 md5(line 0)= e86410fa2d6e2634fd8ac5f4b3afe7f3 (length 10) 29 md5(line 1)= e84debf3a1d132871d7fe45c1c04c566 (length 20000) 30 md5(line 2)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000) 31 md5(line 3)= 2ecdde3959051d913f61b14579ea136d (length 5) 32 md5(line 4)= c33b4d2f86908eea5d75ee5a61fd81f4 (length 10000) [all …]
|
H A D | fgets_variation3.phpt | 2 Test fgets() function : usage variations - read with/without length 6 Prototype: string fgets ( resource $handle [, int $length] ); 71 -- fgets() with default length, file pointer at 0 -- 82 -- fgets() with default length, file pointer at 0 -- 93 -- fgets() with default length, file pointer at 0 -- 106 -- fgets() with default length, file pointer at 0 -- 119 -- fgets() with default length, file pointer at 0 -- 130 -- fgets() with default length, file pointer at 0 -- 141 -- fgets() with default length, file pointer at 0 -- 154 -- fgets() with default length, file pointer at 0 -- [all …]
|
H A D | fgets_basic.phpt | 6 Prototype: string fgets ( resource $handle [, int $length] ); 57 -- fgets() with default length, file pointer at 0 -- 67 -- fgets() with default length, file pointer at 0 -- 77 -- fgets() with default length, file pointer at 0 -- 89 -- fgets() with default length, file pointer at 0 -- 101 -- fgets() with default length, file pointer at 0 -- 111 -- fgets() with default length, file pointer at 0 -- 121 -- fgets() with default length, file pointer at 0 -- 133 -- fgets() with default length, file pointer at 0 -- 145 -- fgets() with default length, file pointer at 0 -- [all …]
|
H A D | fgets_variation4-win32.phpt | 12 Prototype: string fgets ( resource $handle [, int $length] ); 79 -- fgets() with location set by fseek() with length = 20 -- 92 -- fgets() with location set by fseek() with length = 20 -- 106 -- fgets() with location set by fseek() with length = 20 -- 120 -- fgets() with location set by fseek() with length = 20 -- 135 -- fgets() with location set by fseek() with length = 20 -- 148 -- fgets() with location set by fseek() with length = 20 -- 162 -- fgets() with location set by fseek() with length = 20 -- 176 -- fgets() with location set by fseek() with length = 20 -- 191 -- fgets() with location set by fseek() with length = 20 -- [all …]
|
H A D | fgets_variation4.phpt | 12 Prototype: string fgets ( resource $handle [, int $length] ); 79 -- fgets() with location set by fseek() with length = 20 -- 92 -- fgets() with location set by fseek() with length = 20 -- 106 -- fgets() with location set by fseek() with length = 20 -- 120 -- fgets() with location set by fseek() with length = 20 -- 135 -- fgets() with location set by fseek() with length = 20 -- 148 -- fgets() with location set by fseek() with length = 20 -- 162 -- fgets() with location set by fseek() with length = 20 -- 176 -- fgets() with location set by fseek() with length = 20 -- 191 -- fgets() with location set by fseek() with length = 20 -- [all …]
|
H A D | fgets_variation5.phpt | 62 -- fgets() with length > filesize -- 68 -- fgets() with length > filesize -- 74 -- fgets() with length > filesize -- 81 -- fgets() with length > filesize -- 89 -- fgets() with length > filesize -- 95 -- fgets() with length > filesize -- 101 -- fgets() with length > filesize -- 108 -- fgets() with length > filesize -- 116 -- fgets() with length > filesize -- 122 -- fgets() with length > filesize -- [all …]
|
H A D | fgetss_basic2-win32.phpt | 87 -- fgetss() with default length, file pointer at 0 -- 92 -- fgets() with length = 30, file pointer at 0 -- 102 -- fgetss() with default length, file pointer at 0 -- 107 -- fgets() with length = 30, file pointer at 0 -- 122 -- fgets() with length = 30, file pointer at 0 -- 137 -- fgets() with length = 30, file pointer at 0 -- 152 -- fgets() with length = 30, file pointer at 0 -- 167 -- fgets() with length = 30, file pointer at 0 -- 182 -- fgets() with length = 30, file pointer at 0 -- 197 -- fgets() with length = 30, file pointer at 0 -- [all …]
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | strlen.phpt | 7 /* returns the length of a given string */ 162 String length of '' is => int(0) 163 String length of '' is => int(0) 165 String length of '' is => int(1) 166 String length of '0' is => int(2) 168 String length of '0' is => int(2) 175 String length of 'Hello, World' is => int(13) 176 String length of 'HelloWorld' is => int(11) 178 String length of 'Hello, World 180 String length of 'Hello, World [all …]
|
/PHP-5.3/ext/standard/ |
H A D | base64.c | 56 PHPAPI unsigned char *php_base64_encode(const unsigned char *str, int length, int *ret_length) /* {… in php_base64_encode() argument 62 if (length < 0) { in php_base64_encode() 69 result = (unsigned char *) safe_emalloc((length + 2) / 3, 4 * sizeof(char), 1); in php_base64_encode() 72 while (length > 2) { /* keep going until we have less than 24 bits */ in php_base64_encode() 79 length -= 3; /* we just handle 3 octets of data */ in php_base64_encode() 83 if (length != 0) { in php_base64_encode() 85 if (length > 1) { in php_base64_encode() 139 return php_base64_decode_ex(str, length, ret_length, 0); in php_base64_decode() 150 result = (unsigned char *)safe_emalloc(length, 1, 1); in php_base64_decode_ex() 153 while ((ch = *current++) != '\0' && length-- > 0) { in php_base64_decode_ex() [all …]
|
/PHP-5.3/ext/com_dotnet/ |
H A D | com_olechar.c | 71 uint length = 0; in php_com_olestring_to_string() local 74 length = WideCharToMultiByte(codepage, 0, olestring, -1, NULL, 0, NULL, NULL); in php_com_olestring_to_string() 76 if (length) { in php_com_olestring_to_string() 77 string = (char*)safe_emalloc(length, sizeof(char), 0); in php_com_olestring_to_string() 78 length = WideCharToMultiByte(codepage, 0, olestring, -1, string, length, NULL, NULL); in php_com_olestring_to_string() 79 ok = length > 0; in php_com_olestring_to_string() 84 length = 0; in php_com_olestring_to_string() 97 *string_len = length-1; in php_com_olestring_to_string()
|
/PHP-5.3/ext/intl/formatter/ |
H A D | formatter_attr.c | 108 int length = 0; in PHP_FUNCTION() local 128 value = eumalloc(length); in PHP_FUNCTION() 129 …length = unum_getTextAttribute( FORMATTER_OBJECT(nfo), attribute, value, length, &INTL_DATA_ERROR_… in PHP_FUNCTION() 255 int length = USIZE(value_buf); in PHP_FUNCTION() local 276 …length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value_buf, length, &INTL_DATA_ERROR_CODE(nf… in PHP_FUNCTION() 280 value = eumalloc(length); in PHP_FUNCTION() 281 length = unum_getSymbol(FORMATTER_OBJECT(nfo), symbol, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION() 348 int length = USIZE( value_buf ); in PHP_FUNCTION() local 365 length = unum_toPattern(FORMATTER_OBJECT(nfo), 0, value, length, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION() 369 value = eumalloc(length); in PHP_FUNCTION() [all …]
|
/PHP-5.3/ext/dom/ |
H A D | characterdata.c | 144 long length = 0; in dom_characterdata_length_read() local 162 ZVAL_LONG(*retval, length); in dom_characterdata_length_read() 180 int length; in PHP_FUNCTION() local 194 length = xmlUTF8Strlen(cur); in PHP_FUNCTION() 203 count = length - offset; in PHP_FUNCTION() 263 int length, arg_len; in PHP_FUNCTION() local 277 length = xmlUTF8Strlen(cur); in PHP_FUNCTION() 310 int length; in PHP_FUNCTION() local 339 count = length - offset; in PHP_FUNCTION() 395 count = length - offset; in PHP_FUNCTION() [all …]
|
/PHP-5.3/main/ |
H A D | php_memory_streams.h | 34 #define php_stream_memory_open(mode, buf, length) _php_stream_memory_open((mode), (buf), (length) S… argument 35 #define php_stream_memory_get_buffer(stream, length) _php_stream_memory_get_buffer((stream), (lengt… argument 40 …_temp_open(mode, max_memory_usage, buf, length) _php_stream_temp_open((mode), (max_memory_usage), … argument 44 PHPAPI php_stream *_php_stream_memory_open(int mode, char *buf, size_t length STREAMS_DC TSRMLS_DC); 45 PHPAPI char *_php_stream_memory_get_buffer(php_stream *stream, size_t *length STREAMS_DC TSRMLS_DC); 48 …hp_stream_temp_open(int mode, size_t max_memory_usage, char *buf, size_t length STREAMS_DC TSRMLS_…
|
/PHP-5.3/ext/zlib/tests/ |
H A D | gzuncompress_basic1.phpt | 11 /* Prototype : string gzuncompress(string data [, int length]) 29 $length = 3547; 30 echo "\n-- Calling gzuncompress() with max length of $length --\n"; 31 echo "Result length is ". strlen(gzuncompress($compressed, $length)) . "\n"; 41 -- Calling gzuncompress() with max length of 3547 -- 42 Result length is 3547
|
/PHP-5.3/ext/dom/tests/ |
H A D | bug42082.phpt | 2 Bug #42082 (NodeList length zero should be empty) 11 var_dump($nodes->length); 12 $length = $nodes->length; 13 var_dump(empty($nodes->length), empty($length));
|
/PHP-5.3/win32/build/ |
H A D | confutils.js | 165 (path.charCodeAt(CWD.length) == 92 || path.charCodeAt(CWD.length) == 47)) { 184 if (j < b.length - 1) 276 if (this_line.length) { 290 if (this_line.length) { 297 if (this_line.length) { 330 if (arg.length > 1) { 538 place = place.substr(0, place.length - thing_to_find.length - 1); 659 var length = libnames.length; 1978 if (dir.length > 0 && dir.substr(dir.length - 1) != '/' && dir.substr(dir.length - 1) != '\\') { 1990 if (src.length > 0 && src.substr(src.length - 1) != '/' && src.substr(src.length - 1) != '\\') { [all …]
|
/PHP-5.3/ext/xmlrpc/libxmlrpc/ |
H A D | base64.c | 25 b->length = 512; in buffer_new() 26 b->data = malloc(sizeof(char)*(b->length)); in buffer_new() 36 if (b->offset == b->length) { in buffer_add() 37 b->length += 512; in buffer_add() 38 b->data = realloc(b->data, b->length); in buffer_add() 46 b->length = 0; in buffer_delete() 52 void base64_encode_xmlrpc(struct buffer_st *b, const char *source, int length) in base64_encode_xmlrpc() argument 82 if (offset > length) { in base64_encode_xmlrpc() 117 void base64_decode_xmlrpc(struct buffer_st *bfr, const char *source, int length) in base64_decode_xmlrpc() argument 153 if (offset > length) endoffile = 1; in base64_decode_xmlrpc()
|
/PHP-5.3/ext/mbstring/libmbfl/tests/ |
H A D | strcut.c | 31 int offset, length; in main() local 59 length = strtol(argv[4], NULL, 10); in main() 89 if (dev.pos >= dev.length) { in main() 90 if (dev.length + dev.allocsz < dev.length) { in main() 95 mbfl_memory_device_realloc(&dev, dev.length + dev.allocsz, in main() 103 if (mbfl_strcut(&string, &result, offset, length)) { in main()
|