Searched refs:temp (Results 1 - 25 of 42) sorted by relevance

12

/PHP_5_6/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_5_6/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 Dphar_object.c66 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
1427 char *fname, *error = NULL, *base = p_obj->b, *opened, *save = NULL, *temp = NULL; local
3434 phar_entry_info *oldentry, newentry = {0}, *temp; local
[all...]
/PHP_5_6/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_5_6/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_5_6/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_5_6/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_5_6/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_5_6/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_5_6/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_5_6/ext/opcache/
H A Dzend_accelerator_blacklist.c222 zend_regexp_list *temp, *it = blacklist->regexp_list; local
225 temp = it;
227 free(temp);
/PHP_5_6/ext/tidy/
H A Dtidy.c819 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...]
/PHP_5_6/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);
/PHP_5_6/ext/gmp/
H A Dgmp.c227 * This temporary number is stored in the temp argument, which is of type
243 #define FREE_GMP_TEMP(temp) \
244 if (temp.is_used) { \
245 mpz_clear(temp.num); \
248 #define FETCH_GMP_ZVAL_DEP_DEP(gmpnumber, zval, temp, dep1, dep2) \
251 temp.is_used = 0; \
253 mpz_init(temp.num); \
254 if (convert_to_gmp(temp.num, zval, 0 TSRMLS_CC) == FAILURE) { \
255 mpz_clear(temp.num); \
260 temp
503 gmp_temp_t temp; local
[all...]
/PHP_5_6/ext/standard/
H A Dfile.c388 char *name = NULL, *value = NULL, *temp = NULL; local
424 temp = name = estrndup(md.token_data, md.token_len);
426 while (temp && *temp) {
427 if (strchr(PHP_META_UNSAFE, *temp)) {
428 *temp = '_';
430 temp++;
458 temp = name = estrndup(md.token_data, md.token_len);
460 while (temp && *temp) {
2051 char *temp, *tptr, *bptr, *line_end, *limit; local
[all...]

Completed in 112 milliseconds

12