Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 42) sorted by relevance

12

/PHP-7.3/ext/zip/lib/
H A Dzip_string.c49 crc = (zip_uint32_t)crc32(crc, s->raw, s->length); in _zip_string_crc32()
66 return (memcmp(a->raw, b->raw, a->length) == 0); in _zip_string_equal()
76 free(s->raw); in _zip_string_free()
102 if ((string->converted=_zip_cp437_to_utf8(string->raw, string->length, in _zip_string_get()
114 return string->raw; in _zip_string_get()
129 _zip_string_new(const zip_uint8_t *raw, zip_uint16_t length, zip_flags_t flags, zip_error_t *error) in _zip_string_new() argument
157 if ((s->raw=(zip_uint8_t *)malloc((size_t)(length+1))) == NULL) { in _zip_string_new()
162 memcpy(s->raw, raw, length); in _zip_string_new()
163 s->raw[length] = '\0'; in _zip_string_new()
187 return _zip_write(za, s->raw, s->length); in _zip_string_write()
H A Dzip_io_util.c111 zip_uint8_t *raw; in _zip_read_string() local
114 if ((raw=_zip_read_data(buffer, src, len, nulp, error)) == NULL) in _zip_read_string()
117 s = _zip_string_new(raw, len, ZIP_FL_ENC_GUESS, error); in _zip_read_string()
118 free(raw); in _zip_read_string()
/PHP-7.3/ext/standard/tests/file/
H A Dbug51094.phpt6 $ini = parse_ini_string('ini="ini;raw"', null, INI_SCANNER_RAW);
8 $ini = parse_ini_string('ini="ini;raw', null, INI_SCANNER_RAW);
10 $ini = parse_ini_string('ini=ini;raw', null, INI_SCANNER_RAW);
12 $ini = parse_ini_string('ini=ini"raw', null, INI_SCANNER_RAW);
17 string(7) "ini;raw"
20 string(7) "ini"raw"
/PHP-7.3/ext/hash/tests/
H A Dhash_pbkdf2_basic.phpt18 echo "sha1(raw): " . bin2hex(hash_pbkdf2('sha1', 'password', 'salt', 1, 20, TRUE))."\n";
20 echo "sha1(rounds)(raw): " . bin2hex(hash_pbkdf2('sha1', 'passwordPASSWORDpassword', 'saltSALTsaltS…
23 echo "sha256(raw): " . bin2hex(hash_pbkdf2('sha256', 'password', 'salt', 1, 20, TRUE))."\n";
25 echo "sha256(rounds)(raw): " . bin2hex(hash_pbkdf2('sha256', 'passwordPASSWORDpassword', 'saltSALTs…
33 sha1(raw): 0c60c80f961f0e71f3a9b524af6012062fe037a6
35 sha1(rounds)(raw): 3d2eec4fe41c849b80c8d83662c0e44a8b291a964cf2f07038
38 sha256(raw): 120fb6cffcf8b32c43e7225256c4f837a86548c9
40 sha256(rounds)(raw): 348c89dbcbd32b2f32d814b8116e84cf2b17347ebc1800181c4e2a1fb8dd53e1c635518c7dac47…
H A Dhash_file_basic1.phpt54 echo "adler32(raw): " . bin2hex(hash_file('adler32', $file, TRUE)) . "\n";
55 echo "md5(raw): " . bin2hex(hash_file('md5', $file, TRUE)). "\n";
56 echo "sha256(raw): " . bin2hex(hash_file('sha256', $file, TRUE)). "\n";
82 adler32(raw): ff87222e
83 md5(raw): 704bf818448f5bbb94061332d2c889aa
84 sha256(raw): a0f5702fa5d3670b80033d668e8732b70550392abb53841355447f8bb0f72245
H A Dhash_hmac_basic.phpt35 echo "md5(raw): " . bin2hex(hash_hmac('md5', $content, $key, TRUE)) . "\n";
36 echo "sha256(raw): " . bin2hex(hash_hmac('sha256', $content, $key, TRUE)) . "\n";
58 md5(raw): 2a632783e2812cf23de100d7d6a463ae
59 sha256(raw): 49bde3496b9510a17d0edd8a4b0ac70148e32a1d51e881ec76faa96534125838
H A Dhash_hmac_file_basic.phpt56 echo "md5(raw): " . bin2hex(hash_hmac_file('md5', $file, $key, TRUE)). "\n";
57 echo "sha256(raw): " . bin2hex(hash_hmac_file('sha256', $file, $key, TRUE)). "\n";
86 md5(raw): 8bddf39dd1c566c27acc7fa85ec36acf
87 sha256(raw): 9135286ca4c84dec711e4b831f6cd39e672e5ff93d011321274eb76733cc1e40
/PHP-7.3/ext/standard/tests/strings/
H A Dsha1_basic.phpt12 echo "\n-- Without raw argument --\n";
21 echo "\n-- With raw == false --\n";
30 echo "\n-- With raw == true --\n";
44 -- Without raw argument --
53 -- With raw == false --
62 -- With raw == true --
H A Dmd5_basic2.phpt2 Test md5() function : basic functionality - with raw output
10 echo "*** Testing md5() : basic functionality - with raw output***\n";
27 *** Testing md5() : basic functionality - with raw output***
H A Dsha1_variation2.phpt2 Test sha1() function : usage variations - unexpected values for 'raw' argument
10 echo "*** Testing sha1() : unexpected values for 'raw' ***\n";
80 // loop through each element of $values for 'raw' argument
83 // use bin2hex to catch those cases were raw is true
93 *** Testing sha1() : unexpected values for 'raw' ***
H A Dsha1_variation1.phpt12 $raw = false;
83 var_dump( sha1($values[$count], $raw) );
H A Dstrncasecmp_variation7.phpt14 /* A binary function should not expect a null terminated string, and it should treat input as a raw
H A Dstrncmp_variation7.phpt14 /* A binary function should not expect a null terminated string, and it should treat input as a raw
H A Dmd5_file.phpt2 Test md5_file() function with ASCII output and raw binary output
65 /* Normal operation with raw binary output */
/PHP-7.3/tests/strings/
H A D001.phpt89 $raw = ' !"#$%&\'()*+,-./0123456789:;<=>?'
95 $encoded = rawurlencode($raw);
108 if ($decoded == $raw) {
115 $encoded = urlencode($raw);
128 if ($decoded == $raw) {
135 $raw = "a.\\+*?" . chr(91) . "^" . chr(93) . "b\$c";
136 $quoted = quotemeta($raw);
/PHP-7.3/ext/recode/tests/
H A D002.phpt17 $html_file = fopen(realpath(dirname(__FILE__)) . '/html.raw', 'r');
18 $utf_8_filepath = realpath(dirname(__FILE__)) . '/utf8.raw';
/PHP-7.3/ext/standard/
H A Ddns_win32.c141 static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, int raw, zval *subarray) in php_parserr() argument
165 if (raw) { in php_parserr()
353 zend_bool raw = 0; in PHP_FUNCTION() local
356 &hostname, &hostname_len, &type_param, &authns, &addtl, &raw) == FAILURE) { in PHP_FUNCTION()
369 if (!raw) { in PHP_FUNCTION()
385 if (raw) { in PHP_FUNCTION()
469 php_parserr(pRec, type_to_fetch, store_results, raw, &retval); in PHP_FUNCTION()
477 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()
492 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()
H A Ddns.c431 …r(u_char *cp, u_char *end, querybuf *answer, int type_to_fetch, int store, int raw, zval *subarray) in php_parserr() argument
476 if (raw) { in php_parserr()
811 zend_bool raw = 0; in PHP_FUNCTION() local
819 Z_PARAM_BOOL(raw) in PHP_FUNCTION()
831 if (!raw) { in PHP_FUNCTION()
856 if (raw) { in PHP_FUNCTION()
988 cp = php_parserr(cp, end, &answer, type_to_fetch, store_results, raw, &retval); in PHP_FUNCTION()
1001 cp = php_parserr(cp, end, &answer, DNS_T_ANY, authns != NULL, raw, &retval); in PHP_FUNCTION()
1013 cp = php_parserr(cp, end, &answer, DNS_T_ANY, 1, raw, &retval); in PHP_FUNCTION()
/PHP-7.3/ext/openssl/tests/
H A Dopenssl_x509_fingerprint_basic.phpt19 echo "**Testing raw output md5 **\n";
40 **Testing raw output md5 **
/PHP-7.3/sapi/fpm/tests/
H A Dresponse.inc115 * Print raw body
123 * Print raw body
252 * Process data and set validity and raw data
/PHP-7.3/ext/oci8/tests/
H A Dbind_long_raw.phpt13 $stmt = oci_parse($c, "create table phptestlngraw( id number(10), fileimage long raw)");
H A Dbind_raw.phpt13 $stmt = oci_parse($c, "create table phptestrawtable( id number(10), fileimage raw(1000))");
H A Dbind_raw_2.phpt13 $stmt = oci_parse($c, "create table phptestrawtable( id number(10), fileimage raw(1000))");
/PHP-7.3/ext/intl/tests/
H A Dnormalizer_get_raw_decomposition.phpt10 * Try getting raw decomposition mappings
/PHP-7.3/Zend/
H A DREADME.ZEND_VM6 and direct threading). As a result ZE2 got more than 20% speedup on raw PHP
8 method). As in most PHP applications raw execution speed isn't the limiting

Completed in 35 milliseconds

12