| /PHP_5_4/ext/bcmath/libbcmath/src/ |
| H A D | divmod.c | 51 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 D | init.c | 51 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 D | output.c | 97 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 D | raise.c | 49 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 D | raisemod.c | 48 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 D | recmul.c | 58 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_5_4/ext/calendar/ |
| H A D | french.c | 101 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 D | gregor.c | 147 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 D | julian.c | 164 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_5_4/ext/phar/ |
| H A D | shortarc.php | 63 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 D | phar.c | 1606 php_stream *temp; local 1621 if (!(temp = php_stream_fopen_tmpfile())) { 1635 php_stream_close(temp); 1642 php_stream_filter_append(&temp->writefilters, filter); 1644 if (SUCCESS != phar_stream_copy_to_stream(fp, temp, PHP_STREAM_COPY_ALL, NULL)) { 1646 php_stream_close(temp); 1649 php_stream_close(temp); 1656 fp = temp; 1665 php_stream *temp; local 1672 if (!(temp [all...] |
| H A D | stream.c | 395 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 D | phar_object.c | 66 zval *temp; local 83 MAKE_STD_ZVAL(temp); 84 ZVAL_STRINGL(temp, path_info, code, 0); 86 zend_hash_update(_SERVER, "PHAR_PATH_INFO", sizeof("PHAR_PATH_INFO"), &temp, sizeof(zval **), NULL); 95 MAKE_STD_ZVAL(temp); 96 ZVAL_STRINGL(temp, path_info, code, 0); 98 zend_hash_update(_SERVER, "PHAR_PATH_TRANSLATED", sizeof("PHAR_PATH_TRANSLATED"), (void *) &temp, sizeof(zval **), NULL); 113 MAKE_STD_ZVAL(temp); 114 ZVAL_STRINGL(temp, path_info, code, 0); 116 zend_hash_update(_SERVER, "PHAR_REQUEST_URI", sizeof("PHAR_REQUEST_URI"), (void *) &temp, sizeo 1445 char *fname, *error = NULL, *base = p_obj->b, *opened, *save = NULL, *temp = NULL; local 3511 phar_entry_info *oldentry, newentry = {0}, *temp; local [all...] |
| H A D | util.c | 127 off_t temp, eoffset; local 149 temp = eoffset + entry->uncompressed_filesize + offset; 152 temp = eoffset + position + offset; 155 temp = eoffset + offset; 158 temp = 0; 161 if (temp > eoffset + (off_t) entry->uncompressed_filesize) { 165 if (temp < eoffset) { 169 return php_stream_seek(fp, temp, SEEK_SET); 1092 /* open a new temp file for writing */ 1464 * allow_dir is 0 for none, 1 for both empty directories in the phar and temp directorie [all...] |
| /PHP_5_4/ext/xmlrpc/libxmlrpc/ |
| H A D | queue.c | 719 void *key, *temp; local 737 temp = list[i]; 739 list[j] = temp; 744 temp = list[low]; 746 list[j] = temp;
|
| /PHP_5_4/ext/zip/lib/ |
| H A D | zip_open.c | 309 struct zip_dirent temp; 340 if (_zip_dirent_read(&temp, fp, NULL, NULL, 1, error) == -1) 343 if (_zip_headercomp(cd->entry+i, 0, &temp, 1) != 0) { 345 _zip_dirent_finalize(&temp); 348 _zip_dirent_finalize(&temp); 303 struct zip_dirent temp; local
|
| H A D | zip_close.c | 78 char *temp; 143 if ((temp=_zip_create_temp_output(za, &out)) == NULL) { 312 remove(temp); 313 free(temp); 319 remove(temp); 320 free(temp); 329 if (_zip_rename(temp, za->zn) != 0) { 331 remove(temp); 332 free(temp); 346 free(temp); 75 char *temp; local 603 char *temp; local [all...] |
| /PHP_5_4/ |
| H A D | run-tests.php | 616 case '--temp-source': 619 case '--temp-target': 625 case '--temp-urlbase': 705 --temp-source <sdir> --temp-target <tdir> [--temp-urlbase <url>] 1894 $temp = ""; variable 1912 $temp = $temp . preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/'); variable 1915 $temp variable 2687 $temp = array_intersect(array('XFAIL', 'FAIL'), $type); variable [all...] |
| /PHP_5_4/sapi/isapi/stresstest/ |
| H A D | stresstest.cpp | 454 // 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_5_4/ext/intl/msgformat/ |
| H A D | msgformat_helpers.cpp | 152 UnicodeString temp; local 186 fargs[i].getString(temp); 187 intl_convert_utf16_to_utf8(&stmp, &stmp_len, temp.getBuffer(), temp.length(), status);
|
| /PHP_5_4/TSRM/ |
| H A D | tsrm_virtual_cwd.c | 1368 char *temp; local 1387 temp = (char *) tsrm_do_alloca(length+1, use_heap); 1388 memcpy(temp, path, length); 1389 temp[length] = 0; 1391 fprintf (stderr, "Changing directory to %s\n", temp); 1393 retval = p_chdir(temp TSRMLS_CC); 1394 tsrm_free_alloca(temp, use_heap);
|
| /PHP_5_4/ext/hash/ |
| H A D | hash_gost.c | 230 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;
|
| /PHP_5_4/ext/standard/ |
| H A D | array.c | 1775 Bucket **elems, *temp; local 1789 for (j = 0, temp = hash->pListHead; temp; temp = temp->pListNext) 1790 elems[j++] = temp; 1795 temp = elems[n_left]; 1797 elems[rnd_idx] = temp; 1814 temp = hash->pListHead; 1816 while (temp ! 3749 zval temp; local [all...] |
| H A D | file.c | 379 char *name = NULL, *value = NULL, *temp = NULL; local 415 temp = name = estrndup(md.token_data, md.token_len); 417 while (temp && *temp) { 418 if (strchr(PHP_META_UNSAFE, *temp)) { 419 *temp = '_'; 421 temp++; 449 temp = name = estrndup(md.token_data, md.token_len); 451 while (temp && *temp) { 2020 char *temp, *tptr, *bptr, *line_end, *limit; local [all...] |
| /PHP_5_4/ext/tidy/ |
| H A D | tidy.c | 819 zval *temp; local 828 MAKE_STD_ZVAL(temp); 829 ZVAL_STRINGL(temp, (char*)output.bp, output.size-1, TRUE); 830 zend_hash_update(obj->std.properties, "value", sizeof("value"), (void *)&temp, sizeof(zval *), NULL); 839 MAKE_STD_ZVAL(temp); 840 ZVAL_STRINGL(temp, (char*)obj->ptdoc->errbuf->bp, obj->ptdoc->errbuf->size-1, TRUE); 841 zend_hash_update(obj->std.properties, "errorBuffer", sizeof("errorBuffer"), (void *)&temp, sizeof(zval *), NULL); 851 zval *attribute, *children, *temp; local 907 MAKE_STD_ZVAL(temp); 908 tidy_instanciate(tidy_ce_node, temp TSRMLS_C [all...] |