/PHP-7.4/ext/bcmath/libbcmath/src/ |
H A D | raisemod.c | 48 bc_num temp; in _bc_truncate() local 50 temp = bc_new_num ((*num)->n_len, 0); in _bc_truncate() 51 temp->n_sign = (*num)->n_sign; in _bc_truncate() 54 *num = temp; in _bc_truncate() 65 bc_num power, exponent, modulus, parity, temp; in bc_raisemod() local 76 temp = bc_copy_num (BCG(_one_)); in bc_raisemod() 104 bc_free_num (&temp); in bc_raisemod() 105 temp = bc_new_num (1, scale); in bc_raisemod() 114 bc_multiply (temp, power, &temp, rscale); in bc_raisemod() 115 (void) bc_modulo (temp, modulus, &temp, scale); in bc_raisemod() [all …]
|
H A D | init.c | 46 bc_num temp; local 52 temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent); 53 temp->n_sign = PLUS; 54 temp->n_len = length; 55 temp->n_scale = scale; 56 temp->n_refs = 1; 58 temp->n_ptr = (char *) safe_pemalloc (1, length, scale, persistent); 59 temp->n_value = temp->n_ptr; 60 memset (temp->n_ptr, 0, length+scale); 61 return temp;
|
H A D | divmod.c | 50 bc_num temp; in bc_divmod() local 58 bc_init_num(&temp); in bc_divmod() 61 bc_divide (num1, num2, &temp, 0); in bc_divmod() 63 quotient = bc_copy_num (temp); in bc_divmod() 64 bc_multiply (temp, num2, &temp, rscale); in bc_divmod() 65 bc_sub (num1, temp, rem, rscale); in bc_divmod() 66 bc_free_num (&temp); in bc_divmod()
|
H A D | raise.c | 48 bc_num temp, power; in bc_raise() local 92 temp = bc_copy_num (power); in bc_raise() 103 bc_multiply (temp, power, &temp, calcscale); in bc_raise() 111 bc_divide (BCG(_one_), temp, result, rscale); in bc_raise() 112 bc_free_num (&temp); in bc_raise() 117 *result = temp; in bc_raise()
|
H A D | output.c | 96 stk_rec *digits, *temp; in bc_out_num() local 154 temp = (stk_rec *) emalloc (sizeof(stk_rec)); in bc_out_num() 155 temp->digit = bc_num2long (cur_dig); in bc_out_num() 156 temp->next = digits; in bc_out_num() 157 digits = temp; in bc_out_num() 167 temp = digits; in bc_out_num() 170 (*out_char) (ref_str[ (int) temp->digit]); in bc_out_num() 172 bc_out_long (temp->digit, max_o_digit->n_len, 1, out_char); in bc_out_num() 173 efree (temp); in bc_out_num()
|
/PHP-7.4/ext/phar/ |
H A D | shortarc.php | 63 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-7.4/ext/zlib/tests/ |
H A D | bug48725.phpt | 11 $temp = fopen('php://temp', 'r+'); 12 stream_filter_append($temp, 'zlib.deflate', STREAM_FILTER_WRITE); 13 fwrite($temp, $text); 15 rewind($temp); 17 var_dump(bin2hex(stream_get_contents($temp))); 18 var_dump(ftell($temp)); 20 fclose($temp);
|
/PHP-7.4/ext/bz2/tests/ |
H A D | bug75776.phpt | 11 $temp = fopen('php://temp', 'r+'); 12 stream_filter_append($temp, 'bzip2.compress', STREAM_FILTER_WRITE); 13 fwrite($temp, $text); 15 rewind($temp); 17 var_dump(bin2hex(stream_get_contents($temp))); 18 var_dump(ftell($temp)); 20 fclose($temp);
|
/PHP-7.4/ext/calendar/ |
H A D | gregor.c | 147 zend_long temp; in SdnToGregorian() local 154 temp = (sdn + GREGOR_SDN_OFFSET) * 4 - 1; in SdnToGregorian() 157 century = temp / DAYS_PER_400_YEARS; in SdnToGregorian() 160 temp = ((temp % DAYS_PER_400_YEARS) / 4) * 4 + 3; in SdnToGregorian() 161 year = (century * 100) + (temp / DAYS_PER_4_YEARS); in SdnToGregorian() 162 dayOfYear = (temp % DAYS_PER_4_YEARS) / 4 + 1; in SdnToGregorian() 165 temp = dayOfYear * 5 - 3; in SdnToGregorian() 166 month = temp / DAYS_PER_5_MONTHS; in SdnToGregorian() 167 day = (temp % DAYS_PER_5_MONTHS) / 5 + 1; in SdnToGregorian()
|
H A D | julian.c | 164 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 D | french.c | 101 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-7.4/ext/spl/tests/ |
H A D | bug80933.phpt | 10 $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-7.4/ext/phar/tests/ |
H A D | phar_createdefaultstub.phpt | 190 if (!$temp || !is_writable($temp)) { 201 self::$temp = $temp; 204 $temp = realpath($temp); 238 if (is_dir('/temp') || mkdir('/temp')) { 484 if (!$temp || !is_writable($temp)) { 495 self::$temp = $temp; 498 $temp = realpath($temp); 532 if (is_dir('/temp') || mkdir('/temp')) { 786 if (!$temp || !is_writable($temp)) { 797 self::$temp = $temp; [all …]
|
H A D | phar_setdefaultstub.phpt | 210 if (!$temp || !is_writable($temp)) { 221 self::$temp = $temp; 224 $temp = realpath($temp); 258 if (is_dir('/temp') || mkdir('/temp')) { 505 if (!$temp || !is_writable($temp)) { 516 self::$temp = $temp; 519 $temp = realpath($temp); 553 if (is_dir('/temp') || mkdir('/temp')) { 800 if (!$temp || !is_writable($temp)) { 811 self::$temp = $temp; [all …]
|
/PHP-7.4/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 63 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 D | openssl.phar | 63 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-7.4/ext/phar/tests/files/ |
H A D | include_path2.phar | 63 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 D | nophar.phar | 63 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 D | openssl.phar | 63 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-7.4/ext/standard/tests/file/ |
H A D | unlink_variation1-win32.phpt | 22 // temp dir name used here 24 // temp filename used here 28 // create temp dir 30 // create temp file inside $dirname 47 // create the temp dir 50 // create the temp file 57 // now try deleting temp file inside $dirname 60 // reassign write permission to temp file 62 // delete temp file 65 // remove temp dir
|
H A D | unlink_variation1-win32-mb.phpt | 23 // temp dir name used here 25 // temp filename used here 29 // create temp dir 31 // create temp file inside $dirname 48 // create the temp dir 51 // create the temp file 58 // now try deleting temp file inside $dirname 61 // reassign write permission to temp file 63 // delete temp file 66 // remove temp dir
|
H A D | symlink_link_linkinfo_is_link_variation8.phpt | 29 // temp file used 32 // temp link name used 36 // create temp file 45 // delete temp file 47 // delete temp dir 52 // temp link name used 56 // create temp file 65 // delete temp file 67 // delete temp dir
|
/PHP-7.4/Zend/tests/ |
H A D | bug68887.phpt | 5 fclose(fopen("php://temp","w+")); 7 fclose(fopen("php://temp","w+")); 9 fclose(fopen("php://temp","w+"));
|
/PHP-7.4/ext/hash/sha3/generic32lc/ |
H A D | KeccakP-1600-inplace32BI.c | 31 temp = (temp0 ^ (temp0 >> 1)) & 0x22222222UL; temp0 = temp0 ^ temp ^ (temp << 1); \ 32 temp = (temp0 ^ (temp0 >> 2)) & 0x0C0C0C0CUL; temp0 = temp0 ^ temp ^ (temp << 2); \ 33 temp = (temp0 ^ (temp0 >> 4)) & 0x00F000F0UL; temp0 = temp0 ^ temp ^ (temp << 4); \ 34 temp = (temp0 ^ (temp0 >> 8)) & 0x0000FF00UL; temp0 = temp0 ^ temp ^ (temp << 8); \ 36 temp = (temp1 ^ (temp1 >> 1)) & 0x22222222UL; temp1 = temp1 ^ temp ^ (temp << 1); \ 37 temp = (temp1 ^ (temp1 >> 2)) & 0x0C0C0C0CUL; temp1 = temp1 ^ temp ^ (temp << 2); \ 38 temp = (temp1 ^ (temp1 >> 4)) & 0x00F000F0UL; temp1 = temp1 ^ temp ^ (temp << 4); \ 39 temp = (temp1 ^ (temp1 >> 8)) & 0x0000FF00UL; temp1 = temp1 ^ temp ^ (temp << 8); 63 temp = (temp0 ^ (temp0 >> 8)) & 0x0000FF00UL; temp0 = temp0 ^ temp ^ (temp << 8); \ 64 temp = (temp0 ^ (temp0 >> 4)) & 0x00F000F0UL; temp0 = temp0 ^ temp ^ (temp << 4); \ [all …]
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | bug44818.phpt | 14 test("php://temp","r"); 15 test("php://temp","w"); 28 php://temp, r 33 php://temp, w
|