/PHP-5.3/ext/hash/ |
H A D | hash_salsa.c | 157 if (context->length + len < 64) { in PHP_SALSAUpdate() 158 memcpy(&context->buffer[context->length], input, len); in PHP_SALSAUpdate() 159 context->length += len; in PHP_SALSAUpdate() 161 size_t i = 0, r = (context->length + len) % 64; in PHP_SALSAUpdate() 163 if (context->length) { in PHP_SALSAUpdate() 164 i = 64 - context->length; in PHP_SALSAUpdate() 165 memcpy(&context->buffer[context->length], input, i); in PHP_SALSAUpdate() 175 context->length = r; in PHP_SALSAUpdate() 183 if (context->length) { in PHP_SALSAFinal()
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | chunk_split_variation2.phpt | 97 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on… 101 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on… 105 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on… 109 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on… 133 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on… 137 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on… 143 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on… 149 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on… 173 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on… 177 Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on…
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | fgetss_variation1-win32.phpt | 12 Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] ); 66 …echo "-- fgetss() with default length, file pointer at 0 , expected : no character should be read … 88 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 98 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 108 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 118 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 128 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 138 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 148 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 158 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- [all …]
|
H A D | fgetss_variation1.phpt | 12 Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] ); 62 …echo "-- fgetss() with default length, file pointer at 0 , expected : no character should be read … 84 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 94 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 104 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 114 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 124 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 134 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 144 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 154 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- [all …]
|
/PHP-5.3/ext/standard/tests/array/ |
H A D | array_slice_variation3.phpt | 2 Test array_slice() function : usage variations - Pass different data types as $length arg 7 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) 8 * Description: Returns elements specified by offset and length 13 * Pass different data types as $length argument to array_slice to test behaviour 31 // unexpected values to be passed to $length argument
|
H A D | array_slice_error.phpt | 5 /* Prototype : array array_slice(array $input, int $offset [, int $length [, bool $preserve_keys]]) 6 * Description: Returns elements specified by offset and length 20 $length = 10; 23 var_dump( array_slice($input, $offset, $length, $preserve_keys, $extra_arg) );
|
/PHP-5.3/ext/standard/tests/general_functions/ |
H A D | dl-cve-2007-4887.phpt | 2 dl() filename length checks (CVE-2007-4887) 11 Warning: dl(): File name exceeds the maximum allowed length of %d characters in %s on line %d
|
/PHP-5.3/ext/json/ |
H A D | utf8_to_utf16.c | 33 utf8_to_utf16(unsigned short w[], char p[], int length) in utf8_to_utf16() argument 39 utf8_decode_init(&utf8, p, length); in utf8_to_utf16()
|
/PHP-5.3/ext/mbstring/tests/ |
H A D | mb_substr_error2.phpt | 10 /* Prototype : string mb_substr(string $str, int $start [, int $length [, string $encoding]]) 23 $length = 5; 26 var_dump( mb_substr($str, $start, $length, $encoding));
|
/PHP-5.3/build/ |
H A D | order_by_dep.awk | 17 if (!length($5)) { 40 mod_name_len = length(module_name); 47 ext = substr(ext, mod_name_len+2, length(ext)-mod_name_len);
|
/PHP-5.3/ext/mcrypt/tests/ |
H A D | mcrypt_rijndael128_256BitKey.phpt | 51 echo "\nkey length=".strlen($key)."\n"; 64 key length=20 68 key length=24 72 key length=30 76 key length=32 80 key length=40
|
/PHP-5.3/ext/phar/tests/ |
H A D | 006.phpt | 2 Phar::mapPhar truncated manifest (manifest length truncated) 14 internal corruption of phar "%s" (truncated manifest at manifest length)
|
/PHP-5.3/ext/iconv/tests/ |
H A D | iconv_substr_error2.phpt | 10 /* Prototype : string iconv_substr(string str, int offset, [int length, string charset]) 23 $length = 5; 26 var_dump( iconv_substr($str, $start, $length, $encoding));
|
H A D | iconv_strlen-charset-length-cve-2007-4840.phpt | 2 iconv_strlen() charset parameter length checks (CVE-2007-4840) 12 Warning: iconv_strlen(): Charset parameter exceeds the maximum allowed length of %d characters in %…
|
H A D | iconv_mime_decode_headers-charset-length-cve-2007-4840.phpt | 2 iconv_mime_decode_headers() charset parameter length checks (CVE-2007-4840) 12 Warning: iconv_mime_decode_headers(): Charset parameter exceeds the maximum allowed length of %d ch…
|
H A D | iconv_strrpos-charset-length-cve-2007-4840.phpt | 2 iconv_strrpos() charset parameter length checks (CVE-2007-4840) 12 Warning: iconv_strrpos(): Charset parameter exceeds the maximum allowed length of %d characters in …
|
H A D | iconv_mime_decode-charset-length-cve-2007-4840.phpt | 2 iconv_mime_decode() charset parameter length checks (CVE-2007-4840) 12 Warning: iconv_mime_decode(): Charset parameter exceeds the maximum allowed length of %d characters…
|
H A D | iconv_strpos-charset-length-cve-2007-4840.phpt | 2 iconv_strpos() charset parameter length checks (CVE-2007-4840) 12 Warning: iconv_strpos(): Charset parameter exceeds the maximum allowed length of %d characters in %…
|
/PHP-5.3/ext/dom/tests/ |
H A D | bug46335.phpt | 10 $length = 3; 19 $matched->splitText($length); 28 $matched->splitText($length);
|
H A D | DOMCharacterData_length_error_001.phpt | 2 Invalid State Error when getting length on DOMCharacterData out of content. 11 print $character_data->length;
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_result_zerofill.phpt | 53 $length = $meta->length; 54 if ($length > strlen($insert)) { 56 $expected = str_repeat('0', $length - strlen($insert)); 63 } else if ($length <= 1) {
|
/PHP-5.3/ext/intl/tests/ |
H A D | resourcebundle_individual.phpt | 2 Test ResourceBundle::get() and length() - existing/missing keys 14 $str_res .= sprintf( "length: %d\n", ut_resourcebundle_count($r) ); 37 length: 6
|
/PHP-5.3/Zend/ |
H A D | zend_multibyte.h | 33 …ilter)(unsigned char **str, size_t *str_length, const unsigned char *buf, size_t length TSRMLS_DC); 35 typedef char* (*zend_encoding_detector)(const unsigned char *string, size_t length, char *list TSRM… 39 typedef size_t (*zend_encoding_oddlen)(const unsigned char *string, size_t length, const char *enco…
|
/PHP-5.3/ext/oci8/tests/ |
H A D | reflection2.phpt | 45 Parameter #0 [ <optional> $length ] 53 Parameter #1 [ <optional> $length ] 86 Parameter #0 [ <required> $length ] 108 Parameter #1 [ <optional> $length ] 130 Parameter #2 [ <optional> $length ] 139 Parameter #2 [ <optional> $length ]
|
/PHP-5.3/ext/exif/ |
H A D | exif.c | 1681 if (length < 0) { in exif_iif_add_value() 1692 info_data->length = length; in exif_iif_add_value() 1699 length = php_strnlen(value, length); in exif_iif_add_value() 1705 info_data->length = length; in exif_iif_add_value() 1722 if (!length) in exif_iif_add_value() 1732 info_data->length = length; in exif_iif_add_value() 1896 info_data->length = length; in exif_iif_add_buffer() 1903 info_data->length = length; in exif_iif_add_buffer() 2259 if (length>3) { in exif_process_CME() 2830 size_t length; in exif_process_IFD_TAG() local [all …]
|