Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 242) sorted by relevance

12345678910

/php-src/ext/bcmath/libbcmath/src/
H A Dinit.c42 bc_num temp; in _bc_new_num_nonzeroed_ex_internal() local
47 temp->n_refs = 2; /* prevent freeing */ in _bc_new_num_nonzeroed_ex_internal()
50 temp = pemalloc(required_size, persistent); in _bc_new_num_nonzeroed_ex_internal()
51 temp->n_refs = 1; in _bc_new_num_nonzeroed_ex_internal()
54 temp->n_sign = PLUS; in _bc_new_num_nonzeroed_ex_internal()
55 temp->n_len = length; in _bc_new_num_nonzeroed_ex_internal()
56 temp->n_scale = scale; in _bc_new_num_nonzeroed_ex_internal()
57 temp->n_value = (char *) temp + sizeof(bc_struct); in _bc_new_num_nonzeroed_ex_internal()
58 return temp; in _bc_new_num_nonzeroed_ex_internal()
65 memset(temp->n_value, 0, length + scale); in _bc_new_num_ex()
[all …]
H A Ddivmod.c47 bc_num temp; in bc_divmod() local
57 bc_init_num(&temp); in bc_divmod()
60 bc_divide(num1, num2, &temp, 0); in bc_divmod()
62 quotient = bc_copy_num(temp); in bc_divmod()
64 bc_multiply_ex(temp, num2, &temp, rscale); in bc_divmod()
65 bc_sub_ex(num1, temp, rem, rscale); in bc_divmod()
66 bc_free_num (&temp); in bc_divmod()
H A Draisemod.c39 bc_num power, exponent, modulus, parity, temp; in bc_raisemod() local
72 temp = bc_copy_num(BCG(_one_)); in bc_raisemod()
79 bc_multiply_ex(temp, power, &temp, scale); in bc_raisemod()
80 (void) bc_modulo(temp, modulus, &temp, scale); in bc_raisemod()
92 *result = temp; in bc_raisemod()
H A Draise.c47 bc_num temp, power; in bc_raise() local
78 temp = bc_copy_num(power); in bc_raise()
88 bc_multiply_ex(temp, power, &temp, calcscale); in bc_raise()
95 if (bc_divide(BCG(_one_), temp, result, rscale) == false) { in bc_raise()
96 bc_free_num (&temp); in bc_raise()
100 bc_free_num (&temp); in bc_raise()
103 *result = temp; in bc_raise()
/php-src/ext/calendar/
H A Dgregor.c147 zend_long temp; in SdnToGregorian() local
154 temp = (sdn + GREGOR_SDN_OFFSET) * 4 - 1; in SdnToGregorian()
156 if (temp < 0 || (temp / DAYS_PER_400_YEARS) > INT_MAX) { in SdnToGregorian()
161 century = temp / DAYS_PER_400_YEARS; in SdnToGregorian()
164 temp = ((temp % DAYS_PER_400_YEARS) / 4) * 4 + 3; in SdnToGregorian()
166 if (century > ((INT_MAX / 100) - (temp / DAYS_PER_4_YEARS))) { in SdnToGregorian()
170 year = (century * 100) + (temp / DAYS_PER_4_YEARS); in SdnToGregorian()
171 dayOfYear = (temp % DAYS_PER_4_YEARS) / 4 + 1; in SdnToGregorian()
174 temp = dayOfYear * 5 - 3; in SdnToGregorian()
175 month = temp / DAYS_PER_5_MONTHS; in SdnToGregorian()
[all …]
H A Djulian.c164 zend_long temp; in SdnToJulian() local
174 temp = sdn * 4 + (JULIAN_SDN_OFFSET * 4 - 1); in SdnToJulian()
178 long yearl = temp / DAYS_PER_4_YEARS; in SdnToJulian()
184 dayOfYear = (temp % DAYS_PER_4_YEARS) / 4 + 1; in SdnToJulian()
187 temp = dayOfYear * 5 - 3; in SdnToJulian()
188 month = temp / DAYS_PER_5_MONTHS; in SdnToJulian()
189 day = (temp % DAYS_PER_5_MONTHS) / 5 + 1; in SdnToJulian()
H A Dfrench.c101 zend_long temp; in SdnToFrench() local
110 temp = (sdn - FRENCH_SDN_OFFSET) * 4 - 1; in SdnToFrench()
111 *pYear = temp / DAYS_PER_4_YEARS; in SdnToFrench()
112 dayOfYear = (temp % DAYS_PER_4_YEARS) / 4; in SdnToFrench()
/php-src/ext/zlib/tests/
H A Dbug48725.phpt9 $temp = fopen('php://temp', 'r+');
10 stream_filter_append($temp, 'zlib.deflate', STREAM_FILTER_WRITE);
11 fwrite($temp, $text);
13 rewind($temp);
15 var_dump(bin2hex(stream_get_contents($temp)));
16 var_dump(ftell($temp));
18 fclose($temp);
/php-src/ext/bz2/tests/
H A Dbug75776.phpt9 $temp = fopen('php://temp', 'r+');
10 stream_filter_append($temp, 'bzip2.compress', STREAM_FILTER_WRITE);
11 fwrite($temp, $text);
13 rewind($temp);
15 var_dump(bin2hex(stream_get_contents($temp)));
16 var_dump(ftell($temp));
18 fclose($temp);
/php-src/ext/phar/
H A Dshortarc.php63 chdir(Extract_Phar::$temp);
105 static $temp; variable in Extract_Phar
152 $temp = self::tmpdir();
154 if (!$temp || !is_writable($temp)) {
161 $temp = $sessionpath;
165 self::$temp = $temp;
167 @mkdir($temp, 0777, true);
168 $temp = realpath($temp);
189 chdir($temp);
280 chdir($temp);
[all …]
/php-src/ext/spl/tests/SplFileObject/
H A Dbug80933.phpt10 $temp = new SplTempFileObject();
11 $temp->fwrite($line);
13 $temp->rewind();
14 $read = $temp->fgets();
17 $temp->rewind();
18 $temp->setFlags(SplFileObject::DROP_NEW_LINE);
19 $read = $temp->fgets();
/php-src/ext/phar/tests/
H A Dphar_createdefaultstub.phpt189 if (!$temp || !is_writable($temp)) {
200 self::$temp = $temp;
203 $temp = realpath($temp);
237 if (is_dir('/temp') || mkdir('/temp')) {
483 if (!$temp || !is_writable($temp)) {
494 self::$temp = $temp;
497 $temp = realpath($temp);
531 if (is_dir('/temp') || mkdir('/temp')) {
785 if (!$temp || !is_writable($temp)) {
796 self::$temp = $temp;
[all …]
H A Dphar_setdefaultstub.phpt209 if (!$temp || !is_writable($temp)) {
220 self::$temp = $temp;
223 $temp = realpath($temp);
257 if (is_dir('/temp') || mkdir('/temp')) {
504 if (!$temp || !is_writable($temp)) {
515 self::$temp = $temp;
518 $temp = realpath($temp);
552 if (is_dir('/temp') || mkdir('/temp')) {
799 if (!$temp || !is_writable($temp)) {
810 self::$temp = $temp;
[all …]
/php-src/ext/phar/tests/files/
H A Dopenssl.phar63 chdir(Extract_Phar::$temp);
105 static $temp;
152 $temp = self::tmpdir();
154 if (!$temp || !is_writable($temp)) {
161 $temp = $sessionpath;
165 self::$temp = $temp;
168 $temp = realpath($temp);
189 chdir($temp);
202 if (is_dir('/temp') || mkdir('/temp')) {
274 chdir($temp);
[all …]
H A Dopenssl256.phar63 chdir(Extract_Phar::$temp);
105 static $temp;
152 $temp = self::tmpdir();
154 if (!$temp || !is_writable($temp)) {
161 $temp = $sessionpath;
165 self::$temp = $temp;
168 $temp = realpath($temp);
189 chdir($temp);
202 if (is_dir('/temp') || mkdir('/temp')) {
274 chdir($temp);
[all …]
H A Dopenssl512.phar63 chdir(Extract_Phar::$temp);
105 static $temp;
152 $temp = self::tmpdir();
154 if (!$temp || !is_writable($temp)) {
161 $temp = $sessionpath;
165 self::$temp = $temp;
168 $temp = realpath($temp);
189 chdir($temp);
202 if (is_dir('/temp') || mkdir('/temp')) {
274 chdir($temp);
[all …]
H A Dinclude_path2.phar63 chdir(Extract_Phar::$temp);
105 static $temp;
152 $temp = self::tmpdir();
154 if (!$temp || !is_writable($temp)) {
161 $temp = $sessionpath;
165 self::$temp = $temp;
168 $temp = realpath($temp);
189 chdir($temp);
202 if (is_dir('/temp') || mkdir('/temp')) {
274 chdir($temp);
[all …]
H A Dnophar.phar63 chdir(Extract_Phar::$temp);
105 static $temp;
152 $temp = self::tmpdir();
154 if (!$temp || !is_writable($temp)) {
161 $temp = $sessionpath;
165 self::$temp = $temp;
168 $temp = realpath($temp);
189 chdir($temp);
202 if (is_dir('/temp') || mkdir('/temp')) {
274 chdir($temp);
[all …]
/php-src/ext/phar/tests/cache_list/files/
H A Dnophar.phar63 chdir(Extract_Phar::$temp);
105 static $temp;
152 $temp = self::tmpdir();
154 if (!$temp || !is_writable($temp)) {
161 $temp = $sessionpath;
165 self::$temp = $temp;
168 $temp = realpath($temp);
189 chdir($temp);
202 if (is_dir('/temp') || mkdir('/temp')) {
274 chdir($temp);
[all …]
H A Dopenssl.phar63 chdir(Extract_Phar::$temp);
105 static $temp;
152 $temp = self::tmpdir();
154 if (!$temp || !is_writable($temp)) {
161 $temp = $sessionpath;
165 self::$temp = $temp;
168 $temp = realpath($temp);
189 chdir($temp);
202 if (is_dir('/temp') || mkdir('/temp')) {
274 chdir($temp);
[all …]
/php-src/ext/dom/tests/
H A Dcanonicalization_special_nodes.phpt14 <temp xmlns=""/>
30 <temp></temp>
35 <temp></temp>
/php-src/ext/standard/tests/file/
H A Dunlink_variation1-win32-mb.phpt20 // temp dir name used here
22 // temp filename used here
26 // create temp dir
28 // create temp file inside $dirname
45 // create the temp dir
48 // create the temp file
55 // now try deleting temp file inside $dirname
58 // reassign write permission to temp file
60 // delete temp file
63 // remove temp dir
H A Dunlink_variation1-win32.phpt19 // temp dir name used here
21 // temp filename used here
25 // create temp dir
27 // create temp file inside $dirname
44 // create the temp dir
47 // create the temp file
54 // now try deleting temp file inside $dirname
57 // reassign write permission to temp file
59 // delete temp file
62 // remove temp dir
H A Dsymlink_link_linkinfo_is_link_variation8.phpt16 // temp file used
19 // temp link name used
23 // create temp file
32 // delete temp file
34 // delete temp dir
39 // temp link name used
43 // create temp file
52 // delete temp file
54 // delete temp dir
/php-src/ext/hash/sha3/generic32lc/
H A DKeccakP-1600-inplace32BI.c39 temp = (temp0 ^ (temp0 >> 1)) & 0x22222222UL; temp0 = temp0 ^ temp ^ (temp << 1); \
40 temp = (temp0 ^ (temp0 >> 2)) & 0x0C0C0C0CUL; temp0 = temp0 ^ temp ^ (temp << 2); \
41 temp = (temp0 ^ (temp0 >> 4)) & 0x00F000F0UL; temp0 = temp0 ^ temp ^ (temp << 4); \
42 temp = (temp0 ^ (temp0 >> 8)) & 0x0000FF00UL; temp0 = temp0 ^ temp ^ (temp << 8); \
44 temp = (temp1 ^ (temp1 >> 1)) & 0x22222222UL; temp1 = temp1 ^ temp ^ (temp << 1); \
45 temp = (temp1 ^ (temp1 >> 2)) & 0x0C0C0C0CUL; temp1 = temp1 ^ temp ^ (temp << 2); \
46 temp = (temp1 ^ (temp1 >> 4)) & 0x00F000F0UL; temp1 = temp1 ^ temp ^ (temp << 4); \
47 temp = (temp1 ^ (temp1 >> 8)) & 0x0000FF00UL; temp1 = temp1 ^ temp ^ (temp << 8);
71 temp = (temp0 ^ (temp0 >> 8)) & 0x0000FF00UL; temp0 = temp0 ^ temp ^ (temp << 8); \
72 temp = (temp0 ^ (temp0 >> 4)) & 0x00F000F0UL; temp0 = temp0 ^ temp ^ (temp << 4); \
[all …]

Completed in 64 milliseconds

12345678910