Searched refs:temp (Results 1 - 25 of 41) 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.c394 zend_off_t temp; local
404 temp = data->zero + entry->uncompressed_filesize + offset;
407 temp = data->zero + data->position + offset;
410 temp = data->zero + offset;
413 temp = 0;
415 if (temp > data->zero + (zend_off_t) entry->uncompressed_filesize) {
419 if (temp < data->zero) {
423 res = php_stream_seek(data->fp, temp, SEEK_SET);
H A Dphar_object.c66 zval temp; local
80 ZVAL_STR(&temp, Z_STR_P(stuff));
82 zend_hash_str_update(_SERVER, "PHAR_PATH_INFO", sizeof("PHAR_PATH_INFO")-1, &temp);
89 ZVAL_STR(&temp, Z_STR_P(stuff));
92 zend_hash_str_update(_SERVER, "PHAR_PATH_TRANSLATED", sizeof("PHAR_PATH_TRANSLATED")-1, &temp);
104 ZVAL_STR(&temp, Z_STR_P(stuff));
106 zend_hash_str_update(_SERVER, "PHAR_REQUEST_URI", sizeof("PHAR_REQUEST_URI")-1, &temp);
117 ZVAL_STR(&temp, Z_STR_P(stuff));
119 zend_hash_str_update(_SERVER, "PHAR_PHP_SELF", sizeof("PHAR_PHP_SELF")-1, &temp);
126 ZVAL_STR(&temp, Z_STR_
1412 char *fname, *error = NULL, *base = p_obj->b, *save = NULL, *temp = NULL; local
3394 phar_entry_info *oldentry, newentry = {0}, *temp; local
[all...]
/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/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);
645 UnicodeString temp; local
673 fargs[i].getString(temp);
674 intl_convert_utf16_to_utf8(&stmp, &stmp_len, temp.getBuffer(), temp.length(), status);
/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/zip/lib/
H A Dzip_open.c314 struct zip_dirent temp; local
345 if (_zip_dirent_read(&temp, fp, NULL, NULL, 1, error) == -1)
348 if (_zip_headercomp(cd->entry[i].orig, &temp) != 0) {
350 _zip_dirent_finalize(&temp);
354 cd->entry[i].orig->extra_fields = _zip_ef_merge(cd->entry[i].orig->extra_fields, temp.extra_fields);
356 temp.extra_fields = NULL;
358 _zip_dirent_finalize(&temp);
H A Dzip_close.c74 char *temp; local
149 if ((temp=_zip_create_temp_output(za, &out)) == NULL) {
249 (void)remove(temp);
250 free(temp);
256 (void)remove(temp);
257 free(temp);
266 if (_zip_rename(temp, za->zn) != 0) {
268 (void)remove(temp);
269 free(temp);
283 free(temp);
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.c616 unsigned char *computed_salt, *digest, *temp, *result, *K1, *K2 = NULL; local
654 temp = emalloc(ops->digest_size);
693 /* temp = digest */
694 memcpy(temp, digest, ops->digest_size);
705 /* temp ^= digest */
706 php_hash_string_xor(temp, temp, digest, ops->digest_size);
708 /* result += temp */
709 memcpy(result + ((i - 1) * ops->digest_size), temp, ops->digest_size);
720 efree(temp);
[all...]
/PHP_TRUNK/
H A Dserver-tests.php1428 $temp = ""; variable
1446 $temp = $temp . preg_quote(substr($wanted_re, $startOffset, ($start - $startOffset)), '/'); variable
1449 $temp = $temp . '(' . substr($wanted_re, $start+2, ($end - $start-2)). ')'; variable
1453 $wanted_re = $temp;
/PHP_TRUNK/ext/intl/converter/
H A Dconverter.c665 UChar *temp; local
679 temp = safe_emalloc(sizeof(UChar), temp_len, sizeof(UChar));
683 temp_len = ucnv_toUChars(src_cnv, temp, temp_len, src, src_len, &error);
686 efree(temp);
689 temp[temp_len] = 0;
692 dest_len = 1 + ucnv_fromUChars(dest_cnv, NULL, 0, temp, temp_len, &error);
695 efree(temp);
703 dest_len = ucnv_fromUChars(dest_cnv, dest, dest_len, temp, temp_len, &error);
704 efree(temp);
/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/standard/
H A Dfile.c383 char *name = NULL, *value = NULL, *temp = NULL; local
419 temp = name = estrndup(md.token_data, md.token_len);
421 while (temp && *temp) {
422 if (strchr(PHP_META_UNSAFE, *temp)) {
423 *temp = '_';
425 temp++;
453 temp = name = estrndup(md.token_data, md.token_len);
455 while (temp && *temp) {
2055 char *temp, *tptr, *bptr, *line_end, *limit; local
[all...]
/PHP_TRUNK/ext/gmp/
H A Dgmp.c262 * This temporary number is stored in the temp argument, which is of type
278 #define FREE_GMP_TEMP(temp) \
279 if (temp.is_used) { \
280 mpz_clear(temp.num); \
283 #define FETCH_GMP_ZVAL_DEP_DEP(gmpnumber, zval, temp, dep1, dep2) \
286 temp.is_used = 0; \
288 mpz_init(temp.num); \
289 if (convert_to_gmp(temp.num, zval, 0) == FAILURE) { \
290 mpz_clear(temp.num); \
295 temp
466 gmp_temp_t temp; local
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c807 zval temp; local
816 ZVAL_STRINGL(&temp, (char*)output.bp, output.size-1);
817 zend_hash_str_update(obj->std.properties, "value", sizeof("value") - 1, &temp);
826 ZVAL_STRINGL(&temp, (char*)obj->ptdoc->errbuf->bp, obj->ptdoc->errbuf->size-1);
827 zend_hash_str_update(obj->std.properties, "errorBuffer", sizeof("errorBuffer") - 1, &temp);
837 zval attribute, children, temp; local
891 tidy_instanciate(tidy_ce_node, &temp);
892 newobj = Z_TIDY_P(&temp);
899 add_next_index_zval(&children, &temp);

Completed in 63 milliseconds

12