Home
last modified time | relevance | path

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

12345678910

/PHP-7.1/ext/bcmath/libbcmath/src/
H A Dinit.c51 bc_num temp; local
60 temp = _bc_Free_list;
61 _bc_Free_list = temp->n_next;
64 if (temp == NULL) bc_out_of_memory ();
67 temp->n_sign = PLUS;
68 temp->n_len = length;
69 temp->n_scale = scale;
70 temp->n_refs = 1;
74 temp->n_value = temp->n_ptr;
75 memset (temp->n_ptr, 0, length+scale);
[all …]
H A Ddivmod.c51 bc_num temp; in bc_divmod() local
59 bc_init_num(&temp); in bc_divmod()
62 bc_divide (num1, num2, &temp, 0); in bc_divmod()
64 quotient = bc_copy_num (temp); in bc_divmod()
65 bc_multiply (temp, num2, &temp, rscale); in bc_divmod()
66 bc_sub (num1, temp, rem, rscale); in bc_divmod()
67 bc_free_num (&temp); in bc_divmod()
H A Draisemod.c48 bc_num power, exponent, modulus, parity, temp; in bc_raisemod() local
59 temp = bc_copy_num (BCG(_one_)); in bc_raisemod()
87 temp = bc_new_num (1, scale); in bc_raisemod()
96 bc_multiply (temp, power, &temp, rscale); in bc_raisemod()
97 (void) bc_modulo (temp, modulus, &temp, scale); in bc_raisemod()
111 *result = temp; in bc_raisemod()
H A Draise.c49 bc_num temp, power; in bc_raise() local
93 temp = bc_copy_num (power); in bc_raise()
104 bc_multiply (temp, power, &temp, calcscale); in bc_raise()
112 bc_divide (BCG(_one_), temp, result, rscale); in bc_raise()
113 bc_free_num (&temp); in bc_raise()
118 *result = temp; in bc_raise()
H A Doutput.c97 stk_rec *digits, *temp; in bc_out_num() local
155 temp = (stk_rec *) emalloc (sizeof(stk_rec)); in bc_out_num()
156 if (temp == NULL) bc_out_of_memory(); in bc_out_num()
157 temp->digit = bc_num2long (cur_dig); in bc_out_num()
158 temp->next = digits; in bc_out_num()
159 digits = temp; in bc_out_num()
169 temp = digits; in bc_out_num()
172 (*out_char) (ref_str[ (int) temp->digit]); in bc_out_num()
174 bc_out_long (temp->digit, max_o_digit->n_len, 1, out_char); in bc_out_num()
175 efree (temp); in bc_out_num()
H A Drecmul.c58 bc_num temp; local
62 temp = _bc_Free_list;
63 _bc_Free_list = temp->n_next;
68 if (temp == NULL) bc_out_of_memory ();
71 temp->n_sign = PLUS;
72 temp->n_len = length;
73 temp->n_scale = scale;
74 temp->n_refs = 1;
75 temp->n_ptr = NULL;
76 temp->n_value = value;
[all …]
/PHP-7.1/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-7.1/ext/calendar/
H A Dgregor.c147 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 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-7.1/ext/phar/tests/
H A Dphar_createdefaultstub.phpt190 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 Dphar_setdefaultstub.phpt210 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.1/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-7.1/ext/phar/tests/files/
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 …]
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-7.1/ext/openssl/tests/
H A Dbug65538.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-7.1/ext/standard/tests/file/
H A Dunlink_variation1-win32-mb.phpt23 // 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 Dunlink_variation1-win32.phpt22 // 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 Dsymlink_link_linkinfo_is_link_variation8.phpt28 // temp file used
31 // temp link name used
35 // create temp file
44 // delete temp file
46 // delete temp dir
51 // temp link name used
55 // create temp file
64 // delete temp file
66 // delete temp dir
/PHP-7.1/ext/zip/lib/
H A Dzip_source_win32a.c42 static HANDLE _win32_create_temp_a(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t va…
91 _win32_create_temp_a(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY… in _win32_create_temp_a() argument
96 if (*temp == NULL) { in _win32_create_temp_a()
97 if ((*temp = malloc(sizeof(char) * len)) == NULL) { in _win32_create_temp_a()
102 if (sprintf((char *)*temp, "%s.%08x", (const char *)ctx->fname, value) != len - 1) { in _win32_create_temp_a()
106 …return CreateFileA((const char *)*temp, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, sa, CREATE_… in _win32_create_temp_a()
H A Dzip_source_win32w.c42 static HANDLE _win32_create_temp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t va…
91 _win32_create_temp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY… in _win32_create_temp_w() argument
96 if (*temp == NULL) { in _win32_create_temp_w()
97 if ((*temp = malloc(sizeof(wchar_t) * len)) == NULL) { in _win32_create_temp_w()
102 …if (_snwprintf((wchar_t *)*temp, len, L"%s.%08x", (const wchar_t *)ctx->fname, value) != len - 1) { in _win32_create_temp_w()
106 …return CreateFileW((const wchar_t *)*temp, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, sa, CREA… in _win32_create_temp_w()
/PHP-7.1/Zend/tests/
H A Dbug68887.phpt5 fclose(fopen("php://temp","w+"));
7 fclose(fopen("php://temp","w+"));
9 fclose(fopen("php://temp","w+"));
/PHP-7.1/ext/standard/tests/streams/
H A Dbug44818.phpt14 test("php://temp","r");
15 test("php://temp","w");
28 php://temp, r
33 php://temp, w

Completed in 28 milliseconds

12345678910