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

12

/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.c398 zend_off_t temp; local
408 temp = data->zero + entry->uncompressed_filesize + offset;
411 temp = data->zero + data->position + offset;
414 temp = data->zero + offset;
417 temp = 0;
419 if (temp > data->zero + (zend_off_t) entry->uncompressed_filesize) {
423 if (temp < data->zero) {
427 res = php_stream_seek(data->fp, temp, SEEK_SET);
/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/calendar/
H A Dfrench.c101 zend_long 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 zend_long 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 zend_long 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/bcmath/libbcmath/src/
H A Ddivmod.c51 bc_num temp; local
59 bc_init_num(&temp);
62 bc_divide (num1, num2, &temp, scale);
64 quotient = bc_copy_num (temp);
65 bc_multiply (temp, num2, &temp, rscale);
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);
112 bc_divide (BCG(_one_), temp, result, rscale); 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);
84 (void) bc_modulo (temp, mod, &temp, scale);
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/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/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 = NULL; 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/main/
H A Dsnprintf.c445 char temp[EXPONENT_LENGTH]; /* for exponent conversion */ local
452 p = ap_php_conv_10((wide_int) decimal_point, FALSE, &exponent_is_negative, &temp[EXPONENT_LENGTH], &t_len);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_blacklist.c206 zend_regexp_list *temp, *it = blacklist->regexp_list; local
209 temp = it;
211 free(temp);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_open.c419 struct zip_dirent temp; local
421 _zip_dirent_init(&temp);
451 if (_zip_dirent_read(&temp, za->src, NULL, true, error) == -1) {
452 _zip_dirent_finalize(&temp);
456 if (_zip_headercomp(cd->entry[i].orig, &temp) != 0) {
458 _zip_dirent_finalize(&temp);
462 cd->entry[i].orig->extra_fields = _zip_ef_merge(cd->entry[i].orig->extra_fields, temp.extra_fields);
464 temp.extra_fields = NULL;
466 _zip_dirent_finalize(&temp);
H A Dzip_source_filep.c175 char *temp; local
180 if ((temp=(char *)malloc(strlen(ctx->fname)+8)) == NULL) {
184 sprintf(temp, "%s.XXXXXX", ctx->fname);
193 if ((tfd=mkstemp(temp)) == -1) {
196 free(temp);
204 (void)remove(temp);
205 free(temp);
218 ctx->tmpname = temp;
H A Dzip_source_win32a.c43 static HANDLE _win32_create_temp_a(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa);
92 _win32_create_temp_a(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa) argument
97 if (*temp == NULL) {
98 if ((*temp = malloc(sizeof(char) * len)) == NULL) {
103 if (sprintf((char *)*temp, "%s.%08x", (const char *)ctx->fname, value) != len - 1) {
107 return CreateFileA((const char *)*temp, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, sa, CREATE_NEW, FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_TEMPORARY, NULL);
H A Dzip_source_win32handle.c419 void *temp = NULL; local
428 Read the DACL from the original file, so we can copy it to the temp file.
453 th = ctx->ops->op_create_temp(ctx, &temp, value + i, psa);
459 free(temp);
467 ctx->tmpname = temp;
595 time_t temp; local
601 temp = (time_t)secs;
602 if (secs != (zip_int64_t)temp)
605 *t = temp;
H A Dzip_source_win32w.c43 static HANDLE _win32_create_temp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa);
92 _win32_create_temp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa) argument
97 if (*temp == NULL) {
98 if ((*temp = malloc(sizeof(wchar_t) * len)) == NULL) {
103 if (swprintf((wchar_t *)*temp, len, L"%s.%08x", (const wchar_t *)ctx->fname, value) != len - 1) {
107 return CreateFileW((const wchar_t *)*temp, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, sa, CREATE_NEW, FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_TEMPORARY, NULL);
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c662 UChar *temp; local
676 temp = safe_emalloc(sizeof(UChar), temp_len, sizeof(UChar));
680 temp_len = ucnv_toUChars(src_cnv, temp, temp_len, src, src_len, &error);
683 efree(temp);
686 temp[temp_len] = 0;
689 ret_len = ucnv_fromUChars(dest_cnv, NULL, 0, temp, temp_len, &error);
692 efree(temp);
700 ZSTR_LEN(ret) = ucnv_fromUChars(dest_cnv, ZSTR_VAL(ret), ret_len+1, temp, temp_len, &error);
701 efree(temp);
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp410 UChar temp[16]; local
411 int32_t len = u_sprintf(temp, "%u", (uint32_t)num_index);
412 key.append(temp, len);
646 UnicodeString temp; local
673 fargs[i].getString(temp);
674 u8str = intl_convert_utf16_to_utf8(temp.getBuffer(), temp.length(), status);
/PHP_TRUNK/ext/standard/
H A Dmath.c183 /* round the temp value */
1240 zval *number, temp; local
1258 if(_php_math_basetozval(number, (int)frombase, &temp) == FAILURE) {
1261 result = _php_math_zvaltobase(&temp, (int)tobase);

Completed in 85 milliseconds

12