Searched defs:temp (Results 1 - 25 of 41) sorted by relevance

12

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Ddivmod.c51 bc_num temp; local
59 bc_init_num(&temp TSRMLS_CC);
62 bc_divide (num1, num2, &temp, scale TSRMLS_CC);
64 quotient = bc_copy_num (temp);
65 bc_multiply (temp, num2, &temp, rscale TSRMLS_CC);
66 bc_sub (num1, temp, rem, rscale);
67 bc_free_num (&temp);
H A Dinit.c51 bc_num temp; local
54 temp = (bc_num) safe_pemalloc (1, sizeof(bc_struct)+length, scale, persistent);
57 temp = _bc_Free_list;
58 _bc_Free_list = temp->n_next;
60 temp = (bc_num) pemalloc (sizeof(bc_struct), persistent);
61 if (temp == NULL) bc_out_of_memory ();
64 temp->n_sign = PLUS;
65 temp->n_len = length;
66 temp->n_scale = scale;
67 temp
[all...]
H A Doutput.c97 stk_rec *digits, *temp; local
155 temp = (stk_rec *) emalloc (sizeof(stk_rec));
156 if (temp == NULL) bc_out_of_memory();
157 temp->digit = bc_num2long (cur_dig);
158 temp->next = digits;
159 digits = temp;
169 temp = digits;
172 (*out_char) (ref_str[ (int) temp->digit]);
174 bc_out_long (temp->digit, max_o_digit->n_len, 1, out_char);
175 efree (temp);
[all...]
H A Draise.c49 bc_num temp, power; local
84 /* Set initial value of temp. */
93 temp = bc_copy_num (power);
104 bc_multiply (temp, power, &temp, calcscale TSRMLS_CC);
112 bc_divide (BCG(_one_), temp, result, rscale TSRMLS_CC); local
113 bc_free_num (&temp);
118 *result = temp;
H A Draisemod.c48 bc_num power, exponent, parity, temp; local
58 temp = bc_copy_num (BCG(_one_));
83 bc_multiply (temp, power, &temp, rscale TSRMLS_CC);
84 (void) bc_modulo (temp, mod, &temp, scale TSRMLS_CC);
96 *result = temp;
H A Drecmul.c58 bc_num temp; local
62 temp = _bc_Free_list;
63 _bc_Free_list = temp->n_next;
66 temp = (bc_num) emalloc (sizeof(bc_struct));
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
[all...]
/PHP_TRUNK/ext/calendar/
H A Dfrench.c101 long int temp; local
110 temp = (sdn - FRENCH_SDN_OFFSET) * 4 - 1;
111 *pYear = temp / DAYS_PER_4_YEARS;
112 dayOfYear = (temp % DAYS_PER_4_YEARS) / 4;
H A Dgregor.c147 long int temp; local
154 temp = (sdn + GREGOR_SDN_OFFSET) * 4 - 1;
157 century = temp / DAYS_PER_400_YEARS;
160 temp = ((temp % DAYS_PER_400_YEARS) / 4) * 4 + 3;
161 year = (century * 100) + (temp / DAYS_PER_4_YEARS);
162 dayOfYear = (temp % DAYS_PER_4_YEARS) / 4 + 1;
165 temp = dayOfYear * 5 - 3;
166 month = temp / DAYS_PER_5_MONTHS;
167 day = (temp
[all...]
H A Djulian.c164 long int temp; local
174 temp = sdn * 4 + (JULIAN_SDN_OFFSET * 4 - 1);
178 long yearl = temp / DAYS_PER_4_YEARS;
184 dayOfYear = (temp % DAYS_PER_4_YEARS) / 4 + 1;
187 temp = dayOfYear * 5 - 3;
188 month = temp / DAYS_PER_5_MONTHS;
189 day = (temp % DAYS_PER_5_MONTHS) / 5 + 1;
/PHP_TRUNK/ext/phar/
H A Dshortarc.php63 chdir(Extract_Phar::$temp);
74 $a = realpath(Extract_Phar::$temp . DIRECTORY_SEPARATOR . $pt);
75 if (!$a || strlen(dirname($a)) < strlen(Extract_Phar::$temp)) {
105 static $temp; variable
152 $temp = self::tmpdir(); variable
154 if (!$temp || !is_writable($temp)) {
161 $temp = $sessionpath; variable
164 $temp .= '/pharextract/'.basename(__FILE__, '.phar');
165 self::$temp
168 $temp = realpath($temp); variable
[all...]
H A Dstream.c395 off_t temp; local
405 temp = data->zero + entry->uncompressed_filesize + offset;
408 temp = data->zero + data->position + offset;
411 temp = data->zero + offset;
414 temp = 0;
416 if (temp > data->zero + (off_t) entry->uncompressed_filesize) {
420 if (temp < data->zero) {
424 res = php_stream_seek(data->fp, temp, SEEK_SET);
H A Dutil.c123 off_t temp, eoffset; local
145 temp = eoffset + entry->uncompressed_filesize + offset;
148 temp = eoffset + position + offset;
151 temp = eoffset + offset;
154 temp = 0;
157 if (temp > eoffset + (off_t) entry->uncompressed_filesize) {
161 if (temp < eoffset) {
165 return php_stream_seek(fp, temp, SEEK_SET);
830 /* open a new temp file for writing */
1216 * allow_dir is 0 for none, 1 for both empty directories in the phar and temp directorie
[all...]
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dqueue.c719 void *key, *temp; local
737 temp = list[i];
739 list[j] = temp;
744 temp = list[low];
746 list[j] = temp;
/PHP_TRUNK/sapi/isapi/stresstest/
H A Dstresstest.cpp454 // delete temp files
793 char * temp = NULL; local
810 //temp=MakeDateStr(),
818 if (temp) xfree(temp);
844 xfree(temp);
884 char * temp; local
905 ECB->cbTotalBytes=( (temp=GetEnv("CONTENT_LENGTH")) ? (atoi(temp)): 0);
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_webp.c67 unsigned char *read, *temp; local
75 temp = gdRealloc(filedata, size+GD_WEBP_ALLOC_STEP);
76 if (temp) {
77 filedata = temp;
78 read = temp + size;
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp419 UChar temp[16]; local
420 int32_t len = u_sprintf(temp, "%u", (uint32_t)num_index);
421 key.append(temp, len);
654 UnicodeString temp; local
684 fargs[i].getString(temp);
685 intl_convert_utf16_to_utf8(&stmp, &stmp_len, temp.getBuffer(), temp.length(), status);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_open.c320 struct zip_dirent temp;
351 if (_zip_dirent_read(&temp, fp, NULL, NULL, 1, error) == -1)
354 if (_zip_headercomp(cd->entry[i].orig, &temp) != 0) {
356 _zip_dirent_finalize(&temp);
360 cd->entry[i].orig->extra_fields = _zip_ef_merge(cd->entry[i].orig->extra_fields, temp.extra_fields);
362 temp.extra_fields = NULL;
364 _zip_dirent_finalize(&temp);
314 struct zip_dirent temp; local
H A Dzip_close.c77 char *temp;
152 if ((temp=_zip_create_temp_output(za, &out)) == NULL) {
252 (void)remove(temp);
253 free(temp);
259 (void)remove(temp);
260 free(temp);
269 if (_zip_rename(temp, za->zn) != 0) {
271 (void)remove(temp);
272 free(temp);
286 free(temp);
74 char *temp; local
594 char *temp; local
[all...]
/PHP_TRUNK/ext/hash/
H A Dhash_gost.c230 php_hash_uint32 data[8], temp = 0, save = 0; local
236 context->state[i + 8] += data[i] + temp;
237 temp = ((context->state[i + 8] < data[i]) || (context->state[i + 8] < save)) ? 1 : 0;
H A Dhash.c613 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2; local
651 temp = emalloc(ops->digest_size);
690 /* temp = digest */
691 memcpy(temp, digest, ops->digest_size);
702 /* temp ^= digest */
703 php_hash_string_xor(temp, temp, digest, ops->digest_size);
705 /* result += temp */
706 memcpy(result + ((i - 1) * ops->digest_size), temp, ops->digest_size);
717 efree(temp);
[all...]
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c1036 DBDATETIME temp; local
1038 dbconvert(NULL, SQLDATETIM4, dbdata(mssql_ptr->link,offset), -1, SQLDATETIME, (LPBYTE) &temp, -1);
1039 dbdatecrack(mssql_ptr->link, &dateinfo, &temp);
1116 DBDATETIME temp; local
1118 dbconvert(NULL, SQLDATETIM4, dbdata(mssql_ptr->link,offset), -1, SQLDATETIME, (LPBYTE) &temp, -1);
1119 dbdatecrack(mssql_ptr->link, &dateinfo, &temp);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_blacklist.c222 zend_regexp_list *temp, *it = blacklist->regexp_list; local
225 temp = it;
227 free(temp);
/PHP_TRUNK/main/
H A Dsnprintf.c440 char temp[EXPONENT_LENGTH]; /* for exponent conversion */ local
447 p = ap_php_conv_10((wide_int) decimal_point, FALSE, &exponent_is_negative, &temp[EXPONENT_LENGTH], &t_len);
/PHP_TRUNK/ext/standard/
H A Dmath.c182 /* round the temp value */
1031 zval **number, temp; local
1049 if(_php_math_basetozval(*number, frombase, &temp) == FAILURE) {
1052 result = _php_math_zvaltobase(&temp, tobase TSRMLS_CC);
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c690 UChar *temp; local
704 temp = safe_emalloc(sizeof(UChar), temp_len, sizeof(UChar));
708 temp_len = ucnv_toUChars(src_cnv, temp, temp_len, src, src_len, &error);
711 efree(temp);
714 temp[temp_len] = 0;
717 dest_len = 1 + ucnv_fromUChars(dest_cnv, NULL, 0, temp, temp_len, &error);
720 efree(temp);
727 dest_len = ucnv_fromUChars(dest_cnv, dest, dest_len, temp, temp_len, &error);
728 efree(temp);

Completed in 30 milliseconds

12