Home
last modified time | relevance | path

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

12

/PHP-5.6/ext/zip/lib/
H A Dzip_string.c51 crc = (zip_uint32_t)crc32(crc, s->raw, s->length); in _zip_string_crc32()
69 return (memcmp(a->raw, b->raw, a->length) == 0); in _zip_string_equal()
80 free(s->raw); in _zip_string_free()
107 if ((string->converted=_zip_cp437_to_utf8(string->raw, string->length, in _zip_string_get()
119 return string->raw; in _zip_string_get()
136 _zip_string_new(const zip_uint8_t *raw, zip_uint16_t length, zip_flags_t flags, struct zip_error *e… in _zip_string_new() argument
164 if ((s->raw=(zip_uint8_t *)malloc(length+1)) == NULL) { in _zip_string_new()
169 memcpy(s->raw, raw, length); in _zip_string_new()
170 s->raw[length] = '\0'; in _zip_string_new()
195 fwrite(s->raw, s->length, 1, f); in _zip_string_write()
H A Dzip_dirent.c198 fwrite(comment->raw, 1, comment->length, fp); in _zip_cdir_write()
791 const zip_uint8_t *raw; in _zip_ef_utf8() local
796 raw = _zip_string_get(str, &len, ZIP_FL_ENC_RAW, NULL); in _zip_ef_utf8()
810 memcpy(p, raw, len); in _zip_ef_utf8()
935 zip_uint8_t *raw; in _zip_read_string() local
938 if ((raw=_zip_read_data(buf, fp, len, nulp, error)) == NULL) in _zip_read_string()
941 s = _zip_string_new(raw, len, ZIP_FL_ENC_GUESS, error); in _zip_read_string()
942 free(raw); in _zip_read_string()
H A Dzip_utf-8.c129 name = str->raw; in _zip_guess_encoding()
/PHP-5.6/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-5.6/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.phpt37 echo "adler32(raw): " . bin2hex(hash_hmac('adler32', $content, $key, TRUE)) . "\n";
38 echo "md5(raw): " . bin2hex(hash_hmac('md5', $content, $key, TRUE)) . "\n";
39 echo "sha256(raw): " . bin2hex(hash_hmac('sha256', $content, $key, TRUE)) . "\n";
63 adler32(raw): 12c803f7
64 md5(raw): 2a632783e2812cf23de100d7d6a463ae
65 sha256(raw): 49bde3496b9510a17d0edd8a4b0ac70148e32a1d51e881ec76faa96534125838
H A Dhash_hmac_file_basic.phpt58 echo "adler32(raw): " . bin2hex(hash_hmac_file('adler32', $file, $key, TRUE)) . "\n";
59 echo "md5(raw): " . bin2hex(hash_hmac_file('md5', $file, $key, TRUE)). "\n";
60 echo "sha256(raw): " . bin2hex(hash_hmac_file('sha256', $file, $key, TRUE)). "\n";
91 adler32(raw): 0f8c02f9
92 md5(raw): 8bddf39dd1c566c27acc7fa85ec36acf
93 sha256(raw): 9135286ca4c84dec711e4b831f6cd39e672e5ff93d011321274eb76733cc1e40
/PHP-5.6/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 */
H A Dsha1_file.phpt2 Test sha1_file() function with ASCII output and raw binary output. Based on ext/standard/tests/stri…
/PHP-5.6/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-5.6/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
164 if (raw) { in php_parserr()
355 zend_bool raw = 0; in PHP_FUNCTION() local
358 &hostname, &hostname_len, &type_param, &authns, &addtl, &raw) == FAILURE) { in PHP_FUNCTION()
371 if (!raw) { in PHP_FUNCTION()
387 if (raw) { in PHP_FUNCTION()
472 php_parserr(pRec, type_to_fetch, store_results, raw, &retval); in PHP_FUNCTION()
480 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()
495 php_parserr(pRec, type_to_fetch, 1, raw, &retval); in PHP_FUNCTION()
H A Ddns.c433 …(u_char *cp, u_char *end, querybuf *answer, int type_to_fetch, int store, int raw, zval **subarray) in php_parserr() argument
474 if (raw) { in php_parserr()
785 zend_bool raw = 0; in PHP_FUNCTION() local
788 &hostname, &hostname_len, &type_param, &authns, &addtl, &raw) == FAILURE) { in PHP_FUNCTION()
801 if (!raw) { in PHP_FUNCTION()
826 if (raw) { in PHP_FUNCTION()
955 cp = php_parserr(cp, end, &answer, type_to_fetch, store_results, raw, &retval); in PHP_FUNCTION()
968 cp = php_parserr(cp, end, &answer, DNS_T_ANY, authns != NULL, raw, &retval); in PHP_FUNCTION()
980 cp = php_parserr(cp, end, &answer, DNS_T_ANY, 1, raw, &retval); in PHP_FUNCTION()
/PHP-5.6/ext/openssl/tests/
H A Dopenssl_x509_fingerprint_basic.phpt21 echo "**Testing raw output md5 **\n";
37 **Testing raw output md5 **
/PHP-5.6/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))");
H A Ddefine2.phpt15 "create table phptestrawtable( id number(10), fileimage raw(1000))"
/PHP-5.6/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 45 milliseconds

12